/* ====================================================================
   會幕互動網站 — Tabernacle Interactive
   Style: monopo saigon — dark canvas, frosted glass, shifting gradients
   Items stay gold (per scripture).
   ==================================================================== */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Noto+Serif+TC:wght@300;400;500&family=Inter:wght@300;400;500;600;700&family=Cinzel:wght@400;500&display=swap');

:root {
  /* ── monopo tokens ─────────────────────────────── */
  --midnight: #000000;
  --frost: #ffffff;
  --shadow: #181818;
  --whisper: #6d6d6d;
  --misty: #636363;

  /* Aurora gradient (the deep-ocean atmospheric backdrop) */
  --aurora-1: rgb(160, 224, 171);
  --aurora-2: rgb(255, 172, 46);
  --aurora-3: rgb(165, 45, 37);

  /* Frosted glass system */
  --glass-bg: rgba(255, 255, 255, 0.035);
  --glass-bg-hover: rgba(255, 255, 255, 0.065);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-border-strong: rgba(255, 255, 255, 0.22);
  --glass-blur: blur(30px) saturate(160%);

  /* Gold preserved for the holy objects */
  --gold: #d4af37;
  --gold-bright: #f1c75b;
  --gold-soft: #a07d1c;
  --gold-dim: rgba(212, 175, 55, 0.16);

  /* Type */
  --font-roobert: 'Roobert', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 'Noto Sans TC', sans-serif;
  --font-display: 'Cinzel', 'Roobert', 'Inter', serif;
  --font-serif: 'EB Garamond', 'Noto Serif TC', 'Songti TC', Georgia, serif;
  --font-zh: 'Noto Serif TC', 'Songti TC', serif;

  /* Spacing (8/12/28/40/48/64/68/152) */
  --s-8: 8px;
  --s-12: 12px;
  --s-28: 28px;
  --s-40: 40px;
  --s-48: 48px;
  --s-64: 64px;
  --s-68: 68px;
  --s-152: 152px;

  --page-max: 1080px;
  --radius-card: 10px;
  --radius-pill: 9999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--midnight);
  color: var(--frost);
  font-family: var(--font-roobert);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Shifting aurora backdrop (drifting blobs) ──────── */
body::before {
  content: '';
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(circle at 22% 28%, rgba(160, 224, 171, 0.22) 0%, transparent 38%),
    radial-gradient(circle at 78% 18%, rgba(255, 172, 46, 0.18) 0%, transparent 42%),
    radial-gradient(circle at 60% 78%, rgba(165, 45, 37, 0.20) 0%, transparent 45%),
    radial-gradient(circle at 12% 82%, rgba(160, 224, 171, 0.12) 0%, transparent 36%);
  filter: blur(80px);
  z-index: 0;
  animation: aurora-drift 28s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Film grain over everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/></svg>");
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
  opacity: 0.6;
}

@keyframes aurora-drift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(4%, -3%) scale(1.08); }
  66% { transform: translate(-3%, 4%) scale(0.96); }
  100% { transform: translate(2%, 2%) scale(1.04); }
}

main, header, footer, nav, section { position: relative; z-index: 1; }

/* ── Selection / scrollbar ──────────────────────────── */
::selection {
  background: var(--frost);
  color: var(--midnight);
}

::-webkit-scrollbar { width: 6px; background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.35); }

:focus-visible {
  outline: 1px solid var(--frost);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ── Typography ─────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-roobert);
  color: var(--frost);
  font-weight: 400;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.08;
  font-weight: 300;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.12;
  font-weight: 400;
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 500;
  color: var(--frost);
}

.display-en, .eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--frost);
  opacity: 0.7;
  font-weight: 400;
}

.gold-text { color: var(--gold-bright); }
.muted { color: var(--whisper); }
.small { font-size: 0.85rem; }

