/* explorads.media (EA-1419: v3 promoted to the main site; built in EA-1410, EA-1414, EA-1415, EA-1416) — shared styles for / and /ctv/.
   Static, no build step. One type family (Archivo, variable width + weight) for all headings and text,
   Geist Mono only for small labels; a heading never mixes families or styles and never ends with a period.
   Hero: full-bleed photo (PixVerse, Nano Banana Pro) with layers that slide on scroll via CSS scroll-driven
   animations; site.js adds a rAF fallback where unsupported; all motion is off under prefers-reduced-motion. */

/* Self-hosted latin subsets (SIL OFL 1.1, from Google Fonts) — no third-party request. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;

  --ink: #0a0c10;
  --ink-2: #11141a;
  --ink-3: #191d26;
  --line: #262b36;
  --line-strong: #3a404d;
  --text: #f3efe6;
  --muted: #a8adb9;
  --paper: #f3efe6;
  --paper-2: #e8e1d3;
  --on-paper: #14161b;
  --on-paper-muted: #575b65;
  --blue: #4ea8e8;
  --blue-deep: #1c6fb0;
  --amber: #ffb547;
  --red: #ff5b4a;
  --focus: #ffd38a;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  --step-1: clamp(1.125rem, 1.06rem + 0.3vw, 1.375rem);
  --step-2: clamp(1.3rem, 1.15rem + 0.7vw, 1.875rem);
  /* headline sizes are capped by viewport width so every title stays on one line (checked down to 360px) */
  --h2: clamp(1.75rem, min(7.4vw, 1.2rem + 2.6vw), 3.5rem);
  --h1: clamp(2rem, min(9.4vw, 1rem + 6vw), 6.25rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 16px;
  --section: clamp(72px, 10vw, 140px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; text-wrap: pretty; }

/* Headings: one family, one style; hierarchy by width, weight and size only. */
h1, h2, h3 {
  margin: 0;
  font-family: var(--font);
  font-style: normal;
  font-stretch: 72%;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
h3 { font-stretch: 85%; font-weight: 700; line-height: 1.12; letter-spacing: 0; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 50; padding: 10px 16px; background: var(--amber); color: var(--on-paper); font-weight: 600; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font: 600 var(--step-0)/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--amber); color: var(--on-paper); }
.btn--primary:hover { background: #ffc56e; }
.btn--ghost { border-color: rgba(243, 239, 230, .45); color: var(--text); background: rgba(10, 12, 16, .25); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--text); }
.btn--dark { background: var(--on-paper); color: var(--paper); }
.btn--dark:hover { background: #2a2e37; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- site bar ---------- */

.site-bar { position: absolute; inset: 0 0 auto; z-index: 20; }
.site-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand svg { flex: none; }
.brand, .site-nav .btn { white-space: nowrap; }
@media (max-width: 420px) { .brand small { display: none; } }
.brand small { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px); }
.site-nav a { font-size: var(--step--1); font-weight: 500; color: rgba(243, 239, 230, .78); text-decoration: none; }
.site-nav a:hover { color: var(--text); }
.site-nav .btn { min-height: 40px; padding: 8px 16px; font-size: var(--step--1); color: var(--on-paper); }
@media (max-width: 760px) { .site-nav > a:not(.btn) { display: none; } }
/* mobile menu: native <details> disclosure (works without JS, announced as an expandable button) */
.mnav { position: relative; display: none; }
.mnav__btn { display: grid; place-items: center; width: 44px; height: 40px; border: 1px solid rgba(243, 239, 230, .45); border-radius: 9px; background: rgba(10, 12, 16, .35); backdrop-filter: blur(6px); cursor: pointer; list-style: none; }
.mnav__btn::-webkit-details-marker { display: none; }
.mnav__icon, .mnav__icon::before, .mnav__icon::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.mnav__icon { position: relative; }
.mnav__icon::before, .mnav__icon::after { content: ""; position: absolute; left: 0; }
.mnav__icon::before { top: -6px; }
.mnav__icon::after { top: 6px; }
.mnav[open] .mnav__icon { background: transparent; }
.mnav[open] .mnav__icon::before { transform: translateY(6px) rotate(45deg); }
.mnav[open] .mnav__icon::after { transform: translateY(-6px) rotate(-45deg); }
.mnav__panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; display: grid; min-width: 210px; padding: 8px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--ink-2); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); }
.site-nav .mnav__panel a { display: block; padding: 12px 14px; border-radius: 8px; color: var(--text); font-size: var(--step-0); }
.site-nav .mnav__panel a:hover, .site-nav .mnav__panel a:focus-visible { background: rgba(243, 239, 230, .08); }
@media (max-width: 760px) { .mnav { display: block; } }

