/* ==========================================================================
   Proto B — Workshop editorial / light-warm
   ========================================================================== */

:root {
  /* drafting-film white, graphite ink, ultramarine dimension lines */
  --paper: #eef0ed;
  --paper-2: #e1e5e1;
  --ink: #101312;
  --ink-2: #48504c;
  --rule: #c3c9c4;
  --accent: #2443c7;
  --pro: #2f7d57;
  --coo: #b4532e;
  --coo-soft: #e8a68c;
  --ghost: rgba(16, 19, 18, 0.14);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 3.2vw, 44px);
  --max: 1360px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1112;
    --paper-2: #181b1d;
    --ink: #e6e9e6;
    --ink-2: #a3aba6;
    --rule: #2c3235;
    --accent: #8fa3ff;
    --pro: #46b07a;
    --coo: #e8a68c;
    --coo-soft: #c45d35;
    --ghost: rgba(230, 233, 230, 0.12);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 19px/1.6 var(--serif); font-optical-sizing: auto;
  overflow-x: clip;
  /* faint engineering grid on the paper */
  background-image:
    linear-gradient(var(--ghost) 1px, transparent 1px),
    linear-gradient(90deg, var(--ghost) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: -1px -1px;
  background-attachment: fixed;
}
body::before { /* knock the grid back so it reads as paper texture */
  content: ""; position: fixed; inset: 0; background: var(--paper); opacity: .78; pointer-events: none; z-index: -1;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
em { font-style: normal; font-family: var(--serif); font-style: italic; }
.mono { font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.ital { font-family: var(--serif); font-style: italic; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- crop marks + rules ---------- */
.crop { position: absolute; width: 22px; height: 22px; pointer-events: none; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--ink); }
.crop::before { width: 22px; height: 1px; top: 0; }
.crop::after { width: 1px; height: 22px; left: 0; }
.crop--tl { top: 18px; left: calc(var(--gutter) - 30px); }
.crop--tr { top: 18px; right: calc(var(--gutter) - 30px); transform: scaleX(-1); }
.rule { display: block; height: 1px; background: var(--ink); transform-origin: left center; }
.rule--bottom { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; }

/* ---------- dimension lines ---------- */
.dim { position: relative; display: block; height: 22px; color: var(--accent); }
.dim__line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transform-origin: left; }
.dim__line::before, .dim__line::after { /* end ticks + arrows */
  content: ""; position: absolute; top: -8px; width: 1px; height: 17px; background: currentColor;
}
.dim__line::before { left: 0; }
.dim__line::after { right: 0; }
.dim__label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--paper); padding: 0 10px; white-space: nowrap; color: var(--accent); }
.dim__label b { font-weight: 500; }

/* ---------- measuring tape (fixed) ---------- */
.tape { position: fixed; right: 0; top: 0; bottom: 0; width: 34px; z-index: 40; pointer-events: none; border-left: 1px solid var(--rule); background: color-mix(in srgb, var(--paper) 86%, transparent); }
.tape__ruler {
  position: absolute; inset: 0;
  /* 1 mm = 3.7795 px at CSS 96 dpi; ticks every 1 mm, 5 mm, 10 mm */
  background-image:
    repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px 37.795px),
    repeating-linear-gradient(to bottom, var(--ink-2) 0 1px, transparent 1px 18.8975px),
    repeating-linear-gradient(to bottom, var(--rule) 0 1px, transparent 1px 3.7795px);
  background-size: 18px 100%, 11px 100%, 6px 100%;
  background-repeat: repeat-y;
  background-position: 0 0, 0 0, 0 0;
}
.tape__needle { position: absolute; left: -6px; right: 0; top: 50%; height: 1px; background: var(--accent); }
.tape__readout {
  position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
  font: 500 12px/1 var(--mono); color: var(--paper); background: var(--accent); padding: 6px 8px; white-space: nowrap; border-radius: 2px;
  font-variant-numeric: tabular-nums;
}
.tape__readout small { margin-left: 4px; font-size: 10px; opacity: .85; }

