/* ==========================================================================
   Solent Web Studios: public site
   Palette: "dusk over the Solent". Ink black, warm paper, one flare accent.
   ========================================================================== */
:root {
  --ink: #08090c;
  --ink-2: #0e1015;
  --ink-3: #15181f;
  --ink-4: #1d212a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eeece6;
  --text-2: #b9bac0;
  --mute: #80848e;
  --paper: #f3efe7;
  --paper-2: #e9e3d8;
  --paper-ink: #121317;
  --paper-mute: #5f6068;
  --paper-line: rgba(18, 19, 23, 0.12);
  --flare: #ff5a36;
  --flare-2: #ff8d5c;
  --amber: #ffb35c;
  --tide: #2747d6;
  --glass: #8fe0cc;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1320px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--flare); color: #fff; }
:focus-visible { outline: 2px solid var(--flare); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--flare); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(96px, 13vw, 180px) 0; }
.section--tight { padding: clamp(72px, 9vw, 120px) 0; }
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .mute, .paper .lede { color: var(--paper-mute); }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; }
.display { font-size: clamp(48px, 8.6vw, 136px); letter-spacing: -0.055em; line-height: 0.94; font-weight: 500; }
.h1 { font-size: clamp(44px, 6.6vw, 104px); letter-spacing: -0.05em; line-height: 0.98; }
.h2 { font-size: clamp(36px, 4.9vw, 72px); letter-spacing: -0.045em; line-height: 1.02; }
.h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.03em; line-height: 1.12; }
.h4 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.display em, .h1 em, .h2 em { padding-right: 0.06em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.55; color: var(--text-2); max-width: 46ch; }
.mute { color: var(--mute); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--flare); box-shadow: 0 0 0 4px rgba(255, 90, 54, 0.16); }
.paper .eyebrow { color: var(--paper-mute); }
.grad-text {
  background: linear-gradient(100deg, var(--amber) 0%, var(--flare) 45%, #ff4d7a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--flare); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 60px; padding: 0 30px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120% 140% at var(--mx, 50%) 120%, #fff 0%, transparent 60%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.btn .btn__label { position: relative; display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.btn .btn__label span { display: block; transition: transform .55s var(--ease); }
.btn .btn__label span + span { position: absolute; left: 0; top: 100%; }
.btn:hover .btn__label span { transform: translateY(-100%); }
.btn:hover { box-shadow: 0 18px 50px -18px rgba(255, 90, 54, 0.75); }
.btn:hover::before { opacity: 0.22; }
.btn .arrow { width: 18px; height: 18px; transition: transform .55s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }
.btn--ghost { --bg: transparent; --fg: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn--light { --bg: var(--paper); --fg: var(--paper-ink); }
.btn--dark { --bg: var(--paper-ink); --fg: var(--paper); }
.btn--dark:hover { box-shadow: 0 18px 50px -18px rgba(0,0,0,.5); }
.paper .btn--ghost { --fg: var(--paper-ink); box-shadow: inset 0 0 0 1px var(--paper-line); }
.btn--sm { height: 46px; padding: 0 20px; font-size: 15px; }
.magnetic { will-change: transform; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; position: relative; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 28px; bottom: -4px; height: 1px; background: currentColor; transform-origin: right; transform: scaleX(0); transition: transform .6s var(--ease); }
.link-arrow:hover::after { transform-origin: left; transform: scaleX(1); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 90; height: var(--header-h);
  display: flex; align-items: center;
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(8, 9, 12, 0.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -0.03em; font-size: 19px; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand .brand__mark-wave { transform-origin: center; transition: transform 1.2s var(--ease); }
.brand:hover .brand__mark-wave { transform: rotate(180deg); }
.brand small { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 17px; letter-spacing: 0; color: var(--text-2); margin-top: -4px; }
.brand__text { line-height: 1.05; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 999px; font-size: 15px; color: var(--text-2);
  transition: color .3s, background .3s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--flare); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__team { font-size: 14px; color: var(--mute); padding: 10px 12px; display: inline-flex; gap: 8px; align-items: center; transition: color .3s; }
.header__team:hover { color: var(--text); }
.header__team svg { width: 16px; height: 16px; }
.burger { display: none; width: 50px; height: 50px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); position: relative; }
.burger span { position: absolute; left: 16px; right: 16px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 21px; }
.burger span:nth-child(2) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 24.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 24.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 85; background: var(--ink-2);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 45px) 42px);
  transition: clip-path .9s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 45px) 42px); visibility: visible; }
