@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* ─── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:       #ffffff;
  --off-white:   #f2f2ef;
  --light-grey:  #e8e8e4;
  --mid-grey:    #b0b0a8;
  --text-grey:   #6b6b64;
  --dark:        #1a1a18;
  --black:       #0d0d0b;
  --ember:       #e8540a;

  --font-sans: 'DM Sans', sans-serif;
  --font-serif: 'DM Serif Display', serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.6;
}

/* ─── Top bar ────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--light-grey);
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-logo {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 8px;
  display: flex;
  align-items: center;
}
.topbar-wordmark {
  height: 28px;
  width: auto;
  display: block;
}

/* thumbnail strip */
.thumb-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  padding: 2px 0;
  justify-content: flex-end;
}
.thumb-strip::-webkit-scrollbar { display: none; }

.thumb-card {
  flex-shrink: 0;
  width: 100px;
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: block;
}
.thumb-card:hover {
  border-color: var(--mid-grey);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.thumb-card.active {
  border-color: var(--black);
}
.thumb-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}
.thumb-card-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-grey);
  padding: 5px 7px 6px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Hero ───────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.hero-visual {
  background: #dde8e0;
  overflow: hidden;
  position: relative;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Infographic variant — padded, centered, clickable */
.hero-visual--infographic {
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-in;
}
.hero-visual--infographic img {
  width: 100%;
  max-width: 88%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-visual--infographic:hover img {
  transform: scale(1.02);
  box-shadow: 0 8px 36px rgba(0,0,0,0.16);
}
.zoom-hint {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.hero-visual--infographic:hover .zoom-hint {
  opacity: 1;
}

/* ─── Lightbox ───────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  transform: scale(0.94);
  transition: transform 0.22s ease;
}
.lightbox.open img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
  transition: color 0.15s;
}
.lightbox-close:hover { color: #fff; }



.hero-content {
  background: var(--white);
  padding: 52px 52px 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-grey);
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-grey);
  margin-bottom: 20px;
}

.hero-body {
  font-size: 13.5px;
  line-height: 1.72;
  color: #3a3a34;
  margin-bottom: 28px;
  max-width: 400px;
}

/* ─── Custom Audio Player ────────────────────── */
.audio-player {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 380px;
}

.audio-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.audio-play-btn:hover { background: var(--ember); }
.audio-play-btn svg { width: 12px; height: 12px; }

.audio-track {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.audio-progress-bar {
  position: relative;
  height: 2px;
  background: var(--light-grey);
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
}
.audio-progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--black);
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 2px;
}

.audio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.audio-label-text {
  font-size: 10px;
  color: var(--text-grey);
  letter-spacing: 0.04em;
}
.audio-time {
  font-size: 10px;
  color: var(--mid-grey);
  font-variant-numeric: tabular-nums;
}

/* ─── Dark Band ──────────────────────────────── */
.dark-band {
  background: var(--black);
  color: var(--white);
  padding: 72px 48px;
  text-align: center;
}
.dark-band .band-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 18px;
  display: block;
}
.dark-band h2 {
  font-family: var(--font-sans);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.dark-band p {
  font-size: 14px;
  line-height: 1.78;
  color: rgba(255,255,255,0.55);
  max-width: 580px;
  margin: 0 auto;
}

/* ─── Feature Cards Section ──────────────────── */
.features-section {
  background: var(--off-white);
  padding: 64px 48px;
}
.features-header {
  margin-bottom: 36px;
}
.features-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-grey);
  margin-bottom: 10px;
  display: block;
}
.features-title {
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 28px 36px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
}
.feat-card-icon {
  width: 32px;
  height: 32px;
  color: var(--text-grey);
  margin-bottom: 20px;
}
.feat-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.feat-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-grey);
}

/* ─── CTA / Download Section ─────────────────── */
.download-section {
  background: var(--white);
  padding: 72px 48px;
  text-align: center;
}
.download-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-grey);
  margin-bottom: 16px;
  display: block;
}
.download-title {
  font-family: var(--font-sans);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.download-body {
  font-size: 14px;
  color: var(--text-grey);
  max-width: 420px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.download-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.download-thumb {
  width: 120px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
}
.download-thumb img {
  width: 100%;
  display: block;
}
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-pill:hover {
  background: var(--ember);
  transform: translateY(-1px);
}
.btn-pill svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ─── Footer ─────────────────────────────────── */
footer {
  background: var(--white);
  border-top: 1px solid var(--light-grey);
  padding: 36px 48px;
  text-align: center;
}
footer .footer-logo {
  height: 28px;
  margin-bottom: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.footer-logo-full {
  height: 56px;
  width: auto;
  display: block;
  margin: 0 auto 16px;
}
.footer-brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 4px;
}
footer p {
  font-size: 11px;
  color: var(--mid-grey);
  margin-bottom: 2px;
}
.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.12);
  transition: background 0.15s, border-color 0.15s;
}
.footer-contact:hover {
  background: var(--ember);
  border-color: var(--ember);
}
.footer-contact svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ─── Index homepage ─────────────────────────── */
.index-hero {
  background: var(--off-white);
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 400px;
}
.index-hero-text .eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-grey);
  margin-bottom: 16px;
  display: block;
}
.index-hero-text h1 {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 20px;
}
.index-hero-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-grey);
  max-width: 520px;
}

