/* Supershoot home page, motion layer. Palette and type come from assets/site.css. Nothing here adds a color outside it.
   Base rules below are the END STATE (what no-JS, reduced motion and lite devices see).
   Motion is switched on with html.mo (set in the head script) and only moves transform and opacity. */

/* Metric-matched fallback for Inter, so the swap when the font arrives moves nothing (zero layout shift on slow phones). */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }
:root { --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

/* ---------- hero ---------- */
.hero-home h1 .w { display: inline-block; }
.mo .hero-home h1 .w { animation: wrise 0.38s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i) * 28ms); }
@keyframes wrise { from { opacity: 0; transform: translateY(0.4em); } to { opacity: 1; transform: none; } }

/* The photo is a size container so the taped floor marks can be laid over the picture at the
   same crop the image uses (object-fit: cover, object-position --px --py). Nothing here moves layout.
   Two art-directed photos: the tall one under 768 px, the wide one from 768 px up. Each carries its own
   aspect (--ar, the true pixel ratio of the file), crop position (--px, --py) and ring coordinates, so the
   mark layer mirrors the object-fit crop of whichever file the picture element picked. */
.hero-home .photo { position: relative; overflow: hidden; container-type: size; }
.pstage { position: absolute; inset: 0; --ar: 0.746667; --px: 0.5; --py: 0.8; transform-origin: calc(var(--px) * 100%) calc(var(--py) * 100%); }
.hero-home .photo .pstage picture { display: block; width: 100%; height: 100%; }
.hero-home .photo .pstage img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: calc(var(--px) * 100%) calc(var(--py) * 100%); }
.mo .pstage { animation: kb 26s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.05); } }
.marks { position: absolute; width: max(100cqw, calc(100cqh * var(--ar))); height: max(100cqh, calc(100cqw / var(--ar)));
  left: calc((100cqw - max(100cqw, calc(100cqh * var(--ar)))) * var(--px)); top: calc((100cqh - max(100cqh, calc(100cqw / var(--ar)))) * var(--py)); }
/* ring centers measured on the tape X marks in each file (percent of the whole image); --w is the ring width */
.mk:nth-child(1) { --x: 26%; --y: 68.42%; --w: 15.2%; }
.mk:nth-child(2) { --x: 50.2%; --y: 54.9%; --w: 10.5%; }
.mk:nth-child(3) { --x: 78%; --y: 68.7%; --w: 14.2%; }
@media (min-width: 480px) { .pstage { --py: 0.73; } }
@media (min-width: 601px) { .pstage { --py: 0.6; } }
@media (min-width: 768px) {
  .pstage { --ar: 2.357143; --px: 0.5; --py: 1; }
  .mk:nth-child(1) { --x: 30.18%; --y: 75.6%; --w: 8.4%; }
  .mk:nth-child(2) { --x: 50.25%; --y: 69.05%; --w: 7%; }
  .mk:nth-child(3) { --x: 68.59%; --y: 75.45%; --w: 8.5%; }
}
/* 768 to 879: the wide photo gets more height and the take cards sit right, so the cards stay below the three marks */
@media (min-width: 768px) and (max-width: 879px) {
  .hero-home .photo { height: 72vw; max-height: none; min-height: 0; }
  .hfield { justify-content: flex-end; }
}
@supports not (width: 1cqw) { .marks { display: none; } }

/* The three taped X marks on the floor become live spot markers. In filming order (A beats, then B, then C)
   a copper ring lights each mark in turn, the lettered chip follows, the matching take card gets the same
   ring, and a small counter ticks through the seven beats of the worked example. One 14 s loop, opacity and
   transform only. Everything below runs only under html.mo; the static states light all three. */