.menu nav a { display: flex; align-items: baseline; gap: 14px; font-size: clamp(36px, 9vw, 56px); letter-spacing: -0.045em; line-height: 1.15; font-weight: 500; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.menu nav a small { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--mute); }
.menu-open .menu nav a { opacity: 1; transform: none; }
.menu-open .menu nav a:nth-child(2) { transition-delay: .05s; } .menu-open .menu nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu nav a:nth-child(4) { transition-delay: .15s; } .menu-open .menu nav a:nth-child(5) { transition-delay: .2s; }
.menu-open .menu nav a:nth-child(6) { transition-delay: .25s; } .menu-open .menu nav a:nth-child(7) { transition-delay: .3s; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px; }
body.menu-open { overflow: hidden; }

/* ---------- custom cursor ---------- */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; border-radius: 50%; display: none; }
.has-cursor .cursor, .has-cursor .cursor-dot { display: block; }
.cursor {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 1px solid rgba(255,255,255,.45);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s var(--ease), border-color .45s, opacity .3s;
  mix-blend-mode: difference;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; transition: opacity .3s, transform .3s; }
.cursor span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; }
.cursor.is-link { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(255,255,255,.95); border-color: transparent; }
.cursor.is-view { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--flare); border-color: transparent; mix-blend-mode: normal; }
.cursor.is-view span { opacity: 1; color: #fff; }
.cursor.is-view + .cursor-dot, .cursor.is-link + .cursor-dot { opacity: 0; }
.cursor.is-text { width: 4px; height: 34px; margin: -17px 0 0 -2px; border-radius: 2px; background: #fff; }
.cursor.is-hidden, .cursor.is-hidden + .cursor-dot { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button { cursor: none; } .has-cursor input, .has-cursor textarea, .has-cursor select { cursor: text; } }

/* ---------- preloader + page transition ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: grid; place-items: center;
  transition: clip-path 1.1s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__mark svg { width: 64px; height: 64px; }
.loader__mark .brand__mark-wave { animation: spinwave 1.6s var(--ease-in-out) infinite; transform-origin: center; }
@keyframes spinwave { 50% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
.loader__count { font-family: var(--mono); font-size: 13px; letter-spacing: .2em; color: var(--mute); }
.loader__bar { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--flare); transform-origin: left; transform: scaleX(0); }
.no-loader .loader { display: none; }

.curtain { position: fixed; inset: 0; z-index: 190; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.curtain i { background: var(--ink-3); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-in-out); }
.curtain i:nth-child(2) { transition-delay: .04s; } .curtain i:nth-child(3) { transition-delay: .08s; } .curtain i:nth-child(4) { transition-delay: .12s; } .curtain i:nth-child(5) { transition-delay: .16s; }
.curtain.is-in i { transform: scaleY(1); }
.curtain.is-out i { transform: scaleY(0); transform-origin: top; }
.from-trans .curtain i { transform: scaleY(1); transition: none; }
.curtain__label { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(32px, 5vw, 64px); letter-spacing: -0.04em; font-weight: 500; opacity: 0; transition: opacity .3s; }
.curtain.is-in .curtain__label { opacity: 1; transition-delay: .35s; }
.curtain.is-out .curtain__label { opacity: 0; transition-delay: 0s; }

/* ---------- grain + gradient field ---------- */
.grain { position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-5%)} 60%{transform:translate(-6%,1%)} 80%{transform:translate(4%,4%)} 100%{transform:translate(0,0)} }

