/* ============================================================
   LAGHMAN — DESIGN SYSTEM
   Palette: deep teal / sand / terracotta on off-white.
   Type: Fraunces (serif display) + Inter (sans body),
   system fallbacks so the page holds up offline.
   ============================================================ */

:root {
  /* --- Color tokens --- */
  --c-bg:        #faf6ef;  /* off-white, warm */
  --c-bg-alt:    #f1e9dc;  /* sand wash */
  --c-ink:       #1e2a2a;  /* near-black teal for text */
  --c-ink-soft:  #4a5a58;
  --c-teal-1:    #0f4c4a;  /* primary deep teal */
  --c-teal-2:    #17635f;
  --c-teal-3:    #2b7f79;
  --c-sand-1:    #e8dcc4;
  --c-sand-2:    #d9c7a3;
  --c-sand-3:    #c4a86f;
  --c-terracotta:#c05a3a;
  --c-terracotta-dk:#9e4529;
  --c-alert-bg:  #fdf3ee;
  --c-line:      rgba(30, 42, 42, 0.12);
  --c-hero-wash: #eef4f2;  /* pale sky at the top of the hero */

  /* --- Type scale (fluid) --- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fs-hero:    clamp(2.6rem, 6vw, 4.6rem);
  --fs-h2:      clamp(1.7rem, 3.4vw, 2.6rem);
  --fs-h3:      clamp(1.15rem, 2vw, 1.45rem);
  --fs-body:    clamp(1rem, 1.15vw, 1.125rem);
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.78rem;
  --lh-body:    1.7;
  --lh-display: 1.12;

  /* --- Space & shape --- */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 3rem;
  --space-5: 5.5rem;
  --radius: 10px;
  --radius-lg: 18px;
  --maxw: 72rem;
  --shadow-1: 0 1px 3px rgba(15, 76, 74, 0.08), 0 8px 24px rgba(15, 76, 74, 0.07);
  --shadow-2: 0 2px 6px rgba(15, 76, 74, 0.10), 0 18px 48px rgba(15, 76, 74, 0.12);
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: var(--lh-display); margin: 0 0 0.6em; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--c-teal-1); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- A11y helpers ---------- */
.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--c-teal-1); color: var(--c-bg);
  padding: 0.6rem 1.1rem; border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s var(--ease); text-decoration: none;
}
.skip-link:focus { top: 0; }
:focus-visible {
  outline: 3px solid var(--c-terracotta);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: var(--space-5); }
.section--story, .section--culture { background: var(--c-bg); }
.section--destinations { background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-alt) 100%); }
.section--routes { background: var(--c-bg-alt); }
.section--gallery { background: var(--c-bg); }
.section-head { max-width: 44rem; margin-bottom: var(--space-4); }
.section-heading { font-size: var(--fs-h2); color: var(--c-teal-1); letter-spacing: -0.01em; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--space-4); align-items: center; }
@media (min-width: 56rem) { .grid-2 { grid-template-columns: 1.15fr 0.85fr; } }

.eyebrow {
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--c-terracotta); margin-bottom: 0.75rem;
}
.eyebrow--alert { color: var(--c-terracotta-dk); }
.prose p { color: var(--c-ink-soft); max-width: 38rem; }

