:root {
  --bg: #F2F1EC;
  --bg-2: #EAE8E1;
  --text: #161616;
  --muted: #5F5E59;
  --dim: #8E8C85;
  --line: rgba(22, 22, 22, 0.15);
  --line-2: rgba(22, 22, 22, 0.32);
  --orange: #FF8000;
  --orange-ink: #E56F00;
  --warm-white: #FAF8F4;
  --ink: #161616;
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --frame: 8px;
  --navh: 58px;
  --gutter: clamp(20px, 3.4vw, 48px);
  --pad: clamp(96px, 11vw, 160px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* paper grain over everything, like a printed drawing */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.44 0 0 0 0 0.42 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* the page frame: one hairline box around the whole viewport */
body::after { content: ""; position: fixed; inset: var(--frame); border: 1px solid var(--line-2); z-index: 52; pointer-events: none; }
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
b { font-weight: 700; }
::selection { background: var(--orange); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--text); color: var(--bg); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; }
:focus-visible { outline: 1px solid var(--orange); outline-offset: 3px; }

.mono { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.5; }
.label { color: var(--muted); margin-bottom: 28px; }
.sq { display: inline-block; width: 9px; height: 9px; background: var(--orange); flex: none; }

/* Pop lettering: the orange words are set in a serif italic against the grotesk */
em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--orange); letter-spacing: -0.01em; text-transform: none; }

.display, .display-2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.045em; line-height: 0.92; text-transform: uppercase; }
.display { font-size: clamp(42px, 5.6vw, 100px); }
.display-2 { font-size: clamp(38px, 5vw, 88px); }
.display-2 em { font-weight: 500; letter-spacing: -0.02em; }
.hl { color: inherit; }
.lede { font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); max-width: 38ch; }

