/* ============================================================================
   site.css: the aivideoads.io template. Shared by every person's page.
   Tokens first; scroll-craft's six tokens are mapped onto them.
   ========================================================================== */
:root {
  --canvas: #0F0E0B;  --surface: #1A1813;  --coal: #17150F;
  --ink: #F6F2E8;     --ink-soft: #BDB5A3;
  --yellow: #FFC21A;  --yellow-h: #FFD24F;
  --cream: #F3EEE2;   --cream-ink: #15130E;
  --tl-bg: #0B0A08;   --tl-border: #2B271E; --tl-clip: #221F18;
  --rec: #E5432B;     --ok: #69B072;

  --sc-canvas: var(--canvas); --sc-surface: var(--surface);
  --sc-ink: var(--ink);       --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--yellow); --sc-accent-ink: var(--cream-ink);
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text: "Geist", system-ui, sans-serif;

  --maxw: 1360px;
  --gutter: clamp(1.15rem, 3.2vw, 2.5rem);
  --bar-h: 64px;
  --tl-h: 66px;
  --radius: 6px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ------------------------------------------------------------------ base */
html { background: var(--canvas); scroll-padding-top: calc(var(--bar-h) + 8px); }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: var(--sc-font-text); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  padding-bottom: var(--tl-h);
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 3px; }
.theme-yellow :focus-visible, .theme-cream :focus-visible { outline-color: var(--cream-ink); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--cream-ink); padding: 10px 14px; font-weight: 700; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; }
.noscript { padding: 120px var(--gutter); max-width: 40rem; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.sc-grain { z-index: 45; }
[data-sc-progress] { display: none; } /* the timeline is the progress */

/* display type: Archivo, uppercase, heavy, wide */
.h-xl, .h-lg, .h-md, .bar__logo, .bar__link, .btn, .pill, .tile__title, .chip strong,
.fact dt, .contacts__label, .chips li, .tl__label, .tl__status, .tl__now, .wrapup__ghost, .problem__line, .ph span, .lb__title, .lb__close {
  font-family: var(--sc-font-display); text-transform: uppercase; font-stretch: 118%;
}
.h-xl, .h-lg, .h-md { font-weight: 850; margin: 0; letter-spacing: -0.012em; text-wrap: balance; }
.h-xl { font-size: clamp(2.6rem, 6.2vw, 6.1rem); line-height: 0.92; }
.h-lg { font-size: clamp(2rem, 4.4vw, 4rem); line-height: 0.95; }
.h-md { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; }
.lede { font-size: clamp(1.08rem, 1.35vw, 1.28rem); line-height: 1.5; color: var(--ink-soft); max-width: 40rem; margin: 0; text-wrap: pretty; }
.body { color: var(--ink-soft); margin: 0; max-width: 38rem; text-wrap: pretty; }

/* themes: sections alternate dark / yellow / cream */
.theme-dark { background: var(--canvas); }
.theme-surface { background: var(--surface); }
.theme-coal { background: var(--coal); }
.theme-yellow { background: var(--yellow); color: var(--cream-ink); }
.theme-cream { background: var(--cream); color: var(--cream-ink); }
.theme-yellow .lede, .theme-cream .lede, .theme-yellow .body, .theme-cream .body,
.theme-yellow .tile__cat, .theme-cream .tile__cat { color: rgba(21, 19, 14, 0.74); }

/* ---------------------------------------------------------------- buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 24px; border-radius: 4px; box-sizing: border-box;
  font-weight: 800; font-size: .92rem; letter-spacing: .04em; text-decoration: none;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .78rem; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 1.02rem; }
.btn--yellow { background: var(--yellow); color: var(--cream-ink); }
.btn--yellow:hover { background: var(--yellow-h); }
.btn--ghost { border: 1.5px solid rgba(246, 242, 232, .34); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--cream-ink); color: var(--yellow); }
.btn--dark:hover { background: #000; color: var(--yellow-h); }
.textlink { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.textlink:hover { text-decoration-thickness: 3px; }

/* -------------------------------------------------------------------- bar */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar-h);
  background: color-mix(in oklab, var(--canvas) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(246, 242, 232, .08);
}
.bar__in { max-width: var(--maxw); margin: 0 auto; height: 100%; padding-inline: var(--gutter); box-sizing: border-box; display: flex; align-items: center; gap: 28px; }
.bar__logo { font-weight: 900; font-size: 1rem; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.bar__nav { display: flex; gap: 26px; margin-left: auto; }
.bar__link { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; color: var(--ink-soft); padding: 8px 0; }
.bar__link:hover { color: var(--ink); }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--bar-h) + 40px) 0 72px; box-sizing: border-box; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__copy > * + * { margin-top: 26px; }
.hero__copy .btns { margin-top: 34px; }
.hero__art { position: relative; aspect-ratio: 1 / 1.02; max-height: 74svh; width: 100%; justify-self: end; }
.plane { position: absolute; will-change: transform; }
.plane--slab { inset: 8% 14% 4% 6%; }
.slab { width: 100%; height: 100%; background: var(--yellow); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.plane--cut { left: 12%; right: 30%; top: 2%; bottom: 4%; z-index: 1; }
.cut { width: 100%; height: 100%; display: flex; align-items: flex-end; }
.cut__img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.cut__ph { width: 100%; height: 88%; border-radius: var(--radius) var(--radius) 0 0; background: repeating-linear-gradient(135deg, rgba(21,19,14,.10) 0 2px, transparent 2px 12px), rgba(21,19,14,.10); border: 1.5px dashed rgba(21,19,14,.42); border-bottom: 0; color: var(--cream-ink); }
.plane--phone { right: 0; top: 14%; width: 40%; z-index: 2; }
.phone { transform: rotate(6deg); background: #0B0A08; border-radius: 26px; padding: 9px; box-shadow: 0 40px 70px -24px rgba(0,0,0,.75), 0 6px 14px rgba(0,0,0,.35); border: 1px solid #2B271E; }
.phone__screen { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--surface); }
.phone__screen img, .phone__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__pill { position: absolute; left: 10px; bottom: 12px; }
.plane--chip { left: 0; bottom: 9%; z-index: 3; }
.chip { margin: 0; transform: rotate(-5deg); background: var(--cream); color: var(--cream-ink); padding: 14px 18px; border-radius: 4px; box-shadow: 0 18px 30px -14px rgba(0,0,0,.6); display: grid; gap: 2px; }
.chip strong { font-size: 1.15rem; font-weight: 900; line-height: 1; }
.chip span { font-size: .82rem; color: rgba(21,19,14,.72); }

/* placeholder blocks */
.ph { display: grid; place-content: center; text-align: center; gap: 6px; box-sizing: border-box; }
.ph span { font-weight: 850; font-size: clamp(1rem, 1.6vw, 1.4rem); letter-spacing: .1em; }
.ph small { font-family: ui-monospace, Menlo, monospace; font-size: .68rem; opacity: .65; word-break: break-all; padding: 0 10px; }

/* ---------------------------------------------------------------- problem */
.problem__stage { display: flex; align-items: center; height: 100svh; box-sizing: border-box; padding: calc(var(--bar-h) + 10px) 0 calc(var(--tl-h) + 10px); }
.problem__in > .problem__line + *, .problem__in > * + .problem__line { margin-top: clamp(14px, 3vh, 34px); }
.problem__line { margin: 0; font-weight: 850; font-size: clamp(1.7rem, 3.7vw, 3.6rem); line-height: .98; max-width: 24ch; text-wrap: balance; }
.problem__line.is-turn { display: inline-block; background: var(--cream-ink); color: var(--yellow); padding: .08em .22em .1em; margin-left: -.22em; border-radius: 3px; }
.problem__foot { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; padding-top: clamp(14px, 3vh, 34px) !important; max-width: 46rem; font-size: clamp(1.02rem, 1.3vw, 1.22rem); }
.problem__foot p { margin: 0; }

/* ------------------------------------------------------------------- work */
.work { padding: clamp(72px, 11vh, 132px) 0; }
.work__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(28px, 4.5vh, 48px); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.tiles[data-count="8"], .tiles[style*="--cols:8"] { gap: 12px; }
.tiles { max-width: calc(var(--cols, 4) * 330px + (var(--cols, 4) - 1) * 20px); }
.tile { min-width: 0; }
.tile__media {
  all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: block; width: 100%;
  aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--surface);
  box-shadow: 0 18px 34px -22px rgba(0,0,0,.7);
}
.theme-surface .tile__media { background: var(--canvas); }
.theme-yellow .tile__media, .theme-cream .tile__media { background: var(--cream-ink); box-shadow: 0 20px 34px -22px rgba(21,19,14,.55); }
.tile__media img, .tile__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.tile__media:hover img, .tile__media:hover video { transform: scale(1.035); }
.tile__media:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.theme-yellow .tile__media:focus-visible, .theme-cream .tile__media:focus-visible { outline-color: var(--cream-ink); }
video.autoclip { opacity: 0; transition: opacity 300ms var(--ease); }
video.autoclip.is-on { opacity: 1; }
.pill {
  position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  background: var(--yellow); color: var(--cream-ink); border: 0; border-radius: 999px; padding: 6px 11px 6px 9px;
  font-size: .66rem; font-weight: 850; letter-spacing: .08em; line-height: 1; cursor: pointer;
  transition: background-color 160ms var(--ease);
}
.pill::before { content: ""; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.tile__media:hover .pill, .pill:hover { background: var(--yellow-h); }
.tile__title { margin: 12px 0 2px; font-size: .95rem; font-weight: 850; line-height: 1.1; letter-spacing: .01em; }
.tile__cat { margin: 0; font-size: .86rem; color: var(--ink-soft); line-height: 1.35; }
.tiles[style*="--cols:6"] .tile__title, .tiles[style*="--cols:8"] .tile__title { font-size: .8rem; }
.tiles[style*="--cols:6"] .tile__cat, .tiles[style*="--cols:8"] .tile__cat { font-size: .78rem; }
.tiles[style*="--cols:8"] .pill { left: 7px; bottom: 7px; padding: 5px 8px 5px 7px; font-size: .58rem; }

/* feature: a single ad beside a short note (layout: "feature") */
.feature { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.feature .tiles { --cols: 1; max-width: 340px; }
.feature__note { max-width: 34rem; border-left: 3px solid var(--yellow); padding: 6px 0 6px clamp(18px, 2.4vw, 32px); }
.feature .feature__note > * + * { margin-top: 18px; }
.feature .feature__note > .feature__body { margin-top: 22px; }
.feature__kicker { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .14em; color: var(--yellow); }
.feature__title { color: var(--ink); }
.feature__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feature__points li { position: relative; padding-left: 22px; font-size: clamp(1rem, 1.2vw, 1.14rem); line-height: 1.35; }
.feature__points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 3px; background: var(--yellow); }
.feature__body { margin: 0; color: var(--ink-soft); }

/* ------------------------------------------------------------------ about */
.about { padding: clamp(80px, 12vh, 140px) 0; }
.about__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.about__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.about__img { width: 100%; height: 100%; object-fit: cover; }
.about__ph { width: 100%; height: 100%; background: repeating-linear-gradient(135deg, rgba(246,242,232,.05) 0 2px, transparent 2px 12px), var(--surface); border: 1.5px dashed rgba(246,242,232,.22); border-radius: var(--radius); color: var(--ink-soft); }
.about__copy > * + * { margin-top: 22px; }
.about__copy .lede { color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 26px; margin-top: 34px !important; }
.fact { border-top: 1px solid rgba(246,242,232,.16); padding-top: 14px; }
.fact dt { font-size: .7rem; font-weight: 800; letter-spacing: .1em; color: var(--yellow); }
.fact dd { margin: 6px 0 0; font-size: .95rem; line-height: 1.45; }
.about .btns { margin-top: 32px; }

/* ---------------------------------------------------------- wrap (peak) */
.wrapup__stage { height: 100svh; display: grid; place-items: center; overflow: hidden; padding: var(--bar-h) var(--gutter) var(--tl-h); box-sizing: border-box; }
.wrapup__stage > * { grid-area: 1 / 1; }
.wrapup__ghost {
  margin: 0; font-weight: 900; line-height: .86; text-align: center; letter-spacing: -.02em;
  font-size: clamp(3.6rem, 15vw, 15.5rem); color: transparent; -webkit-text-stroke: 1.5px rgba(246,242,232,.5);
  transform: scale(calc(1.12 - var(--sc-p, 0) * 0.24)); opacity: calc(1 - var(--sc-p, 0) * 0.55);
}
.wrapup__panel {
  position: relative; z-index: 1; width: min(780px, 100%); box-sizing: border-box; background: var(--surface);
  border: 1px solid rgba(246,242,232,.12); border-radius: 8px; padding: clamp(24px, 4vw, 46px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
}
.wrapup__panel > * + * { margin-top: 18px; }
.wrapup__panel .h-md { color: var(--ink); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px !important; }
.chips li { font-size: .7rem; font-weight: 800; letter-spacing: .08em; padding: 8px 12px; border-radius: 3px; background: var(--tl-clip); border: 1px solid var(--tl-border); color: var(--ink); }
.chips li:last-child { background: var(--yellow); color: var(--cream-ink); border-color: var(--yellow); }

/* ------------------------------------------------------------------ close */
.close { padding: clamp(90px, 14vh, 160px) 0 0; }
.close__top > * + * { margin-top: 34px; }
.close__h { max-width: 17ch; }
.contacts { list-style: none; padding: 0; margin: clamp(56px, 9vh, 96px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.contacts li { border-top: 2px solid var(--cream-ink); padding: 16px 0 6px; display: grid; gap: 4px; min-width: 0; }
.contacts__label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; opacity: .7; }
.contacts__value { font-size: clamp(1.05rem, 1.6vw, 1.4rem); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contacts__value:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: clamp(56px, 9vh, 96px); padding: 22px 0 28px; border-top: 1px solid rgba(21,19,14,.25); font-size: .88rem; }

/* ------------------------------------------- SIGNATURE: editing timeline */
.tl {
  position: fixed; inset: auto 0 0; z-index: 48; height: var(--tl-h); box-sizing: border-box;
  background: var(--tl-bg); border-top: 1px solid var(--tl-border); color: var(--ink);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center;
  padding: 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
}
.tl__head { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.tl__rec { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); animation: tl-blink 1.2s steps(2, jump-none) infinite; }
.tl__tc { font-family: var(--sc-font-text); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; font-weight: 600; font-size: .95rem; letter-spacing: .04em; min-width: 7.6em; }
.tl__now { font-size: .62rem; font-weight: 800; letter-spacing: .08em; color: var(--yellow); min-width: 8.5em; }
.tl__status { min-width: 6.4em; text-align: center; box-sizing: border-box; font-size: .6rem; font-weight: 850; letter-spacing: .1em; padding: 4px 7px; border-radius: 3px; background: rgba(229,67,43,.16); color: var(--rec); }
.tl__lane { position: relative; height: 30px; }
.tl__clips { list-style: none; margin: 0; padding: 0; display: flex; gap: 3px; height: 100%; }
.tl__clip { flex: 1 1 0; min-width: 0; position: relative; }
.tl__clip a { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 3px; background: var(--tl-clip); border: 1px solid var(--tl-border); text-decoration: none; }
.tl__fill { position: absolute; inset: 0; background: rgba(255,194,26,.26); transform-origin: left center; transform: scaleX(0); }
.tl__clip.is-live a { border-color: rgba(255,194,26,.55); }
.tl__label { position: absolute; left: 7px; right: 4px; overflow: hidden; text-overflow: clip; top: 50%; translate: 0 -50%; font-size: .58rem; font-weight: 800; letter-spacing: .07em; color: var(--ink-soft); white-space: nowrap; }
.tl__clip.is-live .tl__label { color: var(--ink); }
.tl__playhead { position: absolute; top: -9px; bottom: -6px; width: 2px; margin-left: -1px; background: var(--rec); pointer-events: none; }
.tl__playhead::before { content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; border: 6px solid transparent; border-top: 8px solid var(--rec); border-bottom: 0; }
.tl.is-done .tl__rec { background: var(--ok); animation: none; }
.tl.is-done .tl__status { background: var(--ok); color: var(--tl-bg); }
.tl.is-done .tl__fill { background: rgba(105,176,114,.32); }
.tl.is-done .tl__playhead { background: var(--ok); }
.tl.is-done .tl__playhead::before { border-top-color: var(--ok); }
@keyframes tl-blink { 50% { opacity: .25; } }

/* --------------------------------------------------------------- lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: var(--ink); }
.lb::backdrop { background: rgba(6, 5, 4, .9); }
.lb[open] { display: grid; place-items: center; }
.lb__frame { position: relative; display: grid; gap: 12px; justify-items: center; }
.lb__media { position: relative; height: min(78svh, 900px); aspect-ratio: 9 / 16; max-width: 92vw; border-radius: 8px; overflow: hidden; background: var(--surface); }
.lb__media video, .lb__media img { width: 100%; height: 100%; object-fit: cover; background: #000; }
.lb__soon { position: absolute; inset: auto 12px 12px; margin: 0; padding: 12px 14px; border-radius: 6px; background: rgba(11,10,8,.88); font-weight: 600; display: grid; gap: 4px; font-size: .95rem; }
.lb__soon small { font-family: ui-monospace, Menlo, monospace; font-size: .7rem; color: var(--ink-soft); word-break: break-all; }
.lb__meta { text-align: center; }
.lb__title { margin: 0; font-size: 1.05rem; font-weight: 850; }
.lb__cat { margin: 2px 0 0; color: var(--ink-soft); font-size: .9rem; }
.lb__close { all: unset; cursor: pointer; justify-self: end; font-size: .72rem; font-weight: 800; letter-spacing: .1em; padding: 10px 12px; border-radius: 4px; background: var(--surface); }
.lb__close:hover { background: var(--yellow); color: var(--cream-ink); }
.lb__close:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
html.lb-open { overflow: hidden; }

@media (min-width: 1101px) {
  .tl__clip { min-width: calc(var(--chars, 4) * 0.47rem + 14px); }
}

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .feature { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .feature .tiles { grid-template-columns: 1fr; }
  .work__head { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .tl__label { font-size: .52rem; left: 5px; }
}

/* ---------------------------------------------------------------- mobile */
@media (max-width: 760px) {
  :root { --bar-h: 58px; --tl-h: 50px; }
  body { font-size: 1rem; }
  .bar__in { gap: 14px; }
  .bar__logo { font-size: .86rem; }
  .bar__nav { display: none; }
  .bar .bar__cta { margin-left: auto; min-height: 38px; padding: 0 13px; font-size: .7rem; }
  .hero { min-height: 0; padding: calc(var(--bar-h) + 28px) 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__copy > * + * { margin-top: 18px; }
  .hero__copy .btns { margin-top: 24px; }
  .hero__art { aspect-ratio: 1 / 1.05; max-height: none; width: 100%; max-width: 440px; justify-self: center; }
  .btn { min-height: 50px; }
  .hero .btns .btn { flex: 1 1 auto; }

  .problem__line { font-size: clamp(1.45rem, 7.2vw, 2.2rem); }
  .problem__foot { font-size: 1rem; }

  /* swipe rows */
  .tiles {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    grid-auto-columns: 62%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px;
    scrollbar-width: none; max-width: none;
  }
  .tiles::-webkit-scrollbar { display: none; }
  .tiles[style*="--cols:6"], .tiles[style*="--cols:8"] { grid-auto-columns: 44%; }
  .tile { scroll-snap-align: start; }
  .tiles[style*="--cols:8"] .pill { left: 9px; bottom: 9px; padding: 6px 10px 6px 8px; font-size: .62rem; }
  .feature { grid-template-columns: 1fr; gap: 26px; }
  .feature .tiles { display: block; overflow: visible; margin: 0 auto; padding: 0; width: 72%; max-width: 300px; }
  .feature__note { padding-left: 16px; }

  .about__grid { grid-template-columns: 1fr; }
  .about__photo { aspect-ratio: 4 / 4.4; }
  .contacts { grid-template-columns: 1fr; gap: 0; }
  .contacts li { padding: 14px 0 12px; }
  .foot { flex-direction: column; }
  .wrapup__ghost { -webkit-text-stroke-width: 1px; }
  .chips li { font-size: .62rem; padding: 7px 9px; }

  .tl { grid-template-columns: 1fr; gap: 6px; align-content: center; padding-block: 6px; }
  .tl__head { gap: 8px; }
  .tl__tc { font-size: .82rem; min-width: 0; }
  .tl__now { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; }
  .tl__lane { height: 8px; }
  .tl__clips { gap: 2px; }
  .tl__label { display: none; }
  .tl__playhead { top: -4px; bottom: -3px; }
  .tl__playhead::before { border-width: 4px; border-top-width: 5px; }
}

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .plane { transform: none !important; }
  .wrapup__ghost { transform: none; opacity: .55; }
  .tl__rec { animation: none; }
  .tile__media img, .tile__media video { transition: none; }
  .tile__media:hover img, .tile__media:hover video { transform: none; }
  html { scroll-behavior: auto; }
}

/* hero phone cycler: two stacked previews, crossfade */
.phone__screen video.hcyc { opacity: 0; transition: opacity .22s ease; }
.phone__screen video.hcyc.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .phone__screen video.hcyc { display: none; } }
.phone__pill { z-index: 2; }