.field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.field .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.field .b1 { width: 56vw; height: 56vw; left: -12vw; top: -18vw; background: radial-gradient(circle at 30% 30%, var(--flare), transparent 65%); animation: drift1 22s ease-in-out infinite alternate; }
.field .b2 { width: 50vw; height: 50vw; right: -14vw; top: 6vw; background: radial-gradient(circle at 60% 40%, var(--tide), transparent 65%); animation: drift2 26s ease-in-out infinite alternate; opacity: .6; }
.field .b3 { width: 40vw; height: 40vw; left: 30vw; bottom: -22vw; background: radial-gradient(circle, var(--amber), transparent 65%); animation: drift3 30s ease-in-out infinite alternate; opacity: .35; }
@keyframes drift1 { to { transform: translate(14vw, 10vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vw, 14vw) scale(.9); } }
@keyframes drift3 { to { transform: translate(-16vw, -10vw) scale(1.2); } }
.field::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--ink) 100%); }
.gridlines { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 96px 96px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); opacity: .55; }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 60px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero .wrap { position: relative; z-index: 3; }
.hero__kicker { margin-bottom: 28px; }
.hero__title { max-width: 14ch; }
.hero__title .rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .rotator > span { grid-area: 1 / 1; transform: translateY(140%); opacity: 0; transition: transform 1s var(--ease), opacity .6s var(--ease); white-space: nowrap; }
.hero__title .rotator > span.is-active { transform: translateY(0); opacity: 1; }
.hero__title .rotator > span.is-leaving { transform: translateY(-140%); opacity: 0; }
.hero__bottom { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: clamp(36px, 5vw, 64px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__meta { display: grid; gap: 6px; justify-items: end; text-align: right; font-size: 14px; color: var(--mute); }
.hero__meta strong { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.scroll-cue i { width: 1px; height: 48px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--flare); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 100%; } }

/* floating 3D stage */
.stage { position: absolute; inset: 0; z-index: 1; perspective: 1400px; pointer-events: none; }
.float { position: absolute; transform-style: preserve-3d; will-change: transform; }
.float__inner { transform-style: preserve-3d; animation: bob 9s ease-in-out infinite; }
.float:nth-child(2) .float__inner { animation-duration: 11s; animation-delay: -3s; }
.float:nth-child(3) .float__inner { animation-duration: 13s; animation-delay: -6s; }
.float:nth-child(4) .float__inner { animation-duration: 10s; animation-delay: -2s; }
@keyframes bob { 50% { transform: translate3d(0, -18px, 0) rotateX(2deg); } }
.f1 { width: min(44vw, 620px); right: -4vw; top: 16vh; }
.f1 .float__inner { transform: rotateY(-24deg) rotateX(10deg) rotateZ(2deg); }
.f2 { width: min(22vw, 300px); right: 30vw; top: 9vh; opacity: .85; }
.f2 .float__inner { transform: rotateY(18deg) rotateX(-8deg) rotateZ(-4deg); }
.f3 { width: min(12vw, 160px); right: 3vw; top: 34vh; }
.f3 .float__inner { transform: rotateY(-30deg) rotateX(12deg) rotateZ(6deg); }
.f4 { width: 120px; height: 120px; right: 42vw; bottom: 22vh; }
.orb { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 30% 28%, #fff 0%, var(--amber) 18%, var(--flare) 48%, #6a1a10 100%); box-shadow: 0 40px 80px -20px rgba(255,90,54,.6), inset -10px -14px 30px rgba(0,0,0,.35); }
.ring3d { position: absolute; inset: -40%; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); transform: rotateX(72deg); }

.browser { border-radius: 14px; overflow: hidden; background: var(--ink-3); box-shadow: 0 60px 120px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.08); }
.browser__bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #1a1d24; border-bottom: 1px solid rgba(255,255,255,.06); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3e48; }
.browser__bar i:nth-child(1) { background: #ff5f57; } .browser__bar i:nth-child(2) { background: #febc2e; } .browser__bar i:nth-child(3) { background: #28c840; }
.browser__url { margin-left: 10px; flex: 1; height: 18px; border-radius: 6px; background: rgba(255,255,255,.06); font-family: var(--mono); font-size: 10px; line-height: 18px; color: var(--mute); padding: 0 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone { border-radius: 26px; padding: 7px; background: #111318; box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.1); }
.phone img { border-radius: 20px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }

/* ---------- reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 46px, 0); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; transform: translate3d(0, 108%, 0) rotate(4deg); transform-origin: left bottom; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 0.045s + var(--d, 0s)); }
.split.is-in .w > span { transform: none; }
.js .mask-img { clip-path: inset(18% 12% 18% 12% round 28px); transition: clip-path 1.6s var(--ease); }
.js .mask-img img { transform: scale(1.25); transition: transform 2s var(--ease); }
.js .mask-img.is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .mask-img.is-in img { transform: scale(1); }
.line-draw { height: 1px; background: currentColor; opacity: .18; transform-origin: left; }
.js .line-draw { transform: scaleX(0); transition: transform 1.6s var(--ease); }
.js .line-draw.is-in { transform: scaleX(1); }

/* scroll-highlighted statement */
.statement { font-size: clamp(30px, 4.1vw, 62px); line-height: 1.12; letter-spacing: -0.04em; font-weight: 500; max-width: 22ch; }
.statement .sw { color: rgba(238,236,230,.16); transition: color .35s; }
.statement .sw.on { color: var(--text); }
.paper .statement .sw { color: rgba(18,19,23,.14); }
.paper .statement .sw.on { color: var(--paper-ink); }

/* ---------- marquee ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 48px; animation: marquee 38s linear infinite; padding-right: 48px; }
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -0.04em; font-weight: 500; }
.marquee__track span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--flare); }
.marquee__track span:nth-child(even) { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--text-2); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- layout helpers ---------- */
.split-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.split-head .lede { justify-self: end; }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }

/* ---------- pillars / cards ---------- */
.card {
  position: relative; padding: clamp(28px, 3vw, 44px); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden; isolation: isolate;
  transition: transform .7s var(--ease), box-shadow .5s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,90,54,.18), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.card__num { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--mute); }
.card h3 { margin: 56px 0 14px; }
.card p { color: var(--text-2); margin: 0; }
.paper .card { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.02), inset 0 0 0 1px var(--paper-line); }
.paper .card p { color: var(--paper-mute); }
.paper .card__num { color: var(--paper-mute); }
.icon-chip { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,90,54,.12); color: var(--flare); }
.icon-chip svg { width: 26px; height: 26px; }
.tilt { transform-style: preserve-3d; will-change: transform; }