/* Line mask reveal */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.lines .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.lines.in .line > span { transform: none; }
.lines .line:nth-child(2) > span { transition-delay: 0.08s; }
.lines .line:nth-child(3) > span { transition-delay: 0.16s; }
.reveal { opacity: 0; transform: translateY(20px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* Buttons: square, orange, ink type */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 50px; padding: 0 22px; border-radius: 0;
  font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-solid { background: var(--orange); color: var(--ink); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }

/* WebGL layer and HUD */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.links { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; opacity: 0; transition: opacity 0.4s; }
.links line { stroke: var(--ink); stroke-opacity: 0.55; stroke-width: 1; }
.links circle { fill: var(--ink); }
.links rect { fill: var(--orange); stroke: none; }
.readout { position: fixed; z-index: 4; left: 0; top: 0; color: var(--muted); pointer-events: none; opacity: 0; transition: opacity 0.4s; font-size: 11px; white-space: nowrap; }
.readout-2 { color: var(--orange-ink); }
.hud { position: fixed; inset: 0; z-index: 60; pointer-events: none; transition: opacity 0.5s; }
.hud.off { opacity: 0; }
.hud-c { display: none; }
.hud .bar { width: 120px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.hud .bar i { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }

/* Nav: a row of hairline cells inside the frame */
.nav {
  position: fixed; top: var(--frame); left: var(--frame); right: var(--frame); z-index: 50; height: var(--navh);
  display: flex; align-items: stretch; justify-content: space-between;
  background: var(--bg); border-bottom: 1px solid var(--line-2);
  transition: transform 0.6s var(--ease);
}
.nav.hide { transform: translateY(calc(-100% - var(--frame) - 2px)); }
.cell { position: relative; text-decoration: none; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 20px; }
.mark { width: 30px; height: 26px; fill: var(--ink); }
.mark .mid, .fallback-mark .mid { fill: var(--orange); }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wm-top { font-size: 10px; letter-spacing: 0.26em; font-weight: 300; }
.wm-bot { font-size: 13px; letter-spacing: 0.08em; font-weight: 700; margin-top: 4px; }
.nav-links { display: flex; align-items: stretch; }
.nav-links .cell { width: clamp(120px, 10.5vw, 168px); padding: 12px 12px; border-left: 1px solid var(--line-2); color: var(--muted); transition: color 0.3s, background 0.3s; }
.nav-links .cell::after { content: ""; position: absolute; right: 5px; bottom: 5px; width: 5px; height: 5px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.nav-links .cell-cta { color: var(--orange-ink); }
.nav-links .cell-cta::after { display: none; }
.nav-links .cell .sq { position: absolute; right: 12px; bottom: 12px; width: 8px; height: 8px; }
.menu-btn { display: none; width: 56px; border: 0; border-left: 1px solid var(--line-2); background: none; cursor: pointer; position: relative; z-index: 60; }
.menu-btn span { position: absolute; left: 18px; right: 18px; height: 1px; background: var(--text); transition: transform 0.4s var(--ease); }
.menu-btn span:first-child { top: 25px; }
.menu-btn span:last-child { top: 32px; }
.menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between; padding: 120px calc(var(--frame) + 20px) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
.menu-open .menu { clip-path: inset(0); visibility: visible; transition: clip-path 0.7s var(--ease); }
.menu-open .nav { transform: none; }
.menu nav { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.menu nav a { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 10vw, 64px); letter-spacing: -0.04em; line-height: 1; padding: 18px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; opacity: 0; transform: translateY(18px); transition: opacity 0.5s, transform 0.6s var(--ease); }
.menu-open .menu nav a { opacity: 1; transform: none; }
.menu-open .menu nav a:nth-child(2) { transition-delay: 0.05s; }
.menu-open .menu nav a:nth-child(3) { transition-delay: 0.1s; }
.menu-open .menu nav a:nth-child(4) { transition-delay: 0.15s; }
.menu-open .menu nav a:nth-child(5) { transition-delay: 0.2s; color: var(--orange); }
.menu-foot { color: var(--muted); line-height: 2; }
.menu-foot a { text-decoration: none; }

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: opacity 0.7s ease, visibility 0s 0.7s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { width: 72px; height: 63px; overflow: visible; }
.lb { fill: var(--ink); transform-box: fill-box; transform-origin: left center; transform: scaleX(0); animation: barIn 0.9s var(--ease) forwards; }
.lb2 { fill: var(--orange); animation: barIn 0.9s var(--ease) 0.15s forwards, slide 0.9s var(--ease) 1s both; }
.lb3 { animation-delay: 0.3s; }
@keyframes barIn { to { transform: scaleX(1); } }
@keyframes slide { from { translate: -14px 0; } to { translate: 0 0; } }
.loader-name { color: var(--muted); opacity: 0; animation: fadeIn 0.8s ease 0.6s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.loader-foot { position: absolute; left: calc(var(--frame) + 20px); right: calc(var(--frame) + 20px); bottom: 30px; display: flex; align-items: center; gap: 20px; color: var(--dim); font-size: 11px; }
.loader-line { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader-line i { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }
#loaderPct { color: var(--text); font-variant-numeric: tabular-nums; min-width: 4ch; text-align: right; }
body.loading { overflow: hidden; }

/* Intro layers */
main { position: relative; z-index: 3; }
#old { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 55; pointer-events: none; display: block; }
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 54; pointer-events: none; display: none; }
body.intro-lock { overflow: hidden; }
.skip-intro { position: absolute; right: calc(var(--frame) + 16px); top: calc(var(--frame) + var(--navh) + 16px); pointer-events: auto; background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); border-radius: 0; padding: 10px 14px; font: 500 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: opacity 0.4s, border-color 0.3s, color 0.3s; }
.skip-intro:hover { border-color: var(--orange); color: var(--orange-ink); }
.hud:not(.intro-on) .skip-intro { opacity: 0; pointer-events: none; }
.menu-open #old { visibility: hidden; }
.intro { position: relative; }
.intro-anchor { position: absolute; left: 0; top: 0; }
.intro-lb { position: absolute; left: calc(var(--frame) + 20px); right: calc(var(--frame) + 20px); bottom: 26px; display: flex; align-items: center; gap: 20px; color: var(--dim); font-size: 11px; transition: opacity 0.5s; }
.lb-line { flex: 1; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.lb-line i { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.intro-lb span { transition: color 0.4s; }
.intro-lb .on { color: var(--text); }
.intro-lb.gone { opacity: 0; }
.no-intro #old, .no-intro .intro-lb { display: none; }

/* Hero: frame cells. Stage with the 3D mark, three tiles, then the headline bar */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 680px;
  display: flex; flex-direction: column;
  padding: calc(var(--frame) + var(--navh)) var(--frame) var(--frame);
}
.stage { position: relative; flex: 1 1 auto; min-height: 280px; border-bottom: 1px solid var(--line-2); }
.ruler { position: absolute; left: 34px; right: 34px; height: 6px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 7px); opacity: 0.8; }
.ruler-t { top: 10px; }
.ruler-b { bottom: 10px; }
.ruler-v { position: absolute; top: 34px; bottom: 34px; width: 6px; background: repeating-linear-gradient(180deg, var(--line-2) 0 1px, transparent 1px 7px); opacity: 0.6; }
.ruler-l { left: 10px; }
.ruler-r { right: 10px; }
.cross { position: absolute; width: 11px; height: 11px; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--ink); opacity: 0.7; }
.cross::before { left: 5px; top: 0; width: 1px; height: 11px; }
.cross::after { top: 5px; left: 0; height: 1px; width: 11px; }
.c-tl { left: 7px; top: 7px; } .c-tr { right: 7px; top: 7px; } .c-bl { left: 7px; bottom: 7px; } .c-br { right: 7px; bottom: 7px; }
.stage-note { position: absolute; top: 30px; color: var(--ink); font-size: 11px; line-height: 1.6; }
.stage-note span { color: var(--dim); }
.stage-tl { left: 36px; }
.stage-tr { right: 36px; text-align: right; }
.logo-slot { position: absolute; left: 50%; top: 50%; width: min(44%, 560px); height: 62%; transform: translate(-50%, -50%); }
.fallback-mark { display: none; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(30vw, 260px); fill: var(--ink); }
.no-gl .fallback-mark { display: block; }

.panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line-2); }
.panels.dragging { cursor: grabbing; }
.panels.dragging * { user-select: none; }
.panel { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 18px; text-decoration: none; color: inherit; outline: none; border-left: 1px solid var(--line-2); background: var(--bg); transition: background 0.4s; }
.panel:first-child { border-left: 0; }
.panel::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.panel-label { display: block; font: 400 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; }
.panel-line { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.1; letter-spacing: -0.02em; color: var(--text); margin-top: 6px; }
.panel-sub { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 40ch; }
.panel .sq { position: absolute; right: 14px; top: 14px; transform: scale(0); transition: transform 0.4s var(--ease); }
.panel.on, .panel:focus-visible { background: var(--bg-2); }
.panel.on::before, .panel:focus-visible::before { transform: scaleX(1); }
.panel.on .panel-label, .panel:focus-visible .panel-label { color: var(--orange-ink); }
.panel.on .sq, .panel:focus-visible .sq { transform: none; }

.hero-bar { background: var(--bg); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px) minmax(0, 190px); align-items: stretch; }
.hero-copy { padding: 18px 24px 20px; display: flex; align-items: flex-end; }
.hero-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 3.7vw, 64px); line-height: 0.9; letter-spacing: -0.05em; }
.hero-title em { font-weight: 500; letter-spacing: -0.03em; padding-right: 0.06em; }
.hero-desc { border-left: 1px solid var(--line-2); padding: 16px 18px; font-size: 15px; line-height: 1.45; color: var(--text); }
.hero-desc b { color: var(--orange-ink); }
.hero-cta { position: relative; border-left: 1px solid var(--line-2); padding: 16px 18px; color: var(--orange-ink); text-decoration: none; transition: background 0.3s, color 0.3s; }
.hero-cta .sq { position: absolute; right: 16px; bottom: 16px; transition: transform 0.4s var(--ease); }
.text-link { font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line-2); transition: border-color 0.3s, color 0.3s; }

