/* AI UGC Agency — the site is a design canvas: a live grid with two glows, sections as artboards on it,
   one ad being edited in the hero. Square everything; the only curve is the full stop in the mark. */

:root {
  --paper: #ffffff;
  --ink: #0d0d0f;
  --ink-2: #2a2e35;
  --muted: #5a616c;
  --faint: #8a919c;
  --hair: #e1e7ef;
  --grid: #69a8e14d;
  --frame: #9ac0ec;
  --signal: #1d5ec2;
  --on-signal: #ffffff;
  --pink: #ffd6e8;
  --pink-deep: #ff9ec6;
  --blue: #d2e8ff;
  --blue-deep: #8fbef5;

  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --text: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, Consolas, monospace;

  --cell: 48px;
  --stroke: 1.5px;
  --handle: 10px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --focus-ring: 0 0 0 2px #ffffff, 0 0 0 3.5px #1d5ec2;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/28px var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--on-signal); }
:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.mono { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: 0.02em; text-transform: uppercase; }
.display { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.045em; line-height: .9; margin: 0; }
.h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.045em; line-height: .92; margin: 0; font-size: clamp(40px, 6vw, 88px); text-wrap: balance; }
.h3 { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 26px; letter-spacing: -0.02em; margin: 0; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; }
.spec.spec--text { background: none; color: var(--muted); padding: 0 0 0 4px; }
.spec { display: inline-block; font-family: var(--mono); font-size: 11px; line-height: 16px; padding: 0 5px; background: var(--signal); color: var(--on-signal); white-space: nowrap; letter-spacing: 0; text-transform: none; }

/* ---------- The canvas behind everything ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--paper); }
.bg-par { position: absolute; inset: 0; will-change: transform; }
.bg-glow { position: absolute; width: 78vmax; height: 78vmax; will-change: transform; }
.bg-glow--pink { right: -30vmax; top: -34vmax; background: radial-gradient(closest-side, #ffd6e8 0%, rgba(255, 214, 232, .62) 42%, rgba(255, 214, 232, 0) 100%); animation: drift-pink 26s ease-in-out infinite alternate; }
.bg-glow--blue { left: -32vmax; bottom: -38vmax; background: radial-gradient(closest-side, #d2e8ff 0%, rgba(210, 232, 255, .65) 44%, rgba(210, 232, 255, 0) 100%); animation: drift-blue 31s ease-in-out infinite alternate; }
@keyframes drift-pink { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-9vmax, 7vmax, 0) scale(1.08); } 100% { transform: translate3d(-3vmax, 13vmax, 0) scale(.96); } }
@keyframes drift-blue { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(11vmax, -6vmax, 0) scale(1.1); } 100% { transform: translate3d(5vmax, -12vmax, 0) scale(.97); } }
.bg-pan { position: absolute; inset: calc(var(--cell) * -2); will-change: transform; }
.bg-grid { position: absolute; inset: 0;
  background-image: linear-gradient(to right, var(--grid) 0 1px, transparent 0), linear-gradient(to bottom, var(--grid) 0 1px, transparent 0);
  background-size: var(--cell) var(--cell); }
.bg-cells { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-grain { position: absolute; inset: 0; opacity: .07;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Selection frame, handles, cursor ---------- */
.frame { position: relative; color: var(--ink); }
.frame-line { position: absolute; inset: calc(var(--stroke) / -2); border: var(--stroke) solid var(--frame); pointer-events: none; }
.handle { position: absolute; width: var(--handle); height: var(--handle); background: var(--paper); border: var(--stroke) solid var(--frame); transform: translate(-50%, -50%); pointer-events: none; }
.h-tl { left: 0; top: 0; } .h-tr { left: 100%; top: 0; } .h-bl { left: 0; top: 100%; } .h-br { left: 100%; top: 100%; }
.sel { position: absolute; inset: 0; pointer-events: none; }
.cursor { fill: var(--paper); stroke: var(--ink); stroke-width: 1.9; stroke-linejoin: miter; overflow: visible; }