/* ---------- hero: full-bleed photo + sliding layers ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: min(100svh, 980px);
  display: flex;
  align-items: flex-end;
  padding-block: 140px clamp(48px, 8vw, 104px);
  background: var(--ink);
  view-timeline: --hero block;
}
.hero__media { position: absolute; inset: -4% 0 0; z-index: 0; transform-origin: 50% 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus-x, 60%) 50%; }
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 12, 16, .55) 0%, rgba(10, 12, 16, 0) 22%),
    linear-gradient(0deg, rgba(10, 12, 16, .96) 0%, rgba(10, 12, 16, .72) 30%, rgba(10, 12, 16, 0) 62%);
}
.hero__content { position: relative; z-index: 3; }
.hero h1 { margin-top: 18px; font-size: var(--h1); white-space: nowrap; }
.hero__lede { margin-top: 20px; max-width: 40rem; font-size: var(--step-1); line-height: 1.5; color: rgba(243, 239, 230, .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 36px 0 0; padding: 0; list-style: none; font-family: var(--font-mono); font-size: var(--step--1); color: rgba(243, 239, 230, .7); }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.hero .kicker { color: rgba(243, 239, 230, .8); }

/* the stage sits above the copy (layers never overlap it) so the interactive layers get the pointer; the stage itself lets clicks through */
.stage { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.layer[data-fx] { pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.layer {
  --tx: 0px; --ty: 0px; --r0: 0deg; --r1: 0deg;
  position: absolute;
  border-radius: 14px;
  transform: translate3d(0, 0, 0) rotate(var(--r0));
  will-change: transform;
}
.layer__label { position: absolute; font-family: var(--font-mono); font-size: clamp(9px, 0.78vw, 12px); letter-spacing: 0.08em; text-transform: uppercase; }
/* glass frame with LIVE + timecode, slides against the photo */
.layer--frame {
  --tx: -7vw; --ty: 16vh; --r0: -3deg; --r1: -7deg;
  top: 16%; right: 5%;
  width: 26vw; aspect-ratio: 16 / 9;
  border: 1.5px solid rgba(243, 239, 230, .6);
  background: rgba(243, 239, 230, .06);
  backdrop-filter: blur(3px);
}
.layer--frame .layer__label { top: 10px; left: 12px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.layer--frame .layer__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.layer--frame .layer__label + .layer__label { top: auto; bottom: 10px; left: auto; right: 12px; color: rgba(243, 239, 230, .75); }
.layer--frame .layer__label + .layer__label::before { display: none; }
/* amber ad-break card overlaps the frame and slides the other way */
.layer--ad {
  --tx: 12vw; --ty: -10vh; --r0: 5deg; --r1: -2deg;
  top: 27%; right: 22%;
  width: 14vw; aspect-ratio: 16 / 9;
  perspective: 700px;
}
/* the card itself is an inner element, so pointer tilt and the flip never fight the scroll-driven transform on .layer */
.ad {
  --tilt-x: 0deg; --tilt-y: 0deg; --flip: 0deg;
  position: absolute; inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: var(--ad-bg, var(--amber));
  color: var(--ad-fg, var(--on-paper));
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7);
  transform: rotateX(var(--tilt-x)) rotateY(calc(var(--tilt-y) + var(--flip)));
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), background-color .3s ease;
}
.ad::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .45), transparent 55%); opacity: 0; transition: opacity .3s ease; }
.layer--ad:hover .ad::after { opacity: 1; }
.ad.is-tilting { transition: transform .08s linear, background-color .3s ease; }
.ad.is-flip-out { transition: transform .18s ease-in; --flip: 90deg; }
.ad.is-flip-reset { transition: none; --flip: -90deg; }
.ad__art { position: absolute; inset: 0; background: var(--ad-art, radial-gradient(circle at 78% 30%, rgba(20, 22, 27, .18) 0 18%, transparent 18.5%)); }
.layer--ad .layer__label { left: 10px; bottom: 9px; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; font-weight: 600; }
@media (max-width: 860px) { .layer--ad .layer__label { left: 8px; bottom: 7px; font-size: 8.5px; letter-spacing: .03em; } }
/* broadcast test bars */
.layer--bars {
  --tx: -16vw; --ty: 12vh; --r0: 0deg; --r1: -3deg;
  top: 48%; right: 4%;
  width: 16vw; aspect-ratio: 7 / 1;
  display: flex;
  overflow: hidden;
  border-radius: 6px;
  opacity: .85;
  transition: opacity .3s ease;
}
.layer--bars span { flex: 1; background: var(--c); transition: background-color .45s ease; }
.layer--bars span:nth-child(1) { --c: #cfcfcf; } .layer--bars span:nth-child(2) { --c: #d0cb45; } .layer--bars span:nth-child(3) { --c: #45c9cb; }
.layer--bars span:nth-child(4) { --c: #4ac94d; } .layer--bars span:nth-child(5) { --c: #c64ac9; } .layer--bars span:nth-child(6) { --c: #cb4a45; } .layer--bars span:nth-child(7) { --c: #4a52cb; }
.layer--bars::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); transform: translateX(-120%); }
/* home: search pill + equaliser */
.layer--search {
  --tx: 10vw; --ty: 12vh; --r0: -2deg; --r1: 3deg;
  top: 15%; right: 6%;
  width: 30vw; aspect-ratio: 8 / 1;
  border-radius: 999px;
  background: rgba(243, 239, 230, .94);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7);
}
.layer--search .layer__label { top: 50%; left: 7%; transform: translateY(-50%); color: var(--on-paper); text-transform: none; letter-spacing: 0; white-space: nowrap; max-width: 80%; overflow: hidden; text-overflow: ellipsis; font-size: clamp(8.5px, 0.88vw, 13px); }
.layer--search::after { content: ""; position: absolute; top: 50%; right: 3%; width: 11%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: var(--blue-deep); }
.layer--eq {
  --tx: -12vw; --ty: -8vh; --r0: 0deg; --r1: -2deg;
  top: 44%; right: 7%;
  width: 13vw; aspect-ratio: 3 / 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 4%;
  border-radius: 8px;
}
.eq__bar { width: 10%; height: var(--h); border-radius: 2px 2px 0 0; background: var(--blue); transition: height .45s cubic-bezier(.2, .7, .2, 1), background-color .3s ease; }
.eq__bar--hot { background: var(--amber); }
.layer--eq.is-tracking .eq__bar { transition: height .12s ease-out; }

