/* The Spotted case (2026-10-08). Structure and experiments: 40-Marketing/Cases/Spotted/. */

/* ---------- 01 · Splash → log in (stage: Figma 4103:8682, 1920 × 1144 · screens: Figma 4103:8598) ---------- */
.sp-login {
  --H: clamp(680px, 59.583vw, 1144px);
  position: relative;
  height: var(--H);
  overflow: hidden;
  background: #10140f;
}
.sp-login__bg { position: absolute; inset: 0; }
.sp-login__bg img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.sp-login__stage { position: absolute; inset: 0; }

/* the phone at the frame's own px (393 × 852, bezel 40 px round it), scaled by case-spotted-login.js (--p); it does not move.
   Centred absolutely: taller than the section on narrow screens, and a grid would pin it to the top */
.sp-phone { position: absolute; left: 50%; top: 50%; width: 393px; height: 852px; margin: -426px 0 0 -196.5px; scale: var(--p, 1); }
.sp-phone__screen {
  position: absolute; inset: 0; border-radius: 48px; overflow: hidden; background: #000; isolation: isolate;
  filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .64));
}
.sp-phone__bezel { position: absolute; left: -40px; top: -40px; width: 473px; height: 932px; max-width: none; pointer-events: none; z-index: 2; }

/* the app (Figma screens 428 splash, 427 log in) */
.sp-app {
  position: absolute; inset: 0; overflow: hidden; color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
}
.sp-app__photo { position: absolute; inset: 0; width: 393px; height: 852px; max-width: none; object-fit: cover; }
.sp-app__shade { position: absolute; inset: 0; }
.sp-app__shade--splash { background: linear-gradient(180deg, rgba(0, 0, 0, .64) 0%, rgba(0, 0, 0, .51) 53.655%, rgba(0, 0, 0, .15) 100%); opacity: 0; }
.sp-app__shade--login {
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .2) 21.649%, rgba(0, 0, 0, .4) 32.182%,
    rgba(0, 0, 0, .8) 51.433%, rgba(0, 0, 0, .64) 79.768%, rgba(0, 0, 0, .88) 100%);
}

/* splash: Anton 72 / 72, −2 %, caps; each line in its own mask (cap height 62, 4 px of room above and below) */
.sp-line { position: absolute; left: 16px; width: 380px; height: 70px; margin-top: -4px; overflow: hidden; }
.sp-line span {
  display: block; margin-top: 4px;
  font: 400 72px / 72px "Anton", "Impact", sans-serif; letter-spacing: -1.44px; text-transform: uppercase; white-space: nowrap;
  text-box: trim-both cap alphabetic;
  transform: translateY(110%);              /* still (no JS, reduced motion): the log-in screen */
}
.sp-line--dim span { opacity: .5; }

/* log in: everything above the keyboard rides one layer, so the keyboard can lift it */
.sp-lift { position: absolute; inset: 0; }
.sp-word { position: absolute; left: 0; top: 44px; width: 393px; height: 169px; overflow: hidden; }
.sp-word svg { display: block; width: 393px; height: 169px; }
.sp-word path { transform-box: fill-box; }

