/* ==========================================================================
   ANGLE LAB — main stylesheet
   Tokens → base → type → layout → components → sections → pages → motion
   ========================================================================== */

:root {
  --bg: #0B0B12;
  --panel: #15151F;
  --panel-2: #1C1C29;
  --ink: #F8F9FF;
  --mute: #A7A7B8;
  --dim: #6F6F82;
  --lav: #C4B5FD;
  --pur: #8B5CF6;
  --pink: #F472B6;
  --grad: linear-gradient(100deg, #8B5CF6 0%, #C4B5FD 52%, #F472B6 100%);
  --grad-paper: linear-gradient(100deg, #6D28D9 0%, #8B5CF6 50%, #DB2777 100%);
  --line: rgba(248, 249, 255, .10);
  --line-2: rgba(248, 249, 255, .18);
  --paper: #F3F2F8;
  --paper-ink: #0B0B12;
  --paper-mute: #55556A;

  --f-display: 'Sora', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;

  --g: clamp(16px, 4vw, 56px);           /* side gutter */
  --max: 1440px;
  --sec: clamp(88px, 12vw, 176px);       /* section rhythm */
  --ease: cubic-bezier(.22, 1, .36, 1);  /* one reveal curve, used everywhere */
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r: 4px;
  --nav-h: 76px;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--lav); color: var(--bg); }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--lav); color: var(--bg); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
/* Accent: Sora Bold italic with the brand gradient (from the original site's .g) */
h1 em, h2 em, h3 em, .foot-pitch em, .accent {
  font-family: var(--f-display); font-style: italic; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-right: .08em; margin-right: -.04em;
}
.eyebrow {
  font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--lav); display: inline-flex; gap: .6em; align-items: center;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.bare::before { display: none; }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.25rem); line-height: 1.55; color: var(--mute); max-width: 36em; }
.lead strong { color: var(--ink); font-weight: 500; }
.h-xl { font-size: clamp(3rem, 9.4vw, 9.5rem); line-height: .9; letter-spacing: -.05em; }
.h-l { font-size: clamp(2.5rem, 6.4vw, 6rem); line-height: .94; letter-spacing: -.045em; }
.h-m { font-size: clamp(2rem, 4.2vw, 3.75rem); line-height: 1; }
.h-s { font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.12; letter-spacing: -.025em; }
.mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.fine { font-size: .85rem; color: var(--mute); line-height: 1.55; }
.fine a, .lead a, .prose a { color: var(--lav); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--g); }
.sec { padding: var(--sec) 0; position: relative; }
.sec-tight { padding: calc(var(--sec) * .6) 0; }
.sec-head { display: grid; gap: 24px; margin-bottom: clamp(48px, 6vw, 88px); }
@media (min-width: 900px) {
  .sec-head.split { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
  .sec-head.split .lead { justify-self: end; }
}
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- buttons ---------- */
.btn {
  --bf: var(--lav); --bt: var(--bg); --hf: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 48px; padding: 0 22px; border-radius: var(--r);
  font: 600 .95rem/1 var(--f-body); letter-spacing: -.005em; white-space: nowrap;
  background: var(--bf); color: var(--bt);
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn::before {  /* fill wipe from below */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hf);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn i { font-style: normal; display: inline-block; transition: transform .45s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover i, .btn:focus-visible i { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn-s { --bf: transparent; --bt: var(--ink); --hf: var(--ink); border: 1px solid var(--line-2); }
.btn-s:hover, .btn-s:focus-visible { color: var(--bg); border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .86rem; }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 1rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link {
  display: inline-flex; gap: .5em; align-items: center; font-weight: 600; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease); padding-bottom: 3px;
}
.link:hover, .link:focus-visible { background-size: 100% 1px; }
.link i { font-style: normal; transition: transform .45s var(--ease); }
.link:hover i { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: transform .5s var(--ease), background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--g); height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.solid { background: rgba(11, 11, 18, .86); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav.hide { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 1.02rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; }
.brand img { width: 34px; height: 34px; transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-14deg) scale(1.06); }
.nav-links { display: none; gap: 34px; }
.nav-links a { position: relative; display: inline-flex; gap: 6px; align-items: baseline; font-size: .92rem; color: var(--mute); transition: color .3s; }
.nav-links .nl-i { font: .62rem var(--f-mono); color: var(--dim); }
.nav-links .nl-t { position: relative; display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.nav-links .nl-t::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--ink); }
.nav-links .nl-t, .nav-links .nl-t::after { transition: transform .45s var(--ease); }
.nav-links a:hover .nl-t { transform: translateY(-100%); }
.nav-links a:hover .nl-t::after { transform: none; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-links a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--lav); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { display: none; }
.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; border: 1px solid var(--line-2); border-radius: var(--r); position: relative; z-index: 2; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .nav-cta .btn { display: inline-flex; }
  .burger { display: none; }
}
.progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--lav); transform-origin: 0 50%; transform: scaleX(0); }