/* ---------- Sticky header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(250, 246, 239, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: var(--shadow-1); }
.nav-wrap {
  max-width: var(--maxw); margin-inline: auto; height: 100%;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--c-teal-1); }
.brand-mark { width: 34px; height: 17px; color: var(--c-teal-1); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.01em; }
.brand-name--footer { color: var(--c-bg); font-size: 1.5rem; }

.nav-list { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  font-size: var(--fs-small); font-weight: 500; text-decoration: none;
  color: var(--c-ink-soft); padding: 0.4rem 0; position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--c-terracotta); transition: right 0.25s var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--c-teal-1); }
.nav-list a:hover::after, .nav-list a.is-active::after { right: 0; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 0.6rem; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--c-teal-1);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle-bar::before { transform: translateY(-7px); }
.nav-toggle-bar::after  { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: rotate(-45deg) translateY(-2px); }

@media (max-width: 48rem) {
  .nav-toggle { display: block; }
  .nav-list {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--c-bg); border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-2);
    padding: 0.5rem 0 1rem;
    transform: translateY(-115%); transition: transform 0.3s var(--ease);
  }
  .nav-list.is-open { transform: translateY(0); }
  .nav-list li { padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
  .nav-list a { display: block; padding: 0.8rem 0; font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(88svh, 56rem);
  display: grid; align-items: end;
  background: linear-gradient(180deg, var(--c-hero-wash) 0%, var(--c-bg) 70%);
}
.hero-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; pointer-events: none; z-index: 2; }
.hero-art--far  { height: 34%; opacity: 0.5; }
.hero-art--mid  { height: 24%; opacity: 0.7; }
.hero-art--near { height: 14%; }
.hero-inner {
  position: relative; z-index: 3;
  max-width: var(--maxw); margin-inline: auto; width: 100%;
  padding: calc(var(--header-h) + var(--space-5)) clamp(1.25rem, 4vw, 2.5rem) calc(var(--space-5) + 8rem);
}
.hero-headline { font-size: var(--fs-hero); font-weight: 700; color: var(--c-teal-1); max-width: 16ch; letter-spacing: -0.015em; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--c-ink-soft); max-width: 42rem; }
.hero-figure { position: absolute; inset: 0; z-index: 1; margin: 0; }
.hero-figure img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  opacity: 0.68;
}
.hero-figure::after {
  /* directional scrim: solid on the text side, the photo breathes on the right */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    var(--c-bg) 0%, var(--c-bg) 34%,
    rgba(250, 246, 239, 0.72) 52%, rgba(250, 246, 239, 0.18) 74%, transparent 100%);
}
.ornament--hero { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 14px; z-index: 4; }
@media (max-width: 48rem) {
  /* mobile hero: the photo stays the protagonist. Bottom-up gradient only —
     the top ~45% of the fold shows the panorama at ~0.5 effective visibility;
     the copy sits in the toned-down band where the scrim is >=0.55 alpha
     (measured headline contrast vs worst-case local bg: >7:1). */
  .hero-figure img { opacity: 0.85; object-position: center 30%; }
  .hero-figure::after {
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(250, 246, 239, 0.18) 38%,
      rgba(250, 246, 239, 0.55) 56%,
      rgba(250, 246, 239, 0.88) 78%,
      var(--c-bg) 100%);
  }
  .hero-inner { padding-bottom: calc(var(--space-5) + 5rem); }
}

.btn {
  display: inline-block; font-weight: 600; font-size: var(--fs-small);
  letter-spacing: 0.04em; text-decoration: none; border-radius: 999px;
  padding: 0.85rem 1.9rem; transition: background 0.2s, transform 0.2s var(--ease);
}
.btn--primary { background: var(--c-terracotta); color: var(--c-bg); }
.btn--primary:hover { background: var(--c-terracotta-dk); transform: translateY(-2px); }

/* ---------- Carpet band divider ---------- */
.carpet-band { display: block; width: 100%; height: 40px; }

/* ---------- Destination cards ---------- */
.card-grid {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}
.dest-card {
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex; flex-direction: column;
}
.dest-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.dest-card .thumb { aspect-ratio: 4 / 3; background: var(--c-sand-1); position: relative; overflow: hidden; }
.dest-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.dest-card .thumb--empty::after {
  /* placeholder art while wave 2 fills image URLs */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, var(--c-teal-3) 55%, var(--c-teal-3) 68%, var(--c-teal-1) 68%, var(--c-teal-1) 80%, var(--c-teal-2) 80%);
  opacity: 0.5;
}
.dest-card .card-body { padding: 1.25rem 1.4rem 1.5rem; }
.dest-card h3 { font-size: var(--fs-h3); color: var(--c-teal-1); margin-bottom: 0.25rem; }
.dest-card .region { font-size: var(--fs-small); color: var(--c-terracotta-dk); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.6rem; }
.dest-card .blurb { color: var(--c-ink-soft); font-size: 0.98rem; margin: 0; }