.mk { position: absolute; inset: 0; }
.ring { position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); }
.ring::before, .ring::after { content: ""; position: absolute; border-radius: 50%; }
.ring::before { inset: 0; border: 2px solid rgba(255, 255, 255, 0.7); }
.ring::after { inset: -5px; border: 4px solid var(--copper); box-shadow: 0 0 0 2px var(--white); opacity: 0; }
.mk b { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; margin: -50px 0 0 -13px; isolation: isolate; border-radius: 50%; background: var(--gun); color: var(--white); font: 700 15px/26px var(--font); text-align: center; }
.mk b::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--copper); opacity: 0; }
html:not(.mo) .ring::after, html:not(.mo) .mk b::before, html:not(.mo) .fc::after { opacity: 1; }
.mo .mk:nth-child(1) .ring::after, .mo .mk:nth-child(1) b::before { animation: litA 14s linear infinite; }
.mo .mk:nth-child(2) .ring::after, .mo .mk:nth-child(2) b::before { animation: litB 14s linear infinite; }
.mo .mk:nth-child(3) .ring::after, .mo .mk:nth-child(3) b::before { animation: litC 14s linear infinite; }
.mo .fc:nth-child(1)::after { animation: litA 14s linear infinite; }
.mo .fc:nth-child(2)::after { animation: litB 14s linear infinite; }
.mo .fc:nth-child(3)::after { animation: litC 14s linear infinite; }
@keyframes litA { 0% { opacity: 0; } 3% { opacity: 1; } 40% { opacity: 1; } 42.86%, 100% { opacity: 0; } }
@keyframes litB { 0%, 42.86% { opacity: 0; } 45.7% { opacity: 1; } 68.6% { opacity: 1; } 71.43%, 100% { opacity: 0; } }
@keyframes litC { 0%, 71.43% { opacity: 0; } 74.3% { opacity: 1; } 97% { opacity: 1; } 100% { opacity: 0; } }

/* Beat lists sit at the ring they belong to: A's three beats stack below its mark, B's and C's stack above theirs
   (the phone and the take cards sit under those two). The active beat is copper at full opacity, the rest white at half.
   The loop is the same 14 s, 2 s per beat (--k is the beat's place in the seven). Hovering a take card pauses the loop,
   lights that spot and cycles only its beats. */