/* service rows */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  position: relative; display: grid; grid-template-columns: 80px minmax(0, 1.2fr) minmax(0, 1fr) 64px; gap: 24px; align-items: center;
  padding: clamp(28px, 3.4vw, 46px) 0; border-bottom: 1px solid var(--line);
  transition: padding .6s var(--ease);
}
.svc-row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--ink-3); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.svc-row:hover::before { transform: scaleY(1); }
.svc-row__num { font-family: var(--mono); font-size: 13px; color: var(--mute); }
.svc-row h3 { font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -0.045em; font-weight: 500; transition: transform .6s var(--ease); }
.svc-row:hover h3 { transform: translateX(14px); }
.svc-row p { margin: 0; color: var(--text-2); }
.svc-row__go { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .5s var(--ease), transform .6s var(--ease); }
.svc-row__go svg { width: 22px; height: 22px; transition: transform .6s var(--ease); }
.svc-row:hover .svc-row__go { background: var(--flare); box-shadow: none; }
.svc-row:hover .svc-row__go svg { transform: rotate(-45deg); }
.svc-row__peek { position: absolute; right: 120px; top: 50%; width: 260px; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(0, -50%) scale(.8) rotate(-6deg); transition: opacity .5s var(--ease), transform .7s var(--ease); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.svc-row__peek img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.svc-row:hover .svc-row__peek { opacity: 1; transform: translate(0, -50%) scale(1) rotate(-3deg); }

/* ---------- horizontal work scroller ---------- */
.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vh, 48px); }
.hscroll__track { display: flex; gap: clamp(20px, 2.4vw, 36px); padding: 0 var(--gutter); will-change: transform; }
.hscroll__track::after { content: ""; flex: none; width: 1px; margin-left: calc(var(--gutter) - clamp(20px, 2.4vw, 36px)); }
.hscroll__progress { margin: clamp(24px, 4vh, 44px) var(--gutter) 0; height: 1px; background: var(--line); position: relative; }
.hscroll__progress i { position: absolute; inset: 0; background: var(--flare); transform-origin: left; transform: scaleX(var(--p, 0)); }
.work-card { flex: none; width: clamp(300px, 46vw, 720px); display: block; }
.work-card__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink-3); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.4s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); border-radius: inherit; pointer-events: none; }
.work-card__phone { position: absolute; right: 5%; bottom: -12%; width: 22%; transform: rotate(6deg) translateY(20px); transition: transform 1s var(--ease); }
.work-card:hover .work-card__phone { transform: rotate(2deg) translateY(-12px); }
.work-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 22px; }
.work-card__meta h3 { font-size: clamp(22px, 2vw, 30px); }
.work-card__meta span { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--mute); text-transform: uppercase; white-space: nowrap; }
.work-card--end { display: grid; place-items: center; text-align: center; aspect-ratio: auto; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); padding: 48px; width: clamp(280px, 30vw, 460px); }
.tag { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.07); color: var(--text-2); }
.paper .tag { background: rgba(0,0,0,.06); color: var(--paper-mute); }
.tag--flare { background: rgba(255,90,54,.14); color: var(--flare-2); }

