/* ============================================================
   EXPEDITION ASTRA — styles.css
   Mobile-first · Pure CSS · No build step
   ============================================================ */


/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* --- Colours --- */
  --bg:          #05060a;
  --bg-elev:     #0c0f16;
  --bg-elev-2:   #111622;
  --fg:          #e6e8ef;
  --fg-muted:    #8a93a6;
  --accent:      #7dd3fc;   /* cold cyan — primary CTA, links, HUD highlights */
  --accent-warm: #f5a524;   /* amber — hover accents, warnings */
  --border:      #1b2030;
  --nav-bg:      rgba(5, 6, 10, 0.88);

  /* --- Typography --- */
  --font-sans: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', Consolas, monospace;

  /* Fluid type scale via clamp(min, preferred, max) */
  --text-xs:   clamp(0.65rem,  1.5vw,  0.75rem);
  --text-sm:   clamp(0.75rem,  2vw,    0.875rem);
  --text-base: clamp(0.875rem, 2.5vw,  1rem);
  --text-lg:   clamp(1rem,     3vw,    1.125rem);
  --text-xl:   clamp(1.125rem, 3.5vw,  1.375rem);
  --text-2xl:  clamp(1.375rem, 4vw,    1.875rem);
  --text-3xl:  clamp(1.875rem, 5vw,    2.75rem);
  --text-hero: clamp(2.75rem,  9vw,    6rem);

  /* --- Spacing --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* --- Layout --- */
  --max-w:    1200px;
  --nav-h:    4rem;
  --section-py: var(--space-20);
  --section-px: var(--space-6);

  /* --- Shape --- */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;

  /* --- Motion --- */
  --ease-fast: 150ms ease;
  --ease-base: 250ms ease;
}


/* ============================================================
   2. RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  /* Offset anchors so sticky header doesn't obscure the target */
  scroll-padding-top: var(--nav-h);
}

/* Respect user motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--fg);
  background-color: var(--bg);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity var(--ease-fast);
}
a:hover { opacity: 0.8; }

ul, ol { list-style: none; }


/* ============================================================
   3. SKIP LINK (accessibility)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-2) var(--space-5);
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 9999;
  transition: top var(--ease-fast);
}
.skip-link:focus { top: 0; }


/* ============================================================
   4. SITE HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--ease-base);
}

/* Blur layer via pseudo-element — keeps backdrop-filter off the
   element itself so fixed children aren't trapped in its containing block */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  border-bottom: inherit;
  transition:
    background var(--ease-base),
    backdrop-filter var(--ease-base);
  pointer-events: none;
}

/* Class added by JS on scroll */
.site-header.scrolled {
  border-color: var(--border);
}

.site-header.scrolled::before {
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  gap: var(--space-4);
}


/* ============================================================
   6. NAV TOGGLE (hamburger — mobile only)
   ============================================================ */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform var(--ease-base),
    opacity var(--ease-base);
}

/* Animated X when open */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   7. NAV MENU — mobile (full-screen overlay)
   ============================================================ */
.nav-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  padding: var(--space-10) var(--section-px);
  border-top: 1px solid var(--border);
  overflow-y: auto;
  z-index: 99;
}

.nav-menu.is-open {
  display: flex;
}

.nav-menu li {
  width: 100%;
  text-align: center;
}

.nav-menu a {
  display: block;
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: color var(--ease-fast), background var(--ease-fast);
}
.nav-menu a:hover {
  color: var(--fg);
  background: var(--bg-elev);
  opacity: 1;
}

/* Steam CTA inside mobile nav — removed from nav in M5 */


/* ============================================================
   8. NAV MENU — desktop override
   ============================================================ */
@media (min-width: 1024px) {

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    position: static;
    background: transparent;
    padding: 0;
    border: none;
    overflow: visible;
    inset: auto;
    z-index: auto;
  }

  .nav-menu li {
    width: auto;
    text-align: left;
  }

  .nav-menu a {
    font-size: var(--text-sm);
    color: var(--fg-muted);
    padding: var(--space-2) var(--space-3);
    font-weight: 500;
  }

  .nav-menu .nav-cta {
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-sm);
    margin-left: var(--space-3);
  }
}


/* ============================================================
   9. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + var(--space-10)) var(--section-px) var(--space-20);
  overflow: hidden;
}

/* --- Background layer --- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--bg);
  overflow: hidden;
}

.hero-bg picture,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Dark gradient overlay — ensures text legibility over any photo */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(ellipse at 50% -5%,  rgba(125, 211, 252, 0.10) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(5, 6, 10, 0.55) 0%, rgba(5, 6, 10, 0.75) 100%);
  pointer-events: none;
}

/* Subtle scanline texture (CSS-only, no image required) */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.045) 3px,
    rgba(0, 0, 0, 0.045) 4px
  );
  pointer-events: none;
}