/* ── Entry animation ────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  body::before { animation: none; }
}

/* ── Site header (sticky frosted glass) ────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--frost);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--frost);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 22px;
  list-style: none;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--frost);
  transition: width 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.nav-links a:hover { color: var(--frost); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--frost); }
.nav-links a.active::after { width: 100%; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--frost);
  width: 40px; height: 40px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 1px;
  background: var(--frost);
  transition: transform 0.25s, top 0.25s, opacity 0.25s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ── Layout ─────────────────────────────────────────── */
.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 56px 24px 96px;
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 80px 24px 48px;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}

.hero .eyebrow {
  display: block;
  margin-bottom: 24px;
}

.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-bright);
}

.hero .lead {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 24px auto 0;
  max-width: 620px;
}

.hero .lead em {
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

.hero .instruction {
  margin-top: 32px;
  font-size: 0.82rem;
  color: var(--whisper);
  letter-spacing: 0.04em;
}

.divider {
  margin: 28px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
}
.divider::before, .divider::after {
  content: '';
  height: 1px;
  width: 56px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

/* ── Section header ─────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 32px;
}
.section-header .ref {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.section { margin: 64px 0; }

/* ── Specs grid ─────────────────────────────────────── */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.spec-item {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 16px 18px;
  transition: background 0.25s, border-color 0.25s;
}
.spec-item:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-strong);
}
.spec-item .label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
}
.spec-item .value {
  font-family: var(--font-roobert);
  color: var(--frost);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
}
.spec-item .value .en {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  display: block;
  margin-top: 2px;
  font-weight: 400;
}

/* ── Bilingual blocks ───────────────────────────────── */
.bilingual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.bilingual > div {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 28px 30px;
}
.bilingual h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
  font-weight: 400;
}
.bilingual p {
  font-size: 0.96rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.82);
}

/* Scripture variant — serif elegance */
.bilingual.scripture > div {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}
.bilingual.scripture p {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
}
.bilingual.scripture .verse-num {
  color: var(--gold);
  font-size: 0.7rem;
  vertical-align: super;
  margin-right: 2px;
  font-family: var(--font-roobert);
  font-weight: 500;
}

/* ── Interactive stage (SVG holder) ─────────────────── */
.interactive-stage {
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.04), transparent 70%),
    var(--glass-bg);
  backdrop-filter: blur(30px) saturate(140%);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 48px 32px;
  margin: 24px 0;
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.interactive-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(160, 224, 171, 0.08), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 172, 46, 0.06), transparent 50%);
  pointer-events: none;
}
.interactive-stage .hint {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 0.72rem;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.interactive-stage svg {
  max-width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.hover-region {
  cursor: pointer;
  transition: filter 0.3s ease, opacity 0.3s ease;
  outline: none;
}
.hover-region:hover { filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.6)) brightness(1.12); }
.hover-region.active { filter: drop-shadow(0 0 18px rgba(241, 199, 91, 0.85)) brightness(1.15); }

/* ── Detail panel ───────────────────────────────────── */
.detail-panel {
  margin-top: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  min-height: 200px;
  transition: border-color 0.3s, background 0.3s;
}
.detail-panel.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--whisper);
}
.detail-panel.active {
  border-color: var(--glass-border-strong);
  background: var(--glass-bg-hover);
}
.detail-panel .empty-icon {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 12px;
}
.detail-panel .empty-text {
  font-family: var(--font-serif);
  font-style: italic;
  max-width: 540px;
  line-height: 1.7;
}
.detail-panel .label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}
.detail-panel h3 { margin-bottom: 4px; }
.detail-panel .en-name {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-bright);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 18px;
}
.detail-panel .detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 10px;
}
.detail-panel .detail-body h5 {
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
  font-weight: 400;
}
.detail-panel .detail-body p {
  font-size: 0.92rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.85);
}
.detail-panel .scripture-ref {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
}
.detail-panel .scripture-ref:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--glass-border-strong);
}

/* ── Entry cards (index page) ───────────────────────── */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 48px 0;
}
.entry-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
              border-color 0.3s, background 0.3s;
}
.entry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 172, 46, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.entry-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-strong);
  background: var(--glass-bg-hover);
}
.entry-card:hover::before { opacity: 1; }