/* ---------- Routes ---------- */
.route-list { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: var(--space-2); counter-reset: route; }
.route-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: baseline;
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; box-shadow: var(--shadow-1);
}
.route-item::before {
  counter-increment: route; content: counter(route, decimal-leading-zero);
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--c-sand-3);
}
.route-item h3 { font-size: var(--fs-h3); margin-bottom: 0.3rem; color: var(--c-teal-1); }
.route-item .mode {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-teal-2);
  border: 1px solid var(--c-teal-3); border-radius: 999px; padding: 0.15rem 0.7rem; margin-left: 0.6rem; vertical-align: middle;
}
.route-item p { color: var(--c-ink-soft); margin: 0; }
.route-note { font-size: var(--fs-small); color: var(--c-ink-soft); font-style: italic; }

/* ---------- Safety notice (serious, prominent) ---------- */
.section--safety { padding-block: var(--space-4); }
.safety-notice {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem;
  background: var(--c-alert-bg);
  border: 2px solid var(--c-terracotta);
  border-left-width: 8px;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-1);
}
.safety-icon { width: 2.4rem; height: 2.4rem; color: var(--c-terracotta-dk); flex-shrink: 0; margin-top: 0.3rem; }
.section-heading--safety { color: var(--c-terracotta-dk); }
.safety-body { color: var(--c-ink); max-width: 52rem; }
.safety-reviewed { font-size: var(--fs-small); color: var(--c-ink-soft); margin: 0; }

