/* ============================================================================
   Design tokens
   ========================================================================= */
:root {
  --bg: #0e0e10;
  --bg-elev: #161618;
  --bg-elev-2: #1d1d20;
  --border: #27272a;
  --border-strong: #3a3a3f;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-faint: #71717a;
  --accent: #d4a574;
  --accent-hover: #e8c19a;
  --accent-soft: rgba(212, 165, 116, 0.12);

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 100px rgba(0, 0, 0, 0.6);

  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(20px, 4vw, 48px);

  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-body: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}

/* ============================================================================
   Reset
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: var(--text); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent-hover); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
p { margin: 0; }
code { font-family: var(--font-mono); font-size: 0.9em; }

/* ============================================================================
   Layout
   ========================================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.muted { color: var(--text-muted); }
.small { font-size: 13px; }

/* ============================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 14, 16, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  /* Tighter horizontal padding than the rest of the site so the brand
     and nav sit closer to the viewport edges. */
  padding-inline: clamp(16px, 2.2vw, 28px);
}

/* Brand: clean wordmark */
.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color 0.15s ease, opacity 0.15s ease;
}
.brand:hover { color: var(--accent); }

/* Nav: pill-style links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
}
.nav-links a {
  color: var(--text-muted);
  padding: 9px 16px;
  border-radius: 999px;
  letter-spacing: -0.005em;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--bg-elev);
}
.nav-links a[aria-current='page'] {
  color: var(--text);
  background: var(--bg-elev-2);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

@media (max-width: 720px) {
  .nav { height: auto; min-height: 60px; gap: 12px; padding-block: 10px; padding-inline: 14px; flex-wrap: wrap; }
  .brand { font-size: 15px; }
  .nav-links { gap: 2px; font-size: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .nav-links a { padding: 7px 12px; }
}
@media (max-width: 420px) {
  .nav-links a { padding: 6px 10px; font-size: 11.5px; }
}

/* ============================================================================
   Shared type
   ========================================================================= */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
}
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.lead {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  max-width: 56ch;
}

/* ============================================================================
   Hero (Apple-style, centered, video background)
   ========================================================================= */
.hero {
  position: relative;
  text-align: center;
  padding-block: clamp(120px, 14vw, 200px) clamp(72px, 8vw, 120px);
  overflow: hidden;
  isolation: isolate;
  background-image: var(--hero-poster, none);
  background-size: cover;
  background-position: center top;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 600px at 50% 0%, var(--accent-soft), transparent 65%),
    linear-gradient(180deg,
      rgba(14, 14, 16, 0.45) 0%,
      rgba(14, 14, 16, 0.55) 35%,
      rgba(14, 14, 16, 0.82) 75%,
      var(--bg) 100%);
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* Top-left label crediting the background video */
.hero-credit {
  position: absolute;
  top: 26px;
  left: var(--gutter);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.9;
  pointer-events: none;
  max-width: calc(100% - var(--gutter) * 2);
}
.hero-credit-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: heroCreditPulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes heroCreditPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* Scroll-tied parallax: tagline, name, and intro fade up as you scroll. */
.hero { --p: 0; }
.hero .eyebrow,
.hero-title,
.hero .lead {
  will-change: transform, opacity;
}
.hero .eyebrow {
  transform: translateY(calc(var(--p) * -30px));
  opacity: calc(1 - var(--p) * 1.6);
}
.hero-title {
  transform: translateY(calc(var(--p) * -55px));
  opacity: calc(1 - var(--p) * 1.4);
}
.hero .lead {
  transform: translateY(calc(var(--p) * -75px));
  opacity: calc(1 - var(--p) * 1.7);
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { display: none; }
  .hero-credit-dot { animation: none; }
  .hero .eyebrow, .hero-title, .hero .lead {
    transform: none !important;
    opacity: 1 !important;
  }
}
.hero .eyebrow {
  margin-bottom: 4px;
  font-size: clamp(13px, 1.1vw, 17px);
  letter-spacing: 0.26em;
}
.hero-title {
  font-size: clamp(56px, 11vw, 144px);
  letter-spacing: -0.045em;
  line-height: 0.92;
  max-width: 14ch;
}
.hero .lead {
  margin-inline: auto;
  max-width: 78ch;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}