.beats { position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); margin: 0; padding: 0; list-style: none; }
.beats li { --step: 24px; position: absolute; left: 50%; transform: translateX(-50%); padding: 4px 9px; border-radius: 4px; background: var(--white); color: var(--gun); opacity: 0.5; font: 700 13px/1.25 var(--font); white-space: nowrap; font-variant-numeric: tabular-nums; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.mk.below .beats li { top: calc(100% + 8px + var(--n) * var(--step)); }
.mk.above .beats li { bottom: calc(50% + 70px + var(--r) * var(--step)); }
.beats li.on, html:not(.mo) .beats li:first-child { background: var(--copper); color: var(--white); opacity: 1; }
/* beat k is lit from 2k s to 2k+2 s of the 14 s loop, in step with the rings (A: beats 0 to 2, B: 3 and 4, C: 5 and 6).
   A negative delay of (k - 7) x 2 s starts each pill at that point with no blank first pass. */
.mo .beats li { animation: beatOn 14s linear infinite; animation-delay: calc((var(--k) - 7) * 2s); }
@keyframes beatOn { 0% { opacity: 0.5; background: var(--white); color: var(--gun); } 1.5% { opacity: 1; background: var(--copper); color: var(--white); } 13% { opacity: 1; background: var(--copper); color: var(--white); } 14.5%, 100% { opacity: 0.5; background: var(--white); color: var(--gun); } }
/* hover: the chosen spot stays lit and its own beats cycle at 1.2 s each; the other two spots go quiet */
.mo .photo[data-hov] .ring::after, .mo .photo[data-hov] .mk b::before, .mo .photo[data-hov] .fc::after, .mo .photo[data-hov] .beats li { animation: none; }
.mo .photo[data-hov] .ring::after, .mo .photo[data-hov] .mk b::before, .mo .photo[data-hov] .fc::after { opacity: 0; }
.mo .photo[data-hov="A"] .mk:nth-child(1) .ring::after, .mo .photo[data-hov="A"] .mk:nth-child(1) b::before, .mo .photo[data-hov="A"] .fc:nth-child(1)::after,
.mo .photo[data-hov="B"] .mk:nth-child(2) .ring::after, .mo .photo[data-hov="B"] .mk:nth-child(2) b::before, .mo .photo[data-hov="B"] .fc:nth-child(2)::after,
.mo .photo[data-hov="C"] .mk:nth-child(3) .ring::after, .mo .photo[data-hov="C"] .mk:nth-child(3) b::before, .mo .photo[data-hov="C"] .fc:nth-child(3)::after { opacity: 1; }
.mo .photo[data-hov="A"] .mk:nth-child(1) .beats li { animation: hov3 3.6s linear infinite; animation-delay: calc((var(--n) - 3) * 1.2s); }
.mo .photo[data-hov="B"] .mk:nth-child(2) .beats li, .mo .photo[data-hov="C"] .mk:nth-child(3) .beats li { animation: hov2 2.4s linear infinite; animation-delay: calc((var(--n) - 2) * 1.2s); }
@keyframes hov3 { 0% { opacity: 0.5; background: var(--white); color: var(--gun); } 3% { opacity: 1; background: var(--copper); color: var(--white); } 31% { opacity: 1; background: var(--copper); color: var(--white); } 34%, 100% { opacity: 0.5; background: var(--white); color: var(--gun); } }
@keyframes hov2 { 0% { opacity: 0.5; background: var(--white); color: var(--gun); } 4% { opacity: 1; background: var(--copper); color: var(--white); } 47% { opacity: 1; background: var(--copper); color: var(--white); } 51%, 100% { opacity: 0.5; background: var(--white); color: var(--gun); } }

/* take cards: the three real frames, one per spot */
.hfield { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: flex-end; gap: 14px; padding: 0 16px 22px; pointer-events: none; }
.fc { position: relative; width: clamp(60px, 7.2vw, 84px); aspect-ratio: 9 / 16; pointer-events: auto; }
.fc .in { position: absolute; inset: 0; border: 3px solid var(--white); border-radius: 6px; overflow: hidden; background: var(--ghost); }
.hero-home .photo .fc img { width: 100%; height: 100%; object-fit: cover; }
.fc picture, .card picture, .pf picture, .viz picture { display: contents; }
.fc .chip { left: 4px; top: 4px; width: 22px; height: 22px; font-size: 13px; line-height: 22px; }
.fc::after { content: ""; position: absolute; inset: -4px; border: 4px solid var(--copper); border-radius: 9px; box-shadow: 0 0 0 2px var(--white); opacity: 0; }
.fc:nth-child(2) { margin-bottom: 14px; }
.mo .fc { animation: bob 5.2s ease-in-out infinite alternate; }
.mo .fc:nth-child(2) { animation-duration: 6.4s; animation-delay: -2s; }
.mo .fc:nth-child(3) { animation-duration: 5.8s; animation-delay: -4s; }
@keyframes bob { from { transform: translateY(-3px); } to { transform: translateY(3px); } }

/* small phones: the H1, subhead, email field, Join the beta and the kit button all sit above the fold at 375x667.
   Type stays within 10 percent of the larger sizes (H1 2.3 to 2.1rem, subhead 19 to 17.5px, small print 16 to 14.5px). */
@media (max-width: 600px) {
  .bar { padding-block: 6px; }
  .hero-home .copy { padding-top: 14px; padding-bottom: 28px; }
  .hero-home .eyebrow { font-size: 17.5px; line-height: 1.25; margin-bottom: 6px; }
  .hero-home h1 { font-size: 2.1rem; line-height: 1.08; margin-bottom: 0.25em; }
  .hero-home .sub { font-size: 17.5px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
  .hero-panel.wl-panel { padding: 12px 14px 14px; }
  .hero-panel .wl label.field { margin-bottom: 3px; }
  .hero-panel .wl input[type="email"], .hero-panel .btn { min-height: 48px; }
  .hero-panel .beta-row { margin-top: 10px !important; }
  .hero-panel .micro { font-size: 14.5px; line-height: 1.35; margin-top: 8px; }
  .hero-panel .hero-alt { margin-top: 10px; padding-top: 10px; }
  .hero-panel .hero-alt p { font-size: 15px; margin-top: 8px; }
  .hero-home .photo { height: 92vw; min-height: 300px; max-height: 380px; }
  .hfield { justify-content: flex-end; gap: 10px; padding: 0 14px 16px; }
  .fc { width: 52px; }
  .beats li { --step: 24px; font-size: 12px; padding: 3px 7px; }
  .mk.above .beats li { bottom: calc(50% + 66px + var(--r) * var(--step)); }
}

/* ---------- shared card bits ---------- */
.chip { position: absolute; left: 5px; top: 5px; width: 24px; height: 24px; border-radius: 50%; background: var(--gun); color: var(--white); font: 700 14px/24px var(--font); text-align: center; }

/* ---------- proof stage ---------- */
.batch { margin-top: 36px; }
.batch-pin { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 10px; padding-block: 12px; }
.mo.js-board .batch-pin { height: 100vh; height: 100svh; }
.batch-top { display: flex; justify-content: space-between; align-items: center; min-height: 28px; gap: 16px; }
.dots { display: flex; gap: 6px; }
.dots i { display: block; width: clamp(18px, 5vw, 34px); height: 6px; background: rgba(244, 244, 249, 0.35); }
.dots i.on { background: var(--white); }
.batch-hint { margin: 0; font-size: 16px; font-weight: 600; color: var(--blue); transition: opacity 0.3s; }
.batch-hint.gone { opacity: 0; }
html:not(.mo.js-board) .batch-top { display: none; }

.board { position: relative; overflow: hidden; min-height: 300px; }
html:not(.js-board) .board { display: none; }
.board.static { height: min(520px, 62svh); }
/* Scoped to .board: the proof list's plain text cards (.steps7 .card) share the class name and must stay in flow. */
.board .card { position: absolute; left: 0; top: 0; width: var(--cw, 90px); height: var(--ch, 160px); }
.mo .board .card { will-change: transform; }
.board .card .bob { position: absolute; inset: 0; border: 2px solid var(--ghost); border-radius: 6px; overflow: hidden; background: var(--ghost); }
.mo .live .board .card .bob { animation: bob 3.8s ease-in-out infinite alternate; }
.mo .live .board .card:nth-child(3n) .bob { animation-duration: 4.6s; animation-delay: -1.3s; }
.mo .live .board .card:nth-child(3n + 1) .bob { animation-duration: 4.2s; animation-delay: -2.6s; }
.board .card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.board .card .face { position: absolute; inset: 0; background: var(--ghost); transform-origin: 50% 0; padding: 38px 9px 44px; display: flex; flex-direction: column; gap: 8px; }
.face i { display: block; height: 6px; border-radius: 3px; background: rgba(57, 61, 63, 0.3); }
.face i:nth-child(2) { width: 82%; }
.face i:nth-child(3) { width: 64%; }
.face i:nth-child(4) { width: 74%; }
.board .card .lab { position: absolute; left: 0; right: 0; bottom: 0; background: var(--ghost); color: var(--gun); font: 700 13px/1.15 var(--font); padding: 5px 7px 6px; }
.board .card .tally { position: absolute; inset: -5px; opacity: 0; pointer-events: none; }
.board .card .tally::after { content: ""; position: absolute; inset: 0; border: 4px solid var(--copper); border-radius: 9px; box-shadow: 0 0 0 2px var(--white); animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.3; } }
.page { position: absolute; left: 0; top: 0; background: var(--ghost); border-radius: 8px; }
.rowlab, .colhead, .reel-lab { position: absolute; left: 0; top: 0; margin: 0; font: 700 19px/1 var(--font); color: var(--white); white-space: nowrap; }
.colhead { text-align: center; }
.slotbox { position: absolute; left: 0; top: 0; border: 2px dashed rgba(184, 219, 217, 0.7); border-radius: 6px; }
.reel { position: absolute; left: 0; top: 0; border: 2px solid var(--blue); border-radius: 10px; }
.hook { z-index: 40; position: absolute; left: 0; top: 0; margin: 0; background: var(--copper); color: var(--white); font: 700 19px/1.2 var(--font); padding: 8px 12px; border-radius: 8px; text-align: center; }

.batch-cap { display: grid; min-height: 4.6em; align-content: start; padding-bottom: 6px; }
.batch-cap p { grid-area: 1 / 1; margin: 0; color: var(--white); font-size: clamp(21px, 3vw, 32px); line-height: 1.2; font-weight: 700; max-width: 28em; opacity: 0; transition: opacity 0.25s linear; }
.batch-cap p.on { opacity: 1; }
html:not(.mo.js-board) .batch-cap { display: block; min-height: 0; }
html:not(.mo.js-board) .batch-cap p { opacity: 1; margin-bottom: 14px; font-size: 22px; }
html:not(.mo.js-board) .batch-cap p::before { content: attr(data-n) ". "; color: var(--blue); }
.board.static ~ .batch-cap, .board.static + .batch-cap { padding-top: 14px; }

/* ---------- problem pile ---------- */
.pile { position: relative; display: none; margin-top: 40px; }
.pile.ready { display: block; }
.pf { position: absolute; left: 0; top: 0; width: var(--pw, 80px); aspect-ratio: 9 / 16; border: 2px solid var(--gun); border-radius: 5px; overflow: hidden; background: var(--white); }
.pf img { width: 100%; height: 100%; object-fit: cover; }
.mo .pf { will-change: transform; }
.pile-lab { position: absolute; left: 0; top: 0; margin: 0; font: 700 16px/1 var(--font); color: var(--gun); white-space: nowrap; }

/* ---------- mechanism ---------- */
.how li b { font-variant-numeric: tabular-nums; }

/* ---------- features: one micro-interaction each, none hover-only ---------- */
.feat li { display: grid; gap: 20px; align-items: center; }
.viz { position: relative; width: 100%; max-width: 300px; height: 132px; background: var(--ghost); color: var(--gun); border-radius: 6px; overflow: hidden; }
@media (min-width: 720px) { .feat li { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; } }
.viz .t { position: absolute; margin: 0; font: 700 14px/1.1 var(--font); }

/* 1 beat-level: a tally hops down the beats and each one gets checked */
.v1 .r { position: absolute; left: 14px; right: 14px; height: 30px; background: var(--white); border: 2px solid var(--gun); border-radius: 4px; display: flex; align-items: center; gap: 10px; padding-left: 8px; }
.v1 .r:nth-child(1) { top: 12px; } .v1 .r:nth-child(2) { top: 51px; } .v1 .r:nth-child(3) { top: 90px; }
.v1 .r b { font: 700 13px/1 var(--font); width: 20px; height: 20px; border-radius: 50%; background: var(--gun); color: var(--white); display: grid; place-items: center; }
.v1 .r span { flex: 1; height: 6px; margin-right: 40px; border-radius: 3px; background: rgba(57, 61, 63, 0.3); }
.v1 .r em { position: absolute; right: 8px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--gun); }
.v1 .r em::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.v1 .r::after { content: ""; position: absolute; inset: -4px; border: 4px solid var(--copper); border-radius: 7px; box-shadow: 0 0 0 2px var(--white); opacity: 0; }
.v1.on .r em { animation: chk 7.5s linear infinite; animation-delay: calc(var(--k) * 2.5s); opacity: 0; }
.v1.on .r::after { animation: rec1 7.5s linear infinite; animation-delay: calc(var(--k) * 2.5s); }
@keyframes rec1 { 0% { opacity: 1; } 10% { opacity: 0.35; } 20% { opacity: 1; } 30% { opacity: 0.35; } 33% , 100% { opacity: 0; } }
@keyframes chk { 0%, 30% { opacity: 0; transform: scale(0.5); } 36% { opacity: 1; transform: scale(1); } 92% { opacity: 1; } 100% { opacity: 0; } }