/* ---------- Buttons and fields ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border: var(--stroke) solid var(--ink); border-radius: 0; background: var(--ink); color: var(--paper); font: 600 13px/16px var(--text); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn .sel { inset: calc(var(--stroke) * -1); --handle: 9px; }
.btn .handle { opacity: 0; transition: opacity .12s linear; }
.btn:hover .handle, .btn:focus-visible .handle { opacity: 1; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { cursor: progress; opacity: .7; }
.btn--sm { height: 40px; padding: 0 16px; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--lg { height: 60px; padding: 0 34px; }
.btn svg { display: block; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-actions { display: flex; flex-direction: column; align-items: center; margin-top: 18px; }
.arrow { display: inline-block; width: 14px; height: 14px; }

/* ---------- Header ---------- */
.head { position: fixed; top: 0; left: 0; right: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px); transition: background-color .2s linear, box-shadow .2s linear; }
.head.is-scrolled { background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 var(--hair); }
.head-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand svg { height: 22px; width: auto; }
.brand b { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.nav { display: flex; gap: 26px; }
.nav a { font-family: var(--mono); font-size: 12px; line-height: 16px; text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.onair { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; line-height: 16px; text-transform: uppercase; color: var(--muted); }
.onair i { width: 7px; height: 7px; background: var(--signal); animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }
@media (max-width: 900px) { .nav, .onair { display: none; } .brand b { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(68px + clamp(36px, 6.5vh, 84px)); padding-bottom: clamp(56px, 9vh, 112px); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; min-width: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--ink-2); }
.kicker i { width: 8px; height: 8px; background: var(--signal); }
.stage { display: grid; justify-items: start; align-items: center; width: 100%; margin-bottom: 20px; }
.hero-frame { display: inline-grid; place-items: center start; justify-content: start; align-content: center; padding: clamp(14px, 2.2vw, 28px) clamp(18px, 2.8vw, 36px); --handle: 12px; }
.hero-frame .slot { grid-area: 1 / 1; margin: 0; }
.hero-frame .slot:not(.is-on) { display: none; }
.hero-frame.seq .slot { display: block; }
.hero-frame .display { font-size: var(--type); white-space: nowrap; }
.hero-frame { --type: clamp(40px, 5.8vw, 92px); }
.hero-frame .mark { height: calc(var(--type) * .9); width: auto; }
.hero-frame .cursor { position: absolute; left: 100%; top: 100%; width: clamp(20px, 2.2vw, 28px); height: auto; transform: translate(10px, 0); z-index: 2; }
.frame-dims { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 14px); white-space: nowrap; }
.lede { margin: 0; max-width: 30ch; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.38; letter-spacing: -0.01em; text-wrap: balance; }
.fine { margin: -14px 0 0; font-family: var(--mono); font-size: 11px; line-height: 16px; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { align-items: flex-start; }
}
@media (max-width: 520px) {
  .hero-frame { --type: clamp(30px, 10vw, 52px); }
  .cta-row { width: 100%; flex-direction: column; align-items: stretch; } .cta-row .btn { width: 100%; }
}

/* Collaborator cursors */
.crew { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.mate { position: absolute; left: 0; top: 0; display: flex; align-items: flex-start; will-change: transform; visibility: hidden; }
.mate svg { width: 18px; height: auto; overflow: visible; stroke: var(--paper); stroke-width: 1.6; stroke-linejoin: miter; }
.mate b { margin: 18px 0 0 -4px; padding: 3px 7px; font: 400 11px/14px var(--mono); white-space: nowrap; }
.mate--director svg { fill: var(--ink); } .mate--director b { background: var(--ink); color: var(--paper); }
.mate--voice svg { fill: var(--signal); } .mate--voice b { background: var(--signal); color: var(--paper); }
.mate--editor svg { fill: #e0569a; } .mate--editor b { background: var(--pink); color: var(--ink); }
@media (max-width: 1020px) { .mate--editor { display: none; } }

/* The studio: one ad being edited */
.studio { position: relative; margin: 0; display: grid; justify-items: center; gap: 16px; min-width: 0; }
.board-label { display: flex; gap: 10px; align-items: baseline; color: var(--muted); font-family: var(--mono); font-size: 11px; line-height: 16px; }
.board-label b { color: var(--ink); font-weight: 400; }
.phone-wrap { position: relative; display: grid; gap: 8px; width: min(292px, 100%); }
.phone-box { position: relative; }
.phone { container-type: inline-size; position: relative; aspect-ratio: 9 / 16; width: 100%; overflow: hidden; background: #e8e3ee; }
.footage { position: absolute; inset: -4%; animation: handheld 7s ease-in-out infinite alternate; transform-origin: 50% 80%; will-change: transform; }
@keyframes handheld { 0% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(-1.2%, .8%, 0) rotate(-.5deg); } 100% { transform: translate3d(.8%, -.6%, 0) rotate(.4deg); } }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: breathe 9s ease-in-out infinite alternate; transform-origin: 50% 36%; pointer-events: none; -webkit-user-drag: none; user-select: none; }
@keyframes breathe { 0% { transform: scale(1); } 100% { transform: scale(1.035); } }
.studio .shot:not(.is-live) { opacity: 0; }
.phone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 13, 15, .18) 0%, rgba(13, 13, 15, 0) 22%, rgba(13, 13, 15, 0) 70%, rgba(13, 13, 15, .28) 100%); pointer-events: none; }
.bars { position: absolute; z-index: 2; left: 4cqw; right: 4cqw; top: 4cqw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; }
.bars i { position: relative; height: 0.9cqw; min-height: 2px; background: rgba(255, 255, 255, .45); overflow: hidden; }
.bars i b { position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.bars i:first-child b { transform: scaleX(1); }
.handle-row { position: absolute; z-index: 2; left: 4cqw; top: 8.5cqw; display: flex; align-items: center; gap: 2.4cqw; color: #fff; font: 600 4cqw/1 var(--text); }
.handle-row i { width: 8.5cqw; height: 8.5cqw; background: linear-gradient(135deg, #ffd6e8, #d2e8ff); border: 0.5cqw solid #fff; }
.caption { position: absolute; z-index: 2; left: 6cqw; right: 6cqw; top: 71%; margin: 0; text-align: center; font: 700 7.4cqw/1.5 var(--display); letter-spacing: -0.02em; color: var(--ink); text-transform: uppercase; }
.caption .ln { background: #fff; padding: .7cqw 2cqw; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.caption .w.on { background: var(--signal); color: #fff; box-shadow: 0 0 0 .7cqw var(--signal); }
.sticker { position: absolute; z-index: 2; left: 50%; bottom: 7cqw; transform: translateX(-50%); padding: 2.6cqw 5cqw; background: #fff; color: var(--ink); font: 700 4.4cqw/1 var(--text); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.phone-sel { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.comment { position: absolute; z-index: 4; right: calc(100% + 18px); top: 61%; width: 214px; padding: 12px 14px 13px; background: var(--paper); box-shadow: 0 0 0 1px var(--hair), 0 18px 40px -18px rgba(13, 13, 15, .28); font-size: 14px; line-height: 19px; transform-origin: 100% 0; }
.comment header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font: 400 11px/14px var(--mono); color: var(--muted); }
.comment header i { width: 18px; height: 18px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-style: normal; font: 700 10px/1 var(--text); }
.comment p { margin: 0; color: var(--ink); }
.comment::before { content: ""; position: absolute; right: -6px; top: 22px; width: 10px; height: 10px; background: var(--paper); box-shadow: 1px -1px 0 var(--hair); transform: rotate(45deg); }
@media (min-width: 1021px) and (max-width: 1240px) { .comment { right: calc(100% - 64px); top: 30%; width: 196px; } }
@media (max-width: 760px) { .comment { display: none; } }

/* Editor timeline */
.tl { width: min(400px, 100%); background: var(--paper); box-shadow: 0 0 0 1px var(--hair); font-family: var(--mono); font-size: 10px; line-height: 12px; color: var(--muted); user-select: none; }
.tl-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--hair); }
.tl-top b { color: var(--ink); font-weight: 400; font-variant-numeric: tabular-nums; }
.tl-body { position: relative; display: grid; grid-template-columns: 56px 1fr; }
.tl-names { display: grid; grid-template-rows: 18px repeat(3, 26px); border-right: 1px solid var(--hair); }
.tl-names span { display: flex; align-items: center; padding-left: 10px; }
.tl-lanes { position: relative; display: grid; grid-template-rows: 18px repeat(3, 26px); overflow: hidden; }
.tl-ruler { position: relative; border-bottom: 1px solid var(--hair); background-image: linear-gradient(to right, var(--hair) 0 1px, transparent 0); background-size: 10% 100%; }
.tl-ruler span { position: absolute; top: 3px; transform: translateX(3px); font-size: 9px; }
.lane { position: relative; border-bottom: 1px solid var(--hair); }
.lane:last-child { border-bottom: 0; }
.clip { position: absolute; top: 4px; bottom: 4px; display: flex; align-items: center; padding-left: 6px; overflow: hidden; white-space: nowrap; font-size: 9px; }
.clip--a { background: var(--ink-2); color: #fff; }
.clip--b { background: #4b5260; color: #fff; }
.clip--a.is-live, .clip--b.is-live { background: var(--signal); }
.clip--v { background: rgba(29, 94, 194, .12); box-shadow: inset 0 0 0 1px rgba(29, 94, 194, .45); }
.clip--c { background: var(--pink); color: var(--ink); }
.wave { position: absolute; inset: 3px 4px; display: flex; align-items: center; gap: 2px; }
.wave i { flex: 1; background: var(--signal); min-height: 2px; }
.playhead { position: absolute; top: 0; bottom: 0; left: 0; width: 0; z-index: 2; will-change: transform; }
.playhead::before { content: ""; position: absolute; top: 0; bottom: 0; left: -0.75px; width: 1.5px; background: var(--signal); }
.playhead::after { content: ""; position: absolute; top: 0; left: -5px; width: 10px; height: 10px; background: var(--signal); }

/* ---------- Artboards on the canvas ---------- */
.board { position: relative; padding-block: clamp(36px, 6vw, 72px); }
.board-name { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 10px; color: var(--muted); font-family: var(--mono); font-size: 11px; line-height: 16px; }
.board-name b { color: var(--ink); font-weight: 400; }
.panel { position: relative; background: var(--paper); box-shadow: 0 0 0 1px var(--hair); padding: clamp(28px, 6vw, 88px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--muted); }
.eyebrow i { width: 8px; height: 8px; background: var(--ink); }

/* About: one statement, read as you scroll */
.about-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.nb { white-space: nowrap; }
.layers { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.layers li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.layer-ico { width: 14px; height: 14px; margin-top: 1px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.layers li:first-child .layer-ico { background: linear-gradient(135deg, transparent 46%, var(--ink) 46% 54%, transparent 54%); }
.layers li:nth-child(2) .layer-ico { background: linear-gradient(var(--ink), var(--ink)) 50% 50% / 6px 6px no-repeat; }
.layers li:nth-child(3) .layer-ico { background: var(--signal); box-shadow: none; }
.layers p { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 22px; }
.layers .mono { margin: 0; color: var(--ink); }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } }
.statement { margin: 0; max-width: 21ch; font: 500 clamp(32px, 4.6vw, 68px)/1.04 var(--display); letter-spacing: -0.04em; text-wrap: balance; }
.statement .hl { position: relative; display: inline-block; padding: 0 .07em .1em; margin: 0 -.07em; line-height: .86; }
.statement .hl .frame-line { inset: 0; }
.statement .hl .handle { --handle: 9px; }

/* Process: the brief, edited into a video, on a timeline you scrub */
.process-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; }
.process-head p { margin: 0; max-width: 36ch; color: var(--muted); }
/* Work: four reels from the TikTok, each on its own artboard */
.reels { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 36px); align-items: start; }
.reel { display: grid; gap: 8px; min-width: 0; }
.reel .board-label { margin: 0; white-space: nowrap; }
.reel-box { position: relative; }
.reel .phone { box-shadow: 0 22px 40px -26px rgba(13, 13, 15, .45); }
.reel-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; background: #e8e3ee; }
.reel .sel { opacity: 0; transition: opacity .15s linear; }
.reel:hover .sel, .reel:focus-within .sel { opacity: 1; }
.reel .sel .handle { --handle: 8px; }
.reel-link, .reels-foot a { color: var(--muted); text-decoration: none; }
.reel-link { justify-self: start; margin-top: 2px; font-size: 11px; }
.reel-link:hover, .reels-foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.reels-foot { margin: clamp(24px, 3vw, 36px) 0 0; }
@media (max-width: 1020px) { .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
.track { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.track-ruler { position: relative; height: 26px; border-bottom: 1px solid var(--hair); background-image: linear-gradient(to right, var(--hair) 0 1px, transparent 0); background-size: 5% 10px; background-repeat: repeat-x; background-position: 0 100%; font-family: var(--mono); font-size: 10px; color: var(--faint); }
.track-ruler span { position: absolute; bottom: 12px; transform: translateX(4px); font-variant-numeric: tabular-nums; }
.track-clips { position: relative; display: grid; grid-template-columns: 2fr 3fr 3fr 2fr; gap: 6px; padding-top: 12px; }
.tclip { position: relative; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hair); font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--muted); transition: background-color .25s linear, color .25s linear, box-shadow .25s linear; cursor: pointer; border: 0; text-align: left; }
.tclip b { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-transform: uppercase; }
.tclip.is-on { background: var(--ink); color: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--ink); }
.tclip.is-on b { color: #fff; }
.track-head { position: absolute; top: 0; bottom: -10px; left: 0; width: 0; z-index: 3; pointer-events: none; will-change: transform; }
.track-head::before { content: ""; position: absolute; top: 0; bottom: 0; left: -0.75px; width: 1.5px; background: var(--signal); }
.track-head::after { content: attr(data-tc); position: absolute; top: -2px; left: 0; transform: translateX(-50%); padding: 2px 5px; background: var(--signal); color: #fff; font: 400 10px/12px var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.steps { display: grid; grid-template-columns: 2fr 3fr 3fr 2fr; gap: 6px; margin: 28px 0 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 14px 12px 0 0; }
.steps li::after { content: ""; position: absolute; left: 0; top: 0; width: 0; height: 2px; background: var(--signal); transition: width .35s ease; }
.motion .steps li.is-on::after { width: calc(100% - 12px); }
.motion .steps li h3 { color: var(--muted); transition: color .25s linear; }
.motion .steps li.is-on h3 { color: var(--ink); }
.steps h3 { margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; line-height: 24px; max-width: 32ch; }
@media (max-width: 860px) {
  .track { display: none; }
  .steps { grid-template-columns: 1fr; gap: 0; border-left: 1.5px solid var(--hair); margin-top: 32px; }
  .steps li { position: relative; padding: 0 0 28px 24px; }
  .steps li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; background: var(--paper); border: 1.5px solid var(--frame); }
  .steps li::after { display: none; }
  .motion .steps li h3 { color: var(--ink); }
}

/* Formats: artboards you can move around */
.formats-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.flist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.flist li { border-bottom: 1px solid var(--hair); }
.flist button { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; width: 100%; padding: 16px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.flist .h3 { font-size: 20px; }
.flist .mono { color: var(--muted); align-self: center; }
.flist .desc { grid-column: 1 / -1; display: grid; color: var(--muted); font-size: 15px; line-height: 22px; transition: grid-template-rows .3s cubic-bezier(.2, .7, .2, 1); }
.flist .desc > span { min-height: 0; overflow: hidden; }
.motion .flist .desc { grid-template-rows: 0fr; }
.motion .flist li.is-on .desc { grid-template-rows: 1fr; }
.flist li.is-on .h3::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--signal); vertical-align: middle; transform: translateY(-2px); }
.desk { position: relative; height: clamp(440px, 37vw, 520px); overflow: hidden; box-shadow: inset 0 0 0 1px var(--hair);
  background-image: linear-gradient(to right, var(--grid) 0 1px, transparent 0), linear-gradient(to bottom, var(--grid) 0 1px, transparent 0);
  background-size: 32px 32px; background-position: -1px -1px; background-color: #fbfcfe; }
.desk-hint { position: absolute; right: 14px; bottom: 12px; display: flex; align-items: center; gap: 8px; color: var(--muted); z-index: 1; }
.art { position: absolute; width: clamp(128px, 12.4vw, 180px); cursor: grab; touch-action: none; }
.art:active { cursor: grabbing; }
.art .board-label { margin: 0 0 6px; white-space: nowrap; }
.art .phone { box-shadow: 0 22px 40px -26px rgba(13, 13, 15, .45); }
.art .caption { top: 66%; font-size: 9cqw; }
.art--3 .caption { top: 45%; }
.art .sel { inset: auto 0 0 0; top: 22px; opacity: 0; transition: opacity .15s linear; }
.art.is-on .sel, .art.is-hover .sel, .art:hover .sel { opacity: 1; }
.art .sel .handle { --handle: 8px; }
.art .footage { animation-duration: 9s; }
@media (max-width: 1020px) {
  .formats-top { grid-template-columns: 1fr; }
  .desk { height: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 20px; padding: 24px; overflow-x: auto; scroll-snap-type: x proximity; }
  .art { position: relative; left: auto !important; top: auto !important; width: 168px; transform: none !important; scroll-snap-align: start; cursor: default; }
  .desk-hint { display: none; }
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side p { margin: 20px 0 0; max-width: 28ch; color: var(--muted); }
.qa { border-top: 1px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--hair); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font: 600 clamp(19px, 1.6vw, 22px)/1.25 var(--display); letter-spacing: -0.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa .pm { position: relative; flex: none; width: 14px; height: 14px; }
.qa .pm::before, .qa .pm::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; margin-top: -.75px; background: var(--ink); transition: transform .25s ease; }
.qa .pm::after { transform: rotate(90deg); }
.qa details[open] .pm::after { transform: rotate(0deg); }
.qa .answer { overflow: hidden; }
.qa .answer p { margin: 0; padding: 0 0 24px; max-width: 58ch; color: var(--muted); font-size: 17px; line-height: 27px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* Waitlist */
.cta { position: relative; padding-block: clamp(80px, 12vw, 160px) clamp(64px, 9vw, 120px); }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.cta .frame { padding: clamp(14px, 2vw, 26px) clamp(18px, 2.6vw, 34px); --handle: 12px; }
.cta .display { font-size: clamp(34px, 9.4vw, 150px); white-space: nowrap; }
.cta .cursor { position: absolute; left: 100%; top: 100%; width: 26px; height: auto; transform: translate(12px, 10px); }
.cta-lede { margin: 6px 0 0; max-width: 32ch; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.4; }
.cta .fine { margin: 14px 0 0; text-align: center; }

/* Footer */
.foot { position: relative; padding-top: clamp(48px, 7vw, 96px); overflow: hidden; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; padding-block: 20px max(28px, calc(64px + env(safe-area-inset-bottom, 0px))); border-top: 1px solid var(--hair); color: var(--muted); }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-art { display: grid; justify-items: center; gap: 22px; padding-block: clamp(24px, 4vw, 48px) clamp(48px, 7vw, 96px); }
.foot-frame { padding: clamp(28px, 4vw, 56px) clamp(36px, 5.2vw, 74px); --handle: 12px; }
.foot-mark { height: clamp(96px, 15vw, 220px); width: auto; color: var(--ink); }
.foot-frame .cursor { position: absolute; left: 100%; top: 100%; width: 26px; height: auto; transform: translate(12px, 10px); }
.foot-dims { margin: 0; color: var(--muted); }

/* Motion toggle */
.motion-toggle { position: fixed; z-index: 40; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 11px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .02em; cursor: pointer; }
.motion-toggle i { width: 8px; height: 8px; border-left: 2.5px solid currentColor; border-right: 2.5px solid currentColor; }
.motion-toggle[aria-pressed="true"] i { border: 0; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
@media (hover: hover) { .motion-toggle:hover { background: var(--ink); color: var(--paper); } }
/* WhatsApp: the one always-on contact, bottom right, mirroring the motion toggle */
.wa-float { position: fixed; z-index: 40; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 11px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.wa-float svg { display: block; }
@media (hover: hover) { .wa-float:hover { background: var(--signal); border-color: var(--signal); } }
@media (max-width: 760px) { .wa-float { height: 40px; padding: 0 14px; } }
.faq-side a, .qa .answer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.faq-side a:hover, .qa .answer a:hover { color: var(--ink); }
/* Phones: the toggle moves into the header's empty middle, icon only, so it never covers the page. */
@media (max-width: 760px) {
  .motion-toggle { top: calc(19px + env(safe-area-inset-top, 0px)); bottom: auto; left: 62px; width: 30px; padding: 0; justify-content: center; }
  .motion-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

.motion-off .bg-glow, .motion-off .footage, .motion-off .shot, .motion-off .onair i { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .bg-glow, .footage, .shot, .onair i { animation: none; }
  .btn:active { transform: none; }
  .tclip, .steps li::after, .flist .desc { transition: none; }
}