.cta.primary {
  background: var(--accent);
  color: #1a1208;
}
.cta.primary:hover { background: var(--accent-hover); color: #1a1208; }
.cta.ghost {
  border-color: var(--border-strong);
  color: var(--text);
}
.cta.ghost:hover { border-color: var(--accent); color: var(--accent-hover); }

/* ============================================================================
   Reel (full-width framed video right under hero)
   ========================================================================= */
.reel {
  padding-block: 0 clamp(80px, 10vw, 140px);
}
.reel-frame {
  border-radius: clamp(18px, 2vw, 28px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #000;
}
.reel-frame .video-wrapper { aspect-ratio: 16 / 9; }
.reel-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: clamp(28px, 3.5vw, 48px);
}
.placeholder-hero {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
  background: var(--bg-elev);
}
.placeholder-hero code {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 4px;
}

/* ============================================================================
   Reel chapters (under the reel: a clickable index of every chop)
   ========================================================================= */
.reel-chapters {
  padding-block: 0 clamp(80px, 10vw, 140px);
}
.chapters-head {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.chapters-head .eyebrow { display: inline-block; margin-bottom: 12px; }
.chapters-title {
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.chapter-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
  color: inherit;
  display: block;
  padding: 0;
}
.chapter-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  color: inherit;
}
.chapter-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.chapter-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
}
.chapter-card:hover .chapter-thumb img {
  transform: scale(1.05);
  filter: brightness(0.85);
}
.chapter-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(14, 14, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.18s ease, transform 0.18s ease;
}
.chapter-play svg { width: 18px; height: 18px; margin-left: 2px; }
.chapter-card:hover .chapter-play {
  background: var(--accent);
  color: #1a1208;
  border-color: transparent;
  transform: scale(1.08);
}
.chapter-time-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* "Now playing" indicator: only visible when this chapter is active */
.chapter-now-playing {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--accent);
  color: #1a1208;
  padding: 4px 8px;
  border-radius: 5px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.chapter-card.is-active .chapter-now-playing {
  opacity: 1;
  transform: translateY(0);
}

/* Active chapter: accent border, glowing shadow, accent play button */
.chapter-card.is-active {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent),
    0 12px 40px rgba(212, 165, 116, 0.18);
}
.chapter-card.is-active .chapter-play {
  background: var(--accent);
  color: #1a1208;
  border-color: transparent;
  animation: chapterPulse 2s ease-in-out infinite;
}
.chapter-card.is-active .chapter-time-badge {
  background: var(--accent);
  color: #1a1208;
  border-color: transparent;
}
@keyframes chapterPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(212, 165, 116, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .chapter-card.is-active .chapter-play { animation: none; }
}
.chapter-info { padding: 12px 14px 14px; }
.chapter-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .chapters-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .chapters-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 420px) {
  .chapters-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   Video modal (used by chapter cards)
   ========================================================================= */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 64px);
  animation: modalFade 0.18s ease;
}
@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.video-modal-frame {
  width: 100%;
  max-width: 1280px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: clamp(8px, 1vw, 16px);
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
}
.video-modal-frame iframe,
.video-modal-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-modal-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  z-index: 1;
}
.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.05);
}
.video-modal-close svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
  .video-modal-close { top: 14px; right: 14px; width: 40px; height: 40px; }
}

/* ============================================================================
   Story sections
   ========================================================================= */
.story {
  padding-block: clamp(80px, 11vw, 160px);
  text-align: center;
  position: relative;
}
.story + .story {
  border-top: 1px solid var(--border);
}
.story-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.story-title {
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 18ch;
}
.story .lead {
  margin-inline: auto;
  font-size: clamp(15px, 1.15vw, 18px);
  max-width: 56ch;
}
.story-media {
  width: 100%;
  margin-top: clamp(36px, 5vw, 64px);
  border-radius: clamp(14px, 1.6vw, 22px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #000;
}

/* ============================================================================
   Explore tiles
   ========================================================================= */
.explore {
  padding-block: clamp(80px, 11vw, 160px);
  text-align: center;
  border-top: 1px solid var(--border);
}
.explore .eyebrow { margin-bottom: 14px; display: inline-block; }
.explore-head {
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -0.04em;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}
.explore-tile {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 240px;
  color: var(--text);
  transition: all 0.2s ease;
  overflow: hidden;
}
.explore-tile::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(360px 200px at 80% 0%, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.explore-tile:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  color: var(--text);
}
.explore-tile:hover::after { opacity: 1; }
.explore-tile h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.explore-tile p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.explore-tile .arrow {
  margin-top: auto;
  align-self: flex-end;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.explore-tile:hover .arrow { transform: translateX(4px); }

@media (max-width: 900px) {
  .explore-grid { grid-template-columns: 1fr; }
  .explore-tile { min-height: 180px; }
}

/* ============================================================================
   Section heads (used on category pages)
   ========================================================================= */
section { padding-block: clamp(48px, 6vw, 88px); }
.section-head {
  margin-bottom: clamp(32px, 4vw, 56px);
  max-width: 760px;
}
.section-head h1, .section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 16px;
}

/* ============================================================================
   Card grid (category pages)
   ========================================================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.card-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}
.role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-top: 2px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.tags li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.link-button {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-weight: 500;
}
.link-button:hover { color: var(--accent-hover); }

/* ============================================================================
   Video wrapper (lite-youtube)
   ========================================================================= */
.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}
.video-wrapper.static, .video-wrapper.placeholder { cursor: default; }
.video-wrapper.placeholder {
  background: linear-gradient(135deg, #1a1a1d, #0e0e10);
  border-bottom: 1px solid var(--border);
}
.video-wrapper .thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.video-wrapper:hover .thumbnail {
  transform: scale(1.03);
  filter: brightness(0.85);
}
.play-button {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: rgba(14, 14, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.18s ease, transform 0.18s ease;
}
.play-button svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}
.video-wrapper:hover .play-button {
  background: var(--accent);
  color: #1a1208;
  border-color: transparent;
  transform: scale(1.06);
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================================
   Footer
   ========================================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding-block: clamp(56px, 6vw, 88px);
  background: var(--bg-elev);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-block h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
  font-weight: 500;
}
.footer-block p { font-size: 15px; }
.footer-block p + p { margin-top: 4px; }
.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--bg-elev-2);
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-elev);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
}
.footer-meta { text-align: right; }
.footer-meta .small { font-size: 12px; font-family: var(--font-mono); }

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-meta { text-align: left; }
}