/* 2 assembly: scattered takes snap into script order, hold, scatter again */
.v2 .m { position: absolute; top: 14px; width: 54px; height: 96px; border: 2px solid var(--gun); border-radius: 4px; overflow: hidden; background: var(--white); }
.v2 .m img { width: 100%; height: 100%; object-fit: cover; }
.v2 .m:nth-child(1) { left: 14px; } .v2 .m:nth-child(2) { left: 83px; } .v2 .m:nth-child(3) { left: 152px; } .v2 .m:nth-child(4) { left: 221px; }
.v2.on .m { animation: snap 7s cubic-bezier(0.5, 0, 0.2, 1) infinite; }
@keyframes snap { 0%, 10% { transform: translate(var(--x), var(--y)) rotate(var(--r)); } 34%, 76% { transform: none; } 100% { transform: translate(var(--x), var(--y)) rotate(var(--r)); } }
.v2 .t { right: 14px; bottom: 6px; display: none; }

/* 3 retake: take 1 slides back, take 2 lands */
.v3 .c { position: absolute; top: 14px; width: 62px; height: 104px; border: 2px solid var(--gun); border-radius: 4px; overflow: hidden; background: var(--white); }
.v3 .c img { width: 100%; height: 100%; object-fit: cover; }
.v3 .old { left: 74px; opacity: 0.5; transform: scale(0.92); }
.v3 .new { left: 156px; }
.v3 .tag { position: absolute; top: 118px; font: 700 12px/1 var(--font); }
.v3 .c { top: 8px; height: 100px; }
.v3 .lbl { position: absolute; bottom: 5px; font: 700 13px/1 var(--font); }
.v3 .l1 { left: 74px; } .v3 .l2 { left: 156px; }
.v3.on .old { animation: oldback 7s ease-in-out infinite; }
.v3.on .new { animation: newland 7s cubic-bezier(0.2, 0.9, 0.3, 1.05) infinite; }
@keyframes oldback { 0%, 14% { transform: translateX(82px) scale(1); opacity: 1; } 34%, 90% { transform: scale(0.92); opacity: 0.5; } 100% { transform: translateX(82px) scale(1); opacity: 1; } }
@keyframes newland { 0%, 14% { transform: translateY(-120px); opacity: 0; } 40%, 90% { transform: none; opacity: 1; } 96%, 100% { transform: translateY(-120px); opacity: 0; } }

