/* =====================================================================
   EpiPTV — Styles
   Light, Apple-style aesthetic (white dominant, brand orange as accent).
   References tokens.css only (no raw hex). Device mockups keep dark screens.
   ===================================================================== */

@import url("tokens.css");

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-snug);
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link for keyboard/AT users */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  background: var(--brand-orange);
  color: var(--white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: var(--fw-semibold);
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--space-4); }

/* ---- Layout helpers ------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--narrow { max-width: var(--container-narrow); }

.section {
  padding-block: var(--section-pad-y);
  position: relative;
}
/* Section backgrounds alternate white / soft grey (class names kept) */
.section--ink   { background: var(--page); }
.section--ink-2 { background: var(--page-soft); }
.section--light { background: var(--page-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: var(--space-5, var(--space-4));
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.section-head { max-width: 720px; margin-inline: auto; text-align: center; }
.section-head .eyebrow::before { display: none; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head .lead {
  margin-top: var(--space-4);
  font-size: var(--fs-lead);
  color: var(--text-dim);
  font-weight: var(--fw-regular);
  text-wrap: pretty;
}

.text-brand { color: var(--brand-orange); }

/* ---- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85em 1.6em;
  border: 0;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand-orange); color: var(--white); box-shadow: var(--shadow-btn); }
.btn--primary:hover { background: var(--brand-orange-hover); box-shadow: var(--shadow-glow); }
.btn--primary:active { background: var(--brand-orange-press); }

.btn--ghost {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: rgba(0, 0, 0, 0.07); }

.btn--sm { padding: 0.55em 1.1em; font-size: var(--fs-small); }
.btn--lg { padding: 1em 2em; font-size: var(--fs-lead); }

/* ---- Navigation ----------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-nav); }

.nav__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-tight);
  font-size: 1.1rem;
  color: var(--text);
}
.brand__mark { width: 30px; height: 30px; border-radius: 7px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav__links a {
  font-size: var(--fs-small);
  color: var(--text-dim);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav__links a:hover { color: var(--text); }

.nav__actions { display: flex; align-items: center; gap: var(--space-3); }

/* CTA inside the link list is for the mobile menu only — hidden on desktop */
.nav__cta-li { display: none; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  background: none; border: 0; cursor: pointer;
  color: var(--text);
  padding: 8px;
}
.nav__toggle svg { width: 100%; height: 100%; }

/* ---- Hero ----------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + var(--space-24));
  padding-bottom: var(--space-24);
  text-align: center;
  overflow: hidden;
  background: var(--page);
}
.hero__glow {
  position: absolute;
  top: -25%;
  left: 50%;
  width: min(1100px, 130vw);
  height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 108, 16, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4em 0.95em;
  border-radius: var(--radius-pill);
  background: rgba(255, 108, 16, 0.10);
  border: 1px solid rgba(255, 108, 16, 0.28);
  color: var(--brand-orange-press);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-6);
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 0 rgba(255, 108, 16, 0.6);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 108, 16, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(255, 108, 16, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 108, 16, 0); }
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  line-height: var(--lh-hero);
  letter-spacing: var(--tracking-hero);
  max-width: 15ch;
  margin-inline: auto;
}
.hero__sub {
  margin: var(--space-6) auto 0;
  max-width: 46ch;
  font-size: var(--fs-lead);
  color: var(--text-dim);
  text-wrap: pretty;
}
.hero__cta {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}
.hero__note {
  margin-top: var(--space-4);
  font-size: var(--fs-small);
  color: var(--text-faint);
}
.hero__device { margin-top: var(--space-16); position: relative; }

/* Beta opt-in under the final CTA. Deliberately quiet: the App Store is the
   headline action, and TestFlight is for the handful who want early builds. */
.cta-band__beta {
  margin-top: var(--space-6);
  font-size: var(--fs-small);
  color: var(--text-faint);
}
.cta-band__beta .btn { margin-left: var(--space-2); vertical-align: middle; }
.hero__device::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6%;
  transform: translateX(-50%);
  width: min(640px, 88%);
  height: 62%;
  background: radial-gradient(58% 60% at 50% 55%, rgba(255, 108, 16, 0.11), transparent 72%);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}

/* ---- Device mockups (dark screens on light page) -------------------- */
.device {
  --bezel: var(--device-bezel);
  position: relative;
  margin-inline: auto;
  background: var(--bezel);
  border: 1px solid rgba(0, 0, 0, 0.14);
  box-shadow: var(--shadow-device);
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}
/* Gentle lift when a gallery device is hovered */
.scroller figure:hover .device {
  transform: translateY(-6px);
  box-shadow:
    0 4px 10px rgba(20, 24, 52, 0.08),
    0 26px 56px rgba(20, 24, 52, 0.18),
    0 56px 110px rgba(20, 24, 52, 0.14);
}
.device__screen {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  width: 100%;
  height: 100%;
}
.device__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-2);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-on-dark-faint);
}