/* ============================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ============================================================================
   Mobile (<= 720px)
   ----------------------------------------------------------------------------
   Tighten spacing, drop type sizes, collapse the card grid to one column,
   and use bigger touch targets for the nav.
   ========================================================================= */
@media (max-width: 720px) {
  body { font-size: 14px; line-height: 1.65; }

  /* Hero */
  .hero { padding-block: 96px 56px; }
  .hero-bg { display: none; }
  .hero .eyebrow { font-size: 12px; letter-spacing: 0.2em; }
  .hero-title { font-size: clamp(44px, 13vw, 72px); letter-spacing: -0.04em; }
  .hero .lead { font-size: 15px; max-width: 44ch; line-height: 1.55; }
  .hero-credit {
    top: 18px;
    font-size: 10px;
    letter-spacing: 0.1em;
    gap: 7px;
  }
  .hero-credit-dot { width: 6px; height: 6px; }
  .reel-cta { gap: 10px; }
  .cta { padding: 11px 20px; font-size: 12px; }

  /* Reel */
  .reel { padding-block: 0 56px; }
  .reel-frame { border-radius: 14px; }

  /* Story */
  .story { padding-block: 64px; }
  .story-title { font-size: clamp(30px, 8.5vw, 46px); max-width: 16ch; }
  .story .lead { font-size: 15px; }
  .story-media { margin-top: 32px; border-radius: 14px; }

  /* Explore tiles */
  .explore { padding-block: 64px; }
  .explore-head { font-size: clamp(30px, 8.5vw, 46px); margin-bottom: 32px; }
  .explore-grid { gap: 12px; }
  .explore-tile { padding: 26px 22px 22px; min-height: 150px; border-radius: 22px; }
  .explore-tile h3 { font-size: 19px; }
  .explore-tile .arrow { font-size: 20px; }

  /* Section heads on inner pages */
  section { padding-block: 56px; }
  .section-head { margin-bottom: 28px; }
  .section-head h1, .section-head h2 { font-size: clamp(30px, 8.5vw, 48px); }

  /* Card grid: collapse to single column with snug padding */
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .card { border-radius: 18px; }
  .card-body { padding: 18px 20px 22px; gap: 8px; }
  .card-title { font-size: 18px; }
  .card-desc { font-size: 13.5px; }

  /* Nav: bigger touch targets, no horizontal scroll */
  .nav { height: 56px; }
  .nav-links { gap: 14px; }
  .nav-links a { padding-block: 10px; }

  /* Footer */
  .site-footer { padding-block: 48px; }
  .footer-block p { font-size: 14px; }

  /* Play button: smaller circle */
  .play-button { width: 56px; height: 56px; }
  .play-button svg { width: 22px; height: 22px; margin-left: 3px; }
}

/* Very small phones (<= 380px): one more nudge */
@media (max-width: 380px) {
  .nav-links { gap: 10px; font-size: 11px; }
  .hero-title { font-size: 42px; }
  .story-title, .explore-head, .section-head h1, .section-head h2 { font-size: 30px; }
}