.sp-form { position: absolute; left: 20px; top: 348px; width: 353px; }
.sp-form > * { position: absolute; left: 0; }
.sp-field {
  top: 0; width: 353px; height: 80px; box-sizing: border-box; padding: 14px 20px;
  display: flex; align-items: center;
  border: 2px solid #fff; border-radius: 48px; background: rgba(255, 255, 255, .1);
  font-size: 17px; line-height: 20px;
}
.sp-field__ph { position: absolute; left: 20px; opacity: .5; }
.sp-field__typed { display: inline-block; width: 0; overflow: hidden; white-space: nowrap; flex: none; }
.sp-field__typed span { display: inline-block; }
.sp-field__caret { width: 2px; height: 22px; margin-left: 1px; border-radius: 1px; background: #fff; flex: none; opacity: 0; }

.sp-btn {
  box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 16px;
  font: 500 17px / 20px -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif; text-transform: uppercase; white-space: nowrap;
}
.sp-btn--email {
  top: 120px; width: 353px; height: 80px; border-radius: 40px; color: #000;
  background: #fff; border: 1px solid rgba(0, 0, 0, .05); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .08));
}
.sp-btn--google { top: 220px; width: 353px; height: 80px; border-radius: 48px; background: rgba(255, 255, 255, .24); border: 1px solid rgba(255, 255, 255, .4); }
.sp-btn--google img { width: 23.52px; height: 24px; margin-right: -.48px; }
.sp-rule { width: 353px; height: 1px; display: block; }
.sp-rule--1 { top: 323.5px; }
.sp-rule--2 { top: 419.5px; }
.sp-pair { top: 348px; left: 66px !important; display: flex; gap: 8px; }
.sp-pair .sp-btn { height: 48px; padding: 0 20px; border-radius: 40px; border: 1px solid rgba(255, 255, 255, .4); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif; }
.sp-pair .sp-btn:first-child { background: #fff; color: #000; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .08)); }
.sp-pair .sp-btn:last-child { background: rgba(255, 255, 255, .24); font-weight: 400; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.sp-legal { position: absolute; left: 61px; top: 788px; width: 266px; margin: 0; font-size: 14px; line-height: 20px; text-align: center; }
.sp-legal u { text-underline-position: from-font; }

/* iOS chrome: status bar, home indicator */
.sp-status { position: absolute; left: 0; top: 0; z-index: 5; width: 393px; height: 54px; padding-top: 18px; box-sizing: border-box; display: flex; align-items: flex-start; }
.sp-status__time { width: 138px; text-align: center; padding-left: 4px; box-sizing: border-box; font: 600 17px / 22px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif; }
.sp-status__levels { margin-left: auto; width: 143px; height: 22px; padding-top: 5px; box-sizing: border-box; display: flex; gap: 7px; align-items: center; justify-content: center; }
.sp-status__levels img:nth-child(1) { width: 19.2px; height: 12.23px; }
.sp-status__levels img:nth-child(2) { width: 17.14px; height: 12.33px; }
.sp-batt { position: relative; width: 27.33px; height: 13px; }
.sp-batt::before { content: ""; position: absolute; left: 0; top: 0; width: 25px; height: 13px; box-sizing: border-box; border: 1px solid #fff; border-radius: 4.3px; opacity: .35; }
.sp-batt::after { content: ""; position: absolute; left: 2px; top: 2px; width: 21px; height: 9px; border-radius: 2.5px; background: #fff; }
.sp-batt img { position: absolute; right: 0; top: 4.5px; width: 1.33px; height: 4px; }
.sp-home { position: absolute; left: 127px; bottom: 8px; z-index: 6; width: 139px; height: 5px; border-radius: 100px; background: #fff; }

/* the iPhone keyboard, dark, email layout (… 123 · space · @ · . · return) */
.sp-kb {
  position: absolute; left: 0; bottom: 0; z-index: 4; width: 393px; height: 336px; box-sizing: border-box; padding-top: 3px;
  background: #2b2b2d; transform: translateY(100%);
}
.sp-kb__bar { height: 39px; }
.sp-kb__keys { position: relative; height: 204px; margin-top: 5px; }
.sp-kb__row { position: absolute; display: flex; gap: 6px; }
.sp-kb__row--1 { left: .76%; right: .76%; bottom: 162px; }
.sp-kb__row--2 { left: 5.85%; right: 5.85%; bottom: 108px; }
.sp-kb__row--3 { left: 15.78%; right: 15.78%; bottom: 54px; }
.sp-kb__row--4 { left: .76%; right: .76%; bottom: 0; }
.sp-kb b, .sp-kb__fn {
  position: relative; height: 42px; border-radius: 4.6px; box-shadow: 0 1px 0 rgba(0, 0, 0, .55);
  display: grid; place-items: center; font-weight: 400; color: #fff;
}
.sp-kb b { flex: 1; background: #6b6b6d; font-size: 25px; line-height: 28px; padding-bottom: 6px; box-sizing: border-box; }
.sp-kb__fn { background: #464648; font-size: 16px; letter-spacing: -.4px; }
.sp-kb__keys > .sp-kb__fn { position: absolute; bottom: 54px; }
.sp-kb__fn svg { width: 22px; height: 20px; }
.sp-kb__shift { left: .76%; right: 88.04%; }
.sp-kb__del { left: 88.04%; right: .76%; }
.sp-kb__row--4 > * { flex: 1; }
.sp-kb__row--4 .sp-kb__n { flex: 0 0 41px; }
.sp-kb__row--4 .sp-kb__space { flex: 0 0 152px; font-size: 16px; letter-spacing: -.4px; padding: 0; }
.sp-kb__row--4 .sp-kb__ret { flex: 0 0 88px; }
.sp-kb__foot { display: flex; justify-content: space-between; align-items: flex-start; height: 58px; box-sizing: border-box; padding: 25px 20px 0; }
.sp-kb__foot svg { height: 27px; width: auto; }
/* a pressed key: iOS lifts the letter into a callout above the key (case-spotted-login.js fades it per press) */
.sp-kb__keys b::after {
  content: attr(data-k); position: absolute; left: 50%; bottom: 0; translate: -50% 0; z-index: 2;
  width: calc(100% + 18px); height: 104px; box-sizing: border-box; padding-top: 10px; border-radius: 9px;
  background: #6b6b6d; box-shadow: 0 1px 0 rgba(0, 0, 0, .55), 0 2px 10px rgba(0, 0, 0, .4);
  text-align: center; font-size: 36px; line-height: 44px; opacity: 0;
}
.sp-kb__keys b.sp-kb__space::after { content: none; }

/* the finger: a soft touch dot, like a screen recording */
.sp-touch {
  position: absolute; left: 0; top: 0; z-index: 7; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6), 0 2px 8px rgba(0, 0, 0, .25);
  opacity: 0; pointer-events: none;
}
/* the app opening from black, and closing to it at the end of the loop */
.sp-app__black { position: absolute; inset: 0; z-index: 8; background: #000; opacity: 0; pointer-events: none; }

/* ---------- 01 · Hero (Figma 4103:5832, 1920 × 800) — still being designed; a black slot at the frame's height ---------- */
/* 01 · Hero (Figma 4103:5832, 1920 × 1052): the film (1500 × 813 at 210/120) inside the viewfinder corners (1580 × 892 at 170/80) */
.sp-hero { background: #000; container-type: inline-size;
  padding-top: calc(84px - 80 * min(1px, 100vw / 1920)); }   /* clear of the fixed header (60 px): the corners start 24 px under it at every width */
.sp-hero__stage { --u: min(1px, 100cqw / 1920); position: relative; width: calc(1920 * var(--u)); height: calc(1052 * var(--u)); margin: 0 auto; }
.sp-hero__film { position: absolute; left: calc(210 * var(--u)); top: calc(120 * var(--u)); width: calc(1500 * var(--u)); height: calc(813 * var(--u));
  object-fit: cover; display: block; background: #000; cursor: pointer; }
.sp-hero__corners { position: absolute; left: calc(170 * var(--u)); top: calc(80 * var(--u)); width: calc(1581.5 * var(--u)); height: calc(893.939 * var(--u)); max-width: none; pointer-events: none; }
/* the sound: a round glass button on the film's bottom-right corner; speaker + slash when muted, speaker + waves when on */
.sp-hero__sound {
  position: absolute; right: calc(210 * var(--u) + max(12px, 28 * var(--u))); top: calc(933 * var(--u) - max(12px, 28 * var(--u)) - max(40px, 56 * var(--u)));
  width: max(40px, 56 * var(--u)); height: max(40px, 56 * var(--u)); padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: scale .25s cubic-bezier(.2, .7, .2, 1), background .25s;
}
.sp-hero__sound:hover, .sp-hero__sound:focus-visible { scale: 1.08; background: rgba(0, 0, 0, .6); }
.sp-hero__sound:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sp-hero__sound svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sp-hero__spk { fill: currentColor; }
.sp-hero__on { display: none; }
.sp-hero.is-sound .sp-hero__on { display: inline; }
.sp-hero.is-sound .sp-hero__off { display: none; }

/* ---------- 01b · From SMD (Figma 4103:5849) — the 1920 frame scales with the viewport and stops at 1440 wide, like Daisy's ---------- */
.sp-from { background: #fff; container-type: inline-size; }
.sp-from__frame { --u: min(.75px, 100cqw / 1920); position: relative; max-width: 1440px; margin: 0 auto; box-sizing: border-box; padding: calc(80 * var(--u)) calc(161 * var(--u)) calc(80 * var(--u)) calc(228 * var(--u)); }
.sp-from__head { position: relative; display: flex; align-items: center; min-height: calc(72 * var(--u)); }
.sp-from__by, .sp-from__title { margin: 0; font: 400 clamp(26px, calc(48 * var(--u)), 48px) / 1 "Anton", "Impact", sans-serif; letter-spacing: -.02em; text-transform: uppercase; color: #000; }
.sp-from__by { flex: none; width: calc(368 * var(--u)); display: flex; align-items: center; gap: max(8px, calc(16 * var(--u))); }
.sp-from__smd { position: relative; display: inline-block; width: clamp(44px, calc(80 * var(--u)), 80px); aspect-ratio: 2; border-radius: 45px; background: #f61515; }
.sp-from__smd img { position: absolute; left: 13.8%; top: 9.85%; width: 72.2%; height: 80%; }
.sp-from__title { display: flex; align-items: center; gap: .25em; white-space: nowrap; }
/* SPOTTED in the viewfinder's corners (164 × 72 round Anton 48), the group at 80 % */
.sp-from__spotted { position: relative; display: inline-grid; place-items: center; width: 3.4167em; height: 1.5em; opacity: .8; }
.sp-from__spotted img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sp-from__toggle { position: absolute; right: 0; top: 50%; translate: 0 -50%; }
.sp-from__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s cubic-bezier(.2, .7, .2, 1), opacity .35s ease; }
.sp-from__body > div { min-height: 0; overflow: hidden; }
.sp-from__body p { max-width: calc(1116 * var(--u)); margin: 0; padding-top: calc(38 * var(--u)); font-size: clamp(17px, calc(25 * var(--u)), 25px); line-height: 1.25; color: #000; }
.sp-from.is-hidden .sp-from__body { grid-template-rows: 0fr; opacity: 0; }

/* ---------- 01c · What we did + the line (Figma 4103:14941) ---------- */
.sp-line-band { --u: min(.75px, 100vw / 1920); background: #000; color: #fff; display: flex; flex-direction: column; align-items: center; gap: calc(80 * var(--u)); padding: calc(80 * var(--u)) 16px; text-align: center; }
.sp-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.sp-tags ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sp-tags li { padding: 2px 8px; background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8); font: 400 clamp(15px, calc(20 * var(--u)), 20px) / 1.25 "Tanker", "Anton", sans-serif; letter-spacing: -.01em; white-space: nowrap; }
.sp-tags .sp-tags__lead { background: #fff; color: #000; }
.sp-line-band__title { margin: 0; font: 400 clamp(34px, calc(80 * var(--u)), 80px) / 1 "Anton", "Impact", sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .sp-from__body { transition: none; } }

/* ---------- 02 · The mark (black and white; case-spotted-logo.js) ---------- */
.sp-logo { position: relative; height: clamp(560px, 56.25vw, 1080px); background: #000; overflow: hidden; }
.sp-logo__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sp-logo .mono { font: 400 15px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .32em; fill: #fff; }

/* ---------- 03 · Launch (stage: Figma 4106:29764, 1920 × 1024; case-spotted-launch.js turns and scales the phone) ---------- */
.sp-launch { position: relative; height: clamp(560px, 53.333vw, 1024px); background: #000; overflow: hidden; }
.sp-launch__phone { position: absolute; left: 50%; top: 50%; width: 393px; height: 852px; margin: -426px 0 0 -196.5px; will-change: transform; }
.sp-launch__screen { position: absolute; inset: 0; border-radius: 48px; overflow: hidden; background: #000; isolation: isolate; }
.sp-launch__svg { position: absolute; left: -229.5px; top: 0; width: 852px; height: 852px; display: block; }
.sp-launch__bezel { position: absolute; left: -40px; top: -40px; width: 473px; height: 932px; max-width: none; pointer-events: none; }
.sp-launch__mono { font: 500 12px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .16em; fill: #fff; }

@media (max-width: 720px) {
  .sp-login { --H: 640px; }
  .sp-logo { height: auto; aspect-ratio: 1; }
  .sp-launch { height: 620px; }
  .sp-from__frame { padding: 56px 16px; }
  .sp-from__head { flex-direction: column; align-items: flex-start; gap: 16px; padding-right: 72px; }
  .sp-from__by, .sp-from__title { font-size: 28px; width: auto; }
  .sp-from__title { flex-wrap: wrap; white-space: normal; }
  .sp-from__toggle { top: 0; translate: none; }
  .sp-from__body p { padding-top: 24px; }
  .sp-line-band { padding: 56px 16px; gap: 32px; }
}

/* ---------- 03 · Launch, Figma's taller frame (4106:29763 is 1138 tall now; the phone keeps its 1024 stage, 114 of black below).
   A border, so the stage case-spotted-launch.js measures (clientHeight) stays the 1024 one ---------- */
.sp-launch { box-sizing: content-box; border-bottom: clamp(62px, 5.9375vw, 114px) solid #000; }

/* ---------- 04 · The collage (Figma 4107:55595, 1920 × 2730 as the case frame 4106:47819 cuts it; case-spotted-collage.js) ----------
   One frame in Figma units: --u is one Figma px, the frame fills the width up to 1920 and centres beyond it.
   Every tile sits at its frame position (--x --y --w --h, set inline). */
.sp-col { position: relative; background: #fff; container-type: inline-size; overflow: hidden; }
.sp-col__frame { --u: min(1px, 100cqw / 1920); position: relative; width: calc(1920 * var(--u)); height: calc(2730 * var(--u)); margin: 0 auto; }
.sp-col__box, .sp-sports {
  position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); display: block; max-width: none;
}
img.sp-col__box { object-fit: cover; }

/* the sport picker: the B11c list at its own px (1080 wide), scaled into the 400-wide tile and cropped 163 from its top.
   Every length inside is in em = one B11c px */
.sp-sports { overflow: hidden; background: #0a0a0a; }
.sp-sports__track { position: absolute; left: 0; top: 0; width: 1080em; font-size: calc(var(--u) * 400 / 1080); will-change: transform; }
.sp-sports__row { position: absolute; left: 40em; width: 1000em; height: 162em; color: #393939; }
.sp-sports__row svg { position: absolute; left: 24em; top: 6em; width: 150em; height: 150em; fill: currentColor; }
/* the name sets its own size (156), so its offsets are in its own em: 194 and 3 B11c px */
.sp-sports__row span { position: absolute; left: calc(194em / 156); top: calc(3em / 156); font: 400 156em / 1 "Anton", "Impact", sans-serif; text-transform: uppercase; white-space: nowrap; }
/* the band at the third row: its own copy of the list, in the sport's ink, clipped to the band */
.sp-sports__band { position: absolute; left: 0; top: 0; width: 1080em; height: 100%; font-size: calc(var(--u) * 400 / 1080); pointer-events: none; }
.sp-sports__clip { position: absolute; left: 40em; top: 362em; width: 1000em; height: 162em; border-radius: 4em; overflow: hidden; background: var(--c, #0064c0); }
.sp-sports__clip .sp-sports__track { left: -40em; top: -362em; font-size: 1em; }
.sp-sports__clip .sp-sports__row { color: var(--ink, #fff); }

/* the green frame: a canvas over the frame's own green */
.sp-arc { background: #189940; overflow: hidden; }
.sp-arc canvas { display: block; width: 100%; height: 100%; }
.sp-arc::after { content: ""; position: absolute; inset: 0; background: var(--grain) 0 0 / var(--grain-size, 160px) var(--grain-size, 160px); image-rendering: pixelated; pointer-events: none; }

/* the poster deck: hard cuts, no fades */
/* the poster deck (Figma 4110:62646): each poster on a white print-proof sheet (component 4111:3926), the sheets
   landing one on another. Sheet 1260×1530 Figma px with the poster on the trim at 90/90; in the tile it is 780 wide. */
.sp-deck { overflow: hidden; background: #000; }
.sp-proof { position: absolute; left: calc(519.6 * var(--u)); top: calc(538 * var(--u)); width: calc(780 * var(--u)); aspect-ratio: 1260 / 1530;
  margin: calc(-473.6 * var(--u)) 0 0 calc(-390 * var(--u)); background: #fff; visibility: hidden; will-change: transform;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.18), 0 calc(3 * var(--u)) calc(10 * var(--u)) rgba(0,0,0,.28); }
.sp-proof.is-on { visibility: visible; }
.sp-proof img { position: absolute; left: calc(90 / 1260 * 100%); top: calc(90 / 1530 * 100%); width: calc(1080 / 1260 * 100%); height: calc(1350 / 1530 * 100%);
  object-fit: cover; max-width: none; }
.sp-proof svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* the icon strips (black, blue, orange): five sport icons each, white, 190 apart */
.sp-strip { background: #0064c0; }
.sp-strip svg { position: absolute; left: 0; width: 100%; height: calc(150 * var(--u)); fill: #fff; }

/* 04 on phones: the whole wall at 0.2 scale is unreadable, so it sits at twice the screen width (≈0.4) in a strip
   that swipes sideways, starting at its left edge (the sport picker) */
@media (max-width: 720px) {
  .sp-col { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; }
  .sp-col::-webkit-scrollbar { display: none; }
  .sp-col__frame { --u: calc(100cqw * 2 / 1920); margin: 0; }
}

/* 05 · sign-off (Figma 4110:62708 + 4110:62709): a black band 120/1920 tall, then the A03 field header, full width */
.sp-end { background: #000; padding-top: calc(120 / 1920 * 100%); }
.sp-end img { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 400; }

/* 05b · the mark board (Figma 4132:64240): 1920×1100, #0a0a0a, the wall 1680×700 at 120/200. The video carries the
   section's margins itself (Chrome's hardware decoder renders video black darker than #0a0a0a, so an inset video shows
   its edge); on phones a 4×8 cut with its own margins. The still sits under the video until it plays. */
.sp-board { background: #0a0a0a; container-type: inline-size; }
.sp-board__wall { --u: min(1px, 100cqw / 1920); position: relative; width: calc(1920 * var(--u)); aspect-ratio: 2856 / 1636; margin: 0 auto; }
.sp-board__wall img, .sp-board__wall video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; max-width: none; }
.sp-board__wall video { opacity: 0; transition: opacity .3s; }
.sp-board.is-playing .sp-board__wall video { opacity: 1; }
@media (max-width: 720px) { .sp-board__wall { width: 100%; aspect-ratio: 1040 / 1880; } }

/* 03b · the statement band (Figma 4110:62762): #0064c0, 120/228 padding, Anton 64/1 −2 %, 1464 wide; the helmet
   (rotated in Figma, exported with its turn) sits over the last line at 1182.7 / 89.7, and its foot sets the band's height */
.sp-share { --u: min(.75px, 100vw / 1920); background: #0064c0; padding: calc(120 * var(--u)) 16px; }
.sp-share__frame { position: relative; width: min(calc(1464 * var(--u)), 100%); min-height: calc(334.6 * var(--u)); margin: 0 auto; }
.sp-share__line { margin: 0; font: 400 calc(64 * var(--u))/1 Anton, "Anton", sans-serif; letter-spacing: -.02em; text-transform: uppercase; color: #000; }
.sp-share__helmet { position: absolute; left: calc(1182.72 * var(--u)); top: calc(89.7 * var(--u)); width: calc(268.85 * var(--u)); height: auto; max-width: none; pointer-events: none; }
@media (max-width: 720px) {
  .sp-share { padding: 56px 16px 40px; }
  .sp-share__frame { width: 100%; min-height: 0; }
  .sp-share__line { font-size: 30px; }
  .sp-share__helmet { position: static; display: block; width: 46%; margin: 8px 0 0 auto; }
}

/* 06 · two sides (Figma 4110:62778): #ff5b1f, 1920×640; the plates are Figma exports (already halftoned) placed in
   Figma px; the text column at 228 / 80, 934 wide: white Tanker chips, Anton 64 then Anton 40, both −2 % and 40 apart */
.sp-sides { background: #ff5b1f; container-type: inline-size; overflow: hidden; }
.sp-sides__frame { --u: min(1px, 100cqw / 1920); position: relative; width: calc(1920 * var(--u)); height: calc(640 * var(--u)); margin: 0 auto; }
.sp-sides__img { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); object-fit: cover; max-width: none; display: block; }
.sp-sides__text { position: absolute; left: calc(228 * var(--u)); top: calc(80.4 * var(--u)); width: calc(934 * var(--u)); display: flex; flex-direction: column; align-items: flex-start; gap: calc(40 * var(--u)); color: #fff; }
.sp-sides__tags { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sp-sides__tags li { padding: 2px 8px; background: #fff; color: #000; font: 400 clamp(13px, calc(20 * var(--u)), 20px) / 1.25 "Tanker", "Anton", sans-serif; letter-spacing: -.01em; }
.sp-sides__title, .sp-sides__body { margin: 0; font-family: "Anton", "Impact", sans-serif; font-weight: 400; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.sp-sides__title { font-size: calc(64 * var(--u)); }
.sp-sides__body { font-size: calc(40 * var(--u)); }
@media (max-width: 720px) {
  .sp-sides__frame { width: auto; height: auto; padding: 48px 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .sp-sides__text { position: static; grid-column: 1 / -1; width: auto; gap: 20px; padding-bottom: 40px; }
  .sp-sides__title { font-size: 34px; }
  .sp-sides__body { font-size: 22px; }
  .sp-sides__img { position: static; width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .sp-sides__img:nth-of-type(3), .sp-sides__img:nth-of-type(4) { display: none; }
  .sp-sides__img:nth-of-type(1) { grid-row: 2; grid-column: 1; margin-left: -16px; width: calc(100% + 16px); }
  .sp-sides__img:nth-of-type(2) { grid-row: 2; grid-column: 2; margin-right: -16px; width: calc(100% + 16px); }
}

/* 07 · the app (Figma 4137:69175): every block is a 1920-wide Figma frame scaled by --u; the screens are 2× Figma
   exports of the real app frames (393×852), placed in Figma px; the shadow is Figma's 0 40 80 black 20 % */
.sp-ui { background: #fff; container-type: inline-size; overflow: hidden; }
.sp-ui--profile { background: #0a0a0a; }
.sp-ui__frame { --u: min(1px, 100cqw / 1920); position: relative; width: calc(1920 * var(--u)); height: calc(var(--h) * var(--u)); margin: 0 auto; }
.sp-ui__img, .sp-ui__mark, .sp-ui__phone { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); max-width: none; display: block; object-fit: cover; }
.sp-ui__phone { width: calc(393 * var(--u)); height: calc(var(--ph, 852) * var(--u)); }
/* the mark films are drawn on #0a0a0a; lighten drops their ground so only the marks show */
.sp-ui__mark { mix-blend-mode: lighten; }
.sp-ui__phone--lift { box-shadow: 0 calc(40 * var(--u)) calc(80 * var(--u)) rgba(0, 0, 0, .2); }

/* the intro (Figma 4132:65950): black, 1920×533; Tanker chips, Anton 120 / 92 % −2 % caps 40 below them;
   the mark film 240×200 centred over a 564 column at 1128, the roles under it in Plex Mono 500 18 / 170 % +4 % */
.sp-ui-intro { background: #000; color: #fff; container-type: inline-size; }
.sp-ui-intro__frame { --u: min(1px, 100cqw / 1920); width: calc(1920 * var(--u)); height: calc(533 * var(--u)); margin: 0 auto; padding: calc(120 * var(--u)) calc(228 * var(--u)) 0; box-sizing: border-box; display: flex; justify-content: space-between; align-items: flex-start; }
.sp-ui-intro .sp-sides__tags li { font-family: "Anton", sans-serif; }
.sp-ui-intro__head { display: flex; flex-direction: column; align-items: flex-start; gap: calc(40 * var(--u)); }
.sp-ui-intro__title { margin: 0; font: 400 calc(120 * var(--u)) / .92 "Anton", "Impact", sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
.sp-ui-intro__side { width: calc(564 * var(--u)); display: flex; flex-direction: column; }
.sp-ui-intro__mark { width: calc(240 * var(--u)); height: calc(200 * var(--u)); align-self: center; object-fit: cover; display: block; }
.sp-ui-intro__roles { margin: 0; font: 500 calc(18 * var(--u)) / 1.7 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }

@media (max-width: 720px) {
  .sp-ui-intro__frame { width: auto; height: auto; padding: 48px 16px; flex-direction: column; gap: 32px; }
  .sp-ui-intro__head { gap: 20px; }
  .sp-ui-intro__title { font-size: 48px; }
  .sp-ui-intro__side { width: 100%; }
  .sp-ui-intro__mark { width: 180px; height: 150px; }
  .sp-ui-intro__roles { font-size: 11px; white-space: normal; }
  /* the phone blocks become a row you swipe; the opener and the halftone stay as pictures */
  .sp-ui--row .sp-ui__frame, .sp-ui--profile .sp-ui__frame, .sp-ui--night .sp-ui__frame { width: auto; height: auto; display: flex; gap: 16px; padding: 48px 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .sp-ui--row .sp-ui__phone, .sp-ui--profile .sp-ui__phone, .sp-ui--night .sp-ui__phone { position: static; flex: 0 0 auto; width: 240px; height: auto; scroll-snap-align: center; }
  .sp-ui__mark, .sp-ui--night .sp-ui__img { display: none; }
  /* the card plate joins the end of the game-night row, square, centred on the phones */
  .sp-ui--night .sp-ui__card { display: block; position: static; flex: 0 0 auto; width: 280px; height: auto; aspect-ratio: 620 / 640; align-self: center; scroll-snap-align: center; }
  .sp-ui__phone--lift { box-shadow: 0 16px 32px rgba(0, 0, 0, .2); }
  .sp-ui--open .sp-ui__frame { width: 100%; height: auto; aspect-ratio: 1920 / 1294; --u: calc(100cqw / 1920); }
}

/* 08 · for coaches (Figma 4137:70963): 1920×1400 on black; the field photo greyed in Figma (−0.15 exposure, +0.15
   contrast) with the 35 % black dim baked in; the Coach chip at 228 / 150, Anton 110 / 95 % −2 % caps 16 below;
   the filter sheet is a 2× export of the real sheet (660 wide at 992), cut at the frame top like in Figma */
.sp-coach { background: #000; container-type: inline-size; overflow: hidden; }
.sp-coach__frame { --u: min(1px, 100cqw / 1920); position: relative; width: calc(1920 * var(--u)); height: calc(1400 * var(--u)); margin: 0 auto; }
.sp-coach__photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.sp-coach__text { position: absolute; left: calc(228 * var(--u)); top: calc(150 * var(--u)); display: flex; flex-direction: column; align-items: flex-start; gap: calc(16 * var(--u)); color: #fff; }
.sp-coach .sp-sides__tags li { font-family: "Anton", sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
.sp-coach__title { margin: 0; font: 400 calc(110 * var(--u)) / .95 "Anton", "Impact", sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
.sp-coach__sheet { position: absolute; left: calc(992 * var(--u)); top: 0; width: calc(660 * var(--u)); height: calc(1400 * var(--u)); max-width: none; object-fit: cover; object-position: top; display: block; }
@media (max-width: 720px) {
  .sp-coach__frame { width: auto; height: auto; }
  .sp-coach__photo { position: static; height: auto; aspect-ratio: 1080 / 788; }
  .sp-coach__text { left: 16px; top: 40px; gap: 12px; }
  .sp-coach__title { font-size: 48px; }
  .sp-coach__sheet { position: static; width: 100%; height: auto; padding: 0 16px 24px; box-sizing: border-box; background: #000; }
}

/* 09–11 · the coach's side, then the end (Figma 4137:77238): the same --u frames as 07. Titles are Anton --s px,
   95 % line, −2 %, caps. Live game evaluation on white; Keep contact on Spotted blue #0064c0; the end on green #159a3e
   with the dunk cutout (cut by the frame top) and the notification live: #1e1e1e at 42 %, 30 blur, r 50, padding 40,
   an 80 px black r 20 icon, SF Pro 40 semibold / 32 regular, "now" 35 at 60 % */
.sp-ui--contact { background: #0064c0; }
.sp-ui--spotted { background: #159a3e; }
.sp-ui__title { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); margin: 0; font: 400 calc(var(--s) * var(--u)) / .95 "Anton", "Impact", sans-serif; letter-spacing: -.02em; text-transform: uppercase; color: #000; }
.sp-ui--contact .sp-ui__title { color: #fff; }
.sp-note { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(849 * var(--u)); box-sizing: border-box; padding: calc(40 * var(--u)); display: flex; align-items: flex-start; gap: calc(25 * var(--u)); border-radius: calc(50 * var(--u)); background: rgba(30, 30, 30, .42); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); color: #fff; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif; }
.sp-note__icon { flex: 0 0 auto; width: calc(80 * var(--u)); height: calc(80 * var(--u)); border-radius: calc(20 * var(--u)); background: #000; display: grid; place-items: center; }
.sp-note__icon img { width: calc(58 * var(--u)); height: calc(58 * var(--u)); display: block; }
.sp-note__text { flex: 0 0 calc(576 * var(--u)); }
.sp-note__title { margin: 0 0 calc(12 * var(--u)); font-size: calc(40 * var(--u)); font-weight: 600; line-height: 1.2; }
.sp-note__body { margin: 0; font-size: calc(32 * var(--u)); font-weight: 400; line-height: 1.19; }
.sp-note__time { font-size: calc(35 * var(--u)); font-weight: 400; line-height: 1.2; color: rgba(255, 255, 255, .6); }
@media (max-width: 720px) {
  .sp-ui--eval .sp-ui__frame, .sp-ui--contact .sp-ui__frame { width: auto; height: auto; display: flex; gap: 16px; padding: 132px 16px 48px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .sp-ui--eval .sp-ui__phone, .sp-ui--contact .sp-ui__phone { position: static; flex: 0 0 auto; width: 240px; height: auto; scroll-snap-align: center; }
  .sp-ui--eval .sp-ui__title, .sp-ui--contact .sp-ui__title { left: 16px; top: 40px; font-size: 40px; }
  .sp-ui--eval .sp-ui__title br:first-of-type { display: none; }
  .sp-ui--spotted .sp-ui__frame { width: auto; height: auto; padding: 0 16px 40px; display: flex; flex-direction: column; align-items: center; }
  .sp-ui--spotted .sp-ui__dunk { position: static; width: 64%; height: auto; margin: 0 auto -48px -16px; align-self: flex-start; }
  .sp-note { --u: .42px; position: relative; left: 0; top: 0; width: 100%; max-width: 357px; -webkit-backdrop-filter: blur(15px); }
  .sp-note__text { flex: 1 1 auto; }
}

/* More projects closes the case (as on Daisy and MyVault); the footer 200 under it (the site default 400 is too much) */
footer.site-footer { padding-top: 200px; }

/* 2026-10-18, phone review (Markiian): the collage FITS the screen (it was a 2× frame you had to scroll sideways: "we need to
   make it so it fits"); the coach's filter sheet smaller ("make this smaller") */
@media (max-width: 720px) {
  .sp-col { overflow: hidden; }
  .sp-col__frame { --u: calc(100cqw / 1920); }
  .sp-coach__sheet { width: auto; max-width: 300px; margin: 0 16px; padding: 0 0 24px; }
}