/* mobile menu: full-screen, big numbered links */
.menu { position: fixed; inset: 0; z-index: 99; background: var(--bg); padding: calc(var(--nav-h) + 24px) var(--g) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-links { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.menu-links a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 700 clamp(2rem, 9vw, 3.2rem)/1 var(--f-display); letter-spacing: -.04em; }
.menu-links a .nl-i { font: .7rem var(--f-mono); color: var(--lav); letter-spacing: .1em; }
.menu-links a .nl-t::after { display: none; }
.menu-links a[aria-current] { color: var(--lav); }
.menu-foot { display: grid; gap: 22px; padding-top: 32px; color: var(--mute); font-size: .95rem; }
.menu-foot .btn { justify-self: start; }
.menu.open .menu-links a { animation: rise .7s var(--ease) both; }
.menu.open .menu-links a:nth-child(2) { animation-delay: .04s; } .menu.open .menu-links a:nth-child(3) { animation-delay: .08s; }
.menu.open .menu-links a:nth-child(4) { animation-delay: .12s; } .menu.open .menu-links a:nth-child(5) { animation-delay: .16s; }
.menu.open .menu-links a:nth-child(6) { animation-delay: .2s; }
.menu.open { animation: fade .35s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- glow (hero + final CTA only) ---------- */
.glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow i { position: absolute; width: 56vmax; height: 56vmax; border-radius: 50%; filter: blur(90px); opacity: .32; }
.glow i:first-child { background: radial-gradient(circle, var(--pur), transparent 62%); left: 40%; top: -28%; animation: drift 26s ease-in-out infinite; }
.glow i:last-child { background: radial-gradient(circle, var(--pink), transparent 62%); left: 62%; top: 18%; opacity: .16; animation: drift 32s ease-in-out infinite reverse; }
@keyframes drift { 0%, 100% { transform: translate(-10%, -6%) scale(1); } 33% { transform: translate(12%, 10%) scale(1.15); } 66% { transform: translate(-6%, 14%) scale(.92); } }

/* ==========================================================================
   HOME — hero
   ========================================================================== */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 40px) 0 0; display: flex; flex-direction: column; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; flex: 1; display: grid; gap: 48px; align-content: center; }
.hero-copy { display: grid; gap: 28px; align-content: center; }
.hero h1 { font-size: clamp(3.1rem, 8.6vw, 8.8rem); line-height: .9; letter-spacing: -.055em; max-width: 9.5em; }
.hero h1 em { padding-right: .06em; }
.hero .lead { max-width: 31em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--mute); font: .7rem/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.hero-meta span::before { content: "✦ "; color: var(--lav); }