/* ---------- process teaser ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--paper-line); }
.step { padding: 36px 28px 8px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--paper-line); }
.step__n { font-family: var(--serif); font-style: italic; font-size: 68px; line-height: 1; color: var(--flare); }
.step h3 { margin: 22px 0 10px; font-size: 24px; }
.step p { color: var(--paper-mute); margin: 0; font-size: 16px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 36px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__v { font-size: clamp(48px, 6vw, 92px); letter-spacing: -0.06em; line-height: 1; font-weight: 500; }
.stat__v small { font-size: .45em; letter-spacing: -0.03em; color: var(--mute); margin-left: 4px; }
.stat p { margin: 14px 0 0; color: var(--text-2); font-size: 15px; max-width: 24ch; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--paper-line); color: var(--paper-ink); transition: transform .7s var(--ease), box-shadow .6s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--paper-line), 0 40px 80px -40px rgba(0,0,0,.35); }
.plan--hot { background: var(--ink); color: var(--text); box-shadow: 0 50px 100px -40px rgba(255,90,54,.5); }
.plan--hot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, var(--amber), var(--flare) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan__name { display: flex; justify-content: space-between; align-items: center; font-weight: 500; font-size: 20px; }
.plan__price { margin: 30px 0 6px; font-size: clamp(48px, 5vw, 72px); letter-spacing: -0.06em; line-height: 1; font-weight: 500; }
.plan__price small { font-size: 18px; letter-spacing: -0.01em; color: var(--paper-mute); font-weight: 400; margin-left: 4px; }
.plan--hot .plan__price small, .plan--hot .plan__sub, .plan--hot li { color: var(--text-2); }
.plan__sub { color: var(--paper-mute); font-size: 15px; min-height: 48px; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; font-size: 15.5px; color: var(--paper-mute); }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--flare); }
.plan .btn { margin-top: auto; width: 100%; }
.plan__divider { height: 1px; background: var(--paper-line); margin-top: 24px; }
.plan--hot .plan__divider { background: var(--line); }

/* compare table */
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 18px 16px; text-align: left; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.compare thead th { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-mute); font-weight: 400; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .yes { color: var(--flare); font-weight: 600; }
.compare .no { color: rgba(0,0,0,.25); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.paper .faq { border-color: var(--paper-line); }
.faq details { border-bottom: 1px solid var(--line); }
.paper .faq details { border-color: var(--paper-line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; cursor: pointer; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.02em; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); position: relative; transition: transform .5s var(--ease), background .4s; }
.paper .faq summary i { box-shadow: inset 0 0 0 1px var(--paper-line); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--flare); color: #fff; box-shadow: none; transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .faq__a { padding: 0 0 30px; max-width: 70ch; color: var(--text-2); }
.paper .faq .faq__a { color: var(--paper-mute); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(110px, 16vw, 220px) 0; text-align: center; isolation: isolate; }
.cta .field .blob { opacity: .5; }
.cta__title { font-size: clamp(52px, 10vw, 168px); letter-spacing: -0.06em; line-height: .92; font-weight: 500; max-width: 11ch; margin-left: auto; margin-right: auto; }
.cta p { margin: 28px auto 40px; max-width: 46ch; color: var(--text-2); font-size: clamp(17px, 1.4vw, 20px); }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- page hero (inner pages) ---------- */
.phero { position: relative; padding: calc(var(--header-h) + clamp(80px, 12vw, 170px)) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.phero .wrap { position: relative; z-index: 2; }
.phero .field .blob { opacity: .38; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: end; margin-top: 30px; }
.phero__grid .lede { justify-self: end; }
.crumbs { display: flex; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { opacity: .5; }

/* parallax helpers */
[data-speed] { will-change: transform; }
.parallax-img { position: relative; overflow: hidden; border-radius: var(--radius); }
.parallax-img img { width: 100%; height: 120%; object-fit: cover; object-position: top; }

/* ---------- feature split ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.feature--flip .feature__media { order: 2; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--text-2); }
.paper .checks li { color: var(--paper-mute); }
.checks li svg { width: 22px; height: 22px; color: var(--flare); margin-top: 2px; }
.checks strong { color: var(--text); font-weight: 500; }
.paper .checks strong { color: var(--paper-ink); }

/* anatomy diagram */
.anatomy { position: relative; }
.anatomy .browser img { aspect-ratio: 1440 / 900; }
.pin { position: absolute; display: flex; align-items: center; gap: 10px; font-size: 13px; background: rgba(8,9,12,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 8px 14px 8px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); white-space: nowrap; }
.pin b { width: 22px; height: 22px; border-radius: 50%; background: var(--flare); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.pin::before { content: ""; position: absolute; left: 19px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--flare); opacity: .5; animation: ping 2.4s var(--ease) infinite; z-index: -1; }
@keyframes ping { 70%, 100% { transform: scale(2.4); opacity: 0; } }

/* timeline (process) */
.timeline { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 110px); }
.timeline__aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.timeline__progress { margin-top: 36px; height: 240px; width: 1px; background: var(--line); position: relative; }
.timeline__progress i { position: absolute; inset: 0; background: var(--flare); transform-origin: top; transform: scaleY(var(--p, 0)); }
.tl-item { position: relative; padding: 0 0 clamp(56px, 7vw, 96px) 64px; }
.tl-item::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 1px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-item__dot { position: absolute; left: 0; top: 0; width: 31px; height: 31px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; color: var(--mute); background: var(--ink); transition: background .5s, color .5s, box-shadow .5s; }
.tl-item.is-in .tl-item__dot { background: var(--flare); color: #fff; box-shadow: 0 0 0 6px rgba(255,90,54,.15); }
.tl-item h3 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 14px; }
.tl-item p { color: var(--text-2); max-width: 56ch; }
.tl-item__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* portfolio page */
.showcase { display: grid; gap: clamp(100px, 14vw, 200px); }
.project { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.project:nth-child(even) { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }
.project:nth-child(even) .project__media { order: 2; }
.project__media { position: relative; padding-bottom: 8%; }
.project__media .browser { position: relative; z-index: 1; }
.project__media .phone { position: absolute; z-index: 2; width: 24%; right: -4%; bottom: 0; }
.project:nth-child(even) .project__media .phone { right: auto; left: -4%; }
.project__swatches { display: flex; gap: 8px; margin: 22px 0; }
.project__swatches i { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.project__meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 24px 0 30px; font-size: 14.5px; }
.project__meta dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.project__meta dd { margin: 0; color: var(--text-2); }
.project h2 { font-size: clamp(34px, 3.8vw, 56px); margin: 14px 0 18px; }
.project p { color: var(--text-2); }
.project__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.filters button { height: 42px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 14px; color: var(--text-2); transition: background .4s, color .4s; }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--ink); box-shadow: none; }
.project.is-filtered { display: none; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--radius-sm); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); font-size: 15px; }
.notice svg { width: 20px; height: 20px; flex: none; color: var(--amber); margin-top: 3px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: clamp(14px, 1.6vw, 22px); }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }
.bento .card h3 { margin-top: 0; }
.bento .card { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }

/* speed meter */
.meter { display: flex; gap: 22px; flex-wrap: wrap; }
.gauge { width: 112px; text-align: center; font-size: 13px; color: var(--mute); }
.gauge svg { width: 112px; height: 112px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 7; }
.gauge .track { stroke: rgba(255,255,255,.08); }
.gauge .val { stroke: #2fd47a; stroke-linecap: round; stroke-dasharray: 302; stroke-dashoffset: 302; transition: stroke-dashoffset 2s var(--ease); }
.gauge.is-in .val { stroke-dashoffset: var(--off); }
.gauge b { display: block; margin-top: -76px; height: 64px; font-size: 26px; color: var(--text); font-weight: 500; letter-spacing: -0.03em; }

/* team (about) */
.team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.person { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; isolation: isolate; }
.person__mono { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 52px; background: conic-gradient(from 210deg, var(--flare), var(--amber), var(--tide), var(--flare)); color: #fff; box-shadow: 0 30px 60px -20px rgba(255,90,54,.5); }
.person h3 { font-size: 34px; margin: 0 0 6px; }
.person .role { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--flare-2); }
.person p { color: var(--text-2); margin: 18px 0 0; }
.portal-card { position: relative; border-radius: var(--radius); overflow: hidden; padding: clamp(28px, 3vw, 44px); min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; background: radial-gradient(120% 120% at 100% 0%, rgba(39,71,214,.55), transparent 55%), radial-gradient(90% 90% at 0% 100%, rgba(255,90,54,.4), transparent 60%), var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.portal-card__ui { display: grid; gap: 8px; margin: 26px 0; }
.portal-card__ui span { height: 12px; border-radius: 6px; background: rgba(255,255,255,.1); }
.portal-card__ui span:nth-child(1) { width: 70%; } .portal-card__ui span:nth-child(2) { width: 90%; } .portal-card__ui span:nth-child(3) { width: 55%; background: rgba(255,90,54,.5); }
.lock { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--glass); }
.lock svg { width: 16px; height: 16px; }

.values { counter-reset: v; }
.value { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--paper-line); align-items: start; }
.value:first-child { border-top: 1px solid var(--paper-line); }
.value::before { counter-increment: v; content: "0" counter(v); font-family: var(--mono); font-size: 13px; color: var(--paper-mute); padding-top: 10px; }
.value h3 { font-size: clamp(26px, 2.6vw, 38px); }
.value p { margin: 0; color: var(--paper-mute); }