.entry-card .card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  opacity: 0.9;
}
.entry-card .num {
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.entry-card h3 {
  margin-bottom: 4px;
  font-size: 1.45rem;
  font-weight: 400;
}
.entry-card .en {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-bright);
  font-size: 1rem;
  display: block;
  margin-bottom: 14px;
}
.entry-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}
.entry-card .ref {
  display: inline-block;
  margin-top: 18px;
  color: var(--frost);
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.3s;
}
.entry-card:hover .ref { transform: translateX(4px); }

/* ── Tooltip ────────────────────────────────────────── */
.tooltip {
  position: fixed;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border-strong);
  color: var(--frost);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.84rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s;
  z-index: 200;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.tooltip.show { opacity: 1; }
.tooltip .en {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-bright);
  font-size: 0.74rem;
  margin-top: 2px;
}

/* ── Page nav ───────────────────────────────────────── */
.page-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--glass-border);
  gap: 12px;
  flex-wrap: wrap;
}
.page-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 12px 22px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-nav a:hover {
  color: var(--frost);
  border-color: var(--glass-border-strong);
  background: var(--glass-bg-hover);
}
.page-nav .arrow { color: var(--gold-bright); }

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 48px 24px;
  text-align: center;
  color: var(--whisper);
  font-size: 0.84rem;
  margin-top: 64px;
}
.site-footer .verse {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ── Reading progress bar ───────────────────────────── */
.reading-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  z-index: 600;
  pointer-events: none;
}
.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--aurora-1), var(--aurora-2), var(--aurora-3));
  transition: width 0.1s linear;
}

/* ── Stage corner ornaments ─────────────────────────── */
.stage-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
}
.stage-corner.tr {
  top: 14px;
  right: 14px;
  border-left: none;
  border-bottom: none;
}
.stage-corner.bl {
  bottom: 14px;
  left: 14px;
  border-right: none;
  border-top: none;
}
.stage-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.06), transparent 70%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   🎬 HOMEPAGE — Cinematic cover (monopo saigon)
   ═══════════════════════════════════════════════════════ */

.cover {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 96px 24px 64px;
  overflow: hidden;
  text-align: center;
}

/* Big organic aurora blobs */
.aurora-field {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
}
.aurora-field .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: blob-float 18s ease-in-out infinite alternate;
}
.aurora-field .blob.b1 {
  width: 580px; height: 580px;
  left: -10%; top: 15%;
  background: radial-gradient(circle, rgba(160,224,171,0.85), transparent 70%);
}
.aurora-field .blob.b2 {
  width: 640px; height: 640px;
  right: -8%; top: 8%;
  background: radial-gradient(circle, rgba(255,172,46,0.7), transparent 70%);
  animation-duration: 22s;
  animation-delay: -6s;
}
.aurora-field .blob.b3 {
  width: 720px; height: 720px;
  left: 30%; bottom: -20%;
  background: radial-gradient(circle, rgba(165,45,37,0.7), transparent 70%);
  animation-duration: 26s;
  animation-delay: -12s;
}
.aurora-field .blob.b4 {
  width: 420px; height: 420px;
  right: 25%; bottom: 5%;
  background: radial-gradient(circle, rgba(160,224,171,0.45), transparent 70%);
  animation-duration: 19s;
  animation-delay: -3s;
}

@keyframes blob-float {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
  33%  { transform: translate(6%, -4%) scale(1.12) rotate(40deg); }
  66%  { transform: translate(-5%, 5%) scale(0.92) rotate(-30deg); }
  100% { transform: translate(3%, 3%) scale(1.06) rotate(20deg); }
}

.cover > * { position: relative; z-index: 1; }

/* Header meta line */
.cover-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: var(--page-max);
  margin-bottom: auto;
  padding-top: 24px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.cover-meta span:first-child::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--gold-bright);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 12px var(--gold-bright);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

