/* Mike Leonardo · AI Creative Systems
   Colours and type follow the live LinkedIn banner (POSITIONING.md "Look"). */

@font-face { font-family: "Anton"; src: url("/fonts/anton-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/fonts/caveat-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #0e121d;
  --ink-2: #171c2c;
  --ink-3: #232a3f;
  --paper: #f4eedf;
  --paper-2: #ebe2cc;
  --orange: #f8512f;
  --cobalt: #2b3fd6;
  --mustard: #f2b33d;
  --green: #348c6e;
  --lav: #c6abcc;
  --muted-dark: #a7aab8;
  --muted-light: #5a5d69;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --text: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: clamp(16px, 1.05vw + 10px, 19px); line-height: 1.5; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--mustard); color: var(--ink); padding: 10px 14px; z-index: 100; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 10px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }

.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(38px, 5.4vw, 76px); line-height: .95; letter-spacing: .005em; margin-bottom: 26px; text-wrap: balance; }
.intro { max-width: 680px; font-size: 1.08em; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); background: rgba(14, 18, 29, .92); color: var(--paper); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(244, 238, 223, .1); }
.mark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.mark-name { font-family: var(--display); text-transform: uppercase; font-size: 19px; letter-spacing: .02em; background: var(--paper); color: var(--ink); padding: 3px 9px 2px; transform: rotate(-1.5deg); }
.mark-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; background: var(--cobalt); color: #fff; padding: 5px 8px; transform: rotate(1deg); }
.topbar nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); font-size: 14px; }
.topbar nav a { text-decoration: none; opacity: .85; }
.topbar nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.topbar .nav-cta { opacity: 1; background: var(--orange); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-weight: 700; }
.topbar .nav-cta:hover { text-decoration: none; background: var(--mustard); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; padding: 15px 22px; border-radius: 999px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; line-height: 1.2; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--orange); color: var(--ink); border-color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }
.btn-primary:hover { box-shadow: 6px 6px 0 var(--paper); background: var(--mustard); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-text { font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.btn-text:hover { text-decoration-thickness: 2px; }

/* ---------- Hero (pinned mesh) ---------- */
.hero { position: relative; height: 240vh; background: var(--ink); color: var(--paper); }
.hero-stage { position: sticky; top: 60px; height: calc(100svh - 60px); min-height: 620px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 5vh, 64px) var(--gutter) 0; }
.mesh { position: absolute; top: 0; right: -4%; width: 66%; height: 86%; z-index: 0; }
.mesh-still { position: absolute; top: 12%; right: 2%; width: 52%; height: 64%; opacity: .7; }
.js .mesh-still { display: none; }
.hero-inner { position: relative; z-index: 2; max-width: 1020px; width: 100%; margin: auto 0; padding-bottom: 24px; }
.byline { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); margin: 18px 0 0; }
.hero h1 { font-family: var(--display); text-transform: uppercase; font-size: clamp(48px, 6.3vw, 102px); line-height: .9; letter-spacing: .005em; text-wrap: balance; text-shadow: 0 2px 30px rgba(14, 18, 29, .6); }
.hero h1 .accent { display: block; color: var(--orange); }
.lead { max-width: 560px; margin-top: 26px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.42; color: #e6e1d3; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.hero .btn-text { color: var(--paper); }

.fig-label { position: absolute; z-index: 2; right: var(--gutter); bottom: 108px; margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.fig-label span { display: block; transition: opacity .3s; }
.fig-b { position: absolute; right: 0; top: 0; white-space: nowrap; color: var(--mustard); }
.fig-a { opacity: calc(1 - var(--t, 0) * 1.6); }
.fig-b { opacity: calc((var(--t, 0) - .55) * 3); }
.nojs .fig-a, .reduced .fig-a { opacity: 0; }
.nojs .fig-b, .reduced .fig-b { opacity: 1; }

.hand-note { position: absolute; z-index: 2; right: clamp(40px, 12vw, 220px); top: clamp(36px, 9vh, 110px); margin: 0; font-family: var(--hand); font-weight: 600; font-size: clamp(24px, 2.2vw, 34px); color: var(--paper); transform: rotate(-4deg); opacity: calc((var(--t, 0) - .72) * 4); pointer-events: none; }
.nojs .hand-note, .reduced .hand-note { opacity: 1; }
.hand-arrow { display: block; width: 70px; height: 48px; margin: 2px 0 0 60%; color: var(--mustard); }

.creds { position: relative; z-index: 2; list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 18px var(--gutter) 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-top: 1px solid rgba(244, 238, 223, .16); background: linear-gradient(to top, rgba(14, 18, 29, .95), rgba(14, 18, 29, .6)); font-size: 14px; color: var(--muted-dark); }
.creds b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: .01em; color: var(--paper); text-transform: uppercase; line-height: 1.05; }

/* ---------- Situation ---------- */
.situation { padding: clamp(80px, 11vw, 150px) 0; background: var(--paper); }
.situation .prose { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.5; }
.situation .career { font-size: 16px; color: var(--muted-light); border-top: 1px solid rgba(14, 18, 29, .15); padding-top: 18px; margin-top: 28px; }
.sticker { display: inline-block; font-family: var(--mono); font-size: .8em; letter-spacing: .02em; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 6px; background: #fff; transform: rotate(-1.5deg); box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; }
.note-hand { font-family: var(--hand); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; color: var(--cobalt); transform: rotate(-3deg); max-width: 300px; margin-top: 18px; }

/* ---------- Workflows ---------- */
.workflows { padding: clamp(70px, 9vw, 130px) 0; background: var(--paper-2); border-top: 2px solid var(--ink); }
.flow { --accent: var(--orange); position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); padding: clamp(22px, 3vw, 40px); margin-top: clamp(34px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.flow-cobalt { --accent: var(--cobalt); }
.flow-mustard { --accent: var(--mustard); }
.flow-green { --accent: var(--green); }
.flow header { display: flex; align-items: center; gap: 18px; }
.num { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: var(--ink); font-family: var(--display); font-size: 26px; border: 2px solid var(--ink); }
.flow-cobalt .num { color: #fff; }
.flow h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(28px, 3.2vw, 44px); line-height: 1; text-wrap: balance; }
.flow dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 36px); margin: 6px 0 0; }
.flow dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; padding-top: 10px; border-top: 3px solid var(--accent); }
.flow dl div:first-child dt { border-top-color: var(--ink); }
.flow dd { margin: 0; font-size: .98em; }
.receipt { background: var(--ink); color: var(--paper); border-radius: 10px; padding: 18px 22px; font-size: .95em; }
.receipt p:last-child { margin-bottom: 0; }
.receipt a { color: var(--mustard); text-underline-offset: 3px; }
.receipt-label { font-family: var(--hand); font-size: 28px; line-height: 1; color: var(--accent); margin-bottom: 6px; }
.flow-cobalt .receipt-label { color: #8f9cff; }
.receipt .aside { color: var(--muted-dark); font-size: .92em; }
.receipt-shot { display: grid; grid-template-columns: minmax(0, 1fr) 190px; grid-template-areas: "label shot" "copy shot" "aside shot"; column-gap: 26px; align-items: start; }
.receipt-shot .receipt-label { grid-area: label; }
.receipt-shot > p:nth-of-type(2) { grid-area: copy; }
.receipt-shot .aside { grid-area: aside; }
.shot { grid-area: shot; display: block; transform: rotate(2.5deg); margin: -44px 0 -40px; border-radius: 14px; overflow: hidden; border: 2px solid var(--paper); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); background: #111; }
.shot img { width: 100%; height: auto; }

/* ---------- Films (module) ---------- */
.films { padding: clamp(80px, 10vw, 140px) 0; background: var(--ink); color: var(--paper); }
.films .eyebrow::before { background: var(--mustard); }
.film { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(22px, 3.5vw, 52px); align-items: end; margin-top: clamp(40px, 5vw, 70px); }
.film-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .34fr); gap: 14px; align-items: end; }
.film-pair-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.player { margin: 0; }
.player figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); margin-top: 8px; }
.play, .spot-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #000; cursor: pointer; color: inherit; }
.play img, .play video { width: 100%; height: auto; }
.play-dot { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--orange); box-shadow: 0 6px 20px rgba(0, 0, 0, .4); transition: transform .15s ease, background .15s; }
.play-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 22px; margin: -11px 0 0 -6px; background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.play:hover .play-dot { transform: scale(1.08); background: var(--mustard); }
.player-tall .play-dot { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.player-tall .play-dot::after { width: 14px; height: 18px; margin: -9px 0 0 -5px; }
.player video { width: 100%; border-radius: 10px; background: #000; }
.film-copy h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 3vw, 44px); line-height: 1; margin-bottom: 14px; }
.film-copy .meta { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--mustard); margin-top: 8px; }
.film-copy .how { color: var(--muted-dark); font-size: .92em; }