/* Real app screenshot inside a device frame */
.device__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* iPhone */
.device--phone {
  width: 300px;
  max-width: 78vw;
  aspect-ratio: 300 / 620;
  border-radius: 44px;
  padding: 12px;
}
.device--phone .device__screen { border-radius: 32px; }

/* iPad in landscape (real screenshots) */
.device--tablet {
  width: 760px;
  max-width: 92vw;
  aspect-ratio: 2000 / 1390;
  border-radius: 28px;
  padding: 14px;
}
.device--tablet .device__screen { border-radius: 14px; }

/* Apple TV frame (16:9)
   A bare 16:9 rounded rectangle doesn't read as a television — unlike the phone,
   the shape alone has no referent. What sells it is the silhouette: a thin even
   bezel, a slightly deeper chin, and a pedestal stand resting on a surface.
   (Deliberately no speaker grilles: modern sets hide their drivers, and visible
   ones read as retro.) */
.device--tv {
  --tv-neck-h: 22px;
  --tv-surface-h: 14px;

  width: 640px;
  max-width: 92vw;
  border-radius: 12px;
  /* Deeper bottom padding is the chin. */
  padding: 9px 9px 22px;
  /* The stand and surface are absolutely positioned, so the caption below needs
     to be pushed clear of them explicitly. */
  margin-bottom: calc(var(--tv-neck-h) + var(--tv-surface-h) + var(--space-5));
}
/* Aspect ratio moves to the screen so the chin can add height without
   squashing the 16:9 shot. */
.device--tv .device__screen {
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
}

/* Pedestal neck */
.device--tv::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  /* Narrow enough to read as a pedestal rather than a plinth. */
  width: 12%;
  height: var(--tv-neck-h);
  background: linear-gradient(90deg, #17181c, #303138 35%, #2a2b31 65%, #15161a);
  border-radius: 0 0 4px 4px;
}

/* The base each set stands on. Narrower than the screen above it, so the sets
   read as separate pieces with air between them rather than one long shelf. */
.device--tv::after {
  content: "";
  position: absolute;
  top: calc(100% + var(--tv-neck-h));
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: var(--tv-surface-h);
  /* Lighter and a touch warmer than the TV body — at near-black the shelf just
     merged into the set above it and read as one dark mass. */
  background: linear-gradient(180deg, #55565f 0%, #3b3c45 40%, #2b2c33 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1px;
  box-shadow: 0 14px 26px rgba(20, 24, 52, 0.20);
}

/* The gallery lift would carry the stand and the shared surface with it,
   breaking the surface away from its neighbours. Sets get a shadow-only hover. */
.scroller figure:hover .device--tv { transform: none; }

/* ---- Platforms strip ------------------------------------------------ */
.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-12);
}
.platform {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  min-width: 180px;
}
.platform svg { width: 26px; height: 26px; color: var(--text); flex-shrink: 0; }
.platform__name { font-weight: var(--fw-semibold); }
.platform__status { font-size: var(--fs-small); color: var(--text-dim); }
.platform--soon { opacity: 0.72; box-shadow: none; background: transparent; }
.platform--soon .platform__status { color: var(--brand-orange-press); }

