/* Inter Tight Black is the only weight shipped: headings use it, body copy uses the system sans. */
@font-face {
  font-family: 'Inter Tight';
  src: url('assets/inter-tight-black.ttf') format('truetype');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --ink: #0a0a0b;
  --ink-2: #111113;
  --ink-3: #19191c;
  --paper: #f3f0ea;
  --muted: rgba(243, 240, 234, .66);
  --dim: rgba(243, 240, 234, .42);
  --line: rgba(243, 240, 234, .1);
  --line-2: rgba(243, 240, 234, .2);
  --signal: #ff5a2c;
  --pad: 56px;
  --nav-h: 76px;
  --r: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: 16.033;
  --display: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI Variable Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after { /* film grain */
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  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%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
figure, p, h1, h2, h3, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.hero-title, h2, .marquee span, .hero-facts dd, .card-meta h3, .changes h3, .svc-main h3, .step h3, .wordmark, .brand-mark, .player-title {
  font-family: var(--display); font-weight: 900;
}
video { display: block; width: 100%; height: 100%; object-fit: cover; background: #070708; opacity: .999; }
svg { display: block; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.wrap { width: min(100% - var(--pad) * 2, 1320px); margin-inline: auto; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 99px;
  font-size: 14px; font-weight: 650; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 14px; }

.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- nav ---------- */
.nav-shell {
  position: sticky; top: 0; z-index: 100;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav-shell.scrolled {
  background: rgba(10, 10, 11, .72);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 13px; font-weight: 750; letter-spacing: .3em; }
.brand-mark svg { width: 15px; height: 15px; fill: currentColor; margin-left: 2px; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--signal); color: var(--ink); font-size: 18px; letter-spacing: 0;
}
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 99px; font-size: 14px; font-weight: 550;
  color: var(--muted); text-decoration: none; transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--paper); }
.nav-links a.active { color: var(--paper); background: rgba(243, 240, 234, .08); }

/* ---------- shared type ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.eyebrow span { color: var(--signal); font-variant-numeric: tabular-nums; }
.eyebrow span::after { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--line-2); vertical-align: middle; margin-left: 12px; }
h2 { font-size: clamp(44px, 6.4vw, 92px); line-height: .96; letter-spacing: -.045em; word-spacing: .04em; margin-top: 18px; }
h2 span { color: var(--dim); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-side p { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 44ch; }

.status { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 550; color: var(--muted); padding: 8px 14px 8px 12px; border: 1px solid var(--line); border-radius: 99px; background: rgba(243, 240, 234, .03); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .5); animation: pulse 2.4s infinite; }

.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 56px; padding: 0 26px; border-radius: 99px; border: 0; cursor: pointer;
  background: var(--paper); color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 650;
  transition: transform .35s var(--ease), box-shadow .35s, background .25s;
}
.button span { font-size: 19px; }
.button:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(243, 240, 234, .5); }
.button.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.button.ghost:hover { background: rgba(243, 240, 234, .06); box-shadow: inset 0 0 0 1px var(--paper); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 24px 0 72px; overflow: clip; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 40px;
  align-items: center; min-height: calc(100svh - var(--nav-h) - 72px);
}
.hero-title { font-size: clamp(60px, 8.4vw, 132px); line-height: .92; letter-spacing: -.05em; word-spacing: .05em; margin: 28px 0 0; }
.hero-title .line { display: block; overflow: hidden; padding: 0 .04em .13em 0; margin-bottom: -.13em; }
.hero-title .soft { color: var(--dim); }
.hero-title em { font-style: normal; color: var(--signal); }
.word { display: inline-block; transform: translateY(108%); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms + 120ms); }
.hero-copy { margin-top: 30px; max-width: 42ch; font-size: 20px; line-height: 1.55; color: var(--muted); animation: fade-up 1s var(--ease) .55s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; animation: fade-up 1s var(--ease) .65s both; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 52px; border-top: 1px solid var(--line); animation: fade-up 1s var(--ease) .75s both; }
.hero-facts div { padding: 18px 34px 0 0; margin-right: 34px; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border-right: 0; margin-right: 0; }
.hero-facts dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.hero-facts dd { margin-top: 8px; font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.hero-stage { position: relative; display: grid; justify-items: center; align-content: center; isolation: isolate; padding-bottom: 8px; }
.hero-glow {
  position: absolute; z-index: -1; inset: -18% -30% -10%;
  background:
    radial-gradient(closest-side at 50% 44%, rgba(255, 70, 80, .2), transparent),
    radial-gradient(closest-side at 50% 80%, rgba(255, 90, 44, .14), transparent);
  filter: blur(10px); pointer-events: none;
}
.phone {
  position: relative; width: 290px; max-width: 100%; padding: 10px; border-radius: 48px;
  background: linear-gradient(155deg, #3a3d44, #15171b 32%, #08090b 75%, #2a2e33);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 0 0 3px #030405, 0 40px 80px -30px #000;
}
.screen { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 38px; background: #08090a; }
.hero-phone { width: clamp(236px, calc((100svh - var(--nav-h) - 250px) * .5625), 318px); animation: phone-in 1.3s var(--ease) .2s both; }
.phone-btn {
  position: absolute; z-index: 3; top: 24px; display: inline-flex; align-items: center; gap: 8px; height: 36px;
  padding: 0 13px; border: 0; border-radius: 99px; cursor: pointer; font-size: 12px; font-weight: 650;
  background: rgba(10, 10, 11, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background .25s, transform .3s var(--ease);
}
.phone-btn:hover { background: rgba(10, 10, 11, .8); transform: scale(1.04); }
.phone-btn svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sound-btn { left: 22px; }
.sound-btn .i-on, .sound-btn[aria-pressed="true"] .i-off { display: none; }
.sound-btn[aria-pressed="true"] .i-on { display: block; }
.expand-btn { right: 22px; width: 36px; padding: 0; justify-content: center; }
.expand-btn svg { fill: none; }

/* editor timeline */
.timeline {
  position: relative; z-index: 2; width: min(470px, 112%); margin-top: -70px; transform: translateX(-9%);
  padding: 10px 12px 12px; border-radius: 16px;
  background: rgba(22, 22, 25, .8); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--line-2); box-shadow: 0 40px 70px -32px #000, 0 0 0 1px rgba(0, 0, 0, .4);
  animation: fade-up 1.1s var(--ease) .7s both;
}
.tl-head { display: flex; align-items: center; gap: 10px; padding: 0 2px 10px; font-size: 11px; color: var(--dim); letter-spacing: .04em; }
.tl-play { display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 7px; background: rgba(243, 240, 234, .08); cursor: pointer; }
.tl-play:hover { background: rgba(243, 240, 234, .16); }
.tl-play svg { width: 12px; height: 12px; fill: currentColor; }
.tl-play .i-play, .tl-play.paused .i-pause { display: none; }
.tl-play.paused .i-play { display: block; }
.tl-name { color: var(--paper); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-name span { color: var(--dim); font-weight: 500; }
.tl-tc { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--signal); font-weight: 650; white-space: nowrap; }
.tl-dur { color: var(--dim); font-weight: 500; }
.tl-body { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0 6px; }
.tl-labels, .tl-lanes { display: grid; grid-template-rows: 14px 18px 26px 30px; gap: 4px; }
.tl-labels span { display: grid; place-items: center; font-size: 9px; font-weight: 700; color: var(--dim); background: rgba(243, 240, 234, .05); border-radius: 4px; }
.tl-labels span:first-child { background: none; }
.tl-lanes { position: relative; cursor: ew-resize; touch-action: pan-y; --p: 0; user-select: none; -webkit-user-select: none; }
.tl-lanes:focus-visible { outline-offset: 3px; border-radius: 4px; }
.tl-ruler {
  position: relative;
  background: repeating-linear-gradient(90deg, rgba(243, 240, 234, .22) 0 1px, transparent 1px calc(100% / var(--dur))) bottom / 100% 5px no-repeat;
}
.tl-ruler span { position: absolute; left: calc(var(--s) / var(--dur) * 100%); top: -1px; padding-left: 3px; font-size: 8.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.lane { position: relative; border-radius: 4px; background: rgba(243, 240, 234, .035); overflow: hidden; }
.clip {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--s) / var(--dur) * 100%);
  width: calc((var(--e) - var(--s)) / var(--dur) * 100% - 2px);
  padding: 0 6px; border-radius: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 9.5px; font-weight: 650; line-height: 26px; color: rgba(255, 255, 255, .86);
  transition: filter .2s, box-shadow .2s;
}
.lane-txt .clip { line-height: 18px; font-size: 8.5px; font-weight: 550; color: rgba(243, 240, 234, .7); background: rgba(160, 150, 255, .2); box-shadow: inset 0 1px 0 rgba(190, 180, 255, .5); }
.lane-vid .clip { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .28); }
.c1 { background: #5b4bc4; }
.c2 { background: #2f8f86; }
.c3 { background: #b9782a; }
.c4 { background: #b14762; }
.clip.on { filter: brightness(1.28) saturate(1.1); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 0 0 1px rgba(255, 255, 255, .5); }
.lane-aud { background: rgba(47, 143, 134, .1); }
.wave { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgba(130, 220, 205, .38); }
.wave.played { fill: var(--signal); clip-path: inset(0 calc(100% - var(--p) * 100%) 0 0); }
.playhead {
  position: absolute; top: -2px; bottom: -3px; width: 1.5px; margin-left: -.75px;
  left: calc(var(--p) * 100%); background: var(--signal); pointer-events: none;
  box-shadow: 0 0 12px rgba(255, 90, 44, .7);
}
.playhead::before { content: ''; position: absolute; top: 0; left: 50%; width: 10px; height: 10px; transform: translateX(-50%); background: var(--signal); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--ink-2); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 34px; animation: marquee 38s linear infinite; }
.marquee span { font-size: clamp(40px, 6vw, 84px); letter-spacing: -.04em; word-spacing: .05em; white-space: nowrap; line-height: 1; }
.marquee .outline { color: transparent; -webkit-text-stroke: 1.4px rgba(243, 240, 234, .55); }
.marquee i { font-style: normal; color: var(--signal); font-size: clamp(22px, 2.6vw, 34px); }

/* ---------- work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 99px;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--muted);
  transition: background .25s, color .25s, border-color .25s;
}
.chip sup { font-size: 10px; color: var(--dim); top: -.4em; position: relative; vertical-align: baseline; }
.chip:hover { color: var(--paper); border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.chip[aria-pressed="true"] sup { color: rgba(10, 10, 11, .5); }
.hint-touch { display: none; }
@media (hover: none) { .hint-hover { display: none; } .hint-touch { display: inline; } }

.work-grid {
  --cols: 3; --gap: clamp(16px, 2vw, 28px); --ratio: 1.22;
  container-type: inline-size;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 56px var(--gap);
  grid-auto-flow: dense;
}
.work-grid[data-filter="landscape"] { --cols: 2; --ratio: .74; }
.work-grid[data-filter="landscape"] .card.wide { grid-column: span 1; }
.card { display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: inherit; cursor: pointer; outline-offset: 6px; }
.card.wide { grid-column: span 2; }
.card[hidden] { display: none; }
.stage {
  position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  height: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols) * var(--ratio));
  border-radius: var(--r); border: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 50% 42%, rgb(var(--tint) / .2), transparent 70%),
    radial-gradient(120% 80% at 50% 120%, rgb(var(--tint) / .12), transparent 60%),
    var(--ink-2);
  transition: border-color .4s, background-color .4s;
}
@supports not (height: 1cqw) { .stage { height: auto; aspect-ratio: 4 / 5; } .card.wide .stage { aspect-ratio: 16 / 10; } }
.stage::after { /* soft vignette + sheen */
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent 30%);
}
.stage .phone { width: auto; height: 86%; aspect-ratio: 9.6 / 16.6; padding: 2.6% 2.8%; border-radius: 13% / 7.5%; }
.stage .screen { aspect-ratio: auto; height: 100%; border-radius: 11% / 6.2%; }
.stage .frame {
  position: relative; width: 84%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 70px -34px #000;
}
.stage .frame-split { width: 92%; aspect-ratio: 32 / 9; }
.stage img, .stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage video { opacity: 0; transition: opacity .35s; background: transparent; }
.card.playing .stage video { opacity: .999; }
.stage .phone, .stage .frame { transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.card:hover .stage, .card:focus-visible .stage { border-color: rgb(var(--tint) / .45); }
.card:hover .phone, .card:focus-visible .phone { transform: translateY(-8px) rotate(-1.2deg) scale(1.02); }
.card:hover .frame, .card:focus-visible .frame { transform: translateY(-6px) scale(1.025); }
.split-tag { position: absolute; z-index: 2; top: 10px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; background: rgba(10, 10, 11, .65); }
.split-tag.raw { left: 10px; color: var(--muted); }
.split-tag.edit { left: calc(50% + 10px); color: var(--signal); }
.play-pill {
  position: absolute; z-index: 3; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px 0 11px; border-radius: 99px; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums;
  background: rgba(10, 10, 11, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background .3s, color .3s;
}
.play-pill svg { width: 12px; height: 12px; fill: currentColor; }
.card:hover .play-pill { background: var(--signal); color: var(--ink); box-shadow: none; }
.card-meta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 8px 14px; padding: 20px 4px 0; }
.card-meta .num { font-size: 12px; font-weight: 700; color: var(--signal); font-variant-numeric: tabular-nums; }
.card-meta h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.card-meta .fmt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.card-meta p { grid-column: 2 / -1; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 58ch; }
.card.enter { animation: card-in .6s var(--ease) both; }

/* ---------- compare ---------- */
.compare { background: linear-gradient(var(--ink), var(--ink-2) 40%, var(--ink)); border-top: 1px solid var(--line); }
.compare-player { max-width: 1060px; margin-inline: auto; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 60px 120px -60px rgba(205, 80, 255, .35); }
.compare-stage { position: relative; aspect-ratio: 16 / 9; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; overflow: hidden; }
.compare-stage video { position: absolute; inset: 0; object-fit: contain; }
.compare-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.compare-stage.ready canvas { display: block; }
.cmp-tag, .cmp-handle { display: none; }
.compare-stage.ready .cmp-tag { display: block; }
.compare-stage.ready .cmp-handle { display: block; }
.cmp-tag {
  position: absolute; top: 18px; z-index: 2; padding: 8px 13px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(10, 10, 11, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none; transition: opacity .3s;
}
.cmp-tag.raw { left: 18px; color: var(--muted); }
.cmp-tag.edit { right: 18px; color: var(--signal); }
.compare-stage.edge-left .cmp-tag.raw, .compare-stage.edge-right .cmp-tag.edit { opacity: 0; }
.cmp-handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: var(--paper); box-shadow: 0 0 20px rgba(0, 0, 0, .6); }
.cmp-handle:focus-visible { outline: none; }
.cmp-knob {
  position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 52px; height: 52px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .3s var(--ease);
}
.cmp-knob svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.compare-stage.dragging .cmp-knob, .cmp-handle:focus-visible .cmp-knob { transform: translate(-50%, -50%) scale(1.12); box-shadow: 0 0 0 6px rgba(255, 90, 44, .45), 0 10px 30px rgba(0, 0, 0, .45); }
.compare-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--ink-2); border-top: 1px solid var(--line); }
.ctrl {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 40px; height: 40px; padding: 0; border: 0; border-radius: 99px;
  background: rgba(243, 240, 234, .07); cursor: pointer; transition: background .25s;
}
.ctrl:hover { background: rgba(243, 240, 234, .15); }
.ctrl svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ctrl.text { padding: 0 16px; font-size: 13px; font-weight: 650; white-space: nowrap; }
#comparePlay .i-pause, #comparePlay.playing .i-play { display: none; }
#comparePlay.playing .i-pause { display: block; }
#compareSound .i-on, #compareSound[aria-pressed="true"] .i-off { display: none; }
#compareSound[aria-pressed="true"] .i-on { display: block; }
.cmp-time { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.cmp-seek { flex: 1; min-width: 60px; height: 24px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; --v: 0%; }
.cmp-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--signal) var(--v), rgba(243, 240, 234, .16) var(--v)); }
.cmp-seek::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(243, 240, 234, .16); }
.cmp-seek::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--signal); }
.cmp-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: var(--paper); border: 0; }
.cmp-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 0; }
.changes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.changes li { border-top: 1px solid var(--line-2); padding-top: 20px; }
.changes span { font-size: 12px; font-weight: 700; color: var(--signal); font-variant-numeric: tabular-nums; }
.changes h3 { font-size: 22px; letter-spacing: -.02em; margin-top: 26px; }
.changes p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- services ---------- */
.services { border-top: 1px solid var(--line); }
.service-list { border-top: 1px solid var(--line-2); }
.service {
  position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) auto 40px; gap: 24px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line-2); transition: padding .5s var(--ease);
}
.service::before { content: ''; position: absolute; inset: 0 -20px; z-index: -1; border-radius: 16px; background: rgba(243, 240, 234, .035); opacity: 0; transition: opacity .35s; }
.svc-num { font-size: 13px; font-weight: 700; color: var(--signal); font-variant-numeric: tabular-nums; }
.svc-main h3 { font-size: clamp(30px, 4vw, 56px); line-height: 1; letter-spacing: -.04em; word-spacing: .04em; transition: transform .5s var(--ease), color .3s; }
.svc-main p { margin-top: 12px; max-width: 54ch; font-size: 16px; line-height: 1.55; color: var(--muted); }
.svc-tags { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.svc-arrow { font-size: 26px; color: var(--dim); transition: transform .5s var(--ease), color .3s; justify-self: end; }
@media (hover: hover) {
  .service:hover::before { opacity: 1; }
  .service:hover .svc-main h3 { transform: translateX(10px); }
  .service:hover .svc-arrow { color: var(--signal); transform: rotate(45deg); }
}
.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 60; width: 260px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; pointer-events: none;
  opacity: 0; transform: translate3d(-999px, 0, 0); scale: .85; rotate: -3deg; transition: opacity .3s, scale .45s var(--ease), rotate .6s var(--ease);
  box-shadow: 0 30px 60px -20px #000, 0 0 0 1px rgba(255, 255, 255, .12);
}
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }
.svc-preview.show { opacity: 1; scale: 1; rotate: 0deg; }