/* ---------- Lab (module) ---------- */
.lab { padding: clamp(70px, 9vw, 130px) 0; background: var(--ink-2); color: var(--paper); border-top: 1px solid rgba(244, 238, 223, .08); }
.lab .eyebrow::before { background: var(--lav); }
.spots { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 26px 18px; }
.spot-btn { aspect-ratio: 16 / 9; background: #05070c; }
.spot-btn img, .spot-btn video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.spot:not(.spot-tall):not(.spot-square) .spot-btn img, .spot:not(.spot-tall):not(.spot-square) .spot-btn video { object-fit: cover; }
.spot-btn::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(14, 18, 29, .75) ; border: 1px solid rgba(244, 238, 223, .4); }
.spot-btn::before { content: ""; position: absolute; right: 20px; bottom: 18px; z-index: 1; width: 11px; height: 14px; background: var(--paper); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.spot-btn.playing::before, .spot-btn.playing::after { display: none; }
.spot p { margin: 10px 0 0; font-size: 14px; color: var(--muted-dark); line-height: 1.4; }
.spot p b { display: block; color: var(--paper); font-weight: 700; font-size: 15px; }

/* ---------- Campaign (module): built once, rendered in every size ---------- */
@font-face { font-family: "Sofia Sans Condensed"; src: url("/fonts/studiospend/SofiaSansCondensed-VF.woff2") format("woff2"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "Sofia Sans"; src: url("/fonts/studiospend/SofiaSans-VF.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Chivo Mono"; src: url("/fonts/studiospend/ChivoMono-VF.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
.campaign { --ssc: "Sofia Sans Condensed", "Arial Narrow", sans-serif; --sss: "Sofia Sans", system-ui, sans-serif; --ssm: "Chivo Mono", ui-monospace, monospace; padding: clamp(80px, 10vw, 140px) 0; background: var(--ink); color: var(--paper); }
.campaign .eyebrow::before { background: var(--mustard); }
.campaign .intro { color: #e6e1d3; }
.kit-row { margin-top: clamp(48px, 6vw, 88px); }
.kit-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.kit-n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--mustard); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-size: 20px; }
.kit-head h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; }
.kit-head p { margin: 6px 0 0; color: var(--muted-dark); }
.campaign figure { margin: 0; }
.campaign figcaption { font-size: 14px; color: var(--muted-dark); margin-top: 10px; line-height: 1.4; }
.campaign figcaption code, .kit-code code { font-family: var(--mono); color: var(--mustard); font-size: 13px; margin-right: 6px; }
.fmt { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--mustard); border-radius: 4px; padding: 3px 6px; margin-right: 6px; vertical-align: 1px; }

/* 1 · three shapes at one height: widths in the ratio 16/9 : 9/16 : 4/5 */
.shapes { position: relative; display: grid; grid-template-columns: minmax(0, 17.78fr) minmax(0, 5.625fr) minmax(0, 8fr); gap: 14px; align-items: end; }
.shape video { width: 100%; height: auto; display: block; border-radius: 10px; background: #000; }
.play-all { position: absolute; left: 28.3%; top: calc(50% - 18px); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border: 0; border-radius: 999px; background: var(--orange); color: var(--ink); font: 700 16px/1 var(--text); white-space: nowrap; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: background .15s, transform .15s; }
.play-all:hover { background: var(--mustard); }
.play-all-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); position: relative; }
.play-all-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 14px; margin: -7px 0 0 -4px; background: var(--paper); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.play-all[aria-pressed="true"] { top: auto; bottom: 46px; transform: translateX(-50%); opacity: .9; }
.play-all[aria-pressed="true"] .play-all-dot::after { width: 12px; height: 13px; margin: -6.5px 0 0 -6px; clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0); }