/* tooltip for playful metrics (bar chart) */
.fx-tip { position: absolute; left: 50%; bottom: calc(100% + 10px); padding: 6px 10px; border-radius: 6px; background: var(--paper); color: var(--on-paper); font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; white-space: nowrap; transform: translate(-50%, 6px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.fx-tip.is-on { opacity: 1; transform: translate(-50%, 0); }
/* search pill: caret while typing, spinner while "searching" */
.layer--search.is-typing .layer__label::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 2px; vertical-align: -0.15em; background: currentColor; animation: caret .9s steps(1) infinite; }
.layer--search.is-searching::after { background: conic-gradient(var(--blue-deep) 0 70%, rgba(28, 111, 176, .25) 0); animation: spin .7s linear infinite; }
@keyframes caret { 50% { opacity: 0; } }
@keyframes spin { to { transform: translateY(-50%) rotate(1turn); } }
/* live frame: static burst on channel change */
.frame__static { position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(243, 239, 230, .18) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(243, 239, 230, .1) 0 2px, transparent 2px 5px); }
.layer--frame.is-zapping .frame__static { animation: zap .35s steps(4) both; }
@keyframes zap { 0% { opacity: .9; background-position: 0 0, 0 0; } 50% { opacity: .7; background-position: 0 2px, 3px 0; } 100% { opacity: 0; background-position: 0 4px, 6px 0; } }
.layer--frame { transition: border-color .3s ease, background-color .3s ease; }

@keyframes layer-slide {
  from { transform: translate3d(0, 0, 0) rotate(var(--r0)); }
  to { transform: translate3d(var(--tx), var(--ty), 0) rotate(var(--r1)); }
}
@keyframes photo-drift {
  from { transform: translate3d(0, 0, 0) scale(1.06); }
  to { transform: translate3d(0, 14vh, 0) scale(1); }
}
@keyframes hero-drift { to { transform: translate3d(0, -6vh, 0); opacity: .3; } }