/* Massive display text */
.display-massive {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 18vw, 14rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.88;
  color: var(--frost);
  text-align: center;
  margin: 32px 0 16px;
  position: relative;
}
.display-massive .ltr {
  display: inline-block;
  opacity: 0;
  transform: translateY(120px) rotateX(-30deg);
  animation: ltr-rise 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: 50% 100%;
}
@keyframes ltr-rise {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.display-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  color: var(--gold-bright);
  margin-top: 4px;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: fade-rise 1.4s 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fade-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cover-sub {
  max-width: 560px;
  margin: 40px auto 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  animation: fade-rise 1.4s 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scroll-cue {
  margin-top: auto;
  padding-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: fade-rise 1.4s 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.scroll-cue .line {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--frost));
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(180deg, transparent, var(--gold-bright));
  animation: scroll-line 2.6s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { top: -30%; }
  100% { top: 100%; }
}

/* ═══════════════════════════════════════════════════════
   DIRECTORY — nine icon cards (simplified)
   ═══════════════════════════════════════════════════════ */

.station-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin-top: 32px;
}

.station-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--frost);
  padding: 40px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
              border-color 0.35s, background 0.35s;
  isolation: isolate;
}
.station-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%,
    rgba(255, 172, 46, 0.16) 0%,
    transparent 65%);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1;
}
.station-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-strong);
  background: var(--glass-bg-hover);
}
.station-card:hover::before { opacity: 1; }

.station-card .num {
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.station-card .icon-wrap {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.station-card .icon-wrap::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 199, 91, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1;
}
.station-card:hover .icon-wrap::after { opacity: 1; }

.station-card .icon-wrap svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold-bright);
  fill: none;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.station-card:hover .icon-wrap svg {
  transform: scale(1.08) translateY(-2px);
}

.station-card .zh {
  font-family: var(--font-zh);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--frost);
  margin-top: 4px;
}
.station-card .en {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.station-card .chap {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.84rem;
  color: var(--gold-bright);
  margin-top: 4px;
  opacity: 0.75;
}

@media (max-width: 900px) {
  .station-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .station-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .station-card { padding: 28px 14px 22px; gap: 8px; }
  .station-card .icon-wrap { width: 64px; height: 64px; }
  .station-card .zh { font-size: 1.05rem; }
  .station-card .en { font-size: 0.6rem; }
  .station-card .chap { font-size: 0.74rem; }
}

/* Legacy station-list (still defined below for archive) */

.directory {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 120px 24px;
  position: relative;
}

.directory-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.directory-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.directory-head .label {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.station-list {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.station {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.station::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(160, 224, 171, 0.07) 30%,
    rgba(255, 172, 46, 0.09) 60%,
    rgba(165, 45, 37, 0.06) 100%);
  transform: translateX(-101%);
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 0;
}
.station:hover::before { transform: translateX(0); }

.station-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px 8px;
  text-decoration: none;
  color: var(--frost);
  position: relative;
  z-index: 1;
  transition: padding 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.station:hover .station-row { padding-left: 20px; }

.station-row .num {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.16em;
}

.station-row .title-wrap {
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}

.station-row .title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
              color 0.5s;
  white-space: nowrap;
}
.station:hover .station-row .title {
  color: var(--frost);
  transform: translateX(8px);
}

.station-row .caption {
  font-family: var(--font-zh);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
  transition: color 0.5s;
}
.station:hover .station-row .caption { color: rgba(255, 255, 255, 0.85); }

.station-row .meta-right {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}
.station-row .arrow {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
              color 0.5s;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.2rem;
}
.station:hover .station-row .arrow {
  transform: translateX(10px);
  color: var(--gold-bright);
}

/* Decorative item preview (gold orb) */
.station-row .orb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-bright);
  opacity: 0;
  transform: scale(0);
  transition: all 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: 0 0 16px var(--gold-bright);
}
.station:hover .station-row .orb {
  opacity: 1;
  transform: scale(1);
}