/* Ticker */
.ticker { position: relative; overflow: hidden; display: flex; margin: 0 var(--frame); border-bottom: 1px solid var(--line-2); background: var(--bg); }
.ticker-track { display: flex; align-items: center; gap: 36px; padding: 12px 18px; flex: none; animation: tick 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-100%); } }
.tk { display: inline-flex; align-items: center; gap: 36px; white-space: nowrap; font: 400 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.tk::after { content: ""; width: 7px; height: 7px; background: var(--orange); }
.tk-cta { white-space: nowrap; text-decoration: none; font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: var(--orange); padding: 10px 14px; transition: background 0.3s; }
@media (hover: hover) { .tk-cta:hover { background: #ff9a33; } }

/* Story: cards scroll over the fixed 3D scene */
.story { position: relative; }
.chapter { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 0 calc(var(--frame) + var(--gutter)); }
.card { width: min(480px, 100%); padding: 26px 28px 30px; background: var(--bg); border: 1px solid var(--line-2); }
.card .label { margin-bottom: 18px; }
.card h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 3.8vw, 60px); letter-spacing: -0.045em; line-height: 0.92; margin-bottom: 18px; }
.card p:not(.label) { color: var(--muted); font-size: 17px; max-width: 34ch; }
.chapter.outro { justify-content: center; align-items: flex-end; padding-bottom: 14vh; text-align: center; }
.outro .label { margin-bottom: 20px; }
.outro-copy { background: var(--bg); padding: 28px 32px 34px; border: 1px solid var(--line-2); }

/* Solid content after the 3D story */
.solid { position: relative; background: var(--bg); margin: 0 var(--frame); border-top: 1px solid var(--line-2); }
.section-head { margin-bottom: clamp(48px, 6vw, 88px); }

/* Statement */
.statement { padding: var(--pad) var(--gutter); max-width: 1280px; margin: 0 auto; }
.words { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.5vw, 56px); line-height: 1.08; letter-spacing: -0.035em; }
.words .w { color: rgba(22, 22, 22, 0.13); transition: color 0.4s; }
.words .w.on { color: var(--text); }