/* ---- Feature grid --------------------------------------------------- */
.features {
  margin-top: var(--space-16);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
}
.feature {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--card-soft);
  border: 1px solid var(--line);
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--line-strong);
}
.feature__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-6);
  color: var(--white);
  background: var(--grad-brand);
  box-shadow: 0 6px 16px rgba(255, 108, 16, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.feature__icon--live { box-shadow: 0 6px 16px rgba(247, 63, 63, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.feature__icon--movies { box-shadow: 0 6px 16px rgba(176, 32, 118, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.feature__icon--series { box-shadow: 0 6px 16px rgba(89, 116, 255, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.feature__icon--guide { box-shadow: 0 6px 16px rgba(4, 123, 233, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.feature__icon svg { width: 25px; height: 25px; }
.feature__icon--live { background: var(--grad-live); }
.feature__icon--movies { background: var(--grad-movies); }
.feature__icon--series { background: var(--grad-series); }
.feature__icon--guide { background: var(--grad-guide); }
.feature h3 { font-size: var(--fs-h3); margin-bottom: var(--space-2); }
.feature p { color: var(--text-dim); font-size: var(--fs-body); }

/* ---- "And so much more" compact grid -------------------------------- */
.more-grid {
  margin-top: var(--space-12);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}
.more {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--card-soft);
}
.more__icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: var(--brand-orange);
  background: rgba(255, 108, 16, 0.10);
}
.more__icon svg { width: 18px; height: 18px; }
.more h3 { font-size: 1.0625rem; margin-bottom: 2px; }
.more p { font-size: var(--fs-small); color: var(--text-dim); line-height: 1.45; }

/* ---- Spotlight (two-column, alternating) ---------------------------- */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
}
.spotlight--reverse .spotlight__media { order: -1; }
.spotlight__body h2 { font-size: var(--fs-h2); }
.spotlight__body .lead {
  margin-top: var(--space-4);
  font-size: var(--fs-lead);
  color: var(--text-dim);
}
.spotlight__list { margin-top: var(--space-6); display: grid; gap: var(--space-3); }
.spotlight__list li {
  display: flex; gap: var(--space-3); align-items: flex-start;
  font-size: var(--fs-body);
  color: var(--text);
}
.spotlight__list .tick {
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-orange); color: var(--white);
  margin-top: 2px;
}
.spotlight__list .tick svg { width: 13px; height: 13px; }
.spotlight__media { display: flex; justify-content: center; }

/* ---- Accessibility band -------------------------------------------- */
.a11y-grid {
  margin-top: var(--space-12);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  text-align: center;
}
.a11y {
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--card-soft);
  border: 1px solid var(--line);
}
.a11y__icon {
  width: 56px; height: 56px; margin: 0 auto var(--space-4);
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 108, 16, 0.12);
  color: var(--brand-orange);
}
.a11y__icon svg { width: 28px; height: 28px; }
.a11y h3 { font-size: var(--fs-h3); margin-bottom: var(--space-2); }
.a11y p { color: var(--text-dim); font-size: var(--fs-small); }

/* ---- Subscription band --------------------------------------------- */
.subs { text-align: center; }
.subs__badges {
  margin-top: var(--space-8);
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3);
}
.chip {
  padding: 0.6em 1.2em;
  border-radius: var(--radius-pill);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  font-weight: var(--fw-medium);
  font-size: var(--fs-small);
}
.chip--soon { opacity: 0.85; box-shadow: none; background: transparent; }
.chip--soon strong { color: var(--brand-orange-press); }

/* ---- Final CTA ------------------------------------------------------ */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band__glow {
  position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 50% 0%, rgba(255, 108, 16, 0.10), transparent 70%);
  pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: var(--fs-h2); max-width: 16ch; margin-inline: auto; }
.cta-band .lead { margin: var(--space-4) auto 0; max-width: 46ch; color: var(--text-dim); font-size: var(--fs-lead); }
.cta-band__actions { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }

/* ---- Footer --------------------------------------------------------- */
.footer {
  background: var(--page-soft);
  border-top: 1px solid var(--line);
  padding-block: var(--space-16) var(--space-8);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--line);
}
.footer__brand { max-width: 320px; }
.footer__brand p { margin-top: var(--space-3); color: var(--text-dim); font-size: var(--fs-small); }
.footer__cols { display: flex; flex-wrap: wrap; gap: var(--space-16); }
.footer__col h4 {
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--text-faint);
  margin-bottom: var(--space-4);
}
.footer__col a {
  display: block;
  color: var(--text-dim);
  font-size: var(--fs-small);
  padding-block: var(--space-1);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  padding-top: var(--space-8);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4);
  font-size: var(--fs-small);
  color: var(--text-faint);
}