/* hover affordances: only for a real mouse, and only when motion is welcome */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .layer--frame:hover { border-color: var(--text); background-color: rgba(243, 239, 230, .12); }
  .layer--bars:hover { opacity: 1; }
  .layer--bars:hover::after { animation: shimmer 1.1s ease-in-out infinite; }
  .layer--search:hover { box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7), 0 0 0 3px rgba(78, 168, 232, .45); }
}
@keyframes shimmer { to { transform: translateX(120%); } }

/* CTA buttons: lift toward the viewer, brand glow, light sheen (mouse hover and keyboard focus alike) */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%); transform: translateX(-130%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .28s cubic-bezier(.2, .7, .2, 1), box-shadow .28s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
  .btn::after { transition: transform .75s cubic-bezier(.2, .7, .2, 1); }
  .btn:focus-visible { transform: translateY(-2px) scale(1.02); }
  .btn:focus-visible::after { transform: translateX(130%); }
  .btn:active { transform: translateY(0) scale(.98); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px) scale(1.02); }
  .btn:hover::after { transform: translateX(130%); }
}
.btn--primary:hover, .btn--primary:focus-visible { box-shadow: 0 14px 30px -12px rgba(255, 181, 71, .75), 0 0 0 1px rgba(255, 181, 71, .4); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--blue); box-shadow: 0 14px 30px -14px rgba(78, 168, 232, .7); }
.btn--dark:hover, .btn--dark:focus-visible, .lead-form__foot .btn--primary:hover, .lead-form__foot .btn--primary:focus-visible { box-shadow: 0 14px 28px -14px rgba(28, 111, 176, .8); }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .layer, .hero__media, .hero__content { animation-timeline: --hero; animation-range: exit 0% exit 100%; animation-fill-mode: both; animation-timing-function: linear; }
    .layer { animation-name: layer-slide; }
    .hero__media { animation-name: photo-drift; }
    .hero__content { animation-name: hero-drift; }
  }
  /* site.js sets --p (0..1) on .hero where scroll-driven animations are unsupported */
  .sdt-fallback .layer {
    transform: translate3d(calc(var(--tx) * var(--p, 0)), calc(var(--ty) * var(--p, 0)), 0) rotate(calc(var(--r0) + (var(--r1) - var(--r0)) * var(--p, 0)));
  }
  .sdt-fallback .hero__media { transform: translate3d(0, calc(14vh * var(--p, 0)), 0) scale(calc(1.06 - .06 * var(--p, 0))); }
}

@media (max-width: 860px) {
  .hero { min-height: min(100svh, 760px); padding-top: 290px; }
  .hero__shade { background: linear-gradient(0deg, rgba(10, 12, 16, .97) 0%, rgba(10, 12, 16, .78) 42%, rgba(10, 12, 16, .1) 75%), linear-gradient(180deg, rgba(10, 12, 16, .6) 0%, rgba(10, 12, 16, 0) 20%); }
  /* mobile: layers live in the photo band above the copy (padding-top), fixed offsets */
  .layer--frame { top: 92px; right: 6%; width: 50vw; }
  .layer--ad { top: 170px; right: 44%; width: 28vw; }
  .layer--bars { top: 236px; right: 6%; width: 30vw; }
  .layer--search { top: 100px; right: 5%; width: 72vw; }
  .layer--eq { top: 170px; right: 10%; width: 26vw; }
}

/* ---------- sections ---------- */

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--paper { background: var(--paper); color: var(--on-paper); }
.section--paper .kicker { color: var(--on-paper-muted); }
.section--paper a:not(.btn) { color: var(--on-paper); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: var(--h2); white-space: nowrap; }
.section-head p { max-width: 40rem; font-size: var(--step-1); line-height: 1.5; color: var(--muted); }
.section--paper .section-head p { color: var(--on-paper-muted); }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translate3d(0, 32px, 0); } to { opacity: 1; transform: none; } }