/* ═══════════════════════════════════════════════════════
   MANIFESTO — scripture pull quote
   ═══════════════════════════════════════════════════════ */

.manifesto {
  max-width: 900px;
  margin: 0 auto;
  padding: 96px 24px 120px;
  position: relative;
}

.manifesto blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.5;
  color: var(--frost);
  position: relative;
  padding-left: 24px;
}
.manifesto blockquote::before {
  content: '"';
  position: absolute;
  left: -32px; top: -32px;
  font-size: 8rem;
  color: var(--gold-bright);
  opacity: 0.4;
  line-height: 1;
  font-family: var(--font-serif);
}
.manifesto .attribution {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.manifesto .zh {
  margin-top: 24px;
  font-family: var(--font-zh);
  font-style: normal;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

/* Cover footer info */
.cover-footer {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ═══════ Custom cursor (subtle) ═══════ */
.cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: transform 0.15s, width 0.25s, height 0.25s;
  display: none;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
              width 0.3s, height 0.3s, border-color 0.3s;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring { display: block; }
}
.cursor-active .cursor-ring {
  width: 60px; height: 60px;
  border-color: var(--gold-bright);
}

/* Responsive: station list on phones */
@media (max-width: 640px) {
  .cover { padding: 80px 18px 48px; }
  .cover-meta { font-size: 0.62rem; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 0; }
  .directory { padding: 64px 16px; }
  .directory-head { margin-bottom: 32px; }
  .station-row { grid-template-columns: 36px 1fr auto; gap: 12px; padding: 22px 4px; }
  .station-row .num { font-size: 0.7rem; }
  .station-row .title-wrap { flex-direction: column; gap: 4px; }
  .station-row .title { font-size: 1.4rem; white-space: normal; }
  .station-row .caption { font-size: 0.82rem; }
  .station-row .meta-right { font-size: 0.66rem; gap: 10px; }
  .station-row .orb { display: none; }
  .manifesto { padding: 56px 18px 72px; }
  .manifesto blockquote { padding-left: 0; font-size: 1.2rem; }
  .manifesto blockquote::before { font-size: 4.5rem; top: -16px; left: -8px; }
  .manifesto .zh { padding-left: 18px; font-size: 0.95rem; }
  .cover-footer { padding: 32px 18px; font-size: 0.62rem; }
}

/* ═══════════════════════════════════════════════════════
   🗺️ MINIMAP — Floating quick-jump (bottom-right)
   ═══════════════════════════════════════════════════════ */

.minimap-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--glass-border-strong);
  color: var(--frost);
  cursor: pointer;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  padding: 0;
}
.minimap-btn:hover {
  background: rgba(241, 199, 91, 0.18);
  border-color: var(--gold-bright);
  transform: scale(1.06);
}
.minimap-btn[aria-expanded="true"] {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--midnight);
}

.minimap-panel {
  position: fixed;
  bottom: 84px;
  right: 24px;
  min-width: 220px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-card);
  padding: 18px 16px;
  z-index: 399;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}
.minimap-panel.open {
  display: flex;
  animation: minimap-rise 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes minimap-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.minimap-panel h6 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 400;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
}
.minimap-panel a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 7px 10px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s, padding 0.2s;
  font-family: var(--font-zh);
  letter-spacing: 0.04em;
}
.minimap-panel a:hover {
  color: var(--frost);
  background: rgba(255, 255, 255, 0.05);
  padding-left: 14px;
}
.minimap-panel a.current {
  color: var(--gold-bright);
  background: rgba(241, 199, 91, 0.1);
}

@media (max-width: 640px) {
  .minimap-btn { width: 42px; height: 42px; bottom: 18px; right: 18px; }
  .minimap-panel { right: 18px; bottom: 70px; min-width: 200px; padding: 16px 14px; }
}

/* ═══════════════════════════════════════════════════════
   🖼️ PLATE — Museum image / video showcase
   ═══════════════════════════════════════════════════════ */

.plate {
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 0;
  position: relative;
  transition: border-color 0.45s;
}
.plate:hover { border-color: var(--glass-border-strong); }