/* ---------- forms ---------- */
.form { display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field-g { position: relative; display: grid; gap: 8px; }
.field-g label { font-size: 13px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.field-g input, .field-g select, .field-g textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 12px 0 14px; font-size: 19px; color: var(--text); outline: none; transition: border-color .4s;
}
.field-g select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2380848e' stroke-width='1.6'%3E%3Cpath d='M2 5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
.field-g select option { background: var(--ink-2); color: var(--text); }
.field-g textarea { min-height: 140px; resize: vertical; }
.field-g input:focus, .field-g select:focus, .field-g textarea:focus { border-color: var(--flare); }
.field-g .bar { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--flare); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field-g input:focus ~ .bar, .field-g textarea:focus ~ .bar, .field-g select:focus ~ .bar { transform: scaleX(1); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 15px; color: var(--text-2); cursor: pointer; transition: background .35s, color .35s, box-shadow .35s; }
.chips input:checked + span { background: var(--flare); color: #fff; box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--flare); outline-offset: 3px; }
.form-status { min-height: 24px; font-size: 15px; }
.form-status.err { color: #ff8577; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.next-steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; color: var(--text-2); }
.next-steps li::before { counter-increment: ns; content: counter(ns); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); font-family: var(--mono); font-size: 13px; color: var(--text); }
.next-steps strong { display: block; color: var(--text); font-weight: 500; margin-bottom: 2px; }

/* ---------- footer ---------- */
.footer { position: relative; background: var(--ink); border-top: 1px solid var(--line); padding: clamp(72px, 9vw, 120px) 0 36px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 400; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--text-2); transition: color .3s; }
.footer ul a:hover { color: var(--text); }
.footer__lead { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.035em; line-height: 1.15; max-width: 18ch; margin: 24px 0 28px; font-weight: 500; }
.footer__word { margin-top: clamp(60px, 9vw, 120px); font-size: clamp(64px, 17vw, 280px); letter-spacing: -0.07em; line-height: .8; font-weight: 600; white-space: nowrap; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.footer__base a:hover { color: var(--text); }

/* ---------- 404 / thanks ---------- */
.center-page { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.center-page .wrap { position: relative; z-index: 2; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header__team { display: none; }
  .burger { display: block; }
  .header__cta .btn { display: none; }
  .svc-row { grid-template-columns: 56px minmax(0, 1fr) 56px; }
  .svc-row p { grid-column: 2 / 3; }
  .svc-row__go { grid-row: 1; grid-column: 3; width: 56px; height: 56px; }
  .svc-row__peek { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--paper-line); margin-top: 28px; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 3; }
  .bento .span-6 { grid-column: span 6; }
  .f2 { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .split-head, .phero__grid, .feature, .timeline, .contact-grid, .project, .project:nth-child(even), .team { grid-template-columns: 1fr; }
  .split-head .lede, .phero__grid .lede { justify-self: start; }
  .feature--flip .feature__media, .project:nth-child(even) .project__media { order: 0; }
  .timeline__aside, .contact-aside { position: static; }
  .timeline__progress { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--line); }
  .hero { align-items: flex-end; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__meta { justify-items: start; text-align: left; }
  .f1 { width: 88vw; right: -34vw; top: 10vh; opacity: .3; }
  .f3 { display: none; }
  .f4 { width: 70px; height: 70px; right: 8vw; top: 18vh; bottom: auto; }
  .value { grid-template-columns: 1fr; gap: 10px; }
  .value::before { padding-top: 0; }
  .hscroll__sticky { position: relative; height: auto; padding: 100px 0; }
  .hscroll__track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 50px; transform: none !important; scrollbar-width: none; }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .work-card { width: 82vw; scroll-snap-align: center; }
  .hscroll__progress { display: none; }
  .pin { font-size: 11px; padding: 6px 10px 6px 6px; }
  .pin b { width: 18px; height: 18px; font-size: 10px; }
  .pin::before { left: 15px; width: 18px; height: 18px; margin-top: -9px; }
}
@media (max-width: 640px) {
  .grid-2, .form .row { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--paper-line); margin-top: 28px; }
  .bento > *, .bento .span-3, .bento .span-4, .bento .span-6 { grid-column: span 6; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .btn { height: 56px; padding: 0 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .svc-row { grid-template-columns: minmax(0, 1fr) 48px; gap: 12px 16px; }
  .svc-row__num { display: none; }
  .svc-row p { grid-column: 1 / -1; }
  .svc-row__go { grid-column: 2; width: 48px; height: 48px; }
  .svc-row h3 { grid-column: 1; grid-row: 1; }
  .project__media .phone { width: 30%; }
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 14px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .split .w > span, .js .mask-img, .js .mask-img img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .grain { display: none; }
}