/* ---------- process ---------- */
.process { background: var(--ink-2); border-top: 1px solid var(--line); }
.ptrack { position: relative; padding: 14px 16px 18px; border-radius: 16px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); --p: 0; }
.pt-ruler { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .14em; color: var(--dim); padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed var(--line-2); }
.pt-lane { display: flex; gap: 4px; height: 54px; }
.pclip {
  flex: var(--w) 1 0; display: flex; align-items: center; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden;
  background: rgba(243, 240, 234, .06); color: var(--dim); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .08); transition: background .4s, color .4s;
}
.pclip.on { background: var(--signal); color: var(--ink); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45); }
.pclip.done { background: rgba(255, 90, 44, .22); color: var(--paper); }
.pt-head { position: absolute; top: 6px; bottom: 6px; left: calc(16px + (100% - 32px) * var(--p)); width: 2px; margin-left: -1px; background: var(--paper); box-shadow: 0 0 14px rgba(243, 240, 234, .6); }
.pt-head::before { content: ''; position: absolute; top: 0; left: 50%; width: 12px; height: 12px; transform: translateX(-50%); background: var(--paper); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.steps { display: grid; grid-template-columns: 18fr 30fr 32fr 20fr; gap: 28px; margin-top: 40px; }
.step { border-top: 1px solid var(--line-2); padding-top: 22px; transition: border-color .4s; }
.step-num { font-size: 12px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; transition: color .4s; }
.step h3 { margin-top: 34px; font-size: 26px; line-height: 1.1; letter-spacing: -.025em; }
.step p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 34ch; }
.step.on { border-color: var(--signal); }
.step.on .step-num { color: var(--signal); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 30px; overflow: hidden; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; font-size: 13px; color: var(--dim); }
.footer-row a { text-decoration: none; color: var(--muted); }
.footer-row a:hover { color: var(--paper); }
.wordmark { font-size: 8.6vw; letter-spacing: -.06em; word-spacing: .12em; line-height: .8; text-align: center; margin: 4vw 0 1vw; color: var(--ink-3); user-select: none; white-space: nowrap; }
.wordmark em { font-style: normal; color: var(--signal); }