/* 4 spot lock: five settings click shut one by one */
.v4 { padding: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-content: center; }
.v4 .k { position: relative; display: inline-block; padding: 7px 10px 7px 26px; border: 2px solid var(--gun); border-radius: 4px; background: var(--gun); color: var(--white); font: 700 14px/1 var(--font); }
.v4 .k::before { content: ""; position: absolute; left: 8px; top: 50%; width: 9px; height: 7px; margin-top: -1px; background: var(--white); border-radius: 1px; }
.v4 .k::after { content: ""; position: absolute; left: 10px; top: 50%; width: 5px; height: 6px; margin-top: -8px; border: 2px solid var(--white); border-bottom: 0; border-radius: 4px 4px 0 0; }
.v4.on .k { animation: lock 7.5s linear infinite; animation-delay: calc(var(--k) * 0.9s); }
@keyframes lock { 0%, 8% { background: var(--white); color: var(--gun); } 12%, 82% { background: var(--gun); color: var(--white); } 92%, 100% { background: var(--white); color: var(--gun); } }
.v4.on .k::before { animation: lk1 7.5s linear infinite; animation-delay: calc(var(--k) * 0.9s); }
.v4.on .k::after { animation: lk2 7.5s linear infinite; animation-delay: calc(var(--k) * 0.9s); }
@keyframes lk1 { 0%, 8% { background: var(--gun); } 12%, 82% { background: var(--white); } 92%, 100% { background: var(--gun); } }
@keyframes lk2 { 0%, 8% { border-color: var(--gun); } 12%, 82% { border-color: var(--white); } 92%, 100% { border-color: var(--gun); } }

