/* SHOT master preview — shared shell.
   Display: Anton. Body: Inter. Solid colours only, no gradients. */
:root {
  --bg: #020304;
  --panel: #0a0c0e;
  --panel-2: #101417;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.70);
  --dim: rgba(255, 255, 255, 0.44);
  --teal: #1abc9c;
  --gold: #f7b613;
  --purple: #7b1cff;
  --display: Anton, "Arial Narrow", Impact, sans-serif;
  --body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.68; -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1240px, 100%); margin: 0 auto; padding-inline: 22px; }
.wrap-tight { width: min(880px, 100%); margin: 0 auto; padding-inline: 22px; }

/* ---------- Type: scale contrast is the whole design ---------- */
.d1, .d2, .d3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: -0.005em; line-height: 1.02; margin: 0; }
.d1 { font-size: clamp(2.9rem, 9vw, 7rem); }
.d2 { font-size: clamp(2rem, 5.4vw, 4rem); }
.d3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.accent { color: var(--teal); }
.outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--dim); text-transform: uppercase; letter-spacing: 0.3em;
  font-size: 0.7rem; font-weight: 800; margin: 0 0 22px;
}
.eyebrow b { color: var(--teal); }
.kicker { margin: 0 0 14px; color: var(--gold); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.24em; text-transform: uppercase; }
.lede { margin: 0 0 28px; color: var(--muted); font-size: clamp(1.02rem, 1.7vw, 1.22rem); max-width: 50ch; }
p { margin: 0 0 14px; color: var(--muted); max-width: 64ch; }
.big-num { font-family: var(--display); font-size: clamp(3rem, 8vw, 6rem); line-height: 1; color: rgba(255,255,255,.1); }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 12px 22px; background: rgba(2, 3, 4, 0.9);
  backdrop-filter: blur(18px); border-bottom: 1px solid var(--line-soft);
}
.topbar .brand img { width: 74px; }
.nav { display: flex; align-items: center; gap: 22px; color: var(--dim); font-weight: 700; font-size: 0.9rem; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a:focus-visible { color: #fff; }
.nav a[aria-current="page"] { color: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px; border: 0; border-radius: 2px;
  font-family: var(--body); font-weight: 900; font-size: 0.92rem;
  letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
  transition: transform 140ms ease, background 140ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #111; }
.btn-teal { background: var(--teal); color: #04120f; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: transparent; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.82rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.store {
  display: inline-flex; align-items: center; min-height: 50px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 2px; background: var(--panel); color: var(--text);
}
.store:hover { border-color: var(--teal); }
.store b { font-weight: 900; font-size: 0.92rem; display: block; }
.store span { color: var(--dim); font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; display: block; line-height: 1.3; }

/* ---------- Duotone media ---------- */
.duo { position: relative; overflow: hidden; }
.duo > img, .duo > .bgimg { filter: contrast(1.05) brightness(0.82); width: 100%; height: 100%; object-fit: cover; }
.duo::after { content: ""; position: absolute; inset: 0; background: #020304; opacity: 0.28; pointer-events: none; }
.duo.gold::after { background: #020304; opacity: 0.34; }
.duo.plain::after { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; padding: 70px 0 56px; isolation: isolate; }
.hero .duo { position: absolute; inset: 0; z-index: -2; }
.hero .bgimg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, #020304 0%, rgba(2,3,4,.55) 46%, rgba(2,3,4,.7) 100%);
}
.hero-rule { width: 74px; height: 5px; background: var(--gold); margin: 0 0 26px; }

/* ---------- Sections ---------- */
section { padding: 92px 0; border-top: 1px solid var(--line-soft); position: relative; }
section.tight { padding: 62px 0; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 2px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.gap { gap: 18px; }
.card { border: 1px solid var(--line); background: var(--panel); padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-family: var(--body); font-weight: 900; text-transform: none; font-size: 1.12rem; line-height: 1.35; letter-spacing: -0.01em; margin: 0; }
.card p { margin: 0; font-size: 0.97rem; line-height: 1.62; }
.card .go { margin-top: auto; padding-top: 14px; color: var(--teal); font-weight: 900; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Pricing, identical on every page ---------- */
.pricing { border: 1px solid var(--line); border-left: 4px solid var(--teal); background: var(--panel-2); padding: 34px 32px; }
.pricing .line { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.24; color: var(--text); max-width: 28ch; margin: 0 0 16px; letter-spacing: 0.005em; }
.pricing .line b { color: var(--teal); font-weight: 400; }
.manifesto { line-height: 1.4; }
.pricing .note { margin: 0; color: var(--dim); font-size: 0.92rem; max-width: 62ch; }

/* ---------- Status / honesty ---------- */
.status { border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--panel); padding: 18px 20px; max-width: 66ch; }
.status p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.status b { color: var(--text); }

/* ---------- Chips, ticks ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.chip { padding: 9px 15px; border: 1px solid var(--line); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ticks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.ticks li { color: var(--muted); padding-left: 28px; position: relative; max-width: 62ch; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 14px; height: 2px; background: var(--teal); }

/* ---------- Scroll reveal ---------- */
.rise { opacity: 0; transform: translateY(24px); transition: opacity 620ms ease, transform 620ms cubic-bezier(.2,.7,.3,1); }
.rise.in { opacity: 1; transform: none; }
.rise[data-d="1"] { transition-delay: 90ms; }
.rise[data-d="2"] { transition-delay: 180ms; }
.rise[data-d="3"] { transition-delay: 270ms; }

/* ---------- Signature: the season assembling ---------- */
.assembly { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.assembly-copy { position: sticky; top: 96px; }
.ledger { border: 1px solid var(--line); background: var(--panel); }
.ledger-head { padding: 16px 20px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; }
.ledger-head span { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.ledger-head .count { color: var(--teal); font-family: var(--display); font-size: 1.5rem; line-height: 1.2; letter-spacing: 0; }
.entry {
  display: flex; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft);
  opacity: 0; transform: translateX(-14px);
  transition: opacity 460ms ease, transform 460ms cubic-bezier(.2,.7,.3,1);
}
.entry.in { opacity: 1; transform: none; }
.entry .tag { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 8px; background: var(--teal); }
.entry.coach .tag { background: var(--gold); }
.entry.done .tag { background: #fff; }
.entry h4 { margin: 0; font-size: 0.94rem; font-weight: 800; }
.entry p { margin: 2px 0 0; font-size: 0.86rem; color: var(--dim); }
.ledger-out { padding: 22px 20px; background: var(--panel-2); opacity: 0; transition: opacity 600ms ease; }
.ledger-out.in { opacity: 1; }
.ledger-out strong { display: block; font-family: var(--body); font-weight: 900; font-size: 1.15rem; line-height: 1.3; margin-bottom: 8px; color: var(--text); }
.ledger-out span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Signature: cap and patches ---------- */
.capstage { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.cap-art { border: 1px solid var(--line); background: var(--panel); padding: 30px; display: grid; place-items: center; }
.cap-svg { width: 100%; max-width: 400px; height: auto; }
.patch-fill { transition: fill 260ms ease; }
.patch-label { font-family: var(--display); font-size: 15px; fill: #04120f; text-anchor: middle; letter-spacing: 0.5px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.swatch {
  min-height: 48px; min-width: 48px; padding: 0 16px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; gap: 9px;
}
.swatch i { width: 13px; height: 13px; display: block; }
.swatch[aria-pressed="true"] { border-color: var(--teal); color: var(--teal); }

/* ---------- Signature: live ticker ---------- */
.ticker { border-block: 1px solid var(--line-soft); overflow: hidden; padding: 14px 0; }
.ticker-track { display: flex; gap: 12px; padding-inline: 22px; overflow-x: auto; scrollbar-width: none; }
.ticker-track::-webkit-scrollbar { display: none; }
.fix { flex: 0 0 auto; border: 1px solid var(--line); background: var(--panel); padding: 12px 16px; min-width: 196px; }
.fix .st { font-size: 0.64rem; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); display: flex; align-items: center; gap: 7px; }
.fix .st i { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; animation: blip 1.6s ease-in-out infinite; }
.fix .row { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; font-weight: 800; font-size: 0.92rem; }
.fix .row b { font-family: var(--display); font-weight: 400; font-size: 1.05rem; }
@keyframes blip { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }

/* ---------- Signature: selective disclosure ---------- */
.disclose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.disclose-pane { border: 1px solid var(--line); background: var(--panel); padding: 26px; }
.disclose-pane.held { background: var(--panel-2); }
.field { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.92rem; }
.field span:first-child { color: var(--dim); }
.field.hidden span:last-child { color: rgba(255,255,255,.16); letter-spacing: .18em; }
.field.shown span:last-child { color: var(--teal); font-weight: 800; }
.asks { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.ask {
  min-height: 48px; padding: 0 18px; border: 1px solid var(--line); background: var(--panel);
  color: var(--text); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.06em; cursor: pointer;
  display: inline-flex; align-items: center;
}
.ask[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.answer { margin-top: 20px; border-left: 3px solid var(--teal); padding: 14px 18px; background: var(--panel-2); }
.answer b { font-family: var(--body); font-weight: 900; font-size: 1.1rem; line-height: 1.3; display: block; color: var(--teal); margin-bottom: 8px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); background: #010203; padding: 64px 0 38px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer img { width: 86px; margin-bottom: 14px; }
.footer h4 { margin: 0 0 14px; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--muted); font-weight: 700; font-size: 0.92rem; min-height: 32px; display: inline-flex; align-items: center; }
.footer a:hover { color: #fff; }
.footer .base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--dim); font-size: 0.8rem; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .topbar { flex-wrap: wrap; padding: 10px 16px 0; row-gap: 8px; }
  .nav {
    order: 3; width: 100%; gap: 18px; overflow-x: auto; scrollbar-width: none;
    border-top: 1px solid var(--line-soft); padding: 4px 0 2px; font-size: .82rem;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; min-height: 40px; }
  .g3, .g2, .g4, .assembly, .capstage, .disclose { grid-template-columns: 1fr; }
  .assembly-copy { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  section { padding: 64px 0; }
  .hero { min-height: 80vh; padding: 40px 0 44px; }
  .btn { width: 100%; }
  .store { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .entry, .ledger-out { transition: none; opacity: 1; transform: none; }
  .fix .st i { animation: none; }
  .btn:hover { transform: none; }
}

/* ================= Visual components ================= */

/* Phone frame for 1080x1920 app screenshots */
/* app-guide captures are raw, so they get the frame. Pre-framed images use .phone-bare. */
.phone {
  position: relative; width: 100%; max-width: 290px;
  border: 9px solid #16191c; border-radius: 30px; background: #000; overflow: hidden;
  box-shadow: 0 26px 60px rgba(0,0,0,.5);
}
.phone img { width: 100%; height: auto; display: block; }
.phone-bare { position: relative; width: 100%; max-width: 300px; }
.phone-bare img { width: 100%; height: auto; display: block; }
.phones { display: flex; gap: 20px; flex-wrap: wrap; }
.phones .phone { max-width: 250px; flex: 1 1 200px; }
.phones .phone:nth-child(even) { transform: translateY(26px); }

/* Full-bleed image band with type over it */
.band { position: relative; min-height: 62vh; display: flex; align-items: center; padding: 74px 0; isolation: isolate; border-top: 1px solid var(--line-soft); }
.band .duo { position: absolute; inset: 0; z-index: -2; }
.band .bgimg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(2,3,4,.52); }
.band-sm { min-height: 42vh; padding: 56px 0; }

/* Card with image */
.card.has-media { padding: 0; overflow: hidden; }
.card.has-media .m { aspect-ratio: 4/3; }
.card.has-media .m img { width: 100%; height: 100%; object-fit: cover; }
.card.has-media .b { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 9px; flex: 1; }

/* Split image + text */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.split.flip .split-media { order: -1; }
.split-media { border: 1px solid var(--line); overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Product shot grid */
.shots { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2px; }
.shots figure { margin: 0; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.shots img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform 500ms ease; }
.shots figure:hover img { transform: scale(1.05); }
.shots figcaption { padding: 12px 14px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.shot-hero { border: 1px solid var(--line); overflow: hidden; background: var(--panel); }
.shot-hero img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }

@media (max-width: 1000px) {
  .split, .split.flip .split-media { grid-template-columns: 1fr; order: 0; }
  .shots { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .phones .phone:nth-child(even) { transform: none; }
}
@media (max-width: 620px) {
  .band { min-height: 52vh; }
  .phones { justify-content: center; }
}

/* ================= The hub (master front door) ================= */
.hub-hero { min-height: 62vh; display: flex; align-items: center; padding: 56px 0 44px; position: relative; isolation: isolate; border-top: 0; }
.hub-hero .duo { position: absolute; inset: 0; z-index: -2; }
.hub-hero .bgimg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hub-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(2,3,4,.62); }
.manifesto { font-family: var(--display); text-transform: uppercase; font-size: clamp(1rem, 2.2vw, 1.6rem); line-height: 1.3; letter-spacing: .02em; color: var(--dim); margin: 0 0 18px; }
.manifesto .t { color: var(--teal); }
.manifesto .p { color: var(--purple); }
.manifesto .g { color: var(--gold); }
.definition { border-left: 3px solid var(--teal); padding-left: 18px; margin: 26px 0 0; max-width: 56ch; }
.definition p { margin: 0; color: var(--muted); font-size: .98rem; }
.definition b { color: #fff; }

/* Four doors */
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; border-top: 1px solid var(--line-soft); }
.door {
  position: relative; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 34px 28px 30px; overflow: hidden; isolation: isolate; border: 1px solid var(--line); background: var(--panel);
}
.door .doorbg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; filter: contrast(1.05) brightness(.42); transition: transform 700ms ease, filter 500ms ease; }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(2,3,4,.42); transition: background 400ms ease; }
.door:hover .doorbg, .door:focus-within .doorbg { transform: scale(1.06); filter: contrast(1.05) brightness(.55); }
.door:hover::after, .door:focus-within::after { background: rgba(2,3,4,.3); }
.door .dn { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.15; margin: 0 0 12px; }
.door .dp { color: var(--muted); font-size: .93rem; line-height: 1.55; margin: 0 0 18px; max-width: 32ch; }
.door .dg { color: var(--teal); font-weight: 900; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; margin-top: auto; }
.door .dtag { display: block; font-size: .64rem; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
/* Primary door: same photographic treatment as the rest, marked by a gold rule. */
.door.is-app { background: var(--panel); border-top: 4px solid var(--gold); }
.door.is-app .dtag { color: var(--gold); }
.door.is-app .dg { color: var(--gold); }

@media (max-width: 1100px) { .doors { grid-template-columns: repeat(2, minmax(0,1fr)); } .door { min-height: 40vh; } }
@media (max-width: 620px) { .doors { grid-template-columns: 1fr; } .door { min-height: 260px; } .hub-hero { min-height: auto; padding: 40px 0 36px; } }

/* ================= Trust marks, store badges, kit rails ================= */

/* Real store badges */
.store svg { width: 22px; height: 22px; flex: 0 0 auto; margin-right: 10px; fill: currentColor; }
.store { gap: 0; }

/* Ambassador / trust: full-width alternating rows, poster big enough to read */
.trust { display: grid; gap: 2px; }
.amb {
  display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px;
  align-items: center; border: 1px solid var(--line); background: var(--panel); padding: 34px 36px;
}
.amb:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
.amb:nth-child(even) .pic { order: 2; }
.amb .pic { width: 100%; border: 1px solid var(--line); background: #000; overflow: hidden; }
.amb .pic img { width: 100%; height: auto; display: block; }
.amb blockquote {
  margin: 0 0 18px; color: var(--text); font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.4; font-weight: 700; max-width: 34ch;
}
.amb .who { margin: 0; font-family: var(--body); font-weight: 900; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }
.amb .role { margin: 4px 0 0; color: var(--dim); font-size: .88rem; font-weight: 700; }

/* Logo row for partners */
.logos { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.logos .lg { border: 1px solid var(--line); background: var(--panel); padding: 14px 20px; min-height: 64px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 800; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; }
.logos .lg img { max-height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .85; }

/* Kit / range rail for Locker */
.rail { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px; }
.range { border: 1px solid var(--line); background: var(--panel); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.range .rn { font-family: var(--body); font-weight: 900; font-size: 1.15rem; line-height: 1.35; margin: 0; letter-spacing: -0.01em; }
.range .rt { margin: 0 0 4px; color: var(--gold); font-size: .68rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.range p { margin: 0; font-size: .95rem; }
.range .rf { margin-top: auto; padding-top: 12px; color: var(--dim); font-size: .8rem; font-weight: 700; }

@media (max-width: 900px) {
  .rail { grid-template-columns: 1fr; }
  .amb, .amb:nth-child(even) { grid-template-columns: 1fr; gap: 24px; padding: 26px 24px; }
  .amb:nth-child(even) .pic { order: 0; }
  .amb .pic { max-width: 320px; }
}

/* ================= Audience routing row ================= */
.who-row { border-top: 1px solid var(--line-soft); padding: 48px 0 56px; }
.who-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 2px; margin-top: 24px; }
.who-cell {
  border: 1px solid var(--line); background: var(--panel); padding: 20px 18px;
  display: flex; flex-direction: column; gap: 6px; min-height: 118px; transition: background 200ms ease, border-color 200ms ease;
}
.who-cell:hover, .who-cell:focus-visible { background: var(--panel-2); border-color: var(--teal); }
.who-cell b { font-family: var(--body); font-weight: 900; font-size: 1.02rem; line-height: 1.3; margin-bottom: 3px; letter-spacing: -0.01em; }
.who-cell span { color: var(--dim); font-size: .84rem; }
.who-cell .ar { margin-top: auto; color: var(--teal); font-size: .74rem; font-weight: 900; letter-spacing: .16em; }
@media (max-width: 1100px) { .who-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 620px)  { .who-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ================= Cross-room strip: same on every room page ================= */
.rooms-strip { border-top: 1px solid var(--line-soft); padding: 56px 0; }
.rooms-strip .rs-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px; margin-top: 22px; }
.rs-card {
  border: 1px solid var(--line); background: var(--panel); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 8px; min-height: 156px;
  transition: border-color 200ms ease, background 200ms ease;
}
.rs-card:hover, .rs-card:focus-visible { border-color: var(--teal); background: var(--panel-2); }
.rs-card .rs-t { color: var(--gold); font-size: .62rem; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; margin: 0; }
.rs-card .rs-n { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; line-height: 1.2; margin: 0; }
.rs-card p { margin: 0; font-size: .92rem; }
.rs-card .rs-g { margin-top: auto; padding-top: 10px; color: var(--teal); font-weight: 900; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }

/* Before / after: the mess vs one place */
.swap { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px; }
.swap-pane { border: 1px solid var(--line); padding: 26px 24px; background: var(--panel); }
.swap-pane.before { background: #0a0708; }
.swap-pane h3 { font-family: var(--body); font-weight: 900; font-size: 1.15rem; line-height: 1.3; margin: 0 0 14px; letter-spacing: -0.01em; }
.swap-pane.before h3 { color: var(--dim); }
.swap-pane.after h3 { color: var(--teal); }
.swap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.swap-list li { color: var(--muted); font-size: .94rem; padding-left: 22px; position: relative; }
.swap-pane.before .swap-list li::before { content: "\00d7"; position: absolute; left: 0; color: #8a5b5b; font-weight: 900; }
.swap-pane.after  .swap-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 2px; background: var(--teal); }

@media (max-width: 900px) { .rooms-strip .rs-grid, .swap { grid-template-columns: 1fr; } }

/* ================= Insights strip ================= */
.papers { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2px; margin-top: 24px; }
.paper { border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; overflow: hidden; transition: border-color 200ms ease; }
.paper .pm { aspect-ratio: 16/10; overflow: hidden; background: #000; }
.paper .pm img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.paper:hover .pm img { transform: scale(1.05); }
.paper .pb { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.paper:hover { border-color: var(--gold); }
.paper .pt { margin: 0; color: var(--gold); font-size: .6rem; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.paper .pn { margin: 0; font-family: var(--body); font-weight: 900; font-size: 1.08rem; line-height: 1.35; letter-spacing: -0.01em; }
.paper p { margin: 0; font-size: .9rem; }
.paper .pg { margin-top: auto; padding-top: 10px; color: var(--teal); font-weight: 900; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 1000px) { .papers { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px)  { .papers { grid-template-columns: 1fr; } }

/* ================= Accessibility ================= */
a:focus-visible, button:focus-visible, .door:focus-visible, .rs-card:focus-visible,
.who-cell:focus-visible, .paper:focus-visible, .store:focus-visible, .swatch:focus-visible, .ask:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: #111; padding: 12px 18px; font-weight: 900;
}
.skip:focus { left: 12px; top: 12px; }
/* --dim was 0.44 on near-black, below AA for body text. Raise it where it carries meaning. */
.footer a, .who-cell span, .paper p, .rs-card p { color: rgba(255,255,255,0.74); }
.store span { color: rgba(255,255,255,0.62); }

/* ================= Video hero ================= */
.vid-layer { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; background: #000; }
.vid-toggle {
  position: absolute; right: 20px; bottom: 20px; z-index: 3;
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: .9rem;
}

/* ================= App-site pattern ================= */
/* Hero with the product on a phone, badges above the fold */
.app-hero { position: relative; padding: 56px 0 64px; isolation: isolate; border-top: 0; }
.app-hero .duo { position: absolute; inset: 0; z-index: -2; }
.app-hero .bgimg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.app-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(2,3,4,.66); }
.app-hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 48px; align-items: center; }
.app-hero-grid .phone { max-width: 290px; margin-inline: auto; }

/* Persistent install bar in the header */
.getapp { display: inline-flex; align-items: center; gap: 10px; }
.getapp .mini {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--line); background: var(--panel); color: #fff;
}
.getapp .mini svg { width: 18px; height: 18px; fill: currentColor; }
.getapp .mini:hover { border-color: var(--gold); }

/* Mid-page install block */
.install {
  border-block: 1px solid var(--line-soft); padding: 44px 0; background: var(--panel);
}
.install-inner { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.install .il { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.5rem,3vw,2.2rem); line-height: 1.2; margin: 0 0 6px; }
.install .is { margin: 0; color: var(--muted); }

@media (max-width: 900px) {
  .app-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .app-hero-grid .phone { max-width: 240px; }
  .getapp .mini { display: none; }
}

/* ================= Video embed ================= */
.embed { border: 1px solid var(--line); background: #000; overflow: hidden; max-width: 340px; }
.embed .r { position: relative; padding-top: 177.78%; } /* 9:16 short */
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-wide .r { padding-top: 56.25%; }
.embed-wide { max-width: 100%; }

/* ================= LOCKER ranges with imagery ================= */
.ranges { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px; }
.rcard { border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; overflow: hidden; transition: border-color 220ms ease; }
.rcard:hover { border-color: var(--gold); }
.rcard .rm { aspect-ratio: 4/3; overflow: hidden; background: #000; }
.rcard .rm img { width: 100%; height: 100%; object-fit: cover; transition: transform 520ms ease; }
.rcard:hover .rm img { transform: scale(1.05); }
.rcard .rb { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rcard .rt { margin: 0; color: var(--gold); font-size: .64rem; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.rcard .rn { margin: 0; font-family: var(--body); font-weight: 900; font-size: 1.15rem; line-height: 1.35; letter-spacing: -0.01em; }
.rcard p { margin: 0; font-size: .93rem; }
.rcard .rf { margin-top: auto; padding-top: 12px; color: var(--dim); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 1000px) { .ranges { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px)  { .ranges { grid-template-columns: 1fr; } }

/* Kit supplier logos row */
.suppliers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.suppliers span {
  border: 1px solid var(--line); padding: 12px 20px; font-family: var(--display);
  text-transform: uppercase; font-size: 1rem; color: var(--muted); letter-spacing: .02em;
}

/* ================= Ambassador beside a claim ================= */
.claim-amb { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,300px); gap: 40px; align-items: center; }
.claim-amb .pic { border: 1px solid var(--line); overflow: hidden; background: #000; }
.claim-amb .pic img { width: 100%; height: auto; display: block; }
.claim-amb blockquote { margin: 0 0 12px; color: var(--text); font-size: 1.05rem; line-height: 1.5; font-weight: 700; }
.claim-amb .who { margin: 0; font-family: var(--body); font-weight: 900; font-size: 1.05rem; line-height: 1.3; }
.claim-amb .role { margin: 2px 0 0; color: var(--dim); font-size: .8rem; font-weight: 700; }

/* Passport ladder */
.passport { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px; margin-top: 26px; }
.pp { border: 1px solid var(--line); background: var(--panel); padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; min-height: 140px; }
.pp .n { font-family: var(--body); font-weight: 900; font-size: 1rem; line-height: 1.3; margin: 0; letter-spacing: -0.01em; }
.pp p { margin: 0; font-size: .84rem; color: var(--dim); }
.pp .step { color: var(--gold); font-size: .6rem; font-weight: 900; letter-spacing: .2em; margin: 0; }
@media (max-width: 1100px) { .passport { grid-template-columns: repeat(3, minmax(0,1fr)); } .claim-amb { grid-template-columns: 1fr; } .claim-amb .pic { max-width: 260px; } }
@media (max-width: 620px)  { .passport { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ================= Comparison table ================= */
.cmp { width: 100%; border-collapse: collapse; margin-top: 26px; }
.cmp th, .cmp td { border: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: top; }
.cmp thead th { background: var(--panel-2); font-family: var(--body); font-weight: 900; font-size: 1rem; line-height: 1.35; letter-spacing: -0.01em; }
.cmp thead th small { display: block; font-family: var(--body); font-weight: 800; font-size: .72rem; letter-spacing: .1em; color: var(--dim); margin-top: 5px; }
.cmp tbody th { font-weight: 800; font-size: .94rem; color: var(--text); background: var(--panel); }
.cmp td { color: var(--muted); font-size: .92rem; background: var(--panel); }
.cmp .y { color: var(--teal); font-weight: 900; }
.cmp .n { color: rgba(255,255,255,.22); font-weight: 900; }
.cmp-wrap { overflow-x: auto; }
.icat { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px; margin-top: 24px; }
@media (max-width: 1000px) { .icat { grid-template-columns: 1fr; } .cmp thead th { font-size: .92rem; } }

/* ================= Framework gallery ================= */
.fw { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2px; margin-top: 26px; }
.fw a, .fw .fwx { border: 1px solid var(--line); background: #000; overflow: hidden; display: block; position: relative; width: 100%; padding: 0; cursor: zoom-in; font: inherit; color: inherit; text-align: left; }
.fw img { width: 100%; height: auto; display: block; transition: transform 520ms ease, opacity 300ms ease; opacity: .88; }
.fw a:hover img, .fw .fwx:hover img, .fw .fwx:focus-visible img { transform: scale(1.03); opacity: 1; }
.fw a::after, .fw .fwx::after { content: attr(data-sport); position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; background: rgba(2,3,4,.85); font-family: var(--display); text-transform: uppercase; font-size: .92rem; letter-spacing: .02em; }

/* 47 sports */
.sports { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; padding: 0; list-style: none; }
.sports li { border: 1px solid var(--line); padding: 8px 13px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sports li.more { border-color: var(--gold); color: var(--gold); }

/* Patch swap strip */
.patchrow { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px; margin-top: 24px; }
.patchrow figure { margin: 0; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.patchrow img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.patchrow figcaption { padding: 12px 14px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

@media (max-width: 1000px) { .fw { grid-template-columns: repeat(2, minmax(0,1fr)); } .patchrow { grid-template-columns: 1fr; } }

/* ================= Scenario cards ================= */
.scen { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px; margin-top: 26px; }
.scen article { border: 1px solid var(--line); background: var(--panel); padding: 28px 26px; }
.scen h3 { font-family: var(--body); font-weight: 900; text-transform: none; font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 14px; color: var(--text); }
.scen p { margin: 0 0 12px; font-size: .96rem; }
.scen p:last-child { margin: 0; }
.scen .out { border-left: 3px solid var(--teal); padding-left: 14px; color: var(--text); font-weight: 700; }

/* Socials */
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.soc {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 18px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text); font-weight: 800; font-size: .88rem;
}
.soc:hover { border-color: var(--teal); }
.soc svg { width: 18px; height: 18px; fill: currentColor; }
.soc small { display: block; color: var(--dim); font-size: .72rem; font-weight: 700; }
@media (max-width: 800px) { .scen { grid-template-columns: 1fr; } }


/* ================= Product grid ================= */
.prods { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2px; margin-top: 24px; }
.prod { border: 1px solid var(--line); background: #0a0c0e; overflow: hidden; display: block; }
.prod .pi { aspect-ratio: 3/4; overflow: hidden; background: #000; }
.prod .pi img { width: 100%; height: 100%; object-fit: cover; transition: transform 560ms ease; }
.prod:hover .pi img { transform: scale(1.04); }
.prod .pc { padding: 14px 16px 18px; }
.prod .pc b { display: block; font-family: var(--body); font-weight: 900; font-size: .96rem; line-height: 1.35; letter-spacing: -0.01em; }
.prod .pc span { display: block; color: var(--dim); font-size: .78rem; font-weight: 700; margin-top: 4px; }
.lookbook { border: 1px solid var(--line); overflow: hidden; background: #000; }
.lookbook img { width: 100%; height: auto; display: block; }
@media (max-width: 1000px) { .prods { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.deep-dive li { border-color: var(--line-soft); padding: 0; }
.deep-dive li a { display: block; padding: 9px 14px; color: var(--muted); }
.deep-dive li:hover { border-color: var(--teal); }
.deep-dive li a:hover { color: #fff; }

/* ================= Light mode =================
   Body goes light. Chrome stays black: topbar, footer, hero and bands.
   That gives contrast rhythm rather than a flat white page. */
:root[data-theme="light"] {
  --bg: #f5f6f7;
  --panel: #ffffff;
  --panel-2: #eceef1;
  --line: rgba(2, 3, 4, 0.14);
  --line-soft: rgba(2, 3, 4, 0.08);
  --text: #0a0d10;
  --muted: rgba(10, 13, 16, 0.78);
  --dim: rgba(10, 13, 16, 0.58);
  --teal: #0b7d5e;
  --gold: #5312b8;   /* gold turns muddy on white, so UI accents go purple */
  --purple: #5312b8;
}

/* --- chrome that stays black --- */
:root[data-theme="light"] .topbar {
  background: rgba(2, 3, 4, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
:root[data-theme="light"] .nav { color: rgba(255, 255, 255, 0.62); }
:root[data-theme="light"] .nav a:hover,
:root[data-theme="light"] .nav a:focus-visible { color: #fff; }
:root[data-theme="light"] .nav a[aria-current="page"] { color: #1abc9c; }
:root[data-theme="light"] .topbar .btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
:root[data-theme="light"] .themetoggle { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: #fff; }

:root[data-theme="light"] .footer { background: #020304; border-top-color: rgba(255,255,255,.08); }
:root[data-theme="light"] .footer h4 { color: rgba(255,255,255,.46); }
:root[data-theme="light"] .footer a { color: rgba(255,255,255,.76); }
:root[data-theme="light"] .footer a:hover { color: #fff; }
:root[data-theme="light"] .footer p { color: rgba(255,255,255,.5) !important; }
:root[data-theme="light"] .footer .base { color: rgba(255,255,255,.46); border-top-color: rgba(255,255,255,.08); }

/* heroes and full-bleed bands stay dark, so photography keeps its punch */
:root[data-theme="light"] .hero,
:root[data-theme="light"] .app-hero,
:root[data-theme="light"] .hub-hero,
:root[data-theme="light"] .band { background: #020304; color: #fff; }
:root[data-theme="light"] .hero h1, :root[data-theme="light"] .app-hero h1,
:root[data-theme="light"] .hub-hero h1, :root[data-theme="light"] .band h2,
:root[data-theme="light"] .hero .lede, :root[data-theme="light"] .app-hero .lede,
:root[data-theme="light"] .hub-hero .lede, :root[data-theme="light"] .band p { color: #fff; }
:root[data-theme="light"] .hero .lede, :root[data-theme="light"] .app-hero .lede,
:root[data-theme="light"] .hub-hero .lede { color: rgba(255,255,255,.78); }
:root[data-theme="light"] .hero .eyebrow, :root[data-theme="light"] .app-hero .eyebrow,
:root[data-theme="light"] .hub-hero .eyebrow { color: rgba(255,255,255,.5); }
:root[data-theme="light"] .hero .store, :root[data-theme="light"] .app-hero .store,
:root[data-theme="light"] .hub-hero .store, :root[data-theme="light"] .band .store {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: #fff;
}
:root[data-theme="light"] .hero .btn-ghost, :root[data-theme="light"] .app-hero .btn-ghost,
:root[data-theme="light"] .hub-hero .btn-ghost, :root[data-theme="light"] .band .btn-ghost {
  border-color: rgba(255,255,255,.3); color: #fff;
}
:root[data-theme="light"] .band .outline,
:root[data-theme="light"] .hero .outline { -webkit-text-stroke-color: rgba(255,255,255,.5); }

/* the four doors keep their dark photographic treatment */
:root[data-theme="light"] .doors { border-top-color: rgba(2,3,4,.14); }
:root[data-theme="light"] .door { background: #0a0c0e; }
:root[data-theme="light"] .door .dn { color: #fff; }
:root[data-theme="light"] .door .dp { color: rgba(255,255,255,.72); }

/* --- body content that goes light --- */
:root[data-theme="light"] .brand img { filter: none; }
:root[data-theme="light"] .duo::after { background: #ffffff; opacity: .1; }
:root[data-theme="light"] .duo > img { filter: contrast(1.02) brightness(1.02); }
:root[data-theme="light"] .outline { -webkit-text-stroke: 1.5px rgba(10,13,16,.45); }
:root[data-theme="light"] .phone { border-color: #cfd4d9; box-shadow: 0 18px 44px rgba(0,0,0,.16); }
:root[data-theme="light"] .swap-pane.before { background: #f2eeee; }
:root[data-theme="light"] .lookbook, :root[data-theme="light"] .shot-hero,
:root[data-theme="light"] .prod, :root[data-theme="light"] .patchrow figure,
:root[data-theme="light"] .paper .pm, :root[data-theme="light"] .rcard .rm { background: #fff; }
:root[data-theme="light"] .cmp .n { color: rgba(10,13,16,.3); }
:root[data-theme="light"] .who-cell span, :root[data-theme="light"] .paper p,
:root[data-theme="light"] .rs-card p { color: rgba(10,13,16,.76); }
:root[data-theme="light"] .store span { color: rgba(10,13,16,.62); }
:root[data-theme="light"] .fw img { opacity: 1; }
:root[data-theme="light"] .big-num { color: rgba(10,13,16,.08); }
:root[data-theme="light"] .skip { background: #f7b613; color: #111; }

/* Theme toggle */
.themetoggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: 0 0 auto;
  border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer;
}
.themetoggle:hover { border-color: var(--teal); }
.themetoggle svg { width: 17px; height: 17px; fill: currentColor; }
.themetoggle .moon { display: none; }
:root[data-theme="light"] .themetoggle .moon { display: block; }
:root[data-theme="light"] .themetoggle .sun { display: none; }

/* --- text sitting on dark chrome always stays white, in both themes --- */
.hero .btn-ghost, .app-hero .btn-ghost, .hub-hero .btn-ghost, .band .btn-ghost,
.topbar .btn-ghost {
  border-color: rgba(255, 255, 255, 0.3); color: #fff;
}
.hero .store, .app-hero .store, .hub-hero .store, .band .store {
  background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); color: #fff;
}
.hero .store span, .app-hero .store span, .hub-hero .store span, .band .store span { color: rgba(255,255,255,.62); }
.band .pricing .line, .band .status b { color: #fff; }

/* --- light mode: anything still forcing white in body content --- */
:root[data-theme="light"] main strong[style*="#fff"],
:root[data-theme="light"] main b[style*="#fff"],
:root[data-theme="light"] main span[style*="#fff"] { color: var(--text) !important; }
:root[data-theme="light"] .hero strong[style*="#fff"],
:root[data-theme="light"] .band strong[style*="#fff"],
:root[data-theme="light"] .app-hero strong[style*="#fff"],
:root[data-theme="light"] .hub-hero strong[style*="#fff"] { color: #fff !important; }
:root[data-theme="light"] .btn-gold { color: #111; }

:root[data-theme="light"] .hero .kicker, :root[data-theme="light"] .band .kicker,
:root[data-theme="light"] .app-hero .kicker, :root[data-theme="light"] .hub-hero .kicker { color: var(--gold); }

/* ================= Light mode: tone, not white =================
   Solid blocks only. Gradients are out per brand canon. */
:root[data-theme="light"] {
  --tone-1: #ffffff;   /* cards */
  --tone-2: #eceff2;   /* cool grey band */
  --tone-3: #e7f1ed;   /* teal wash */
  --tone-4: #f4efe2;   /* warm sand */
}
/* alternate the body sections so the page has rhythm */
:root[data-theme="light"] main > section:nth-of-type(odd)  { background: var(--bg); }
:root[data-theme="light"] main > section:nth-of-type(even) { background: var(--tone-2); }
:root[data-theme="light"] main > section.hero,
:root[data-theme="light"] main > section.app-hero,
:root[data-theme="light"] main > section.hub-hero,
:root[data-theme="light"] main > section.band { background: #020304; }

/* key blocks get their own colour rather than another white card */
:root[data-theme="light"] .pricing { background: var(--tone-3); border-left-color: var(--teal); }
:root[data-theme="light"] .install { background: var(--tone-4); border-color: rgba(2,3,4,.1); }
:root[data-theme="light"] .status { background: var(--tone-4); }
:root[data-theme="light"] .swap-pane.after { background: var(--tone-3); }
:root[data-theme="light"] .swap-pane.before { background: #f3eded; }
:root[data-theme="light"] .scen article:nth-child(odd) { background: var(--tone-3); }
:root[data-theme="light"] .scen article:nth-child(even) { background: var(--tone-4); }
:root[data-theme="light"] .rooms-strip { background: var(--tone-2); }
:root[data-theme="light"] .who-row { background: var(--tone-3); }
:root[data-theme="light"] .who-cell { background: #fff; }
:root[data-theme="light"] .cmp thead th { background: var(--tone-3); }
:root[data-theme="light"] .cmp tbody tr:nth-child(even) td,
:root[data-theme="light"] .cmp tbody tr:nth-child(even) th { background: var(--tone-2); }
:root[data-theme="light"] .amb:nth-child(odd) { background: var(--tone-3); }
:root[data-theme="light"] .amb:nth-child(even) { background: var(--tone-4); }
:root[data-theme="light"] .pp:nth-child(3n+1) { background: var(--tone-3); }
:root[data-theme="light"] .pp:nth-child(3n+2) { background: var(--tone-4); }
:root[data-theme="light"] .range:nth-child(even) { background: var(--tone-3); }
:root[data-theme="light"] .ledger { background: #fff; }
:root[data-theme="light"] .ledger-out { background: var(--tone-3); }
:root[data-theme="light"] .embed { background: #0a0c0e; }
:root[data-theme="light"] .disclose-pane.held { background: var(--tone-2); }
:root[data-theme="light"] .answer { background: var(--tone-3); }
:root[data-theme="light"] .themetoggle { background: rgba(255,255,255,.08); }

/* --- Busy photography needs a heavier scrim than a clean shot does --- */
.duo.busy::after { opacity: 0.62; }
.duo.busy > img, .duo.busy > .bgimg { filter: contrast(1.02) brightness(0.6) saturate(0.72); }
:root[data-theme="light"] .hero .duo::after,
:root[data-theme="light"] .app-hero .duo::after,
:root[data-theme="light"] .hub-hero .duo::after,
:root[data-theme="light"] .band .duo::after { background: #020304; opacity: 0.34; }
:root[data-theme="light"] .duo.busy::after { background: #020304; opacity: 0.62; }
:root[data-theme="light"] .hero .duo > img, :root[data-theme="light"] .hero .duo > .bgimg,
:root[data-theme="light"] .app-hero .duo > img, :root[data-theme="light"] .app-hero .duo > .bgimg,
:root[data-theme="light"] .band .duo > img, :root[data-theme="light"] .band .duo > .bgimg {
  filter: contrast(1.05) brightness(0.82);
}

/* --- Patches sit whole inside the box, never cropped mid-word --- */


.patchrow figcaption { background: var(--panel); border-top: 1px solid var(--line); }
:root[data-theme="light"] 

/* --- The passport story is the best argument on the site, so it gets the volume --- */
.passport-loud { background: var(--panel-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.scen.loud { margin-top: 34px; }
.scen.loud article { padding: 36px 32px; }
.scen.loud h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.18; margin-bottom: 18px; }
.scen.loud p { font-size: 1.03rem; line-height: 1.6; margin-bottom: 14px; }
.scen.loud .out { border-left-width: 4px; padding-left: 18px; font-size: 1.05rem; line-height: 1.5; }
:root[data-theme="light"] .passport-loud { background: var(--tone-2); }
:root[data-theme="light"] .passport-loud .scen article { background: #fff; }
@media (max-width: 800px) { .scen.loud article { padding: 26px 22px; } }

/* Three-up card row */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px; margin-top: 26px; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

/* ================= Longform reading, inside the master shell ================= */
.wrap-read { max-width: 780px; }
.longform { padding: 56px 0 0; }
.backlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--dim); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.backlink:hover { color: var(--teal); }
.longform h1 { margin: 10px 0 18px; }
.longform .standfirst { font-size: 1.2rem; line-height: 1.55; color: var(--muted); margin: 0 0 14px; }
.longform .lfmeta { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 0; }
.lf-hero { border: 1px solid var(--line); overflow: hidden; margin: 30px 0 8px; }
.lf-hero img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.lf-body { padding-top: 30px; padding-bottom: 20px; }
.lf-body p { font-size: 1.06rem; line-height: 1.72; margin: 0 0 20px; color: var(--muted); }
.lf-body h2 { font-family: var(--body); font-weight: 900; font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.015em; text-transform: none; color: var(--text); margin: 40px 0 14px; }
.lf-body h3 { font-family: var(--body); font-weight: 900; font-size: 1.15rem; line-height: 1.3; text-transform: none; color: var(--text); margin: 30px 0 10px; }
.lf-body strong, .lf-body b { color: var(--text); font-weight: 800; }
.lf-body em { font-style: italic; }
.lf-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.lf-body ul, .lf-body ol { margin: 0 0 20px; padding-left: 22px; }
.lf-body li { font-size: 1.04rem; line-height: 1.68; margin-bottom: 10px; color: var(--muted); }
.lf-body blockquote { margin: 26px 0; padding: 20px 24px; border-left: 3px solid var(--teal); background: var(--panel); }
.lf-body blockquote p:last-child { margin: 0; }
.lf-body figure, .lf-body .inline-figure { margin: 30px 0; }
.lf-body figure img { width: 100%; display: block; border: 1px solid var(--line); }
.lf-body figcaption { margin-top: 10px; font-size: .84rem; color: var(--dim); line-height: 1.5; }
.lf-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--panel-2); padding: 2px 6px; border: 1px solid var(--line-soft); }
.lf-body pre { background: var(--panel-2); border: 1px solid var(--line); padding: 18px 20px; overflow-x: auto; margin: 0 0 22px; }
.lf-body pre code { background: none; border: 0; padding: 0; font-size: .85rem; line-height: 1.6; }
.lf-body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: .93rem; }
.lf-body th, .lf-body td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; vertical-align: top; }
.lf-body th { background: var(--panel-2); font-weight: 900; color: var(--text); }
.lf-body td { color: var(--muted); }
.lf-body .jobs { border: 1px solid var(--line); background: var(--panel); padding: 22px 24px; margin: 0 0 32px; }
.lf-body .jobs h2 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 800; }
.lf-body .jobs ul { margin: 0; }
.lf-body .jobs li { font-size: .95rem; margin-bottom: 6px; }
.lf-end { border-top: 1px solid var(--line); padding: 30px 0 64px; }
.lf-end p { color: var(--dim); font-size: .9rem; margin: 0 0 16px; }
@media (max-width: 700px) {
  .longform { padding-top: 34px; }
  .lf-body p, .lf-body li { font-size: 1rem; }
  .lf-body table { display: block; overflow-x: auto; }
}

/* The organisation ladder */
.rung { padding: 46px 0; border-top: 1px solid var(--line-soft); }
.rung-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; }
.rung-n { font-family: var(--display); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--teal); margin: 0; flex: 0 0 auto; }
.rung-head h2 { margin: 0; }
.rung-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 34px; }
.rung-l { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 0 0 10px; }
.rung-grid p { font-size: .97rem; line-height: 1.62; margin: 0; }
.rung-list { margin: 0; padding-left: 18px; }
.rung-list li { font-size: .97rem; line-height: 1.62; margin-bottom: 11px; color: var(--muted); }
@media (max-width: 950px) { .rung-grid { grid-template-columns: 1fr; gap: 24px; } .rung-n { font-size: 1.9rem; } }

/* Deep scrim, for type that has to sit on a photograph */
.duo.deep::after { opacity: 0.78; }
.duo.deep > img, .duo.deep > .bgimg { filter: contrast(1.02) brightness(0.5) saturate(0.6); }
:root[data-theme="light"] .duo.deep::after { background: #020304; opacity: 0.78; }

/* A quote given the whole band */
.quote-band { padding: 96px 0; }
.bigquote { margin: 0; max-width: 68%; }
.bigquote .d1 { color: #fff; margin: 0 0 24px; font-size: clamp(2rem, 5.2vw, 4.2rem); }
.bigquote .q-rest { color: rgba(255,255,255,.82); font-size: 1.12rem; line-height: 1.62; margin: 0 0 22px; max-width: 58ch; }
.bigquote .q-who { margin: 0; color: var(--gold); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
:root[data-theme="light"] .bigquote .d1 { color: #fff; }
:root[data-theme="light"] .bigquote .q-rest { color: rgba(255,255,255,.82); }
@media (max-width: 700px) { .quote-band { padding: 62px 0; } }

/* Programme numbers */
.statgrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px; }
.st { border: 1px solid var(--line); background: var(--panel); padding: 22px 20px; }
.st b { display: block; font-family: var(--display); font-weight: 400; font-size: 2.1rem; line-height: 1; color: var(--teal); margin-bottom: 8px; }
.st span { display: block; font-size: .86rem; line-height: 1.45; color: var(--dim); }
@media (max-width: 560px) { .statgrid { grid-template-columns: 1fr; } }

/* A hero that carries its own weight without a photograph behind it */
.app-hero.hero-black { background: #020304; }
:root[data-theme="light"] .app-hero.hero-black { background: #020304; }

/* The live PULSE strip: the headline is burnt into the card, so the card is the tile */
.pulse-cards { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 2px; margin-top: 26px; }
.pcard { display: block; overflow: hidden; border: 1px solid var(--line); background: #0a0c0e; margin: 0; }
.pcard img { width: 100%; display: block; aspect-ratio: 3/4; object-fit: cover; transition: transform .5s ease; }
.pcard:hover img { transform: scale(1.04); }
@media (max-width: 1100px) { .pulse-cards { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 620px) { .pulse-cards { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ================= UI repairs ================= */

/* The ladder inside a half-width column: rows, not crushed columns */
.split .passport { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); margin-top: 0; }
.split .passport .pp {
  flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 14px;
  min-height: 0; padding: 15px 20px; border: 0; border-bottom: 1px solid var(--line-soft); background: var(--panel);
}
.split .passport .pp:last-child { border-bottom: 0; }
.split .passport .pp .step { flex: 0 0 auto; width: 20px; }
.split .passport .pp .n { flex: 0 0 auto; min-width: 104px; }
.split .passport .pp p:last-child { flex: 1 1 160px; min-width: 0; }
@media (max-width: 900px) { .passport { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .passport { grid-template-columns: 1fr; } }

/* The top bar had no responsive rules at all, so ID fell off the end */
@media (max-width: 1220px) {
  .topbar { padding: 12px 16px; gap: 12px; }
  .nav { gap: 15px; font-size: .84rem; }
  .topbar .brand img { width: 62px; }
}
@media (max-width: 1040px) {
  .getapp .btn-ghost { display: none; }
}
@media (max-width: 880px) {
  .topbar { flex-wrap: wrap; row-gap: 8px; }
  .nav {
    order: 3; width: 100%; gap: 20px; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; padding-bottom: 2px;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
}

/* Gold stays gold where it sits on black, even in light mode */
:root[data-theme="light"] .hero .kicker,
:root[data-theme="light"] .band .kicker,
:root[data-theme="light"] .app-hero .kicker,
:root[data-theme="light"] .hub-hero .kicker,
:root[data-theme="light"] .manifesto .g,
:root[data-theme="light"] .door .dtag,
:root[data-theme="light"] .door.is-app .dg,
:root[data-theme="light"] .bigquote .q-who { color: #f7b613; }
:root[data-theme="light"] .hero .hero-rule,
:root[data-theme="light"] .app-hero .hero-rule,
:root[data-theme="light"] .door.is-app { border-top-color: #f7b613; }
:root[data-theme="light"] .hero .hero-rule,
:root[data-theme="light"] .app-hero .hero-rule { background: #f7b613; }
:root[data-theme="light"] .btn-gold { background: var(--gold); color: #fff; }
:root[data-theme="light"] .hero .btn-gold,
:root[data-theme="light"] .app-hero .btn-gold,
:root[data-theme="light"] .band .btn-gold { background: #f7b613; color: #111; }

/* Share row on an article */
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.share span { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-right: 4px; }
.sbtn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font-size: .82rem; font-weight: 800; cursor: pointer;
}
.sbtn:hover { border-color: var(--teal); color: var(--teal); }
.sbtn svg { width: 15px; height: 15px; fill: currentColor; }

/* Who holds premium: full-width rows rather than three narrow boxes */
.holders { display: flex; flex-direction: column; gap: 2px; margin-top: 22px; }
.holder { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start;
  border: 1px solid var(--line); background: var(--panel); padding: 26px 28px; }
.holder .hrole { font-family: var(--body); font-weight: 900; font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 8px; color: var(--text); }
.holder .hprice { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1; color: var(--teal); }
.holder .hprice span { display: block; font-family: var(--body); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }
.holder .hb p { margin: 0; font-size: 1rem; line-height: 1.65; }
@media (max-width: 820px) { .holder { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; } }

@media (max-width: 900px) { .bigquote { max-width: 100%; } }

/* Each partner card carries its own mark */
.pmark { border: 1px solid var(--line); background: #fff; padding: 14px 16px; margin: 0 0 18px; display: flex; align-items: center; justify-content: center; min-height: 92px; }
.pmark img { max-width: 100%; max-height: 68px; width: auto; display: block; }

/* The short, playing inside the phone frame */
.phone-video { padding: 0; overflow: hidden; }
.phone-video .r { position: relative; padding-top: 177.78%; }
.phone-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* Patches: whole image, thread and all, on the site's own dark tile */
.patchrow figure { background: #020304; border: 1px solid var(--line); overflow: hidden; }
.patchrow img {
  width: 100%; height: auto; aspect-ratio: 3/2; object-fit: contain;
  display: block; padding: 0; background: transparent;
}
:root[data-theme="light"] .patchrow figure { background: #ffffff; }

/* Full-size viewer for the framework graphics */
.lightbox {
  position: fixed; inset: 0; z-index: 90; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(2, 3, 4, 0.94);
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 88vh; width: auto; height: auto; display: block; border: 1px solid rgba(255,255,255,.14); }
.lightbox .lbclose {
  position: absolute; top: 18px; right: 18px; min-width: 48px; min-height: 48px;
  border: 1px solid rgba(255,255,255,.3); background: rgba(2,3,4,.7); color: #fff;
  font-size: 1.3rem; font-weight: 900; cursor: pointer; line-height: 1;
}
.lightbox .lbclose:hover { border-color: var(--teal); color: var(--teal); }
.lightbox .lbcap {
  position: absolute; left: 0; right: 0; bottom: 22px; text-align: center;
  font-family: var(--display); text-transform: uppercase; font-size: 1rem; color: rgba(255,255,255,.7);
}

/* Mobile cannot reach the player's own unmute, so this reloads it with sound */
.sound-on {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  min-height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.06); color: #fff; font-weight: 800;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.sound-on:hover { border-color: var(--teal); color: var(--teal); }
.sound-on[hidden] { display: none; }

/* The word itself, set like a dictionary entry */
.defn { border-left: 4px solid var(--teal); padding: 4px 0 4px 26px; margin: 6px 0 30px; }
.defn .dw { font-family: var(--display); font-weight: 400; text-transform: lowercase; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1; margin: 0 0 10px; color: var(--text); }
.defn .dp { margin: 0 0 18px; color: var(--dim); font-size: .92rem; letter-spacing: .04em; }
.defn .dd { margin: 0 0 12px; font-size: 1.2rem; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.dl { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.defn-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px; }
.defn-grid .tr { border: 1px solid var(--line); background: var(--panel); padding: 22px 24px; }
.defn-grid .tr p:first-child { margin: 0 0 12px; font-size: .98rem; line-height: 1.6; color: var(--muted); }
.heads { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px; }
.heads img { width: 100%; height: auto; display: block; border: 1px solid var(--line); background: var(--panel); }
@media (max-width: 800px) { .defn-grid { grid-template-columns: 1fr; } }