/* ---------- player ---------- */
.player {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(6, 6, 7, .94); color: var(--paper); overflow: hidden;
}
.player::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(8px); }
.player[open] { display: block; animation: fade .3s ease both; }
.player-inner { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 18px; padding: 18px clamp(16px, 3vw, 36px) 22px; }
.player-top { display: flex; align-items: center; gap: 18px; }
.player-count { font-size: 12px; font-weight: 700; color: var(--signal); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.player-title { margin: 0; font-size: clamp(18px, 2vw, 24px); letter-spacing: -.01em; }
.player-close { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; transition: background .25s, transform .4s var(--ease); }
.player-close:hover { background: rgba(243, 240, 234, .1); transform: rotate(90deg); }
.player-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.player-stage { display: grid; place-items: center; min-height: 0; container-type: size; --a: 16 / 9; }
.player-stage video { width: min(100cqw, 100cqh * var(--a)); height: auto; aspect-ratio: var(--a); object-fit: contain; border-radius: 14px; background: #000; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); animation: pop .5s var(--ease) both; }
.player[data-orient="v"] .player-stage { --a: 9 / 16; }
.player[data-orient="w"] .player-stage { --a: 32 / 9; }
.player-bottom { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.player-meta { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.player-info p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 70ch; }
.player-nav { display: flex; gap: 8px; flex-shrink: 0; }
.player-nav button { height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 14px; font-weight: 650; transition: background .25s, border-color .25s; }
.player-nav button:hover { background: rgba(243, 240, 234, .1); border-color: var(--paper); }
body.locked { overflow: hidden; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 110; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; pointer-events: none;
  display: grid; place-items: center; background: var(--signal); color: var(--ink); font-size: 13px; font-weight: 750; letter-spacing: .02em;
  transform: translate3d(-200px, -200px, 0) scale(0); transition: scale .35s var(--ease), opacity .25s; opacity: 0;
}
.cursor.show { opacity: 1; scale: 1; }
.cursor > span { transform: scale(var(--s, 1)); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes rise { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(40px) rotateX(14deg) scale(.96); } }
@keyframes marquee { to { transform: translateX(calc(-50% - 17px)); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  :root { --pad: 40px; }
  .nav-links a { padding: 9px 10px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 24px; }
  .hero-facts div { padding-right: 22px; margin-right: 22px; }
  .timeline { transform: translateX(-4%); width: min(440px, 108%); }
  .service { grid-template-columns: 56px minmax(0, 1fr) 40px; }
  .svc-tags { display: none; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 56px; }
  .hero { padding-top: 32px; }
  .hero-stage { width: 100%; }
  .hero-phone { width: min(300px, 70vw); }
  .timeline { transform: none; width: min(520px, 100%); margin-top: -56px; }
  .section-head { grid-template-columns: 1fr; }
  .work-grid { --cols: 2; }
  .card.wide { --ratio: 1.05; }
  .work-grid[data-filter="landscape"] { --cols: 1; }
  .work-grid[data-filter="landscape"] .card.wide { --ratio: .62; }
  .changes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --pad: 20px; --nav-h: 64px; }

  .hero { padding-bottom: 56px; }
  .hero-title { font-size: clamp(48px, 15vw, 72px); margin-top: 22px; }
  .hero-copy { font-size: 17px; margin-top: 22px; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; }
  .hero-facts div { padding-right: 10px; margin-right: 10px; }
  .hero-facts dt { font-size: 9.5px; letter-spacing: .08em; }
  .hero-facts dd { font-size: 17px; white-space: nowrap; }
  .hero-phone { width: min(270px, 74vw); }
  .timeline { margin-top: -48px; padding: 9px 9px 10px; }
  .tl-name span { display: none; }
  .section-side p { font-size: 16px; }
  .work-grid { --cols: 1; --ratio: 1.15; row-gap: 44px; }
  .card.wide { grid-column: auto; --ratio: .7; }
  .work-grid[data-filter="landscape"] { --ratio: .7; }
  .stage .frame { width: 90%; }
  .stage .frame-split { width: 94%; }
  .card-meta { grid-template-columns: auto minmax(0, 1fr); }
  .card-meta .fmt { grid-column: 2; grid-row: 2; }
  .card-meta p { grid-column: 2; }
  .card-meta h3 { font-size: 19px; }
  .compare-player { border-radius: 16px; margin-inline: calc(var(--pad) * -1 + 8px); }
  .compare-bar { gap: 8px; padding: 10px; }
  .ctrl.text { display: none; }
  .cmp-tag { top: 10px; padding: 6px 10px; font-size: 10px; }
  .cmp-tag.raw { left: 10px; }
  .cmp-tag.edit { right: 10px; }
  .cmp-knob { width: 42px; height: 42px; }
  .changes { grid-template-columns: 1fr; gap: 22px; margin-top: 40px; }
  .changes h3 { margin-top: 12px; }
  .service { grid-template-columns: 34px minmax(0, 1fr) 24px; gap: 14px; padding: 24px 0; }
  .svc-main p { font-size: 15px; }
  .svc-arrow { font-size: 20px; }
  .ptrack { padding: 12px 10px 14px; }
  .pt-ruler span:nth-child(n+2) { display: none; }
  .pt-lane { height: 44px; }
  .pclip { font-size: 0; padding: 0; }
  .pt-head { left: calc(10px + (100% - 20px) * var(--p)); }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .step h3 { margin-top: 14px; }
  .player-inner { padding: 12px 12px 16px; gap: 12px; }
  .player-bottom { flex-direction: column; align-items: stretch; gap: 14px; }
  .player-nav button { flex: 1; }
  .player-info p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
.footer-row .footer-links { display: flex; gap: 24px; }
.legal { max-width: 760px; padding: 72px 0 120px; }
.legal h1 { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 8vw, 96px); letter-spacing: -.04em; line-height: .9; margin-bottom: 56px; }
.legal section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal h2 { font-size: 13px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.legal p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.legal a { color: var(--paper); text-decoration-color: var(--signal); text-underline-offset: 3px; }
.legal + .footer { padding-bottom: 30px; }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; margin: 14px 0 14px 1.2em; color: var(--muted); font-size: 17px; line-height: 1.6; }
.legal li { padding-left: .2em; }
.legal strong { color: var(--paper); font-weight: 600; }
.legal h1 { overflow-wrap: anywhere; hyphens: manual; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 99px;
  background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 650; text-decoration: none;
  transition: transform .35s var(--ease), background .25s;
}
.nav-cta:hover { transform: translateY(-2px); background: #fff; }
.nav-shell .nav-cta { margin-left: auto; }
@media (max-width: 640px) { .nav-cta { padding: 10px 16px; font-size: 13px; } }