/* ---------- header ---------- */
.top {
  position: fixed; z-index: 50; top: 0; left: 0; right: 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--gutter);
  mix-blend-mode: normal;
}
.top::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); z-index: -1; }
.top__mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.top__mono { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--ink); font: 500 13px/1 var(--mono); }
.top__name { font: 700 17px/1 var(--sans); letter-spacing: -.01em; }
.top__nav { display: flex; gap: clamp(10px, 2vw, 28px); }
.top__nav a { text-decoration: none; font: 500 15px/1 var(--sans); padding: 8px 0; position: relative; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.top__nav a:hover::after, .top__nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

main { padding-right: 34px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 110px var(--gutter) 48px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; display: flex; flex-direction: column; }
.hero .dim { margin-top: clamp(28px, 6vh, 64px); width: var(--dim-w, 100%); }
.hero__title {
  font: 800 clamp(64px, 15.5vw, 236px)/.9 var(--sans);
  letter-spacing: -.04em; margin: 6px 0 0; display: inline-block; align-self: flex-start;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line:nth-child(2) { padding-left: .9em; }
.hero__title .word { display: inline-block; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: var(--gutter); margin-top: auto; padding-top: 40px; align-items: end; }
.hero__lead { font: 400 clamp(21px, 2.1vw, 30px)/1.4 var(--serif); margin: 0; max-width: 30ch; }
.hero__note { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.55; max-width: 28ch; justify-self: end; }
.hero__cue { display: flex; align-items: center; gap: 12px; margin-top: 36px; color: var(--ink-2); font-size: 15px; }
.hero__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); } 60% { box-shadow: 0 0 0 10px transparent; } }

/* ---------- clip-path reveal (base = static, readable) ---------- */
.reveal { position: relative; padding: 24px var(--gutter); }
.reveal__sticky { position: relative; max-width: var(--max); margin: 0 auto; }
.reveal__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: var(--paper-2); }
.reveal__video { width: 100%; height: 100%; object-fit: cover; }
.reveal__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 9, 10, .72)); pointer-events: none; }
.reveal__caption { position: absolute; left: 24px; bottom: 20px; color: #f6f1e7; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.reveal__kicker { font: 500 16px/1.2 var(--sans); }
.reveal__name { font: 800 clamp(56px, 9vw, 150px)/.95 var(--sans); letter-spacing: -.035em; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.reveal__dim { display: none; }

/* motion: pinned, scrubbed, masked */
.motion .reveal { height: 340vh; padding: 0; }
.motion .reveal__sticky { position: sticky; top: 0; height: 100vh; max-width: none; overflow: hidden; }
.motion .reveal__frame { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; clip-path: inset(49.4% 49.6% round 999px); will-change: clip-path; background: #0e0d0b; }
.motion .reveal__caption { left: var(--gutter); bottom: calc(var(--gutter) + 8px); opacity: 0; }
.motion .reveal__dim { display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--accent); background: var(--paper); padding: 4px 8px; white-space: nowrap; z-index: 2; }

/* ---------- project sections ---------- */
.project { position: relative; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(80px, 12vh, 140px) var(--gutter) clamp(60px, 10vh, 120px); }
.project__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 24px; }
.project__title { margin: 0; font: 800 clamp(64px, 12vw, 188px)/.95 var(--sans); letter-spacing: -.035em; display: flex; align-items: center; gap: .14em; }
.project--coo .project__title { font-style: normal; }
.project__logo { width: .36em; height: .36em; border-radius: .08em; flex: none; }
.project__link { justify-self: end; padding-bottom: 1.2em; font-size: 17px; font-weight: 500; }
.project--pro .project__link { color: var(--pro); }
.project--coo .project__link { color: var(--coo); }
.project__head .rule { grid-column: 1 / -1; margin-top: 18px; }
.project__body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(40px, 7vh, 80px); align-items: start; }
.fill-text { margin: 0; font: 400 clamp(21px, 2vw, 28px)/1.5 var(--serif); max-width: 46ch; }
.fill-text .w { display: inline; }