/* the ad wall: three columns of real creative drifting at different speeds */
.wall { position: relative; height: clamp(420px, 62vh, 760px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; overflow: hidden;
  -webkit-mask: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.wall-col { display: flex; flex-direction: column; gap: 12px; animation: wall-up 48s linear infinite; will-change: transform; }
.wall-col:nth-child(2) { animation-name: wall-down; animation-duration: 56s; margin-top: -40%; }
.wall-col:nth-child(3) { animation-duration: 42s; margin-top: -18%; }
.wall:hover .wall-col, .wall.paused .wall-col { animation-play-state: paused; }
.wall figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: var(--panel); flex: none; }
.wall figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.wall figure.t img { aspect-ratio: 2/3; }
.wall figcaption { position: absolute; left: 8px; bottom: 8px; padding: 5px 8px; background: rgba(11, 11, 18, .78); border-radius: 2px; font: .58rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.wall figcaption b { color: var(--lav); font-weight: 500; }
@keyframes wall-up { to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@media (min-width: 1000px) {
  .hero > .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; }
  .wall { height: calc(100svh - var(--nav-h) - 140px); min-height: 560px; transform: rotate(-3deg) translateY(10px); }
}
@media (max-width: 999px) {
  .wall { height: 380px; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .wall { height: 320px; margin: 0 calc(var(--g) * -1); grid-template-columns: repeat(3, 44vw); gap: 8px; }
  .wall-col { gap: 8px; }
}

/* marquee of angles — honest replacement for a logo wall */
.marquee { position: relative; z-index: 1; border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; margin-top: clamp(40px, 6vw, 72px); background: var(--bg); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; flex: none; }
.marquee li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font: 700 clamp(1.5rem, 3vw, 2.6rem)/1 var(--f-display); letter-spacing: -.035em; white-space: nowrap; }
.marquee li:nth-child(even) span { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.marquee li::after { content: "✦"; font: 400 .9rem/1 var(--f-body); color: var(--pink); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Work grid (home + work page)
   ========================================================================== */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 2px; font: 500 .6rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; background: rgba(11, 11, 18, .8); color: var(--ink); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lav); }
.tag.client::before { background: #7CE3A4; }

.tile { position: relative; display: block; width: 100%; text-align: left; margin: 0; color: var(--ink); }
.tile-media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--panel); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.tile .tag { position: absolute; top: 12px; left: 12px; z-index: 2; }
.tile-cap { display: grid; gap: 4px; padding-top: 14px; }
.tile-cap .mono { color: var(--mute); font-size: .66rem; }
.tile-cap h3 { font-size: clamp(1.05rem, 1.4vw, 1.3rem); letter-spacing: -.02em; line-height: 1.2; }
.tile-hover { position: absolute; inset: auto 0 0; z-index: 2; padding: 18px; background: linear-gradient(transparent, rgba(11, 11, 18, .92) 40%); transform: translateY(101%); transition: transform .6s var(--ease); font-size: .9rem; line-height: 1.45; color: var(--ink); }
.tile-hover b { display: block; font: 500 .62rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--lav); margin-bottom: 8px; }
@media (hover: hover) {
  .tile:hover .tile-media img { transform: scale(1.045); }
  .tile:hover .tile-hover, .tile:focus-visible .tile-hover { transform: none; }
}

/* home: editorial asymmetric grid */
.showcase { display: grid; gap: clamp(14px, 1.6vw, 22px); grid-template-columns: repeat(2, 1fr); }
.showcase .tile-media { aspect-ratio: 4/5; }
.showcase .s-tall .tile-media { aspect-ratio: 2/3; }
@media (min-width: 900px) {
  .showcase { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .showcase { row-gap: clamp(40px, 5vw, 80px); }
  .showcase .s1 { grid-column: 1 / span 5; grid-row: 1 / span 2; }
  .showcase .s2 { grid-column: 7 / span 3; grid-row: 1; margin-top: 9vw; }
  .showcase .s3 { grid-column: 10 / span 3; grid-row: 1; }
  .showcase .s4 { grid-column: 7 / span 3; grid-row: 2; }
  .showcase .s5 { grid-column: 10 / span 3; grid-row: 2; margin-top: 7vw; }
  .showcase .s6 { grid-column: 2 / span 3; grid-row: 3; margin-top: 6vw; }
  .showcase .s7 { grid-column: 6 / span 4; grid-row: 3; }
  .showcase .s8 { grid-column: 10 / span 3; grid-row: 3; margin-top: 11vw; }
}
.note { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: flex-start; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--mute); max-width: 60em; }
.note::before { content: "i"; flex: none; width: 20px; height: 20px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-content: center; font: italic 600 .72rem/1 var(--f-body); color: var(--lav); }

/* custom cursor (desktop, fine pointers only) */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--lav); color: var(--bg); display: grid; place-content: center; font: 600 .78rem/1 var(--f-body); transform: translate3d(-200px, -200px, 0) scale(0); transition: transform .45s var(--ease), opacity .3s; opacity: 0; }
.cursor.on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ==========================================================================
   Angle switcher — the signature interaction
   ========================================================================== */
.switcher { display: grid; gap: clamp(28px, 4vw, 64px); }
.sw-tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin: 0 calc(var(--g) * -1); padding: 0 var(--g); }
.sw-tabs::-webkit-scrollbar { display: none; }
.sw-tab { flex: none; padding: 14px 18px 16px; font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); position: relative; transition: color .3s; }
.sw-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--lav); transform: scaleX(0); transition: transform .5s var(--ease); }
.sw-tab[aria-selected="true"] { color: var(--ink); }
.sw-tab[aria-selected="true"]::after { transform: scaleX(1); }
.sw-tab:hover { color: var(--ink); }
.sw-body { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .sw-body { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); } }
.sw-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sw-card { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--panel); transition: transform .8s var(--ease), opacity .6s var(--ease), filter .6s; cursor: pointer; }
.sw-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: opacity .5s var(--ease); }
.sw-card .tag { position: absolute; top: 10px; left: 10px; }
.sw-card[aria-pressed="false"] { opacity: .42; filter: saturate(.4); transform: scale(.94); }
.sw-card[aria-pressed="true"] { box-shadow: 0 0 0 1px var(--lav); }
.sw-card.swap img { opacity: 0; }
.sw-info { display: grid; gap: 22px; }
.sw-angle { font: 700 clamp(2.4rem, 5.4vw, 5rem)/.95 var(--f-display); letter-spacing: -.045em; min-height: 1.9em; display: flex; align-items: flex-end; }
.sw-angle span { display: inline-block; }
.sw-meta { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; padding: 22px 0; border-block: 1px solid var(--line); font-size: .95rem; }
.sw-meta dt { font: .66rem/1.9 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.sw-meta dd { margin: 0; color: var(--ink); }
.sw-why { color: var(--mute); font-size: 1.02rem; min-height: 3.2em; }
.sw-toggle { display: inline-grid; grid-template-columns: 1fr 1fr; position: relative; border: 1px solid var(--line-2); border-radius: var(--r); padding: 4px; justify-self: start; }
.sw-toggle button { position: relative; z-index: 1; padding: 11px 22px; font: 600 .86rem/1 var(--f-body); color: var(--mute); transition: color .35s; }
.sw-toggle button[aria-pressed="true"] { color: var(--bg); }
.sw-toggle .pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--lav); border-radius: 2px; transition: transform .55s var(--ease); }
.sw-toggle[data-on="1"] .pill { transform: translateX(100%); }
.swap-out { animation: swapout .3s var(--ease-io) both; }
.swap-in { animation: swapin .6s var(--ease) both; }
@keyframes swapout { to { opacity: 0; transform: translateY(-14px); filter: blur(4px); } }
@keyframes swapin { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }

/* ==========================================================================
   Services index (home) — big rows with cursor-following preview
   ========================================================================== */
.svc-list { border-top: 1px solid var(--line); counter-reset: svc; }
.svc-row { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: baseline; padding: clamp(22px, 3vw, 38px) 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease); }
.svc-row .mono { color: var(--lav); font-size: .7rem; }
.svc-row h3 { font-size: clamp(1.7rem, 4.6vw, 4.4rem); letter-spacing: -.045em; line-height: 1; transition: transform .6s var(--ease), color .4s; }
.svc-row p { grid-column: 2; color: var(--mute); max-width: 34em; font-size: .98rem; }
.svc-row .arrow { display: none; }
.svc-thumb { display: none; }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: 70px minmax(0, 1.6fr) minmax(0, 1fr) 40px; align-items: center; }
  .svc-row p { grid-column: 3; }
  .svc-row .arrow { display: block; justify-self: end; font-size: 1.4rem; color: var(--mute); transition: transform .5s var(--ease), color .3s; }
  .svc-list:hover .svc-row h3 { color: var(--dim); }
  .svc-list .svc-row:hover h3 { color: var(--ink); transform: translateX(14px); }
  .svc-row:hover .arrow { transform: rotate(-45deg); color: var(--lav); }
}
@media (max-width: 899px) {
  .svc-row { grid-template-columns: auto 1fr 76px; }
  .svc-row p { grid-column: 2 / span 2; }
  .svc-thumb { display: block; grid-row: 1; grid-column: 3; width: 76px; aspect-ratio: 4/5; border-radius: 2px; overflow: hidden; align-self: center; }
  .svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
}
/* ==========================================================================
   Process (light "paper" section)
   ========================================================================== */
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .eyebrow { color: var(--pur); }
.paper h2 em, .paper h3 em { background-image: var(--grad-paper); }
.paper .lead { color: var(--paper-mute); }
.paper .link { color: var(--paper-ink); }
.steps { position: relative; display: grid; gap: 0; }
.steps-line { position: absolute; background: rgba(11, 11, 18, .14); }
.steps-line i { position: absolute; inset: 0; background: var(--pur); transform-origin: 0 0; transform: scaleY(var(--p, 0)); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; padding: 0 0 40px; }
.step-n { font: 700 1rem/1 var(--f-display); width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1px solid rgba(11, 11, 18, .2); display: grid; place-content: center; position: relative; z-index: 1; transition: background .5s, color .5s, border-color .5s; }
.step.lit .step-n { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.step h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.03em; padding-top: 8px; }
.step p { grid-column: 2; color: var(--paper-mute); max-width: 26em; }
.steps-line { left: 22px; top: 8px; bottom: 40px; width: 1px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .steps-line { left: 0; right: 0; top: 22px; bottom: auto; width: auto; height: 1px; }
  .steps-line i { transform: scaleX(var(--p, 0)); }
  .step { grid-template-columns: 1fr; gap: 18px; padding: 0; }
  .step p { grid-column: 1; }
}

/* ==========================================================================
   Offer (home)
   ========================================================================== */
.offer { display: grid; gap: 20px; }
@media (min-width: 1000px) { .offer { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; } }
.pack { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(28px, 4vw, 56px); display: grid; gap: 28px; }
.pack::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; background: url(/img/opt/logo-96.webp) center / contain no-repeat; opacity: .07; transform: rotate(-12deg); pointer-events: none; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.price { font: 700 clamp(3.4rem, 7vw, 6rem)/.9 var(--f-display); letter-spacing: -.05em; }
.price small { font: 500 .95rem var(--f-body); letter-spacing: 0; color: var(--mute); margin-left: 6px; }
.was { font: 500 1.3rem var(--f-display); color: var(--dim); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.badge { display: inline-block; padding: 7px 10px; border-radius: 2px; background: var(--pink); color: var(--bg); font: 600 .64rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink); font-size: .96rem; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 1.5px solid var(--lav); border-bottom: 1.5px solid var(--lav); transform: rotate(-45deg); }
.ticks.two { grid-template-columns: 1fr; }
@media (min-width: 640px) { .ticks.two { grid-template-columns: 1fr 1fr; gap: 10px 28px; } }
.ladder { border: 1px solid var(--line); border-radius: var(--r); display: grid; align-content: start; }
.ladder-h { padding: 26px 28px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.ladder a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 28px; border-bottom: 1px solid var(--line); transition: background .35s, padding .5s var(--ease); }
.ladder a:last-child { border-bottom: 0; }
.ladder a:hover { background: var(--panel); padding-left: 36px; }
.ladder b { font: 700 1.2rem/1.2 var(--f-display); letter-spacing: -.02em; }
.ladder span { color: var(--mute); font-size: .86rem; }
.ladder strong { font: 600 1.05rem var(--f-display); text-align: right; }
.ladder strong small { color: var(--mute); font: 400 .78rem var(--f-body); }