.plate .plate-media {
  position: relative;
  background: var(--bg-deeper);
  overflow: hidden;
}
.plate .plate-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.plate .plate-image,
.plate video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  background: var(--bg-deeper);
}

.plate video { outline: none; }

.plate figcaption {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 24px 32px;
  border-top: 1px solid var(--glass-border);
}

.plate figcaption .plate-label {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  flex-shrink: 0;
  padding-top: 4px;
  white-space: nowrap;
}

.plate figcaption .plate-body { flex: 1; }

.plate figcaption p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.plate figcaption .meta {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.plate figcaption a {
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(241, 199, 91, 0.4);
  transition: border-color 0.25s;
}
.plate figcaption a:hover { border-color: var(--gold-bright); }

@media (max-width: 640px) {
  .plate figcaption { flex-direction: column; gap: 8px; padding: 18px 22px; }
  .plate figcaption p { font-size: 0.95rem; }
}

/* ═══════════════════════════════════════════════════════
   🎬 FILM-POSTER REFERENCE BANNER
   ═══════════════════════════════════════════════════════ */

.film-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--frost);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  padding: 56px 56px 32px;
  min-height: 260px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.005) 100%),
    var(--midnight);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  transition: border-color 0.45s, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Aurora that drifts across on hover */
.film-card .film-aurora {
  position: absolute;
  inset: -30%;
  z-index: 0;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.45;
  transition: opacity 0.8s, transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform: translateX(-20%);
}
.film-card .film-aurora::before,
.film-card .film-aurora::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.film-card .film-aurora::before {
  left: -10%; top: 10%;
  width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(160, 224, 171, 0.55), transparent 70%);
}
.film-card .film-aurora::after {
  right: -10%; top: -10%;
  width: 70%; height: 100%;
  background: radial-gradient(circle, rgba(255, 172, 46, 0.55), transparent 70%);
}
.film-card:hover .film-aurora {
  transform: translateX(0);
  opacity: 0.7;
}

/* Subtle film grain overlay */
.film-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/></svg>");
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.film-card > * { position: relative; z-index: 2; }

.film-card:hover {
  border-color: var(--glass-border-strong);
  transform: translateY(-2px);
}

/* Top row — kicker + meta */
.film-card .film-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 56px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.film-card .film-top .kicker::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold-bright);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 10px var(--gold-bright);
}
.film-card .film-meta-right {
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, 0.45);
}

/* Title */
.film-card .film-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--frost);
  margin-bottom: 6px;
}
.film-card .film-sub {
  font-family: var(--font-zh);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

/* Bottom row — watch CTA */
.film-card .film-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.film-card .film-cta .watch { color: var(--frost); }
.film-card .film-cta .arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-bright);
  transition: gap 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.film-card .film-cta .arrow::after {
  content: '→';
  font-size: 1.15rem;
}
.film-card:hover .film-cta .arrow { gap: 18px; }

@media (max-width: 640px) {
  .film-card { padding: 28px 22px 22px; min-height: 200px; }
  .film-card .film-top { margin-bottom: 32px; font-size: 0.62rem; flex-wrap: wrap; gap: 8px; }
  .film-card .film-meta-right { gap: 10px; }
  .film-card .film-title { font-size: 1.6rem; }
  .film-card .film-sub { font-size: 0.9rem; margin-bottom: 18px; }
  .film-card .film-cta { font-size: 0.7rem; padding-top: 18px; }
}

/* ═══════════════════════════════════════════════════════
   📐 SPECIMEN — Museum diagram global overrides
   (Bumps label sizes so they read clearly across all pages)
   ═══════════════════════════════════════════════════════ */