.stats { border-left: 1px solid var(--rule); padding-left: clamp(16px, 2vw, 28px); display: grid; gap: 28px; }
.stat { display: grid; gap: 6px; }
.stat__val { font: 800 clamp(56px, 6vw, 96px)/.95 var(--sans); letter-spacing: -.035em; color: var(--pro); }
.stat__lbl, .stat__src { color: var(--ink-2); font-size: 15px; }
.stat__src { margin: 0; font-size: 13px; }

.device { margin: clamp(56px, 9vh, 110px) 0 0; position: relative; }
.device__dims { margin-bottom: 14px; }
.device__screen { position: relative; border: 1px solid var(--ink); border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: #161512; box-shadow: 14px 14px 0 var(--paper-2); }
.device__screen img, .device__screen video { width: 100%; height: 100%; object-fit: cover; }
figcaption { margin-top: 12px; color: var(--ink-2); font-size: 14px; }

.features { list-style: none; margin: clamp(48px, 8vh, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.features li { display: grid; gap: 4px; padding: 22px 18px 26px 0; border-bottom: 1px solid var(--rule); }
.features b { font: 700 clamp(26px, 2.2vw, 34px)/1.15 var(--sans); letter-spacing: -.02em; }
.features li > span:last-child { color: var(--ink-2); font-size: 17px; }
.stack { margin: 28px 0 0; color: var(--ink-2); font-size: 15px; }

.tagline { margin: 22px 0 0; font: 500 clamp(18px, 1.6vw, 22px)/1.3 var(--sans); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.tagline span + span { color: var(--ink-2); font-weight: 400; }
.clip, .still { margin: 0; }
.clip__screen { border: 1px solid var(--ink); border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: #1a1614; }
.clip__screen video { width: 100%; height: 100%; object-fit: cover; }
.project__body .clip__screen { box-shadow: 10px 10px 0 color-mix(in srgb, var(--coo-soft) 45%, var(--paper)); }
.still img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--ink); border-radius: 10px; background: var(--paper-2); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(48px, 8vh, 96px); }

/* ---------- horizontal strip (base = native swipe row) ---------- */
.strip { position: relative; padding: 56px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.strip__head { padding: 0 var(--gutter) 22px; }
.strip__title { margin: 0; font: 800 clamp(34px, 3.6vw, 56px)/1.05 var(--sans); letter-spacing: -.03em; }
.strip__track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shot { --shot-h: min(56vh, 540px); flex: none; margin: 0; scroll-snap-align: start; }
.shot img { height: var(--shot-h); width: auto; max-width: none; border: 1px solid var(--ink); border-radius: 8px; background: var(--paper-2); }
.shot figcaption { max-width: 60ch; }
.shot--pro img { border-color: var(--pro); }
.shot--coo img { border-color: var(--coo); }
.motion .strip { padding: 0; }
.motion .strip__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.motion .strip__track { overflow: visible; scroll-snap-type: none; width: max-content; will-change: transform; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: clamp(28px, 5vh, 56px) 0; border-bottom: 1px solid var(--rule); }
.marquee__row { display: flex; width: max-content; align-items: center; gap: 28px; font: 800 clamp(44px, 7vw, 110px)/1.15 var(--sans); letter-spacing: -.035em; white-space: nowrap; }
.marquee__row i { display: inline-block; width: .5em; height: 2px; background: var(--accent); }
.marquee__row .ital { color: var(--ink-2); font-style: italic; font-weight: 400; font-family: var(--serif); letter-spacing: -.01em; }

/* ---------- phones ---------- */
.phones { position: relative; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(80px, 12vh, 140px) var(--gutter); display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: start; }
.phones__title { margin: 0; font: 800 clamp(54px, 8vw, 128px)/.95 var(--sans); letter-spacing: -.035em; }
.phone { margin: 0; }
.phone img, .phone video { display: block; width: 100%; height: auto; border: 1px solid var(--ink); border-radius: 26px; background: var(--paper-2); }
.phone .phone__still { display: none; }
@media (prefers-reduced-motion: reduce) { .phone .phone__video { display: none; } .phone .phone__still { display: block; } }
.phone--b { margin-top: 14vh; }
.phone--c { margin-top: 4vh; }

/* ---------- clients ---------- */
.clients { position: relative; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(80px, 12vh, 140px) var(--gutter); border-top: 1px solid var(--ink); }
.clients__title { margin: 0; font: 800 clamp(48px, 7vw, 112px)/.95 var(--sans); letter-spacing: -.035em; }
.clients__text { margin: 22px 0 0; font: 400 clamp(19px, 1.7vw, 24px)/1.5 var(--serif); max-width: 46ch; }

/* ---------- cut list (surprise) ---------- */
.cutlist { position: relative; background: var(--ink); color: var(--paper); padding: clamp(80px, 12vh, 140px) var(--gutter); margin-right: -34px; padding-right: calc(var(--gutter) + 34px); }
.cutlist a { color: inherit; }
.cutlist__head, .cutlist__grid { max-width: var(--max); margin: 0 auto; }
.cutlist__title { margin: 0; font: 800 clamp(52px, 8vw, 128px)/.95 var(--sans); letter-spacing: -.035em; }
.cutlist__lead { max-width: 60ch; margin: 22px 0 0; color: color-mix(in srgb, var(--paper) 78%, var(--ink)); font-size: 18px; }
.cutlist__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: 48px; align-items: start; }
.cutlist__tablewrap { overflow-x: auto; }
.cutlist__table { width: 100%; border-collapse: collapse; font-size: 13px; text-transform: none; font-variant-numeric: tabular-nums; }
.cutlist__table th, .cutlist__table td { text-align: left; padding: 10px 10px 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--paper) 20%, transparent); }
.cutlist__table thead th { color: color-mix(in srgb, var(--paper) 62%, var(--ink)); font-weight: 400; font-size: 12px; }
.cutlist__table .r { text-align: right; }
.cutlist__table tfoot th, .cutlist__table tfoot td { border-bottom: 0; border-top: 1px solid var(--paper); font-weight: 500; padding-top: 14px; }
.cutlist__table tbody tr.is-hot td { color: var(--accent); }
.cutlist__board { margin: 0; }
.board { width: 100%; height: auto; overflow: visible; }
.board__sheet { fill: color-mix(in srgb, var(--paper) 10%, var(--ink)); stroke: var(--paper); stroke-width: 6; }
.board__part { fill: color-mix(in srgb, var(--accent) 22%, var(--ink)); stroke: var(--accent); stroke-width: 5; }
.motion .board:not(.is-in) .board__g { opacity: 0; }
.board__label { fill: var(--paper); font: 500 54px var(--mono); }
.cutlist__board figcaption { color: color-mix(in srgb, var(--paper) 70%, var(--ink)); }

/* ---------- company ---------- */
.company { position: relative; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(80px, 12vh, 140px) var(--gutter) 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.company__title { margin: 0 0 18px; font: 800 clamp(52px, 7vw, 112px)/.95 var(--sans); letter-spacing: -.035em; }
.company__intro p { margin: 0 0 28px; max-width: 42ch; color: var(--ink-2); }
.cta { display: inline-flex; gap: 14px; align-items: center; font: 500 clamp(18px, 1.8vw, 24px)/1 var(--sans); text-decoration: none; padding: 18px 22px; border: 1px solid var(--ink); border-radius: 999px; transition: background .3s var(--ease), color .3s var(--ease); max-width: 100%; overflow-wrap: anywhere; }
.cta:hover { background: var(--ink); color: var(--paper); }
.titleblock { margin: 0; border: 1.5px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; }
.titleblock > div { padding: 14px 16px; border-bottom: 1px solid var(--ink); }
.titleblock > div:nth-child(odd):not(:last-child) { border-right: 1px solid var(--ink); }
.titleblock > div:first-child, .titleblock > div:nth-child(2) { grid-column: 1 / -1; border-right: 0; }
.titleblock > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
.titleblock > div:nth-child(3) { border-right: 1px solid var(--ink); }
.titleblock dt { color: var(--ink-2); font-size: 13px; margin-bottom: 4px; }
.titleblock dd { margin: 0; font-size: 18px; font-weight: 500; overflow-wrap: anywhere; }

.en { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 48px var(--gutter) 64px; border-top: 1px solid var(--rule); }
.en__title { margin: 0 0 14px; font: 800 40px/1.05 var(--sans); letter-spacing: -.03em; }
.en p { max-width: 70ch; margin: 0 0 14px; color: var(--ink-2); }
.en__data { font-size: 16px; }

.foot { font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px calc(var(--gutter) + 34px) 28px var(--gutter); border-top: 1px solid var(--ink); color: var(--ink-2); }
.foot a { text-decoration: none; }
.foot b { color: var(--accent); font-weight: 500; }

/* ---------- initial states for JS-driven motion (only when motion allowed) ---------- */
.motion .hero__title .word { transform: translateY(105%); }
.motion .hero__grid > *, .motion .hero__cue { opacity: 0; }
.motion .rule, .motion .dim__line { transform: scaleX(0); }
.motion .dim__label { opacity: 0; }

/* ---------- mobile ---------- */
@media (max-width: 820px) {
  .tape { width: 0; border: 0; background: none; }
  .tape__ruler { display: none; }
  .tape__needle { display: none; }
  .tape__readout { top: auto; bottom: 14px; right: 14px; transform: none; }
  main { padding-right: 0; }
  .top { right: 0; padding: 10px var(--gutter); }
  .top__name { display: none; }
  .top__nav { gap: 14px; }
  .top__nav a { font-size: 13px; }
  .hero { padding-top: 84px; min-height: 0; }
  .hero__grid { margin-top: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__note { justify-self: start; text-align: left; }
  .hero__title { font-size: 20vw; }
  .hero__title .line:nth-child(2) { padding-left: .3em; }
  .hero__grid { padding-top: 56px; }
  .project__head { grid-template-columns: 1fr; }
  .project__link { justify-self: start; padding-bottom: 0; }
  .project__body { grid-template-columns: 1fr; }
  .stats { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 20px; grid-template-columns: 1fr 1fr; }
  .stat__src { grid-column: 1 / -1; }
  .features { grid-template-columns: 1fr; }
  .phones { grid-template-columns: 1fr 1fr; }
  .phone--c { display: none; }
  .pair { grid-template-columns: 1fr; }
  .phones__title { grid-column: 1 / -1; }
  .phone--b { margin-top: 12vh; }
  .cutlist { margin-right: 0; padding-right: var(--gutter); }
  .cutlist__grid { grid-template-columns: 1fr; }
  .company { grid-template-columns: 1fr; }
  .titleblock { grid-template-columns: 1fr; }
  .titleblock > div { border-right: 0 !important; }
  .foot { padding-right: var(--gutter); }
  .crop { display: none; }
  /* no pinning on phones: masked reveal becomes a plain autoplay card */
  .motion .reveal { height: auto; padding: 24px var(--gutter); }
  .motion .reveal__sticky { position: relative; height: auto; overflow: visible; }
  .motion .reveal__frame { position: relative; inset: auto; aspect-ratio: 16 / 10; clip-path: none; border-radius: 12px; }
  .motion .reveal__caption { opacity: 1; left: 16px; bottom: 14px; }
  .motion .reveal__dim { display: none; }
  .motion .strip { padding: 40px 0; }
  .motion .strip__sticky { position: relative; height: auto; }
  .motion .strip__track { overflow-x: auto; scroll-snap-type: x mandatory; width: auto; }
  .shot { --shot-h: 56vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  body { background-attachment: scroll; }
}