/* ==========================================================================
   Fit / honesty (home)
   ========================================================================== */
.fit { display: grid; gap: 20px; }
@media (min-width: 900px) { .fit { grid-template-columns: 1fr 1fr; gap: 24px; } }
.fit-col { border-top: 1px solid var(--line-2); padding-top: 26px; display: grid; gap: 20px; align-content: start; }
.fit-col ol { list-style: none; margin: 0; padding: 0; counter-reset: fit; }
.fit-col li { counter-increment: fit; display: grid; grid-template-columns: 42px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.fit-col li::before { content: "0" counter(fit); font: .7rem/2.2 var(--f-mono); color: var(--lav); letter-spacing: .1em; }
.fit-col.no li::before { color: var(--pink); }
.fit-col li span { color: var(--mute); display: block; font-size: .9rem; margin-top: 3px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font: 600 clamp(1.05rem, 1.6vw, 1.3rem)/1.3 var(--f-display); letter-spacing: -.02em; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--lav); }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .45s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .ans { color: var(--mute); padding: 0 0 26px; max-width: 46em; line-height: 1.65; }
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 72px; } .faq-grid .sec-head { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; } }

/* ==========================================================================
   Final CTA + footer
   ========================================================================== */
.final { position: relative; overflow: hidden; padding: clamp(110px, 16vw, 220px) 0; border-top: 1px solid var(--line); }
.final-in { position: relative; z-index: 1; display: grid; gap: 30px; justify-items: start; }
.final-h { font-size: clamp(3rem, 9vw, 9rem); line-height: .9; letter-spacing: -.055em; max-width: 9em; }
.foot { border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 110px); overflow: hidden; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.foot-pitch { font: 700 clamp(1.8rem, 3.6vw, 3.2rem)/1.02 var(--f-display); letter-spacing: -.04em; max-width: 13em; }
.foot-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; padding: 48px 0; }
.foot-grid h3 { font: 500 .68rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.foot-grid li { margin-bottom: 10px; color: var(--mute); font-size: .95rem; }
.foot-grid a { transition: color .3s; }
.foot-grid a:hover { color: var(--ink); }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 16px; max-width: 22em; color: var(--mute); font-size: .95rem; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } .foot-brand { grid-column: auto; } }
.foot-mark { display: flex; gap: .22em; padding: 0 var(--g); font: 700 clamp(3rem, 13.4vw, 12.6rem)/.8 var(--f-display); letter-spacing: -.035em; text-transform: uppercase; color: var(--panel-2); user-select: none; max-width: var(--max); margin: 0 auto; white-space: nowrap; transform: translateY(8%); }
.foot-mark span:last-child { color: rgba(196, 181, 253, .16); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line); font: .68rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); position: relative; background: var(--bg); }
.totop:hover { color: var(--ink); }

/* ==========================================================================
   Sub-page heads
   ========================================================================== */