/* Gradient fade at the bottom — blends hero into the next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 1;
  pointer-events: none;
}

/* --- Content --- */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  max-width: 820px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Jockey One', var(--font-mono);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.0;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* "EXPEDITION" — ~41.7% of ASTRA (250÷600 Figma ratio) */
.hero-title-top {
  display: block;
  font-size: clamp(1.75rem, 5.4vw, 3.75rem);
  letter-spacing: 0.08em;
  opacity: 0.9;
}

/* "ASTRA" — dominant anchor word */
.hero-title-bottom {
  display: block;
  font-size: clamp(4.2rem, 13vw, 9rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.hero-tagline {
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.4;
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--fg-muted);
  letter-spacing: 0.18em;
  opacity: 0.6;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-3);
}


/* ============================================================
   10. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;       /* accessible touch target */
  white-space: nowrap;
  transition:
    background var(--ease-fast),
    color var(--ease-fast),
    border-color var(--ease-fast),
    opacity var(--ease-fast);
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  opacity: 1;
}

/* Primary — filled cyan */
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #a5deff;
  border-color: #a5deff;
  color: var(--bg);
  opacity: 1;
}

/* Ghost — transparent with border */
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--fg-muted);
  color: var(--fg);
  opacity: 1;
}

/* Outlined accent variant (used for press/CTA sections in M2) */
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: rgba(125, 211, 252, 0.08);
  opacity: 1;
}


/* ============================================================
   11. SECTION UTILITIES (used in M2+)
   ============================================================ */

/* Wrapper applied to all content sections */
.section {
  padding: var(--section-py) var(--section-px);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Monospace section label ("// FEATURES") */
.section-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

/* Section heading */
.section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: var(--space-4);
}

/* Section body text */
.section-body {
  font-size: var(--text-lg);
  color: var(--fg-muted);
  max-width: 640px;
  line-height: 1.7;
}

/* Horizontal rule / section separator */
.section-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}


/* ============================================================
   12. SITE FOOTER (stub — completed in M2)
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-8) var(--section-px);
  color: var(--fg-muted);
  font-size: var(--text-sm);
  text-align: center;
}


/* ============================================================
   13. RESPONSIVE — wider breakpoints
   ============================================================ */

/* 640px — tablets portrait, larger phones */
@media (min-width: 640px) {
  :root {
    --section-px: var(--space-8);
  }
}

/* 1024px — tablets landscape, laptops (desktop nav kicks in here) */
@media (min-width: 1024px) {
  :root {
    --section-px: var(--space-12);
    --section-py: var(--space-24);
  }
}

/* 1280px — wide desktops */
@media (min-width: 1280px) {
  :root {
    --section-px: var(--space-16);
  }

  .hero-content {
    max-width: 960px;
  }
}


/* ============================================================
   14. FOCUS & ACCESSIBILITY UTILITIES
   ============================================================ */

/* Visually hidden but available to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Visible focus ring on interactive elements */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ============================================================
   15. SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger siblings inside a grid */
.screenshots-grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.screenshots-grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.screenshots-grid .reveal:nth-child(4) { transition-delay: 0.21s; }
.screenshots-grid .reveal:nth-child(5) { transition-delay: 0.28s; }
.screenshots-grid .reveal:nth-child(6) { transition-delay: 0.35s; }


/* ============================================================
   16. TRAILER SECTION
   ============================================================ */
.trailer-section {
  text-align: center;
}

.trailer-section .section-title {
  margin-bottom: var(--space-8);
}

/* Facade container — 16:9 aspect ratio */
.yt-facade {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elev);
}

.yt-facade::before {
  content: '';
  display: block;
  padding-top: 56.25%; /* 16:9 */
}

.yt-facade-thumb {
  position: absolute;
  inset: 0;
}

.yt-facade-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder shown when no thumbnail image exists yet */
.yt-facade-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elev);
  background-image:
    radial-gradient(ellipse at 50% 50%, rgba(125, 211, 252, 0.07) 0%, transparent 65%);
}

.yt-facade-placeholder-text {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--fg-muted);
  letter-spacing: 0.15em;
}

/* Dark overlay on hover */
.yt-facade::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity var(--ease-fast);
  pointer-events: none;
}
.yt-facade:hover::after,
.yt-facade:focus-visible::after {
  opacity: 1;
}

/* YouTube play button */
.yt-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: color var(--ease-fast), transform var(--ease-base);
}

.yt-facade:hover .yt-play-btn,
.yt-facade:focus-visible .yt-play-btn {
  color: #fff;
  transform: scale(1.08);
}

.yt-facade:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Loaded state: iframe fills the wrapper */
.yt-facade--loaded {
  cursor: default;
}
.yt-facade--loaded::after { display: none; }
.yt-facade--loaded .yt-play-btn { display: none; }


/* ============================================================
   17. FEATURES SECTION
   ============================================================ */
.features-manifesto {
  margin-top: var(--space-12);
  max-width: 52rem;
}