/* 2 · four renders at one height: 9/16, 4/5, 4/5, 9/16 */
.renders { display: grid; grid-template-columns: minmax(0, 5.625fr) minmax(0, 8fr) minmax(0, 8fr) minmax(0, 5.625fr); gap: 14px; align-items: end; }
.render img, .render .play, .render video { width: 100%; height: auto; display: block; border-radius: 10px; }
.render .play-dot { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
.render .play-dot::after { width: 14px; height: 18px; margin: -9px 0 0 -5px; }
.kit-code { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; color: var(--muted-dark); font-size: 14px; }
.kit-code code { font-size: 14px; background: rgba(242, 179, 61, .1); padding: 6px 10px; border-radius: 6px; }

/* 3 · live ads in StudioSpend's own type and flap tiles */
.live { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.live-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.live-controls label { font-weight: 700; }
.live-input { display: inline-flex; align-items: stretch; border: 2px solid var(--paper); border-radius: 999px; overflow: hidden; }
.live-input input { width: 92px; text-align: center; border: 0; background: transparent; color: var(--paper); font: 400 34px/1 var(--display); padding: 8px 0; -moz-appearance: textfield; }
.live-input input::-webkit-outer-spin-button, .live-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.live-input button { border: 0; background: var(--paper); color: var(--ink); font: 700 24px/1 var(--text); width: 48px; cursor: pointer; }
.live-input button:hover { background: var(--mustard); }
.live-hint { margin: 0; color: var(--muted-dark); font-size: 14px; }
.live-ads { display: grid; grid-template-columns: minmax(0, 17.78fr) minmax(0, 5.625fr) minmax(0, 8fr); gap: 12px; align-items: end; }
.ad { position: relative; container-type: inline-size; }
.ad-label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted-dark); margin-top: 8px; }
.ad-in { position: relative; overflow: hidden; border-radius: 8px; background: #2635E9; color: #F4F5F2; font-family: var(--sss); display: flex; flex-direction: column; justify-content: space-between; padding: var(--pad); }
.ad-wide .ad-in { aspect-ratio: 16 / 9; --pad: 4.4cqw 4.6cqw; }
.ad-tall .ad-in { aspect-ratio: 9 / 16; --pad: 8cqw 7cqw 7cqw; }
.ad-feed .ad-in { aspect-ratio: 4 / 5; --pad: 6.5cqw 6cqw; }
.ad-strap { margin: 0; font: 700 var(--small) / 1.15 var(--ssc); opacity: .95; }
.ad-strap b, .ad-foot b { font-weight: 800; }
.ad-main { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap); }
.ad-big { font: 800 var(--big) / .92 var(--ssc); letter-spacing: -.01em; }
.ad-flaps { display: flex; gap: calc(var(--tw) * .08); perspective: 600px; }
.tile { position: relative; display: grid; place-items: center; width: var(--tw); height: var(--th); border-radius: calc(var(--th) * .07); background: linear-gradient(180deg, #4A535C 0%, #353D44 49.6%, #14181B 50%, #2B3137 58%, #22272C 100%); color: #F4F5F2; font: 800 calc(var(--th) * .72) / 1 var(--ssc); box-shadow: 0 calc(var(--th) * .04) calc(var(--th) * .08) rgba(0, 0, 0, .25); }
.tile.sig { background: linear-gradient(180deg, #FFE27A 0%, #FFD84C 49.6%, #A88000 50%, #E6B800 52%, #FFD43A 62%, #F2C72E 100%); color: #1D2226; }
.tile::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .45); }
.tile.flip { animation: tileflip .26s ease-in-out both; }
@keyframes tileflip { 0% { transform: rotateX(0); } 50% { transform: rotateX(-88deg); filter: brightness(.6); } 100% { transform: rotateX(0); } }
.ad-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-top: max(1px, .3cqw) solid rgba(244, 245, 242, .55); padding-top: calc(var(--small) * .8); font: 700 var(--small) / 1.1 var(--ssc); white-space: nowrap; }
.ad-mono { font: 500 calc(var(--small) * .92) / 1 var(--ssm); }
.ad-demo { position: absolute; right: 4.5cqw; bottom: calc(var(--small) * 3.4); top: auto; font: 500 calc(var(--small) * .85) / 1 var(--ssm); opacity: .75; }
.ad-wide { --big: 7.2cqw; --th: 12.5cqw; --tw: 8.6cqw; --small: 1.9cqw; --gap: 2.2cqw; }
.ad-wide .ad-main { flex-direction: row; align-items: center; }
.ad-tall { --big: 17cqw; --th: 27cqw; --tw: 19cqw; --small: 4.4cqw; --gap: 5cqw; }
.ad-feed { --big: 12.5cqw; --th: 20cqw; --tw: 14cqw; --small: 3.3cqw; --gap: 3.5cqw; }
.ad .ad-in > * { position: relative; }
.ad .ad-demo { position: absolute; }

/* 4 · the rest of the kit, sideways */
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: var(--muted-dark) transparent; }
.strip:focus-visible { outline-offset: 6px; }
.strip-item { flex: 0 0 auto; width: clamp(210px, 21vw, 280px); scroll-snap-align: start; }
.strip-item img { width: 100%; height: auto; display: block; border-radius: 8px; }
.strip-email { width: clamp(250px, 25vw, 320px); }
.mail { background: #E9E9E4; border-radius: 8px; padding: 10px; font-family: var(--sss); color: #1D2226; }
.mail-head { display: flex; align-items: center; gap: 10px; background: #1D2226; color: #F4F5F2; border-radius: 8px 8px 0 0; padding: 12px 14px; font: 800 20px/1 var(--ssc); }
.mail-head img { width: 26px; height: 26px; border-radius: 6px; }
.mail-body { background: #F4F5F2; border-radius: 0 0 8px 8px; padding: 14px 14px 16px; }
.mail-h { font: 800 22px/1 var(--ssc); margin: 0 0 12px; }
.mail-k { display: flex; justify-content: space-between; font: 500 10px/1 var(--ssm); color: #555b5f; margin: 0 0 6px; }
.mail-flaps { --th: 34px; --tw: 25px; display: flex; gap: 3px; margin-bottom: 10px; }
.mail-flaps .tile { font-size: 26px; }
.mail-warn { display: inline; background: #FFD43A; font: 700 13px/1.5 var(--ssc); padding: 2px 5px; }
.mail-p { font-size: 12.5px; line-height: 1.4; margin: 12px 0; }
.mail-btn { display: inline-block; background: #1D2226; color: #F4F5F2; border-radius: 8px; padding: 9px 14px; font: 700 13px/1 var(--sss); }
.mail-foot { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid #cfd2cc; font: 500 10px/1.3 var(--ssm); color: #555b5f; }
.mail-foot b { font: 800 12px/1 var(--ssc); color: #1D2226; }

/* the shared strip under it all */
.kit-note { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 8px 28px; align-items: start; background: var(--ink-2); border: 1px solid rgba(244, 238, 223, .12); border-radius: 12px; padding: 22px 24px; font-size: .95em; }
.kit-note ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.kit-note li { border-top: 3px solid var(--mustard); padding-top: 10px; }
.kit-note .receipt-label { color: var(--mustard); }

/* ---------- Together ---------- */
.together { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); }
.steps { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 86px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; background: var(--mustard); border: 2px solid var(--ink); font-family: var(--display); font-size: 28px; }
.steps li:nth-child(2)::before { background: var(--orange); }
.steps li:nth-child(3)::before { background: var(--cobalt); color: #fff; }
.step-name { display: block; font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 3vw, 42px); line-height: 1; margin-bottom: 14px; }
.get { border-top: 1px solid rgba(14, 18, 29, .2); padding-top: 12px; font-size: .94em; color: var(--muted-light); }
.get b { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); font-weight: 400; margin-bottom: 4px; }

/* ---------- House rules ---------- */
.rules { padding: clamp(80px, 10vw, 140px) 0; background: var(--ink); color: var(--paper); }
.rules .eyebrow::before { background: var(--cobalt); }
.rules h2 { font-size: clamp(34px, 4.2vw, 60px); }
.rule-list { list-style: none; margin: 0; padding: 0; counter-reset: rule; }
.rule-list li { counter-increment: rule; display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: baseline; padding: 20px 0; border-top: 1px solid rgba(244, 238, 223, .16); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; position: relative; }
.rule-list li:last-child { border-bottom: 1px solid rgba(244, 238, 223, .16); }
.rule-list li::before { content: counter(rule, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--orange); letter-spacing: .1em; }
.rule-list .hand { grid-column: 2; font-family: var(--hand); font-style: normal; font-size: 26px; color: var(--mustard); transform: rotate(-3deg); display: inline-block; margin-top: 4px; }

/* ---------- Contact ---------- */
.contact { padding: clamp(80px, 11vw, 150px) 0; background: var(--orange); color: var(--ink); }
.contact .eyebrow::before { background: var(--ink); }
.contact h2 { font-size: clamp(46px, 8vw, 120px); max-width: 1000px; }
.contact-lead { max-width: 640px; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.45; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }
.contact .btn-ink { box-shadow: 5px 5px 0 var(--paper); border-color: var(--ink); }
.contact .btn-ink:hover { box-shadow: 7px 7px 0 var(--paper); }
.contact-small { margin-top: 30px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted-dark); padding: 36px 0 44px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.footer p { margin: 0; }
.footer b { color: var(--paper); }
.footer a { color: var(--paper); }
.footer-grid p:last-child { text-align: right; }

/* ---------- Reveal ---------- */
.js .flow, .js .film, .js .steps li { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .flow.seen, .js .film.seen, .js .steps li.seen { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .mesh { opacity: .6; }
  .kit-note { grid-template-columns: minmax(0, 1fr); }
  .two { grid-template-columns: minmax(0, 1fr); }
  .flow dl { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .film { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid p:last-child { text-align: left; }
  .topbar nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 720px) {
  .hero { height: 160vh; }
  .hero-stage { min-height: 560px; padding-top: 28px; }
  .mesh { right: -30%; width: 130%; height: 70%; top: 4%; opacity: .38; }
  .mesh-still { width: 90%; right: -10%; opacity: .3; }
  .hero-inner { margin-top: auto; }
  .hand-note { display: none; }
  .fig-label { display: none; }
  .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding-top: 14px; padding-bottom: 16px; font-size: 12.5px; }
  .creds b { font-size: 22px; }
  .mark-tag { display: none; }
  .receipt-shot { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "copy" "aside" "shot"; }
  .shot { margin: 16px auto 0; max-width: 220px; transform: rotate(2deg); }
  .flow { box-shadow: 5px 5px 0 var(--ink); }
  .film-pair { grid-template-columns: minmax(0, 1fr) minmax(0, .4fr); }
  .film-pair-even { grid-template-columns: minmax(0, 1fr); }
  .shapes { grid-template-columns: minmax(0, 5.625fr) minmax(0, 8fr); }
  .shape-wide { grid-column: 1 / -1; }
  .play-all { top: 28%; left: 50%; }
  .renders { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .render { flex: none; scroll-snap-align: start; }
  .render-tall { width: 170px; }
  .render-feed { width: 242px; }
  .live-ads { grid-template-columns: minmax(0, 5.625fr) minmax(0, 8fr); }
  .ad-wide { grid-column: 1 / -1; }
  .kit-note ul { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .rule-list li { grid-template-columns: 40px minmax(0, 1fr); }
  .sticker { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero-stage { position: relative; top: 0; height: auto; min-height: calc(100svh - 60px); }
  .js .flow, .js .film, .js .steps li { opacity: 1; transform: none; transition: none; }
  .btn, .play-dot { transition: none; }
}
@media print {
  .topbar, .mesh, .hand-note, .fig-label, .films, .lab { display: none !important; }
  .hero { height: auto; }
  .hero-stage { position: static; height: auto; min-height: 0; }
}