.phead { position: relative; padding: calc(var(--nav-h) + clamp(64px, 9vw, 130px)) 0 clamp(56px, 7vw, 100px); border-bottom: 1px solid var(--line); overflow: hidden; }
.phead::before { /* editorial column guides */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 6));
  -webkit-mask: linear-gradient(#000, transparent 85%); mask: linear-gradient(#000, transparent 85%);
}
.phead .wrap { position: relative; display: grid; gap: 32px; }
@media (min-width: 1000px) { .phead .wrap { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 64px; } }
.phead h1 { font-size: clamp(3rem, 8.4vw, 8.2rem); line-height: .9; letter-spacing: -.055em; margin-top: 22px; }
.phead-side { display: grid; gap: 24px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.facts div { padding: 16px 12px 0 0; display: grid; gap: 6px; }
.facts b { font: 700 clamp(1.3rem, 2.2vw, 1.9rem)/1 var(--f-display); letter-spacing: -.03em; }
.facts span { font: .6rem/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* ==========================================================================
   Services page — split long-form
   ========================================================================== */
.svc { display: grid; gap: 32px; padding: clamp(64px, 8vw, 120px) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 1000px) {
  .svc { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 72px; }
  .svc-side { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
}
.svc-side { display: grid; gap: 20px; }
.ghost { font: 700 clamp(4rem, 9vw, 8.5rem)/.8 var(--f-display); letter-spacing: -.06em; color: var(--panel-2); }
.svc-side h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); letter-spacing: -.045em; }
.svc-side .tile-media { aspect-ratio: 4/5; max-width: 340px; }
.svc-main { display: grid; gap: 36px; align-content: start; }
.svc-main > .lead { color: var(--ink); font-size: clamp(1.15rem, 1.6vw, 1.45rem); max-width: none; }
.quad { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 700px) { .quad { grid-template-columns: 1fr 1fr; } }
.quad > div { background: var(--bg); padding: 26px; display: grid; gap: 14px; align-content: start; transition: background .4s; }
.quad > div:hover { background: var(--panel); }
.quad h3 { font: 500 .68rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--lav); }
.quad p, .quad li { color: var(--mute); font-size: .95rem; }
.quad .ticks li { color: var(--mute); }
.svc-foot { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.svc-foot .fine { max-width: 30em; }

.mini-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .mini-grid { grid-template-columns: repeat(3, 1fr); } }
.mini { border-top: 1px solid var(--line-2); padding-top: 22px; display: grid; gap: 12px; align-content: start; }
.mini .mono { color: var(--lav); font-size: .68rem; }
.mini h3 { font-size: 1.45rem; letter-spacing: -.03em; }
.mini p { color: var(--mute); font-size: .95rem; }
.mini .p { font: 600 1rem var(--f-display); color: var(--ink); }