/* ─── Hero hook hierarchy ─────────────────────── */
/* h1.hero-hook inherits .index-hero-text h1 sizing — no override needed */
p.hero-geometry {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 6px;
  opacity: 0.88;
}
p.hero-doctrine {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0;
  opacity: 0.75;
}
.index-hero-visual {
  background: var(--light-grey);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.index-hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ─── Page Hero (full-width, text-only — About etc.) ── */
.page-hero {
  background: var(--off-white);
  padding: 72px 48px 64px;
  border-bottom: 1px solid var(--light-grey);
}
.page-hero-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-grey);
  margin-bottom: 16px;
  display: block;
}
.page-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 14px;
  max-width: 720px;
}
.page-hero-sub {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-grey);
  margin-bottom: 16px;
}
.page-hero-body {
  font-size: 15px;
  line-height: 1.75;
  color: #3a3a34;
  max-width: 640px;
}

@media (max-width: 768px) {
  .page-hero { padding: 52px 24px 48px; }
  .page-hero-title { font-size: clamp(32px, 8vw, 48px); }
}
@media (max-width: 480px) {
  .page-hero { padding: 40px 20px 36px; }
  .page-hero-title { font-size: clamp(28px, 9vw, 40px); }
}

/* ─── Module grid (Index) ────────────────────── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--light-grey);
  border-left: 1px solid var(--light-grey);
}
.module-card {
  border-right: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  padding: 36px 32px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.15s;
  background: var(--white);
}
.module-card:hover { background: var(--off-white); }
.module-num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--mid-grey);
  text-transform: uppercase;
}
.module-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
}
.module-desc {
  font-size: 13px;
  color: var(--text-grey);
  line-height: 1.6;
}
.module-cta {
  font-size: 12px;
  color: var(--ember);
  font-weight: 600;
  margin-top: 8px;
}

/* ─── Video Section (About page — light) ────── */
.video-section {
  background: var(--off-white);
  padding: 64px 48px;
}
.video-section video {
  width: 100%;
  max-width: 880px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

/* ─── Video Feature (Homepage — dark) ───────── */
/*
 * Custom Vimeo player shell. Thumbnail + FireArc play button
 * sit on top; iframe is injected by JS only when user clicks play.
 * To add more videos: duplicate the .vf-player HTML block and call
 * initVideoPlayer() in the script with the new element IDs.
 */
.video-feature {
  background: var(--black);
  border-top: 1px solid #1e1e1c;
  padding: 72px 48px;
}
.video-feature-inner {
  max-width: 860px;
  margin: 0 auto;
}
.video-feature-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.video-feature-rule {
  width: 28px;
  height: 1px;
  background: var(--ember);
  flex-shrink: 0;
}
.video-feature-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
}
.video-feature-title {
  font-family: var(--font-sans);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.video-feature-body {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  margin-bottom: 36px;
}

/* Player shell */
.vf-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0a0a09;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
}

/* Thumbnail layer */
.vf-thumbnail {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease;
}
.vf-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;               /* fades in once src is loaded by JS */
  transition: opacity 0.4s ease;
}
.vf-thumb-fallback {
  position: absolute;
  inset: 0;
  background: #0f1a10;      /* deep dark green — feels on-brand */
  z-index: -1;
}

/* Scrim over thumbnail so play button always reads */
.vf-thumbnail::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
  pointer-events: none;
}

/* Play button */
.vf-play-btn {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s;
}
.vf-play-btn:hover { transform: scale(1.05); }

.vf-play-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid rgba(232,84,10,0.7);
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ember);
  transition: background 0.15s, border-color 0.15s;
}
.vf-play-btn:hover .vf-play-ring {
  background: rgba(232,84,10,0.15);
  border-color: var(--ember);
}
.vf-play-ring svg {
  margin-left: 4px; /* optical centre for play triangle */
}

.vf-play-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* Product badge — top-left corner */
.vf-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  background: rgba(0,0,0,0.55);
  padding: 5px 10px;
  border-radius: 100px;
  border: 1px solid rgba(232,84,10,0.3);
}

/* Iframe wrapper — fills the player once injected */
.vf-iframe-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.vf-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer row below player */
.video-feature-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.video-feature-footer p {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  line-height: 1.6;
  max-width: 460px;
  margin: 0;
}
.video-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ember);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(232,84,10,0.3);
  padding-bottom: 2px;
  transition: border-color 0.15s;
}
.video-feature-link:hover { border-color: var(--ember); }

/* ─── Responsive ─────────────────────────────────────────────
   Breakpoints:
   1024px  tablet landscape  — 2-col cards, tighter padding
    768px  tablet portrait   — stack hero, 2-col cards
    480px  phone             — single col everything, small nav
   ──────────────────────────────────────────────────────────── */