/* ---------- Culture ---------- */
.culture-list { margin: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.culture-item { border-top: 3px solid var(--c-sand-3); padding-top: 1.1rem; }
.culture-item dt { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); color: var(--c-teal-1); margin-bottom: 0.4rem; }
.culture-item dd { margin: 0; color: var(--c-ink-soft); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.gallery-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.4s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption { font-size: 0.8rem; color: var(--c-ink-soft); padding: 0.5rem 0.75rem; background: var(--c-bg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-teal-1); color: var(--c-sand-1); margin-top: var(--space-5); }
.carpet-band--footer { height: 24px; }
.footer-grid { display: grid; gap: var(--space-3); padding-block: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1fr 1.4fr; } }
.footer-tagline { color: var(--c-sand-2); max-width: 24rem; }
.footer-meta p { font-size: var(--fs-small); color: var(--c-sand-2); margin-bottom: 0.4rem; overflow-wrap: anywhere; word-break: break-word; }
.footer-meta a { color: var(--c-sand-1); }
.fineprint { opacity: 0.75; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.card-grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.card-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.card-grid > .reveal:nth-child(4) { transition-delay: 0.24s; }
.card-grid > .reveal:nth-child(5) { transition-delay: 0.06s; }
.card-grid > .reveal:nth-child(6) { transition-delay: 0.14s; }
.card-grid > .reveal:nth-child(7) { transition-delay: 0.22s; }
.card-grid > .reveal:nth-child(8) { transition-delay: 0.30s; }

/* ---------- Reduced motion ---------- */
@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;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print (safety advisory should survive printing) ---------- */
@media print {
  .site-header, .hero-art, .carpet-band, .nav-toggle { display: none; }
  body { background: #fff; }
}

/* ---------- Wave 3: SVG ridgeline placeholder for imageless cards ---------- */
.dest-card .thumb--empty img { display: none; }
.dest-card .thumb--empty {
  background:
    linear-gradient(180deg, var(--c-sand-1) 0%, var(--c-sand-2) 100%),
    var(--c-sand-1);
}
.dest-card .thumb--empty::before {
  /* the site's own ridgeline art (assets/art/hero-mountain-range.svg) */
  content: ""; position: absolute; inset: 0;
  background: url("../art/hero-mountain-range.svg") center 62% / cover no-repeat;
  opacity: 0.85;
}
.dest-card .thumb--empty::after {
  /* label so readers know it is an illustration, not a photo */
  content: "Illustration — no verified photo";
  position: absolute; left: 0.6rem; bottom: 0.5rem; z-index: 2;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--c-ink-soft); background: rgba(250, 246, 239, 0.85);
  border: 1px solid var(--c-line); border-radius: 999px; padding: 0.15rem 0.6rem;
}
.gallery-grid figure.tile--empty { background: var(--c-sand-1); }
.gallery-grid figure.tile--empty::after {
  content: "Illustration placeholder";
  display: block; font-size: 0.75rem; font-style: italic; color: var(--c-ink-soft);
  padding: 0.5rem 0.75rem; background: var(--c-bg);
}

/* ---------- Wave 3: audio narration toggle + language switcher ---------- */
.audio-toggle {
  border: 1px solid var(--c-teal-3); background: var(--c-bg);
  color: var(--c-teal-1); border-radius: 999px;
  width: 2.1rem; height: 2.1rem; font-size: 1rem; line-height: 1;
  cursor: pointer; margin: 0.5rem 0 1rem; display: inline-grid; place-items: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.audio-toggle:hover:not(:disabled) { background: var(--c-bg-alt); transform: scale(1.06); }
.audio-toggle:disabled { opacity: 0.45; cursor: not-allowed; }
.lang-switch { display: inline-flex; gap: 0.25rem; margin-left: 0.75rem; vertical-align: middle; }
.lang-switch button {
  border: 1px solid var(--c-line); background: transparent; color: var(--c-ink-soft);
  border-radius: var(--radius); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.05em; padding: 0.2rem 0.5rem; cursor: pointer;
}
.lang-switch button:hover:not(:disabled) { border-color: var(--c-teal-2); color: var(--c-teal-1); }
.lang-switch button.is-active { background: var(--c-teal-1); border-color: var(--c-teal-1); color: var(--c-bg); }
.lang-switch button:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- Wave 3: audio toggle visible label ---------- */
.audio-toggle { position: relative; }
.audio-toggle::after {
  content: "Listen";
  position: absolute; left: calc(100% + 0.5rem); top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink-soft);
  white-space: nowrap; pointer-events: none;
}

/* ---------- Iteration 1: bespoke per-card placeholder vignettes ---------- */
/* Cards/tiles with no verified photo use a distinct house-style SVG vignette
   (placeholderArt in content.js) instead of one repeated ridgeline. */
.dest-card .thumb--ph { background: var(--c-sand-1); }
.dest-card .thumb--ph img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid figure.tile--ph { background: var(--c-sand-1); }
.gallery-grid figure.tile--ph img { width: 100%; height: 100%; object-fit: cover; }
/* editorial caption under card blurbs (never build-status text) */
.dest-card .card-caption {
  font-size: 0.78rem; font-style: italic; color: var(--c-ink-soft);
  border-top: 1px solid var(--c-line); padding-top: 0.5rem; margin: 0.75rem 0 0;
}

/* ---------- Iteration 1: news page Do-Not-Travel strip ---------- */
.news-advisory {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem;
  background: var(--c-alert-bg);
  border: 1px solid var(--c-terracotta);
  border-left-width: 6px;
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  margin-top: var(--space-2);
}
.news-advisory svg { width: 1.6rem; height: 1.6rem; color: var(--c-terracotta-dk); flex-shrink: 0; }
.news-advisory p { margin: 0; font-size: var(--fs-small); color: var(--c-ink); }
.news-advisory a { color: var(--c-terracotta-dk); font-weight: 600; white-space: nowrap; }

/* ---------- Iteration 1: media section shell (index.html; styles for
   media.js-rendered cards live with the media block above) ---------- */
.section--media { background: var(--c-bg-alt); }
.media-grid {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
}
.media-frame { margin: 0; }
.media-card { margin: 0; }
.media-facade {
  position: relative; display: block; width: 100%; padding: 0;
  border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--c-sand-1); cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.media-facade:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.media-media { display: block; position: relative; }
.media-thumb {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  /* toned down: clickbait yellow/red pulled into the house duotone */
  filter: saturate(0.45) sepia(0.28) hue-rotate(-12deg) contrast(0.92) brightness(0.97);
}
.media-media::after {
  /* toned terracotta multiply layer: six third-party thumbnails read as one set */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--c-terracotta); mix-blend-mode: multiply; opacity: 0.18;
}
.media-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  pointer-events: none;
}
.media-play svg { width: clamp(48px, 18%, 68px); height: auto; }
.media-frame iframe {
  display: block; width: 100%; aspect-ratio: 16 / 9; border: 0;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-1);
}
.media-title {
  font-family: var(--font-display); font-size: var(--fs-h3);
  color: var(--c-teal-1); padding: 0.7rem 0.2rem 0; line-height: 1.3;
}
.media-empty {
  border: 2px dashed var(--c-sand-2); border-radius: var(--radius-lg);
  padding: var(--space-4); text-align: center;
  color: var(--c-ink-soft); font-style: italic;
}