.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.strip .tile-media { aspect-ratio: 2/3; }
@media (min-width: 900px) { .strip { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Work page
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: .86rem; color: var(--mute); transition: all .35s var(--ease); }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .ct { font: .65rem var(--f-mono); opacity: .6; margin-left: 4px; }
.gallery { display: grid; gap: clamp(14px, 1.6vw, 22px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .gallery { grid-template-columns: repeat(5, 1fr); } }
.gallery .tile-media { aspect-ratio: 4/5; }
.gallery .tile.t .tile-media { aspect-ratio: 4/5; }
.gallery .tile.is-out { display: none; }
.gallery .tile.is-in { animation: rise .7s var(--ease) both; }
.case { display: grid; gap: 36px; }
@media (min-width: 1000px) { .case { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; align-items: start; } .case-copy { position: sticky; top: calc(var(--nav-h) + 32px); } }
.case-copy { display: grid; gap: 22px; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.case-grid .tile-media { aspect-ratio: 2/3; }
.case-grid .c-big { grid-column: span 2; }
.case-grid .c-big .tile-media { aspect-ratio: 3/2; }
.case-grid .c-big img { object-position: 50% 30%; }
.case-grid .tile:nth-child(odd):not(.c-big) { margin-top: 0; }
@media (min-width: 700px) { .case-grid .tile:nth-child(3), .case-grid .tile:nth-child(5) { transform: translateY(48px); } .case-grid { padding-bottom: 48px; } }

/* lightbox */
.lb { padding: 0; border: 0; background: transparent; color: var(--ink); max-width: none; max-height: none; width: 100%; height: 100%; }
.lb::backdrop { background: rgba(6, 6, 10, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb[open] { display: grid; place-items: center; animation: fade .35s var(--ease); }
.lb-in { width: min(1100px, 100%); max-height: 100%; overflow-y: auto; display: grid; gap: 28px; padding: 72px var(--g) 32px; align-items: center; }
@media (min-width: 900px) { .lb-in { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; padding: 40px var(--g); } }
.lb-img { border-radius: var(--r); overflow: hidden; background: var(--panel); }
.lb-img img { width: 100%; max-height: 78vh; object-fit: contain; }
.lb-copy { display: grid; gap: 18px; align-content: center; }
.lb-copy h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); letter-spacing: -.04em; }
.lb-copy dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; border-top: 1px solid var(--line); padding-top: 18px; margin: 0; }
.lb-copy dt { font: .64rem/1.9 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.lb-copy dd { margin: 0; color: var(--mute); }
.lb-x, .lb-nav button { position: fixed; z-index: 2; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: var(--r); display: grid; place-content: center; background: rgba(11, 11, 18, .7); font-size: 1.2rem; transition: background .3s, color .3s; }
.lb-x:hover, .lb-nav button:hover { background: var(--ink); color: var(--bg); }
.lb-x { top: 16px; right: 16px; }
.lb-nav button { bottom: 16px; }
.lb-nav button:first-child { right: 72px; }
.lb-nav button:last-child { right: 16px; }

/* ==========================================================================
   Process page — sticky numeral
   ========================================================================== */
.pflow { display: grid; gap: 0; }
@media (min-width: 1000px) {
  .pflow { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 72px; }
  .pnum { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; height: calc(100vh - var(--nav-h) - 80px); display: flex; flex-direction: column; justify-content: center; }
}
.pnum { display: none; }
@media (min-width: 1000px) { .pnum { display: flex; } }
.pnum-big { position: relative; height: .82em; overflow: hidden; font: 700 clamp(9rem, 18vw, 17rem)/.82 var(--f-display); letter-spacing: -.07em; }
.pnum-big span { position: absolute; left: 0; top: 0; transition: transform .8s var(--ease), opacity .6s; transform: translateY(100%); opacity: 0; background: linear-gradient(180deg, var(--ink), var(--lav)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pnum-big span.on { transform: none; opacity: 1; }
.pnum-big span.past { transform: translateY(-100%); opacity: 0; }
.pnum-label { font: 500 .72rem var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-top: 18px; }
.pbar { margin-top: 26px; height: 1px; background: var(--line-2); max-width: 260px; }
.pbar i { display: block; height: 100%; background: var(--lav); transform-origin: 0 50%; transform: scaleX(.2); transition: transform .8s var(--ease); }
.pstep { padding: clamp(48px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); display: grid; gap: 22px; }
.pstep:first-child { padding-top: 0; }
.pstep .mono { color: var(--lav); }
.pstep h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); letter-spacing: -.05em; }
.pstep > p { color: var(--ink); font-size: clamp(1.1rem, 1.5vw, 1.35rem); max-width: 32em; }
.pstep .ticks li { color: var(--mute); }
.cols3 { display: grid; gap: 20px; }
@media (min-width: 900px) { .cols3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.cols3 > div { border-top: 1px solid var(--line-2); padding-top: 24px; display: grid; gap: 14px; align-content: start; }
.cols3 h3 { font-size: 1.5rem; letter-spacing: -.03em; }
.cols3 p, .cols3 li { color: var(--mute); }

/* ==========================================================================
   Pricing page
   ========================================================================== */
.pack-hero { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
@media (min-width: 1000px) { .pack-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.pack-hero > div { padding: clamp(28px, 4vw, 56px); display: grid; gap: 24px; align-content: start; }
.pack-hero > div + div { border-top: 1px solid var(--line); background: var(--bg); }
@media (min-width: 1000px) { .pack-hero > div + div { border-top: 0; border-left: 1px solid var(--line); } }
.pack-hero h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); letter-spacing: -.05em; }
.tiers { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 700px) { .tiers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .tiers.four { grid-template-columns: repeat(4, 1fr); } .tiers.three { grid-template-columns: repeat(3, 1fr); } }
.tier { position: relative; background: var(--bg); padding: 32px 26px; display: flex; flex-direction: column; gap: 18px; transition: background .4s; }
.tier:hover { background: var(--panel); }
.tier.feat { background: var(--panel); }
.tier.feat::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--lav); }
.tier-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tier-top .mono { color: var(--dim); font-size: .66rem; }
.tier-top .badge { background: var(--lav); }
.tier h3 { font-size: 1.7rem; letter-spacing: -.035em; }
.tier .price { font-size: clamp(2.4rem, 3.4vw, 3rem); }
.tier .price small { font-size: .85rem; }
.tier-min { font: .66rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pink); }
.tier-best { color: var(--mute); font-size: .95rem; min-height: 3em; }
.tier .ticks { flex: 1; align-content: start; }
.tier .ticks li { font-size: .9rem; }
.tier-fit { font-size: .82rem; color: var(--dim); border-top: 1px solid var(--line); padding-top: 14px; }
.tier .btn { width: 100%; }
.buy { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 800px) { .buy { grid-template-columns: repeat(3, 1fr); } }
.buy div { background: var(--bg); padding: 26px 0; display: grid; grid-template-columns: 44px 1fr; gap: 4px; }
@media (min-width: 800px) { .buy div { padding: 26px 26px 26px 0; } }
.buy b { font: 700 1.1rem var(--f-display); grid-row: span 2; color: var(--lav); }
.buy span { color: var(--mute); font-size: .92rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 860px; border-collapse: collapse; font-size: .9rem; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font: 700 1rem var(--f-display); letter-spacing: -.02em; background: var(--panel); position: sticky; top: 0; }
.cmp tbody th { font: 500 .66rem/1.6 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); width: 150px; position: sticky; left: 0; background: var(--bg); }
.cmp td { color: var(--mute); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp .hl { background: rgba(196, 181, 253, .05); color: var(--ink); }
.addons { border-top: 1px solid var(--line); }
.addons div { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.addons div:hover { padding-left: 10px; }
.addons span { color: var(--mute); }
.addons b { font: 600 1rem var(--f-display); white-space: nowrap; }
.fineprint { display: grid; gap: 20px; }
@media (min-width: 800px) { .fineprint { grid-template-columns: repeat(4, 1fr); } }
.fineprint div { border-top: 1px solid var(--line-2); padding-top: 20px; }
.fineprint h3 { font: 600 1.05rem var(--f-display); margin-bottom: 12px; letter-spacing: -.01em; }
.fineprint li { color: var(--mute); font-size: .88rem; margin-bottom: 8px; padding-left: 14px; position: relative; }
.fineprint li::before { content: "–"; position: absolute; left: 0; color: var(--dim); }

/* ==========================================================================
   Contact page + forms
   ========================================================================== */
.contact { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 80px; } .contact-side { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; } }
.contact-side { display: grid; gap: 36px; }
.next { counter-reset: nx; border-top: 1px solid var(--line); }
.next li { counter-increment: nx; display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--mute); font-size: .95rem; }
.next li::before { content: "0" counter(nx); font: .7rem/1.9 var(--f-mono); color: var(--lav); }
.next li b { color: var(--ink); font-weight: 600; display: block; }
.mini-pack { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 12px; background: var(--panel); }
.mini-pack .price { font-size: 2.6rem; }
.form { display: grid; gap: 56px; }
.fs { border: 0; padding: 0; margin: 0; display: grid; gap: 22px; min-width: 0; }
.fs > legend { display: flex; align-items: baseline; gap: 14px; padding: 0 0 18px; font: 700 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--f-display); letter-spacing: -.035em; width: 100%; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.fs > legend .mono { color: var(--lav); font-size: .68rem; }
.fgrid { display: grid; gap: 22px; }
@media (min-width: 700px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid .full { grid-column: 1 / -1; } }
.f { display: grid; gap: 8px; align-content: start; position: relative; }
.f label, .f .lbl { font-size: .86rem; font-weight: 500; color: var(--ink); }
.f label .req, .f .lbl .req { color: var(--pink); }
.f .hint { font-size: .78rem; color: var(--dim); }
.f input, .f select, .f textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: var(--r);
  background: var(--panel); border: 1px solid var(--line); color: var(--ink);
  font: 400 1rem/1.4 var(--f-body); transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.f select { background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.f textarea { min-height: 150px; resize: vertical; }
.f input::placeholder, .f textarea::placeholder { color: var(--dim); }
.f input:hover, .f select:hover, .f textarea:hover { border-color: var(--line-2); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--lav); background: var(--panel-2); box-shadow: 0 0 0 3px rgba(196, 181, 253, .14); }
.f.bad input, .f.bad select, .f.bad textarea { border-color: var(--pink); }
.err { font-size: .8rem; color: var(--pink); min-height: 0; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: .9rem; color: var(--mute); transition: all .3s var(--ease); }
.chips span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; transition: all .3s; }
.chips label:hover span { color: var(--ink); border-color: var(--ink); }
.chips input:checked + span { background: var(--lav); color: var(--bg); border-color: var(--lav); }
.chips input:checked + span::before { background: var(--bg); border-color: var(--bg); }
.chips input:focus-visible + span { outline: 2px solid var(--lav); outline-offset: 2px; }
.submit-row { display: grid; gap: 14px; justify-items: start; }
.formmsg { border: 1px solid var(--lav); border-radius: var(--r); padding: 24px; background: var(--panel); color: var(--mute); line-height: 1.6; animation: rise .6s var(--ease); }
.formmsg b { color: var(--ink); }
.formmsg pre { white-space: pre-wrap; margin-top: 10px; color: var(--mute); font: inherit; font-size: .88rem; }
.chk { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .95rem; color: var(--mute); cursor: pointer; }
.chk input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--lav); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* onboarding brief */
.brief { display: grid; gap: 48px; }
@media (min-width: 1000px) { .brief { grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr); gap: 72px; } .brief aside { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; } }
.brief aside { display: grid; gap: 18px; align-content: start; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: var(--panel); }
.brief aside h2 { font-size: 1.4rem; letter-spacing: -.03em; }
.bsub { color: var(--mute); font-size: .92rem; margin-top: -12px; }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: left; padding: calc(var(--nav-h) + 40px) 0 80px; position: relative; overflow: hidden; }
.nf-in { display: grid; gap: 26px; justify-items: start; position: relative; z-index: 1; }
.nf-n { font: 700 clamp(7rem, 26vw, 22rem)/.8 var(--f-display); letter-spacing: -.08em; color: var(--panel-2); transform: rotate(-6deg); transform-origin: left bottom; }

/* ==========================================================================
   Reveal motion — only when JS is on and motion is allowed
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
  .js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--d, 0s)); }
  .js [data-split].in .w > span { transform: none; }
  .js [data-mask] { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-mask] img { transform: scale(1.18); transition: transform 1.6s var(--ease), filter .6s; transition-delay: var(--d, 0s); }
  .js [data-mask].in { clip-path: inset(0 0 0 0); }
  .js [data-mask].in img { transform: scale(1); }
  .js .tile:hover [data-mask].in img { transform: scale(1.045); transition-delay: 0s; transition-duration: 1.1s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .wall-col, .marquee-track, .glow i { animation: none !important; }
  .wall-col:nth-child(2) { margin-top: 0; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
.foot-brand .btn { justify-self: start; margin-top: 6px; }
.ladder-more { grid-template-columns: 1fr !important; }