/* Calls to action */
.outro-cta { margin-top: 32px; }
.faq-cta { margin-top: 40px; }
.foot-cta { margin-top: 40px; }
.float-cta {
  position: fixed; right: calc(var(--frame) + 16px); bottom: calc(var(--frame) + 16px); z-index: 40;
  display: inline-flex; align-items: center; gap: 14px; height: 48px; padding: 0 18px;
  background: var(--orange); color: var(--ink); text-decoration: none;
  font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity 0.5s, transform 0.6s var(--ease), background 0.3s;
}
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) { .float-cta:hover { background: #ff9a33; } }

/* Pricing */
.pricing { padding: var(--pad) var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center; border-top: 1px solid var(--line-2); }
.price { font-family: var(--display); font-weight: 800; font-size: clamp(120px, 24vw, 380px); line-height: 0.8; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.price .cur { font-family: var(--serif); font-weight: 500; font-size: 0.42em; vertical-align: 1em; margin-right: 0.04em; color: var(--orange); font-style: italic; letter-spacing: 0; }
.price-note { color: var(--muted); max-width: 38ch; margin: 40px 0; }

/* FAQ */
.faq { padding: var(--pad) var(--gutter); border-top: 1px solid var(--line-2); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq .section-head { position: sticky; top: 110px; margin: 0; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--display); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; transition: color 0.3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--orange); }
.ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.ans > p { overflow: hidden; color: var(--muted); max-width: 52ch; }
.faq details.opening .ans, .faq details[open]:not(.closing) .ans { grid-template-rows: 1fr; }
.faq details[open] .ans > p { padding-bottom: 26px; }

/* Contact */
.contact { padding: var(--pad) var(--gutter); border-top: 1px solid var(--line-2); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact-copy .lede { margin-top: 28px; }
.direct { margin-top: 32px; font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.3; }
.direct a { text-decoration: none; color: var(--text); }
.form { display: flex; flex-direction: column; gap: 26px; }
.form label { display: flex; flex-direction: column; gap: 6px; }
.form label > span { color: var(--muted); }
.form input, .form textarea { font: 400 18px/1.4 var(--sans); color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: 10px 0; border-radius: 0; resize: vertical; transition: border-color 0.3s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--orange); }
.form input::placeholder { color: var(--dim); }
.form input[aria-invalid="true"] { border-color: #d6452f; }
.form .btn { align-self: flex-start; margin-top: 6px; }
.form-err { color: #c23b25; font-size: 15px; }
.form-err:empty { display: none; }
.form-err a { color: inherit; text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--dim); }

/* Footer */
.footer { padding: clamp(80px, 10vw, 140px) var(--gutter) 40px; border-top: 1px solid var(--line-2); overflow: hidden; }
.big-mark { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(60px, 15vw, 270px); line-height: 0.82; letter-spacing: -0.06em; }
.big-mark span { font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: -0.03em; color: var(--orange); padding-left: 0.5em; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(56px, 7vw, 96px); padding-top: 32px; border-top: 1px solid var(--line-2); }
.foot-cols h3 { color: var(--dim); margin-bottom: 14px; }
.foot-cols p { font-size: 16px; line-height: 1.8; color: var(--muted); }
.foot-cols a { text-decoration: none; transition: color 0.3s; }
.copy { margin-top: 64px; color: var(--dim); }

@media (hover: hover) {
  .btn-solid:hover { background: #ff9a33; }
  .btn-ghost:hover { border-color: var(--text); }
  .nav-links .cell:hover { color: var(--text); background: var(--bg-2); }
  .nav-links .cell-cta:hover { color: var(--ink); background: var(--orange); }
  .hero-cta:hover { background: var(--orange); color: var(--ink); }
  .hero-cta:hover .sq { background: var(--ink); }
  .text-link:hover { border-color: var(--orange); color: var(--orange-ink); }
  .faq summary:hover { color: var(--orange-ink); }
  .foot-cols a:hover, .direct a:hover { color: var(--orange-ink); }
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 260px) minmax(0, 160px); }
  .hero-desc { font-size: 14px; }
}
@media (max-width: 900px) {
  :root { --frame: 6px; --navh: 56px; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .hero { height: auto; min-height: 0; }
  .stage { flex: none; height: 46svh; min-height: 300px; }
  .logo-slot { width: 62%; height: 56%; top: 54%; }
  .stage-note { top: 26px; font-size: 10px; }
  .stage-tl span { display: none; }
  .panels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
  .panels::-webkit-scrollbar { display: none; }
  .panel { flex: 0 0 min(62%, 300px); scroll-snap-align: start; }
  .hero-bar { grid-template-columns: 1fr; }
  .hero-copy { padding: 22px 18px 24px; }
  .hero-title { font-size: clamp(36px, 10.4vw, 64px); }
  .hero-desc { border-left: 0; border-top: 1px solid var(--line-2); font-size: 16px; padding: 18px; }
  .hero-cta { border-left: 0; border-top: 1px solid var(--line-2); min-height: 64px; display: flex; align-items: center; font-size: 13px; }
  .hero-cta .sq { bottom: auto; top: 50%; margin-top: -4.5px; }
  .ticker { margin: 0 var(--frame); }
  .card h2 { font-size: clamp(34px, 9vw, 46px); }
  .float-cta { right: 16px; bottom: 16px; height: 44px; padding: 0 16px; font-size: 11px; }
  .big-mark span { padding-left: 0.2em; }
  .faq, .contact { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
  .foot-cols { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .ruler { left: 26px; right: 26px; }
  .stage-note { left: 26px; }
  .stage-tr { display: none; }
  .panel { flex: 0 0 80%; }
  .form .btn { align-self: stretch; }
  .card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .lines .line > span, .reveal { transform: none; opacity: 1; filter: none; }
  .lb { transform: none; }
  .loader-name { opacity: 1; }
  .words .w { color: var(--text); }
  .ticker-track[aria-hidden] { display: none; }
  .ticker { flex-wrap: wrap; }
}

/* Build-in: after the old site clears, the page assembles itself piece by piece.
   body.building holds everything back; each b-* class lets one part arrive. */
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title .line > span { display: inline-block; transition: transform 1s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: 0.09s; }
.hd-in, .hc-t { display: inline-block; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.draft-lines { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 53; pointer-events: none; overflow: visible; transition: opacity 0.6s; }
.draft-lines line { stroke: var(--orange); stroke-width: 1.5; transition: stroke-dashoffset 0.55s var(--ease), stroke 0.6s; }
.b-lines .draft-lines line { stroke: rgba(22, 22, 22, 0.32); stroke-width: 1; }
.draft-lines.gone { opacity: 0; }

.building:not(.b-lines)::after,
.building:not(.b-lines) .nav,
.building:not(.b-lines) .nav-links .cell,
.building:not(.b-lines) .menu-btn,
.building:not(.b-lines) .stage,
.building:not(.b-lines) .panels,
.building:not(.b-lines) .panel,
.building:not(.b-lines) .hero-desc,
.building:not(.b-lines) .hero-cta { border-color: transparent; }
.building:not(.b-lines) .nav-links .cell::after { opacity: 0; }
.building .nav-links .cell::after { transition: opacity 0.4s; }

.building .brand .mark rect { transform-box: fill-box; transform-origin: left center; transition: transform 0.8s var(--ease), translate 0.8s var(--ease); }
.building .brand .mark rect:nth-child(2) { transition-delay: 0.12s, 0.5s; }
.building .brand .mark rect:nth-child(3) { transition-delay: 0.24s; }
.building:not(.b-nav) .brand .mark rect { transform: scaleX(0); }
.building:not(.b-nav) .brand .mark .mid { translate: -14px 0; }
.building .wordmark, .building .menu-btn span { transition: opacity 0.6s 0.2s; }
.building:not(.b-nav) .wordmark, .building:not(.b-nav) .menu-btn span { opacity: 0; }
.building:not(.b-nav) .nav-links .cell { color: transparent; }
.building .sq { transition: transform 0.5s var(--ease); }
.building:not(.b-nav) .nav .sq, .building:not(.b-cta) .hero-cta .sq { transform: scale(0); }

.building .ruler { transform-origin: left; transition: transform 1.1s var(--ease); }
.building .ruler-b { transform-origin: right; }
.building .ruler-v { transform-origin: top; transition: transform 1.1s var(--ease) 0.15s; }
.building:not(.b-stage) .ruler { transform: scaleX(0); }
.building:not(.b-stage) .ruler-v { transform: scaleY(0); }
.building .cross { transition: transform 0.7s var(--ease), opacity 0.4s; }
.building:not(.b-stage) .cross { opacity: 0; transform: rotate(-90deg) scale(0.3); }
.building:not(.b-stage) .stage-note { opacity: 0; }

.building .panel > * { transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.building:not(.b-tiles) .panel > span { opacity: 0; transform: translateY(18px); }
.building .panel:nth-child(2) > * { transition-delay: 0.1s; }
.building .panel:nth-child(3) > * { transition-delay: 0.2s; }
.building .panel > .panel-line { transition-delay: 0.06s; }
.building .panel:nth-child(2) > .panel-line { transition-delay: 0.16s; }
.building .panel:nth-child(3) > .panel-line { transition-delay: 0.26s; }
.building .panel > .panel-sub { transition-delay: 0.12s; }
.building .panel:nth-child(2) > .panel-sub { transition-delay: 0.22s; }
.building .panel:nth-child(3) > .panel-sub { transition-delay: 0.32s; }

.building:not(.b-head) .hero-title .line > span { transform: translateY(110%); }
.building:not(.b-head) .hd-in { opacity: 0; transform: translateY(14px); }
.building:not(.b-cta) .hc-t { opacity: 0; transform: translateY(10px); }

/* the highlighter: an orange block wipes across the pop words, they turn orange underneath */
.building:not(.b-pop) .hero-title em { color: var(--ink); }
.b-pop .hero-title em { animation: popWipe 0.9s var(--ease) both; background-image: linear-gradient(var(--orange), var(--orange)); background-repeat: no-repeat; }
@keyframes popWipe {
  0% { color: var(--ink); background-size: 0% 86%; background-position: 0 70%; }
  48% { color: var(--ink); background-size: 100% 86%; background-position: 0 70%; }
  50% { color: var(--orange); background-size: 100% 86%; background-position: 100% 70%; }
  100% { color: var(--orange); background-size: 0% 86%; background-position: 100% 70%; }
}
.b-cta .hero-cta { animation: ctaWipe 0.8s var(--ease) both; background-image: linear-gradient(var(--orange), var(--orange)); background-repeat: no-repeat; }
@keyframes ctaWipe {
  0% { background-size: 0% 100%; background-position: 0 0; }
  50% { background-size: 100% 100%; background-position: 0 0; }
  51% { background-size: 100% 100%; background-position: 100% 0; }
  100% { background-size: 0% 100%; background-position: 100% 0; }
}

/* Price cell: the number is the point */
.hero-desc { display: flex; align-items: stretch; }
.hd-in { display: flex; flex-direction: column; justify-content: space-between; width: 100%; gap: 6px; }
.hd-label { color: var(--muted); font-size: 11px; }
.hd-price { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 4.6vw, 80px); line-height: 0.86; letter-spacing: -0.055em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hd-price em { font-weight: 500; font-size: 0.6em; vertical-align: 0.42em; margin-right: 0.04em; letter-spacing: 0; }
.hd-note { font-size: 13px; line-height: 1.35; color: var(--muted); }
@media (max-width: 900px) { .hd-in { gap: 10px; } .hd-price { font-size: 64px; } }

/* A little depth: cells sit just under the line above them */
.nav { box-shadow: 0 10px 18px -16px rgba(22, 22, 22, 0.28); }
.panels { box-shadow: inset 0 12px 16px -14px rgba(22, 22, 22, 0.16); }
.panel + .panel { box-shadow: inset 12px 0 14px -14px rgba(22, 22, 22, 0.14); }
.panel.on { box-shadow: inset 0 10px 18px -14px rgba(22, 22, 22, 0.18); }
.hero-bar { box-shadow: inset 0 12px 16px -14px rgba(22, 22, 22, 0.16); }
.hero-desc, .hero-cta { box-shadow: inset 12px 0 14px -14px rgba(22, 22, 22, 0.14); }

/* About */
.about { padding: var(--pad) var(--gutter); border-top: 1px solid var(--line-2); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about .section-head { margin: 0; position: sticky; top: 110px; }
.about-copy p { color: var(--muted); max-width: 54ch; }
.about-copy p + p { margin-top: 22px; }
.about-copy .about-lead { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2vw, 30px); line-height: 1.25; letter-spacing: -0.02em; color: var(--text); max-width: 30ch; margin-bottom: 30px; }
.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); box-shadow: inset 0 12px 16px -14px rgba(22, 22, 22, 0.14); }
.about-facts > div { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.about-facts > div + div { border-left: 1px solid var(--line-2); box-shadow: inset 12px 0 14px -14px rgba(22, 22, 22, 0.12); }
.about-facts span { color: var(--muted); font-size: 11px; }
.about-facts b { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; }
.about-facts > div:last-child b { color: var(--orange-ink); }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about .section-head { position: static; }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts > div + div { border-left: 0; border-top: 1px solid var(--line-2); box-shadow: none; }
}

/* How it works: a pencil sketch of a site that draws itself as you scroll */
.sketch { position: fixed; z-index: 2; top: 50%; right: calc(var(--frame) + 3.5vw); width: min(calc(100vw - 640px), 760px); transform: translateY(-50%); pointer-events: none; opacity: 0; overflow: visible; }
.sketch .sk, .sketch .sk-o { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.sketch .sk { stroke: #161616; stroke-width: 1.6; }
.sketch .sk-thin { stroke-width: 1.1; stroke-opacity: 0.55; }
.sketch .sk-thick { stroke-width: 4; stroke-opacity: 0.85; }
.sketch .sk-head { stroke-width: 10; }
.sketch .sk-scribble { stroke-opacity: 0.4; stroke-width: 3; }
.sketch .sk-frame, .sketch .sk-phone, .sketch .sk-dialog { fill: #f2f1ec; fill-opacity: 0; }
.sketch .sk-o { stroke: #ff8000; stroke-width: 2.2; }
.sketch .sk-circle { stroke-width: 3; }
.sketch .sk-check { stroke-width: 4; }
.sketch .sk-btn, .sketch .sk-yes { fill: #ff8000; fill-opacity: 0; }
.sketch .sk-fill-ink { fill: #161616; fill-opacity: 0; }
.sketch .sk-t { font-family: var(--display); font-size: 15px; fill: #161616; opacity: 0; }
.sketch .sk-url { font-family: var(--mono); font-size: 11px; fill: #8e8c85; }
.sketch .sk-q { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.sketch .sk-bt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.card-cta { margin-top: 22px; }
.card .text-link.card-cta { display: inline-block; color: var(--orange-ink); border-color: var(--orange); }
@media (max-width: 900px) {
  .sketch { width: calc(100vw - 2 * var(--frame) - 32px); right: calc(var(--frame) + 16px); top: 34%; }
}

/* Contact: what happens next */
.next { margin-top: 48px; border-top: 1px solid var(--line-2); padding-top: 22px; max-width: 460px; }
.next-h { color: var(--muted); margin-bottom: 14px; }
.next ol { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.next li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.next li::before { content: ""; position: absolute; left: 0; top: 19px; width: 9px; height: 9px; background: var(--orange); }
.next li b { color: var(--text); font-weight: 600; }

/* Sketch: a bit larger, a bit rougher */
.sketch { width: min(calc(100vw - 600px), 920px); right: calc(var(--frame) + 2.5vw); }
.sketch .sk { stroke-opacity: 0.9; }
.sketch .sk-ghost .sk, .sketch .sk-ghost .sk-o { stroke-width: 0.9; stroke-opacity: 0.32; fill: none !important; }
.sketch .sk-ghost .sk-head { stroke-width: 7; stroke-opacity: 0.18; }
.sketch .sk-ghost .sk-thick { stroke-width: 3; stroke-opacity: 0.2; }
.sketch .sk-hatch { opacity: 0; }
@media (max-width: 900px) { .sketch { width: calc(100vw - 2 * var(--frame) - 16px); right: calc(var(--frame) + 8px); } }

/* Sketch stages */
.sketch .sk-btn, .sketch .sk-yes, .sketch .sk-frame, .sketch .sk-phone, .sketch .sk-dialog, .sketch .sk-band { fill-opacity: 0; }
.sketch .sk-band { fill: #161616; }
.sketch .sk-inv { stroke: #f2f1ec; }
.sketch rect.sk-inv { fill: #f2f1ec; }
.sketch .sk-guide { stroke: #ff8000; stroke-opacity: 0.22; stroke-width: 1; stroke-dasharray: 1 1; }
.sketch .sk-dash { stroke-opacity: 0.5; }
.sketch .sk-grey { stroke: #8e8c85; }
.sketch .sk-dim { stroke-width: 1.2; }
.sketch .sk-head2 { stroke-width: 16; }
.sketch .sk-sun { fill: #ff8000; fill-opacity: 0.85; }
.sketch .sk-check-s { stroke-width: 3; }
.sketch .sk-old-h { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 20px; letter-spacing: 0.04em; }
.sketch .sk-old-nav { font-family: Georgia, "Times New Roman", serif; font-size: 12px; fill: #5f5e59; text-decoration: underline; }
.sketch .sk-old-link { font-family: Georgia, serif; font-size: 14px; font-style: italic; }
.sketch .sk-tag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; fill: #e56f00; }
.sketch .sk-live-t { font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: 0.08em; }
.sketch .sk-ghost .sk-guide { stroke-opacity: 0; }
.sketch .sk-ghost .sk-head2 { stroke-width: 12; stroke-opacity: 0.15; }

/* Oct 14: simpler landing. Fewer words, bigger tiles, no price block in the hero bar. */
.hero-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 220px); }
.panel { gap: 10px; padding: 22px 24px 26px; }
.panel-line { font-size: clamp(22px, 2.2vw, 34px); line-height: 1.05; margin-top: 4px; }
@media (max-width: 1100px) { .hero-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 180px); } }
@media (max-width: 900px) { .hero-bar { grid-template-columns: 1fr; } .panel-line { font-size: 24px; } }

/* Oct 15: still life hero. Smaller logo slot so the props have room around it. */
.logo-slot { width: min(30%, 440px); height: 52%; top: 52%; }
.links, .readout { display: none !important; }
.stage { cursor: grab; }
.stage.spinning { cursor: grabbing; }
@media (max-width: 900px) { .stage { height: 50svh; } .logo-slot { width: 54%; height: 60%; top: 52%; } }

/* Before & after: drag to compare an old site with its rebuild */
.ba { padding: var(--pad) var(--gutter); border-top: 1px solid var(--line-2); max-width: 1280px; margin: 0 auto; }
.ba-viewer { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--warm-white); box-shadow: 0 30px 60px -30px rgba(22, 22, 22, 0.35); }
.ba-chrome { display: flex; align-items: center; gap: 7px; padding: 10px 12px 10px 14px; border-bottom: 1px solid var(--line); }
.ba-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #e2614f; }
.ba-chrome i:nth-child(2) { background: #e8b33f; } .ba-chrome i:nth-child(3) { background: #5fb85a; }
.ba-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; user-select: none; -webkit-user-select: none; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 100%; width: 6px; margin-left: -3px; background: var(--orange); box-shadow: 0 0 24px 4px rgba(255, 128, 0, 0.55); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(22, 22, 22, 0.3); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.ba-screen:has(.ba-range:focus-visible) .ba-handle span { outline: 3px solid var(--ink); outline-offset: 3px; }
.ba-tag { padding: 8px 16px; border-radius: 999px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.ba-tag-b { margin-left: 14px; background: var(--ink); color: var(--warm-white); }
.ba-tag-a { margin-left: auto; background: var(--orange); color: var(--ink); }
.ba-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: 18px; text-align: center; }
.ba-cap { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.ba-pause { flex: none; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--text); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
@media (hover: hover) { .ba-pause:hover { border-color: var(--ink); } }
.ba-picks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.ba-pick { font: 500 14px/1 var(--sans); letter-spacing: -0.01em; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--text); cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.ba-pick .mono { font-size: 11px; color: var(--muted); }
.ba-pick[aria-pressed="true"] { background: var(--ink); color: var(--warm-white); border-color: var(--ink); }
.ba-pick[aria-pressed="true"] .mono { color: var(--orange); }
@media (hover: hover) { .ba-pick:hover { border-color: var(--ink); } }
@media (max-width: 900px) {
  .ba-tag { padding: 6px 11px; font-size: 10px; }
  .ba-handle span { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .ba-pick { font-size: 13px; padding: 0 14px; }
}

/* Pricing now sits right after the hero, outside .solid: give it the same solid ground */
#pricing { position: relative; z-index: 1; background: var(--bg); margin: 0 var(--frame); }

/* How it works: the demo website in pixels (pixels.js), in the sketch's spot */
.pix { position: fixed; z-index: 2; top: 50%; right: calc(var(--frame) + 2.5vw); width: min(calc(100vw - 600px), 920px); aspect-ratio: 640 / 460; transform: translateY(-50%); pointer-events: none; opacity: 0; visibility: hidden; }
@media (max-width: 900px) { .pix { width: calc(100vw - 2 * var(--frame) - 32px); right: calc(var(--frame) + 16px); top: 66%; } }

/* Faint digit field over the whole page (glyphs.js). Decorative, never blocks clicks. */
.glyphs { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; opacity: 0; transition: opacity 1.6s var(--ease); }
.glyphs.on { opacity: 1; }

/* ===== Oct 15: simpler, Something Clever type ===== */
/* Cabinet Grotesk, as on somethingcleverco.com: uppercase headlines, medium weight, tight tracking */
:root { --display: "Cabinet Grotesk", "Helvetica Neue", Arial, sans-serif; --sans: "Cabinet Grotesk", "Helvetica Neue", Arial, sans-serif; --serif: "Cabinet Grotesk", "Helvetica Neue", Arial, sans-serif; }
em { font-style: normal; font-weight: inherit; letter-spacing: inherit; }
.display, .display-2, .hero-title, .card h2, .menu nav a, .big-mark { font-weight: 500; letter-spacing: -0.05em; line-height: 0.88; }
.display-2 em, .card h2 em { font-weight: 500; letter-spacing: -0.05em; }
.price, .hd-price { font-weight: 500; letter-spacing: -0.06em; }
.panel-line { font-weight: 500; letter-spacing: -0.03em; }
.words { font-weight: 500; text-transform: uppercase; letter-spacing: -0.045em; line-height: 0.95; font-size: clamp(34px, 5vw, 80px); max-width: 16ch; }
.about-facts b { font-weight: 500; }

/* Hero: just the mark and the three panels; the headline bar stays for screen readers only */
.hero-bar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.logo-slot { width: min(26%, 380px); height: 54%; top: 50%; }

/* Pricing: more room between the number and the note */
.price-note { margin-top: clamp(56px, 7vw, 112px); }

/* Before & after: sample sites are live pages, drawn at 1280 x 800 and scaled to fit */
.ba-frame { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; pointer-events: none; display: none; background: #fff; }
.ba-screen.live .ba-frame { display: block; }
.ba-screen.live .ba-img { display: none; }

/* Pixel drawing a little larger so it reads clearly */
.pix { width: min(calc(100vw - 560px), 1000px); right: calc(var(--frame) + 2vw); }
@media (max-width: 900px) { .pix { width: calc(100vw - 2 * var(--frame) - 24px); right: calc(var(--frame) + 12px); } }

/* ===== Hero, v2: headline left, before/after cards right, three points below ===== */
.hero.hero2 { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); grid-template-rows: 1fr auto; column-gap: clamp(24px, 4vw, 72px); align-items: center; height: auto; min-height: 100svh; padding: calc(var(--frame) + var(--navh) + clamp(20px, 4vh, 56px)) calc(var(--frame) + var(--gutter)) var(--frame); }
.h2-copy { max-width: 640px; }
.h2-eyebrow { display: flex; align-items: center; gap: 18px; font: 500 14px/1.2 var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); margin: 0 0 28px; }
.h2-eyebrow::before { content: ""; flex: none; width: 44px; height: 2px; background: var(--orange); }
.h2-title { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 5.4vw, 92px); line-height: 0.98; letter-spacing: -0.045em; }
.h2-title .hl { color: var(--orange); }
.h2-lede { margin-top: 28px; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--muted); max-width: 36ch; }
.h2-cta { margin-top: 34px; display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 30px; border-radius: 999px; background: var(--orange); color: var(--ink); text-decoration: none; font: 700 15px/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; box-shadow: 0 16px 30px -14px rgba(255, 128, 0, 0.75); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.h2-cta svg { transition: transform 0.35s var(--ease); }
@media (hover: hover) { .h2-cta:hover { transform: translateY(-2px); box-shadow: 0 22px 36px -14px rgba(255, 128, 0, 0.85); } .h2-cta:hover svg { transform: translateX(4px); } }

.h2-art { position: relative; height: clamp(380px, 56vh, 600px); --mx: 0; --my: 0; }
.hero2 .logo-slot { left: auto; top: auto; right: -3%; bottom: 6%; width: 30%; height: 46%; transform: none; }
.hero2 .fallback-mark { left: auto; top: auto; right: 2%; bottom: 14%; transform: none; width: 22%; }
.h2-card { position: absolute; display: block; padding: 0; margin: 0; border: 0; border-radius: 16px; overflow: hidden; background: #fff; text-align: left; font: inherit; color: inherit;
  box-shadow: 0 46px 80px -34px rgba(22, 22, 22, 0.5), 0 0 0 1px rgba(22, 22, 22, 0.07); transition: transform 0.7s var(--ease), filter 0.5s, opacity 0.5s; will-change: transform; }
.h2-before { left: 1%; top: 18%; width: 44%; z-index: 1; cursor: pointer; filter: grayscale(0.9) contrast(0.92) brightness(1.02);
  transform: translate3d(calc(var(--mx) * -12px), calc(var(--my) * -8px), 0) rotate(-5deg); }
.h2-after { right: 5%; top: 6%; width: 61%; z-index: 2;
  transform: translate3d(calc(var(--mx) * 16px), calc(var(--my) * 10px), 0) rotate(3.5deg); }
@media (hover: hover) { .h2-before:hover { filter: grayscale(0.4) contrast(0.95); } }
.h2-before:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.h2-before.fade { opacity: 0.25; }
.h2-chrome { display: flex; gap: 6px; padding: 10px 12px; background: #f1efea; border-bottom: 1px solid rgba(22, 22, 22, 0.07); }
.h2-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #d6d2ca; }
.h2-screen { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.h2-screen iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; pointer-events: none; background: #fff; }
.h2-screen iframe.h2-next { clip-path: inset(0 100% 0 0); }
.h2-sweep { position: absolute; top: -4%; bottom: -4%; left: 0; width: 9px; margin-left: -5px; background: var(--orange); box-shadow: 0 0 26px 7px rgba(255, 128, 0, 0.55); opacity: 0; pointer-events: none; }

.h2-hand { position: absolute; z-index: 3; display: flex; align-items: center; gap: 4px; font: 600 clamp(26px, 2.3vw, 38px)/1 "Caveat", "Segoe Print", cursive; color: var(--ink); pointer-events: none; }
.h2-hand svg { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 160; animation: h2draw 1.1s 0.9s var(--ease) forwards; }
.h2-hand-b { left: 9%; top: 1%; flex-direction: column; transform: rotate(-9deg); }
.h2-hand-b svg { width: 22px; height: 40px; }
.h2-hand-a { right: 3%; top: -5%; flex-direction: row-reverse; transform: rotate(-4deg); }
.h2-hand-a svg { width: 40px; height: 34px; }
.h2-arrow { position: absolute; z-index: 3; left: 33%; top: 3%; width: 14%; fill: none; stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: h2draw 1.2s 1.2s var(--ease) forwards; pointer-events: none; }
@keyframes h2draw { to { stroke-dashoffset: 0; } }
.h2-dots { position: absolute; left: 3%; bottom: 0; display: flex; gap: 2px; z-index: 3; }
.h2-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.h2-dots button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(22, 22, 22, 0.22); transition: background 0.3s, transform 0.3s; }
.h2-dots button[aria-pressed="true"]::after { background: var(--orange); transform: scale(1.35); }
.h2-dots button:focus-visible { outline: 2px solid var(--orange); border-radius: 50%; }
.h2-note { position: absolute; left: 3%; bottom: 34px; margin-left: 8px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); z-index: 3; }

.h2-feats { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(20px, 4vh, 44px) 0 0; padding: 30px 0 34px; border-top: 1px solid var(--line-2); }
.h2-feats li { display: flex; gap: 18px; align-items: flex-start; padding: 0 clamp(16px, 2.4vw, 36px); border-left: 1px solid var(--line-2); }
.h2-feats li:first-child { border-left: 0; padding-left: 0; }
.h2-feats svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.h2-feats b { display: block; font: 700 14px/1.2 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin: 4px 0 8px; }
.h2-feats span { font-size: 16px; line-height: 1.4; color: var(--muted); }

@media (max-width: 900px) {
  .hero.hero2 { grid-template-columns: 1fr; grid-template-rows: auto auto auto; row-gap: 28px; padding: calc(var(--frame) + var(--navh) + 28px) calc(var(--frame) + 20px) var(--frame); }
  .h2-art { height: 76vw; max-height: 440px; margin-top: 12px; }
  .h2-feats { grid-template-columns: 1fr; padding: 20px 0 26px; gap: 18px; }
  .h2-feats li, .h2-feats li:first-child { border-left: 0; padding: 0; }
  .h2-note { display: none; }
}
@media (prefers-reduced-motion: reduce) { .h2-hand svg, .h2-arrow { animation: none; stroke-dashoffset: 0; } .h2-card { transition: none; } }
/* hero v2: bigger cards */
.h2-before { left: 0; top: 30%; width: 50%; }
.h2-after { right: 3%; top: 9%; width: 69%; }
.h2-hand-b { left: 9%; top: 13%; }
.h2-hand-a { right: 1%; top: -3%; }
.h2-arrow { left: 22%; top: -3%; width: 15%; }
.hero2 .logo-slot { right: -4%; bottom: 4%; width: 30%; height: 44%; }

/* How it works: steps closer together */
.chapter { min-height: 72vh; min-height: 72svh; }
.chapter.outro { min-height: 90svh; }
/* Box labels in the same style as the hero's "We redesign business websites." */
.card .label, .outro .label { display: flex; align-items: center; gap: 14px; font: 500 14px/1.2 var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); }
.card .label::before, .outro .label::before { content: ""; flex: none; width: 36px; height: 2px; background: var(--orange); }
.outro .label { justify-content: center; }

/* How it works: smaller dot picture (pixels.js), square, so the cards stay the focus */
.pix { width: min(32vw, 440px); aspect-ratio: 1 / 1; right: calc(var(--frame) + 8vw); top: 50%; }
@media (max-width: 900px) { .pix { width: min(64vw, 300px); right: calc(var(--frame) + 18vw); top: 70%; } }


/* dot picture a little larger, for definition */
.pix { width: min(36vw, 500px); right: calc(var(--frame) + 6vw); }
@media (max-width: 900px) { .pix { width: min(72vw, 330px); right: calc(var(--frame) + 14vw); } }
.pix { transition: opacity 0.5s ease; }

/* FAQ: one dropdown that opens the list, and less space around it */
.faq { padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(56px, 7vw, 100px); align-items: center; }
.faq .section-head { position: static; }
.faq-all { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.faq-all > summary { font-size: clamp(22px, 2vw, 28px); padding: 28px 0; }
.faq-all > summary .faq-n { margin-left: 12px; margin-right: auto; font-size: 12px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 9px; }
.faq-all[open] > summary::after { transform: rotate(45deg); color: var(--orange); }
.faq-all .faq-list { border-top: 1px solid var(--line-2); margin-left: 4px; }
.faq-all .faq-list details:last-child { border-bottom: 0; }
.faq { align-items: start; }
.faq-list details:not([open]) > summary::after { transform: none; color: inherit; }

/* Closing screen: the statement sits under the "Same business" box */
.chapter.outro { flex-direction: column; justify-content: center; align-items: center; gap: clamp(36px, 6vh, 72px); padding-bottom: 8vh; min-height: 100svh; }
.outro .words { max-width: 20ch; text-align: center; font-size: clamp(26px, 3.2vw, 50px); }
/* hero: the handwritten "After" sits at the tip of the arrow, on the After card's corner */
.h2-hand-a { right: auto; left: 38%; top: -2%; }

/* How it works: each step's dot picture sits right beside its card */
.chapter:not(.outro) { gap: clamp(24px, 4vw, 72px); }
.pix-wrap { flex: 0 1 540px; margin-left: auto; aspect-ratio: 1 / 1; min-width: 0; pointer-events: none; }
.pix-wrap canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 900px) {
  .chapter:not(.outro) { flex-direction: column; justify-content: center; }
  .pix-wrap { flex: none; width: min(100%, 420px); margin: 0 auto; }
}
/* Footer: just one quiet line */
.footer.slim { padding: 22px var(--gutter) 26px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer.slim p { margin: 0; color: var(--dim); }

/* How it works: equal cards, content centered, lined up with the middle of the site drawing */
.chapter:not(.outro) .card { display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }
.pix-wrap canvas { transform: translateY(2.5%); } /* the drawing's site sits a touch above center */

/* ===== Type, Oct 15: two fonts only ===== */
/* Cabinet Grotesk for everything people read; DM Mono only for the menu, buttons and small captions.
   Headlines are in normal sentence case. Uppercase is kept for small labels, set like "$740 FLAT". No italics. */
:root { --serif: "Cabinet Grotesk", "Helvetica Neue", Arial, sans-serif; }
em, i, .big-mark span { font-style: normal; }
.display, .display-2, .hero-title, .card h2, .menu nav a, .words, .h2-title { text-transform: none; font-weight: 600; letter-spacing: -0.035em; }
.display-2, .card h2 { line-height: 0.98; }
.price .cur { font-family: var(--display); font-style: normal; }
/* small labels: one style everywhere */
.label, .card .label, .outro .label, .h2-eyebrow, .h2-feats b { font: 700 13px/1.2 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
/* the "Before" / "After" notes on the first screen, in the same type (no handwriting) */
.h2-hand { font: 700 13px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; }
/* closing statement: wider, so it runs across in fewer lines */
.outro .words { max-width: 34ch; font-size: clamp(22px, 2.4vw, 38px); line-height: 1.12; }
/* footer link */
.footer.slim a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.25s, border-color 0.25s; }
@media (hover: hover) { .footer.slim a:hover { color: var(--orange-ink); border-color: currentColor; } }

/* Contact: a short divider between the two sides, not touching the edges */
.contact { position: relative; }
.contact::after { content: ""; position: absolute; left: 50%; top: calc(var(--pad) + 8px); bottom: calc(var(--pad) + 8px); width: 1px; background: var(--line-2); pointer-events: none; }
@media (max-width: 900px) { .contact::after { display: none; } }
/* no floating "Get a free preview" button */
.float-cta, .float-cta.show { display: none !important; }

/* no 3D logo bars on the first screen */
#gl, .hero2 .fallback-mark, .no-gl .hero2 .fallback-mark { display: none !important; }