/* ---- Legal / support content pages --------------------------------- */
.doc {
  padding-top: calc(var(--nav-h) + var(--space-16));
  padding-bottom: var(--space-24);
}
.doc h1 { font-size: var(--fs-h2); margin-bottom: var(--space-2); }
.doc__meta { color: var(--text-faint); font-size: var(--fs-small); margin-bottom: var(--space-12); }
.doc h2 { font-size: var(--fs-h3); margin-top: var(--space-12); margin-bottom: var(--space-4); }
.doc p, .doc li { color: var(--text-dim); }
.doc p { margin-bottom: var(--space-4); }
.doc ul { display: grid; gap: var(--space-2); margin-bottom: var(--space-4); padding-left: var(--space-6); list-style: disc; }
.doc a { color: var(--brand-orange-press); text-decoration: underline; text-underline-offset: 3px; }
.doc .note {
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  background: rgba(255, 108, 16, 0.07);
  border: 1px solid rgba(255, 108, 16, 0.25);
  color: var(--text);
  margin-bottom: var(--space-8);
  font-size: var(--fs-small);
}
.faq { margin-top: var(--space-8); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: var(--space-6) 0;
}
.faq summary {
  cursor: pointer;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-h3);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: var(--fw-regular);
  font-size: 1.6em;
  color: var(--brand-orange);
  transition: transform var(--dur-fast) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: var(--space-4); margin-bottom: 0; }

/* ---- Screenshot galleries (edge-to-edge horizontal scroll) --------- */
.scroller {
  margin-top: var(--space-12);
  display: flex;
  gap: var(--space-8);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-block: var(--space-4);
  /* bleed to the viewport edges, but start aligned with the container */
  padding-inline: max(var(--space-6), calc((100vw - var(--container-max)) / 2 + var(--space-6)));
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: center; flex: 0 0 auto; }
.scroller figure { margin: 0; }
/* Fade the leading/trailing edges so content reads as continuing off-screen */
@media (min-width: 861px) {
  .scroller {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  }
}

.shot-caption {
  margin-top: var(--space-5, var(--space-4));
  text-align: center;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
  color: var(--text);
}
.scroll-hint {
  margin-top: var(--space-6);
  text-align: center;
  font-size: var(--fs-small);
  color: var(--text-faint);
}
.scroll-hint span { color: var(--brand-orange); }

/* ---- Scroll reveal -------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Responsive ----------------------------------------------------- */
@media (max-width: 860px) {
  .spotlight { grid-template-columns: 1fr; text-align: center; }
  .spotlight--reverse .spotlight__media { order: 0; }
  .spotlight__media { margin-top: var(--space-8); }
  .spotlight__list li { text-align: left; }

  .footer__top { flex-direction: column; }
  .footer__cols { gap: var(--space-8); }
}

@media (max-width: 720px) {
  .nav__links,
  .nav__actions .btn { display: none; }
  .nav__toggle { display: block; }

  .nav__links.is-open {
    display: flex;
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: var(--space-4) var(--space-6) var(--space-8);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-nav);
  }
  .nav__links.is-open a:not(.btn) {
    padding: var(--space-4) 0;
    font-size: var(--fs-lead);
    border-bottom: 1px solid var(--line);
  }
  .nav__links.is-open .nav__cta-li { display: block; }
  .nav__links.is-open .btn {
    display: inline-flex;
    margin-top: var(--space-4);
    align-self: flex-start;
  }
}

/* ---- Reduced motion ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