/* broadcast lower-third ticker (replaces the v2 stats strip): LIVE flag + a seamless news crawl */
.ticker { position: relative; display: flex; align-items: stretch; border-block: 1px solid var(--line); background: var(--ink-2); font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; }
.ticker__flag { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 0 clamp(16px, 2.4vw, 28px); background: var(--amber); color: var(--on-paper); font-weight: 600; }
.ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: #c62a1c; }
.ticker__viewport { position: relative; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.ticker__track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; }
/* no flex gap: each item carries its own trailing margin, so the two halves are equal and -50% loops seamlessly */
.ticker__item { display: inline-flex; align-items: center; gap: 14px; padding: 18px 0 18px 28px; color: var(--text); white-space: nowrap; }
.ticker__item::after { content: ""; width: 6px; height: 6px; margin-left: 14px; transform: rotate(45deg); background: var(--amber); }
.ticker__item b { font-weight: 600; color: var(--amber); }
@keyframes ticker { to { transform: translate3d(-50%, 0, 0); } }
@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: ticker 46s linear infinite; }
  .ticker:hover .ticker__track { animation-play-state: paused; }
  .ticker__dot { animation: live-pulse 1.6s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__viewport { -webkit-mask-image: none; mask-image: none; }
  .ticker__track { flex-wrap: wrap; width: auto; }
  .ticker__track [aria-hidden="true"] { display: none; }
}
.ticker__toggle { flex: none; padding: 0 clamp(14px, 2vw, 24px); border: 0; border-left: 1px solid var(--line); background: none; color: var(--muted); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.ticker__toggle:hover { color: var(--text); }
.ticker__toggle[aria-pressed="true"] { color: var(--on-paper); background: var(--amber); }
.ticker.is-paused .ticker__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ticker__toggle { display: none; } }
@media (max-width: 560px) { .ticker__flag { padding: 0 12px; } .ticker__item { padding-block: 14px; } }

/* editorial split (body column + facts) */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.editorial__lead { font-size: var(--step-2); line-height: 1.4; color: var(--text); font-weight: 500; }
.facts { margin: 0; display: grid; }
.facts div { display: grid; grid-template-columns: 3.2rem 1fr; gap: 6px 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.facts dt { grid-column: 2; font-weight: 700; font-size: var(--step-1); line-height: 1.3; }
.facts dd { grid-column: 2; margin: 0; color: var(--muted); }
.facts div::before { content: attr(data-n); grid-row: 1 / span 2; font-family: var(--font-mono); font-size: var(--step--1); color: var(--amber); padding-top: 4px; }
@media (max-width: 860px) { .editorial { grid-template-columns: 1fr; } }

/* two sides of the screen */
.sides { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--on-paper); }
.side { padding: clamp(28px, 4vw, 48px) clamp(0px, 3vw, 40px) 0 0; }
.side + .side { border-left: 1px solid rgba(20, 22, 27, .2); padding-left: clamp(20px, 3vw, 40px); padding-right: 0; }
.side h3 { font-size: var(--step-2); }
.side ol { margin: 24px 0 32px; padding: 0; list-style: none; counter-reset: side; }
.side li { counter-increment: side; display: grid; grid-template-columns: 2.6rem 1fr; padding: 16px 0; border-top: 1px solid rgba(20, 22, 27, .14); color: var(--on-paper-muted); }
.side li::before { content: counter(side, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--step--1); color: var(--on-paper); padding-top: 3px; }
.side li strong { color: var(--on-paper); font-weight: 700; }
@media (max-width: 860px) {
  .sides { grid-template-columns: 1fr; }
  .side { padding-right: 0; }
  .side + .side { border-left: 0; border-top: 1px solid rgba(20, 22, 27, .2); padding-left: 0; margin-top: 40px; }
}

/* programme guide (EPG) rows */
.guide { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.guide__row { position: relative; display: grid; grid-template-columns: 6rem minmax(0, 1.25fr) minmax(0, 1.6fr) 10rem; gap: 8px 32px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.guide__row::after { content: ""; position: absolute; left: 0; bottom: -1px; width: var(--progress, 30%); height: 2px; background: var(--amber); transform-origin: left; transform: scaleX(0); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.guide__row:hover::after, .guide__row:focus-within::after { transform: scaleX(1); }
.guide__ch { font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); letter-spacing: 0.06em; }
.guide__title { font-size: var(--step-2); }
.guide__title a { text-decoration: none; }
.guide__title a::after { content: ""; position: absolute; inset: 0; }
.guide__title a:hover { color: var(--amber); }
.guide__desc { color: var(--muted); }
.guide__tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag { display: inline-block; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 6px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tag--new { border-color: var(--amber); color: var(--amber); }
@media (max-width: 860px) {
  .guide__row { grid-template-columns: 4.5rem 1fr; }
  .guide__desc, .guide__tags { grid-column: 2; }
  .guide__tags { justify-content: flex-start; }
}

/* full-bleed photo band (home -> ExplorTV) */
.band { position: relative; isolation: isolate; overflow: clip; min-height: clamp(460px, 62vw, 720px); display: flex; align-items: flex-end; padding-block: clamp(48px, 7vw, 96px); }
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 12, 16, .95) 0%, rgba(10, 12, 16, .6) 38%, rgba(10, 12, 16, .05) 70%); }
.band h2 { margin-top: 16px; font-size: var(--h2); white-space: nowrap; }
.band p { margin-top: 16px; max-width: 38rem; font-size: var(--step-1); line-height: 1.5; color: rgba(243, 239, 230, .86); }
.band .btn { margin-top: 28px; }