.specimen .label       { font-size: 13px !important; letter-spacing: 0.18em !important; }
.specimen .label-small { font-size: 11px !important; letter-spacing: 0.14em !important; }
.specimen .label-tag   { font-size: 12px !important; letter-spacing: 0.14em !important; }
.specimen .label-tribe { font-size: 11px !important; }
.specimen .tribe-name  { font-size: 11px !important; }
.specimen .hebrew      { font-size: 17px !important; }
.specimen .marker-bg   { r: 13; }
.specimen text[font-size="9"]  { font-size: 12px !important; }
.specimen text[font-size="10"] { font-size: 13px !important; }
.specimen text[font-size="11"] { font-size: 14px !important; }
.specimen text[font-size="14"] { font-size: 17px !important; }
.specimen text[font-size="15"] { font-size: 18px !important; }

@media (max-width: 640px) {
  .specimen .label       { font-size: 11px !important; }
  .specimen .label-small { font-size: 10px !important; }
  .specimen .label-tag   { font-size: 10px !important; }
  .specimen .label-tribe,
  .specimen .tribe-name  { font-size: 9px !important; }
}

/* SVG flame/glow animations */
@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}
.flame { animation: flicker 1.6s ease-in-out infinite; transform-origin: center bottom; }

@keyframes glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 6px var(--gold)); }
  50% { filter: drop-shadow(0 0 16px var(--gold-bright)); }
}
.glow { animation: glow-pulse 3.5s ease-in-out infinite; }

/* ─────────────────────────────────────────────────────
   📱 RESPONSIVE — Mobile-first refinements
   ───────────────────────────────────────────────────── */

/* Tablet — 768 and below */
@media (max-width: 900px) {
  .nav-container { padding: 12px 18px; gap: 12px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 18px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-links a {
    display: block;
    padding: 14px 22px;
    font-size: 0.95rem;
  }
  .nav-links a::after { display: none; }

  .bilingual { grid-template-columns: 1fr; gap: 14px; }
  .detail-panel .detail-body { grid-template-columns: 1fr; gap: 16px; }
}

/* Phone — 640 and below */
@media (max-width: 640px) {
  body { font-size: 15px; line-height: 1.6; }

  .container { padding: 36px 16px 64px; }
  .hero { padding: 56px 16px 32px; }
  .hero .lead { font-size: 1rem; }

  .section { margin: 48px 0; }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 22px;
  }

  .specs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .spec-item { padding: 12px 14px; }
  .spec-item .value { font-size: 0.95rem; }
  .spec-item .value .en { font-size: 0.75rem; }

  .bilingual > div { padding: 22px 22px; }
  .bilingual p { font-size: 0.93rem; }

  .interactive-stage {
    padding: 28px 14px;
    min-height: 320px;
  }
  .interactive-stage .hint {
    top: 10px;
    right: 12px;
    font-size: 0.65rem;
  }

  .detail-panel { padding: 22px 22px; }
  .detail-panel .en-name { font-size: 0.95rem; }

  .entry-grid { grid-template-columns: 1fr; gap: 14px; margin: 32px 0; }
  .entry-card { padding: 22px 22px; }
  .entry-card h3 { font-size: 1.3rem; }

  .page-nav {
    flex-direction: column;
    margin-top: 48px;
  }
  .page-nav a {
    justify-content: center;
    font-size: 0.82rem;
    padding: 14px 20px;
  }

  .site-footer { padding: 36px 18px; }
  .site-footer .verse { font-size: 1rem; }

  /* On phones, disable cursor crosshair preference if any */
  body { cursor: default; }

  /* Reduce backdrop-blur for phone perf */
  .site-header,
  .spec-item,
  .bilingual > div,
  .interactive-stage,
  .detail-panel,
  .entry-card,
  .page-nav a,
  .tooltip {
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
  }

  /* On tiny phones tooltip can wrap */
  .tooltip {
    max-width: 80vw;
    white-space: normal;
  }
}

/* Very narrow */
@media (max-width: 380px) {
  .specs { grid-template-columns: 1fr; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.4rem; }
}

/* Touch devices — make hover regions easier */
@media (hover: none) and (pointer: coarse) {
  .hover-region { -webkit-tap-highlight-color: rgba(241, 199, 91, 0.3); }
}