/* 5 exports: files named by script, beat and spot slide in */
.v5 { padding: 14px; display: grid; gap: 8px; align-content: center; }
.v5 .f { position: relative; border: 2px solid var(--gun); border-radius: 4px; background: var(--white); padding: 8px 10px; font: 700 14px/1 var(--font); }
.v5.on .f { animation: fin 7s cubic-bezier(0.2, 0.8, 0.2, 1) infinite; animation-delay: calc(var(--k) * 0.35s); }
@keyframes fin { 0%, 4% { transform: translateX(-34px); opacity: 0; } 14%, 86% { transform: none; opacity: 1; } 96%, 100% { transform: translateX(34px); opacity: 0; } }

/* ---------- sticky join bar (small screens only) ---------- */
.sticky-cta { visibility: hidden; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: none; align-items: center; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 2px solid var(--gun); transform: translateY(110%); transition: transform 0.25s ease-out, visibility 0s linear 0.25s; }
.sticky-cta .btn { flex: 1; min-height: 48px; }
.sticky-cta .x { flex: none; width: 48px; height: 48px; border: 2px solid var(--gun); background: var(--white); color: var(--gun); border-radius: 4px; font: 700 24px/1 var(--font); cursor: pointer; touch-action: manipulation; }
.sticky-cta.show { transform: none; visibility: visible; transition-delay: 0s; }
@media (max-width: 760px) { .sticky-cta { display: flex; } body.has-sticky { padding-bottom: 72px; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ---------- reduced motion and lite devices: end states, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  .fc, .fc::after, .board .card .bob, .board .card .tally::after, .viz *, .viz *::before, .viz *::after, .pstage, .ring::after, .mk b::before, .beats li { animation: none !important; }
  .beats li:first-child { background: var(--copper); color: var(--white); opacity: 1; }
  .batch-cap p { transition: none; }
}

/* ---------- desktop hero: copy and form side by side so the form is on the first screen ---------- */
.eyebrow { text-transform: none; letter-spacing: 0; }
@media (min-width: 880px) {
  .hero-home { grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 520px) 40px minmax(0, 432px) minmax(var(--gutter), 1fr); padding-top: 18px; }
  .hero-home .copy { display: contents; padding: 0; }
  .hero-home .eyebrow, .hero-home h1, .hero-home .sub { grid-column: 2; }
  .hero-home h1 { font-size: clamp(2.6rem, 4.7vw, 3.7rem); max-width: none; }
  .hero-home .sub { margin-bottom: 36px; max-width: none; }
  .hero-home .hero-panel { grid-column: 4; grid-row: 1 / span 3; align-self: start; margin-top: 8px; max-width: none; }
  .hero-home .photo { grid-column: 1 / -1; grid-row: 4; height: clamp(300px, 38vw, 540px); max-height: none; min-height: 0; margin-top: 0; }
  .hfield { justify-content: flex-end; padding-right: max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); }
  .hero-panel .wl-panel, .hero-panel.wl-panel { padding: 24px; }
  .hero-panel .hero-alt { margin-top: 16px; padding-top: 14px; }
}

/* desktop stage: big caption left, graphic right */
@media (min-width: 960px) {
  .batch-pin { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 56px; }
  .batch-top { grid-column: 1 / -1; }
  .board { grid-column: 2; grid-row: 2; }
  .batch-cap { grid-column: 1; grid-row: 2; align-content: center; min-height: 0; }
  .batch-cap p { font-size: clamp(30px, 3.3vw, 44px); line-height: 1.15; max-width: 14em; }
  html:not(.mo.js-board) .batch-cap p { font-size: 22px; }
}

/* very wide windows: the photo stays full bleed (it covers at any width) but gets taller so the crop does not
   shrink to a thin strip that loses the B and C spot marks. Width is untouched, so no copper shows beside it. */
@media (min-width: 1200px) { .beats li { --step: 27px; } }
@media (min-width: 1600px) {
  .hero-home .photo { height: min(34vw, 700px); }
  .pstage { --py: 0.9; }
}
@media (min-width: 2200px) { .pstage { --py: 0.78; } }