.feature-line {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 2.6vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--fg);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  cursor: default;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.feature-line:first-child {
  border-top: 1px solid var(--border);
}

/* Dim all lines when any is hovered */
.features-manifesto:hover .feature-line {
  opacity: 0.2;
}

/* Spotlight the hovered line */
.features-manifesto .feature-line:hover {
  opacity: 1;
  color: var(--fg);
}


/* ============================================================
   18. SCREENSHOTS SECTION
   ============================================================ */
.screenshots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

@media (min-width: 640px) {
  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .screenshots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.screenshot-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  aspect-ratio: 16 / 9;
  transition: border-color var(--ease-base);
}

.screenshot-item:hover {
  border-color: rgba(125, 211, 252, 0.3);
}

.screenshot-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  position: relative;
}

.screenshot-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(125, 211, 252, 0.08);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.screenshot-btn:hover::after,
.screenshot-btn:focus-visible::after {
  opacity: 1;
}

.screenshot-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.screenshot-item:hover img {
  transform: scale(1.02);
}

/* Placeholder (remove when real screenshots are added) */
.screenshot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elev);
  background-image:
    radial-gradient(ellipse at 50% 50%, rgba(125, 211, 252, 0.04) 0%, transparent 70%);
}

.screenshot-placeholder-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--border);
  letter-spacing: 0.15em;
}


/* ============================================================
   18b. LIGHTBOX
   ============================================================ */
.lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 6, 10, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img-wrap {
  max-width: min(92vw, 1280px);
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: block;
  user-select: none;
}

.lightbox-close {
  position: fixed;
  top: var(--space-5);
  right: var(--space-5);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--ease-fast), background var(--ease-fast);
  z-index: 1001;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  border-color: var(--accent);
  background: var(--bg-elev-2);
  outline: none;
}

.lightbox-close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--ease-fast), background var(--ease-fast);
  z-index: 1001;
}

.lightbox-prev { left: var(--space-5); }
.lightbox-next { right: var(--space-5); }

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  border-color: var(--accent);
  background: var(--bg-elev-2);
  outline: none;
}

.lightbox-nav svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lightbox-counter {
  position: fixed;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  color: var(--fg-muted);
}


/* ============================================================
   19. ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--bg-elev);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-body p {
  font-size: var(--text-lg);
  color: var(--fg-muted);
  line-height: 1.75;
}

.about-photo img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}


/* ============================================================
   20. PRESS SECTION
   ============================================================ */
.press-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 1024px) {
  .press-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.press-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Fact sheet */
.press-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.press-fact {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border);
}

.press-fact:last-child {
  border-bottom: none;
}

.press-fact dt {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  text-transform: uppercase;
  padding-top: 0.15em;
}

.press-fact dd {
  font-size: var(--text-sm);
  color: var(--fg);
  line-height: 1.55;
}


/* ============================================================
   21. CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--bg-elev);
}

.contact-inner {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-email {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  color: var(--accent);
  word-break: break-all;
  border-bottom: 1px solid rgba(125, 211, 252, 0.35);
  padding-bottom: var(--space-1);
  transition: border-color var(--ease-fast), color var(--ease-fast);
}

.contact-email:hover {
  color: #a5deff;
  border-color: rgba(125, 211, 252, 0.7);
  opacity: 1;
}

.contact-email-placeholder {
  margin-top: var(--space-2);
}


/* ============================================================
   22. FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-12) var(--section-px) var(--space-8);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr auto auto;
    gap: var(--space-12);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-brand img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--fg-muted);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color var(--ease-fast);
}

.footer-nav a:hover {
  color: var(--fg);
  opacity: 1;
}

.footer-legal {
  max-width: var(--max-w);
  margin: var(--space-6) auto 0;
  font-size: var(--text-xs);
  color: var(--fg-muted);
  opacity: 0.6;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  transition: color var(--ease-fast), opacity var(--ease-fast);
  opacity: 0.7;
}

.footer-social a:hover {
  color: var(--fg);
  opacity: 1;
}

.footer-social svg {
  width: 1.25rem;
  height: 1.25rem;
}


/* ============================================================
   23. ACTIVE NAV LINK
   Set by JS (aria-current="true") as the user scrolls.
   ============================================================ */
.nav-menu a.nav-link-active {
  color: var(--fg);
}

@media (min-width: 1024px) {
  .nav-menu a.nav-link-active {
    color: var(--accent);
  }
}


/* ============================================================
   24. PRINT STYLES
   Strip chrome; show URLs after links so print is useful.
   ============================================================ */
@media print {
  .site-header,
  .nav-toggle,
  .hero-actions,
  .yt-facade,
  .yt-play-btn,
  .footer-cta,
  .btn { display: none !important; }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-title { font-size: 2.5rem; }
  .hero-bg, .hero::after { display: none; }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.75em;
    color: #555;
  }

  /* Don't print the analytics placeholder comment */
  .site-footer { border: none; }
}