/* principles (typographic band) */
.principles { margin: 0; padding: 0; list-style: none; }
.principles li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding: 26px 0; border-top: 1px solid rgba(20, 22, 27, .2); }
.principles li:last-child { border-bottom: 1px solid rgba(20, 22, 27, .2); }
.principles h3 { flex: 1 1 16rem; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 3rem); font-stretch: 72%; font-weight: 800; line-height: 1; }
.principles p { flex: 1 1 18rem; max-width: 26rem; color: var(--on-paper-muted); }

/* partner logo marquee: two rows, opposite directions, seamless; grayscale -> colour on hover */
.logos { overflow: clip; }
.marquee { display: grid; gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(28px, 4vw, 48px); }
.marquee__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
/* no flex gap: each chip carries its own trailing margin, so the track is exactly two equal halves and -50% is seamless */
.marquee__track { display: flex; width: max-content; margin: 0; padding: 4px 0; list-style: none; }
.logo-chip {
  display: grid;
  place-items: center;
  width: clamp(150px, 16vw, 220px);
  height: clamp(76px, 7.4vw, 104px);
  margin-inline-end: clamp(12px, 1.6vw, 20px);
  padding: 18px 26px;
  border: 1px solid rgba(20, 22, 27, .1);
  border-radius: 14px;
  background: #fffdf8;
  box-shadow: 0 1px 0 rgba(20, 22, 27, .04);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.logo-chip img { width: auto; max-width: 100%; max-height: var(--h, 40px); filter: grayscale(1) contrast(1.05); opacity: .62; transition: filter .45s ease, opacity .45s ease; }
.logo-chip:hover { transform: translateY(-3px); border-color: rgba(20, 22, 27, .2); box-shadow: 0 14px 30px -18px rgba(20, 22, 27, .45); }
.logo-chip:hover img { filter: grayscale(0); opacity: 1; }
.marquee-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 14px; border: 1px solid currentColor; border-radius: 8px; background: none; color: inherit; font: 500 var(--step--1)/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; opacity: .75; }
.marquee-toggle:hover { opacity: 1; }
.marquee-toggle[aria-pressed="true"] { opacity: 1; background: rgba(255, 181, 71, .22); border-color: var(--amber); }
.logos__note { margin-top: clamp(24px, 3vw, 36px); max-width: 46rem; color: var(--muted); }
.logos__note strong { color: var(--text); font-weight: 700; }
.section--paper .logos__note { color: var(--on-paper-muted); }
.section--paper .logos__note strong { color: var(--on-paper); }