/* ── 1024px: tablet landscape ── */
@media (max-width: 1024px) {
  .hero-content { padding: 40px 36px; }
  .features-section { padding: 56px 36px; }
  .dark-band { padding: 60px 36px; }
  .download-section { padding: 60px 36px; }
  .index-hero { padding: 60px 36px; gap: 36px; }
  .video-section { padding: 56px 36px; }
  .video-feature { padding: 60px 36px; }

  /* 2-col cards at tablet */
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }

  /* slightly smaller thumb cards */
  .thumb-card { width: 68px; }
}

/* ── 768px: tablet portrait — stack hero ── */
@media (max-width: 768px) {

  /* ─ Nav: smaller cards, always-scrollable strip ─ */
  .topbar { padding: 10px 16px; gap: 12px; }
  .topbar-logo { font-size: 12px; }
  .thumb-strip {
    gap: 8px;
  }
  .thumb-card { width: 60px; }
  .thumb-card img { aspect-ratio: 3/2; }
  .thumb-card-label { font-size: 7px; padding: 3px 5px 4px; }

  /* ─ Hero: stack image above content ─ */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  /* Image panel on top, constrained height */
  .hero-visual {
    min-height: 240px;
    max-height: 320px;
  }
  /* Infographic variant stays padded but shorter */
  .hero-visual--infographic {
    padding: 24px;
    min-height: 220px;
    max-height: 300px;
  }
  .hero-visual--infographic img {
    max-height: 260px;
  }
  .hero-content {
    padding: 32px 24px 36px;
  }
  .hero-body { max-width: 100%; }
  .audio-player { max-width: 100%; }

  /* ─ Index hero: stack ─ */
  .index-hero {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 28px;
    min-height: auto;
  }
  .index-hero-text h1 { font-size: clamp(32px, 8vw, 48px); }
  .index-hero-visual { aspect-ratio: 16/9; }
  .index-hero-text p { max-width: 100%; }

  /* ─ Sections ─ */
  .dark-band { padding: 52px 24px; }
  .dark-band h2 { font-size: clamp(20px, 5vw, 28px); }
  .features-section { padding: 48px 24px; }
  .download-section { padding: 52px 24px; }
  .video-section { padding: 48px 24px; }
  .video-feature { padding: 52px 24px; }

  /* ─ Feature cards: 1 col on portrait tablet ─ */
  .cards-grid { grid-template-columns: 1fr; gap: 12px; }

  /* ─ Modules: 2 col ─ */
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .module-card { padding: 28px 24px; }

  /* ─ Download cluster: stack ─ */
  .download-cluster {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .download-thumb { width: 100px; }

  /* ─ Footer ─ */
  footer { padding: 28px 24px; }

  /* ─ Video feature footer: stack ─ */
  .video-feature-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ── 480px: phone ── */
@media (max-width: 480px) {

  /* ─ Nav: very compact ─ */
  .topbar { padding: 10px 12px; gap: 10px; }
  .topbar-logo { font-size: 11px; letter-spacing: 0.1em; }
  .thumb-card { width: 52px; }
  .thumb-card-label { font-size: 6.5px; padding: 3px 4px; }
  .thumb-strip {
    gap: 6px;
  }

  /* ─ Hero ─ */
  .hero-visual { min-height: 200px; max-height: 260px; }
  .hero-visual--infographic { padding: 16px; min-height: 180px; }
  .hero-visual--infographic img { max-height: 210px; }
  .hero-content { padding: 28px 20px 32px; }
  .hero-title { font-size: clamp(26px, 8vw, 36px); }
  .hero-label { font-size: 9px; }
  .hero-body { font-size: 13px; }

  /* ─ Index hero ─ */
  .index-hero { padding: 36px 20px; }
  .index-hero-text h1 { font-size: clamp(28px, 9vw, 40px); }

  /* ─ Dark band ─ */
  .dark-band { padding: 44px 20px; }
  .dark-band h2 { font-size: clamp(18px, 6vw, 24px); }
  .dark-band p { font-size: 13px; }

  /* ─ Features ─ */
  .features-section { padding: 40px 20px; }
  .features-title { font-size: clamp(18px, 5vw, 24px); }
  .feat-card { padding: 24px 22px 28px; }

  /* ─ Download ─ */
  .download-section { padding: 44px 20px; }
  .download-title { font-size: clamp(20px, 6vw, 28px); }
  .btn-pill { font-size: 12px; padding: 12px 22px; }

  /* ─ Modules: single col on phone ─ */
  .modules-grid { grid-template-columns: 1fr; }
  .module-card { padding: 24px 20px; }
  .module-name { font-size: 16px; }

  /* ─ Audio player ─ */
  .audio-play-btn { width: 32px; height: 32px; }
  .audio-play-btn svg { width: 10px; height: 10px; }
  .audio-label-text { font-size: 9px; }

  /* ─ Footer ─ */
  footer { padding: 24px 20px; }

  /* ─ Lightbox ─ */
  .lightbox { padding: 16px; }
  .lightbox-close { top: 12px; right: 12px; font-size: 22px; }

  /* ─ Video feature ─ */
  .video-feature { padding: 44px 20px; }
  .vf-play-ring { width: 56px; height: 56px; }
  .vf-play-label { font-size: 10px; }
}