@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee var(--speed, 38s) linear infinite; }
  .marquee__row--reverse .marquee__track { animation-direction: reverse; }
  .marquee__row:hover .marquee__track, .marquee__row:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
  /* entrance: rows glide in from opposite sides when the band scrolls into view (class set by site.js) */
  .js .marquee__row { opacity: 0; transform: translate3d(-6%, 0, 0); transition: opacity .9s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
  .js .marquee__row--reverse { transform: translate3d(6%, 0, 0); transition-delay: .12s; }
  .js .marquee.is-in .marquee__row { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  /* static colour grid */
  .marquee__row { -webkit-mask-image: none; mask-image: none; }
  .marquee__row--reverse, .marquee__track [aria-hidden="true"] { display: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; }
  .logo-chip img { filter: none; opacity: 1; }
  .marquee-toggle { display: none; }
}

/* how it works — scroll-story: a sticky photo crossfades between the steps while their texts scroll past;
   a thin rail fills with progress (site.js sets --story-p and .is-active); stacked photo + text on mobile */
.story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.story__stage { position: sticky; top: max(96px, calc(50vh - 20vw)); }
.story__media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.story__media picture, .story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__media picture { opacity: 0; transform: scale(1.04); transition: opacity .7s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.story__media picture.is-active { opacity: 1; transform: none; }
.story__label { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 7px 10px; border-radius: 6px; background: rgba(10, 12, 16, .76); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.story__steps { position: relative; margin: 0; padding: 0 0 0 32px; list-style: none; }
.story__steps::before, .story__steps::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); }
.story__steps::after { transform-origin: top; transform: scaleY(var(--story-p, 0)); background: linear-gradient(180deg, var(--amber), var(--blue)); }
.story__step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; transition: opacity .4s ease; }
.js .story__step { opacity: .55; }
.js .story__step.is-active { opacity: 1; }
.story__step .kicker { color: var(--amber); }
.story__step h3 { margin-top: 12px; font-size: var(--step-2); }
.story__step p { margin-top: 12px; color: var(--muted); max-width: 30rem; }
.story__photo { display: none; }
/* without JS the sticky stage cannot follow the scroll: show every step's own photo instead */
html:not(.js) .story__stage { display: none; }
html:not(.js) .story__photo { display: block; margin: 0 0 18px; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
html:not(.js) .story { grid-template-columns: minmax(0, 40rem); }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story__stage { display: none; }
  .story__steps { padding-left: 22px; }
  .js .story__step, .story__step { min-height: 0; opacity: 1; padding-block: 0 44px; }
  .story__photo { display: block; margin: 0 0 18px; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
  .story__photo img { width: 100%; height: 100%; object-fit: cover; }
}
@media (prefers-reduced-motion: reduce) { .story__media picture { transition: none; transform: none; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: var(--step-1); font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 46rem; color: var(--muted); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- lead form ---------- */

.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: var(--h2); white-space: nowrap; }
.contact__intro p { margin-top: 18px; font-size: var(--step-1); line-height: 1.5; color: var(--on-paper-muted); }
.contact__intro ul { margin: 28px 0 0; padding: 0; list-style: none; }
.contact__intro li { padding: 14px 0; border-top: 1px solid rgba(20, 22, 27, .16); font-family: var(--font-mono); font-size: var(--step--1); color: var(--on-paper); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: clamp(20px, 4vw, 40px); border-radius: calc(var(--radius) + 4px); background: #fffdf8; box-shadow: 0 1px 0 rgba(20, 22, 27, .06), 0 30px 60px -40px rgba(20, 22, 27, .45); color: var(--on-paper); }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--step--1); font-weight: 600; }
.field .opt { font-weight: 400; color: var(--on-paper-muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #b9b3a6; border-radius: 10px; background: #fff; color: var(--on-paper); font: 400 1rem/1.4 var(--font); transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314161b' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 38px; }
.field input::placeholder, .field textarea::placeholder { color: #6f727b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(28, 111, 176, .25); }
.field [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .14); }
.field__error { font-size: var(--step--1); color: #b3261e; }
.field__error:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.lead-form__foot .btn--primary { background: var(--on-paper); color: var(--paper); }
.lead-form__foot .btn--primary:hover { background: #2a2e37; }
.lead-form__note { flex: 1 1 14rem; font-size: var(--step--1); color: var(--on-paper-muted); }
.lead-form__status { grid-column: 1 / -1; font-weight: 600; }
.lead-form__status:empty { display: none; }
.lead-form__status[data-kind="error"] { color: #b3261e; }
.lead-form__done { padding: clamp(28px, 5vw, 48px); border-radius: calc(var(--radius) + 4px); background: #fffdf8; color: var(--on-paper); }
.lead-form__done h3 { font-size: var(--step-2); }
.lead-form__done p { margin-top: 12px; color: var(--on-paper-muted); }
@media (max-width: 560px) { .lead-form { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.site-footer { padding-block: 64px 40px; border-top: 1px solid var(--line); background: var(--ink); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer p, .site-footer li { color: var(--muted); font-size: var(--step--1); }
.site-footer p + p { margin-top: 8px; }
.site-footer h2 { margin-bottom: 14px; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .reveal, .layer, .hero__media, .hero__content { animation: none !important; opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; }
}
