/* ═══════════════════════════════════════════════════════════════
   MUSTARDSEED PRODUCTIONS — INNER PAGE STYLESHEET
   Shared by: about.html, stories.html, tv-properties.html, philosophy.html
═══════════════════════════════════════════════════════════════ */

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

:root {
  --gold:       #d4af37;
  --gold-lt:    #f0d060;
  --gold-dim:   rgba(212,175,55,0.60);
  --gold-ghost: rgba(212,175,55,0.08);
  --cream:      #fdf8ee;
  --black:      #000000;
  --deep:       #0a0800;
  --panel-bg:   rgba(4,3,0,0.82);
  --nav-h:      68px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Lora','Georgia',serif;
  background: var(--black);
  color: var(--cream);
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.22); border-radius: 2px; }

/* ─── FIXED CINEMATIC BACKGROUND ─────────────────────────────── */
/* Inner pages use a deep gradient instead of video to keep them lightweight */
#bg-fixed {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(60,40,0,0.55) 0%, transparent 65%),
    radial-gradient(ellipse at 75% 70%, rgba(30,20,0,0.40) 0%, transparent 60%),
    linear-gradient(160deg, #0c0800 0%, #000000 55%, #060400 100%);
}

/* Vignette overlay */
#bg-fixed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
    transparent 30%, rgba(0,0,0,0.70) 100%);
  pointer-events: none;
}

/* ─── LEAVES CANVAS (inner pages) ───────────────────────────── */
#leaves-canvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 2s ease;
}
#leaves-canvas.visible { opacity: 0.55; }

/* ─── SOUND BUTTON ───────────────────────────────────────────── */
#sound-btn {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,0.38);
  background: rgba(6,4,0,0.80);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  outline: none;
  transition: border-color 0.3s, background 0.3s, transform 0.2s, box-shadow 0.3s;
}
#sound-btn:hover {
  border-color: rgba(212,175,55,0.80);
  background: rgba(16,10,0,0.95);
  transform: scale(1.1);
  box-shadow: 0 0 14px rgba(212,175,55,0.28);
}
#sound-btn svg { width:19px; height:19px; fill:var(--gold); }

/* ─── PAGE WRAPPER ───────────────────────────────────────────── */
#page-wrap {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION (inner pages — identical style to homepage)
═══════════════════════════════════════════════════════════════ */
#nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  padding: 0 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.60) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212,175,55,0.08);
  flex-shrink: 0;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand-main {
  font-family: 'Cinzel',serif;
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lt);
  line-height: 1;
}
.nav-brand-sub {
  font-family: 'Inter',sans-serif;
  font-size: 0.50rem;
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.45);
  line-height: 1;
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 9px 16px;
  font-family: 'Inter',sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,220,160,0.65);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 1px;
  background: var(--gold-lt);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}
.nav-link:hover,
.nav-link.active { color: var(--gold-lt); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

/* ═══════════════════════════════════════════════════════════════
   TV PROPERTIES DROPDOWN
═══════════════════════════════════════════════════════════════ */

/* Wrapper <li> that holds the trigger + panel */
.nav-dropdown {
  position: relative;
}

/* The trigger link — identical to .nav-link, plus caret */
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,220,160,0.65);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  transition: color 0.25s ease;
  position: relative;
  /* bottom underline — same as .nav-link::after */
  -webkit-tap-highlight-color: transparent;
}
.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 1px;
  background: var(--gold-lt);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown-trigger.active,
.nav-dropdown.open .nav-dropdown-trigger {
  color: var(--gold-lt);
}
.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown-trigger.active::after,
.nav-dropdown.open .nav-dropdown-trigger::after {
  transform: scaleX(1);
}

/* Caret SVG — rotates when open */
.nav-caret {
  width: 8px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.26s cubic-bezier(0.4,0,0.2,1);
}
.nav-dropdown:hover .nav-caret,
.nav-dropdown.open .nav-caret {
  transform: rotate(180deg);
}

/* Invisible bridge — fills the gap between trigger bottom and panel top
   so the cursor never leaves a hover-able area while moving down         */
.nav-dropdown-trigger::before {
  content: '';
  position: absolute;
  bottom: -12px; left: 0; right: 0;
  height: 12px;            /* matches padding below trigger to panel top  */
  background: transparent;
}

/* Dropdown panel */
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 2px);   /* 2 px gap — tiny, bridged by ::before above */
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 188px;
  background: rgba(7,5,12,0.97);
  border: 1px solid rgba(212,175,55,0.14);
  border-radius: 4px;
  padding: 7px 0;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.65), 0 0 0 1px rgba(212,175,55,0.04);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16,1,0.3,1);
  z-index: 60;
}
/* Subtle gold accent line at top of panel */
.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 14px; right: 14px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,175,55,0.35), transparent);
}

/* Show — driven by JS .open class (with close-delay) not pure :hover */
.nav-dropdown.open .nav-dropdown-panel {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown item */
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,220,160,0.58);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.22s ease, background 0.22s ease, padding-left 0.22s ease;
  position: relative;
}
/* Gold left-edge accent on hover */
.nav-dropdown-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1.5px;
  background: rgba(212,175,55,0.55);
  border-radius: 1px;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}
.nav-dropdown-item:hover {
  color: var(--gold-lt);
  background: rgba(212,175,55,0.05);
  padding-left: 26px;
}
.nav-dropdown-item:hover::before {
  transform: scaleY(1);
}

/* Responsive overrides */
@media (max-width: 768px) {
  .nav-dropdown-panel {
    left: auto;
    right: 0;
    transform: translateY(-6px);
  }
  .nav-dropdown.open .nav-dropdown-panel {
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════════
   MAIN CONTENT AREA
═══════════════════════════════════════════════════════════════ */
main {
  flex: 1;
  padding: 72px 0 100px;
}

/* ─── PAGE HEADER ────────────────────────────────────────────── */
.page-header {
  text-align: center;
  padding: 0 52px 64px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22,0,0.18,1) 0.15s forwards;
}

.page-eyebrow {
  font-family: 'Inter',sans-serif;
  font-size: 0.60rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.50);
  margin-bottom: 18px;
}

.page-title {
  font-family: 'Cinzel',serif;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-lt);
  line-height: 1.18;
  margin-bottom: 20px;
}

.page-lead {
  font-family: 'Lora',serif;
  font-size: clamp(0.92rem, 1.5vw, 1.12rem);
  font-style: italic;
  color: rgba(253,248,238,0.65);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Gold divider */
.gold-rule {
  width: clamp(40px,8vw,80px);
  height: 1px;
  background: linear-gradient(to right,
    transparent, rgba(212,175,55,0.55) 30%,
    rgba(212,175,55,0.55) 70%, transparent);
  margin: 28px auto;
}

/* ─── SECTION CONTAINER ──────────────────────────────────────── */
.section-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 52px;
}

/* ─── GLASS PANEL ────────────────────────────────────────────── */
.glass-panel {
  background: var(--panel-bg);
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: 4px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 52px 56px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.22,0,0.18,1) forwards;
}
.glass-panel:nth-child(1) { animation-delay: 0.20s; }
.glass-panel:nth-child(2) { animation-delay: 0.35s; }
.glass-panel:nth-child(3) { animation-delay: 0.50s; }
.glass-panel:nth-child(4) { animation-delay: 0.65s; }
.glass-panel:nth-child(5) { animation-delay: 0.80s; }

/* ─── PANEL TYPOGRAPHY ───────────────────────────────────────── */
.panel-eyebrow {
  font-family: 'Inter',sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.50);
  margin-bottom: 14px;
}

.panel-title {
  font-family: 'Cinzel',serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-lt);
  margin-bottom: 18px;
  line-height: 1.25;
}

.panel-body {
  font-family: 'Lora',serif;
  font-size: clamp(0.88rem, 1.3vw, 1.02rem);
  color: rgba(253,248,238,0.75);
  line-height: 1.82;
}
.panel-body p + p { margin-top: 1em; }

.panel-sub {
  font-family: 'Inter',sans-serif;
  font-size: 0.78rem;
  color: rgba(212,175,55,0.45);
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* ─── GRID LAYOUTS ───────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ─── CONTENT CARD ───────────────────────────────────────────── */
.content-card {
  background: rgba(10,8,0,0.55);
  border: 1px solid rgba(212,175,55,0.10);
  border-radius: 3px;
  padding: 28px 24px 30px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.content-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right,
    transparent, rgba(212,175,55,0.45), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}
.content-card:hover {
  border-color: rgba(212,175,55,0.28);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 20px rgba(212,175,55,0.06);
}
.content-card:hover::after { transform: scaleX(1); }

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  display: block;
  line-height: 1;
}

.card-title {
  font-family: 'Cinzel',serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  color: var(--gold-lt);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.card-body {
  font-family: 'Lora',serif;
  font-size: 0.84rem;
  color: rgba(253,248,238,0.62);
  line-height: 1.72;
}

/* ─── CHARACTER CARD ─────────────────────────────────────────── */
.char-card {
  background: rgba(8,6,0,0.65);
  border: 1px solid rgba(212,175,55,0.10);
  border-radius: 3px;
  padding: 32px 24px 28px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.char-card:hover {
  border-color: rgba(212,175,55,0.30);
  transform: translateY(-4px);
}
.char-card:nth-child(1):hover { box-shadow: 0 12px 40px rgba(212,175,55,0.12); }
.char-card:nth-child(2):hover { box-shadow: 0 12px 40px rgba(255,130,40,0.10); }
.char-card:nth-child(3):hover { box-shadow: 0 12px 40px rgba(60,140,255,0.10); }
.char-card:nth-child(4):hover { box-shadow: 0 12px 40px rgba(80,200,90,0.10); }

.char-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.char-name {
  font-family: 'Cinzel',serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-lt);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.char-role {
  font-family: 'Inter',sans-serif;
  font-size: 0.70rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.48);
  margin-bottom: 12px;
}

.char-theme {
  font-family: 'Lora',serif;
  font-size: 0.80rem;
  font-style: italic;
  color: rgba(253,248,238,0.52);
  line-height: 1.65;
}

/* ─── PHILOSOPHY STEP ────────────────────────────────────────── */
.philo-step {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(212,175,55,0.08);
}
.philo-step:last-child { border-bottom: none; padding-bottom: 0; }
.philo-step:first-child { padding-top: 0; }

.philo-num {
  font-family: 'Cinzel',serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(212,175,55,0.14);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  text-align: right;
  padding-top: 4px;
}

.philo-content { flex: 1; }

.philo-title {
  font-family: 'Cinzel',serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-lt);
  margin-bottom: 12px;
}

.philo-body {
  font-family: 'Lora',serif;
  font-size: 0.92rem;
  color: rgba(253,248,238,0.68);
  line-height: 1.82;
}

/* ─── PULL QUOTE ─────────────────────────────────────────────── */
.pull-quote {
  text-align: center;
  padding: 48px 52px;
  border-top: 1px solid rgba(212,175,55,0.12);
  margin-top: 40px;
}
.pull-quote blockquote {
  font-family: 'Lora',serif;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-style: italic;
  color: rgba(253,248,238,0.70);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 16px;
}
.pull-quote cite {
  font-family: 'Inter',sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.45);
  font-style: normal;
}

/* ─── FRANCHISE BLOCK ────────────────────────────────────────── */
.franchise-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(212,175,55,0.12);
}
.franchise-icon {
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.franchise-name {
  font-family: 'Cinzel',serif;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--gold-lt);
  margin-bottom: 4px;
}
.franchise-sub {
  font-family: 'Inter',sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.45);
}

/* ─── TV PRODUCTION SECTION ──────────────────────────────────── */
.tv-category {
  padding: 36px 0;
  border-bottom: 1px solid rgba(212,175,55,0.08);
}
.tv-category:last-child { border-bottom: none; padding-bottom: 0; }
.tv-category:first-child { padding-top: 0; }

.tv-cat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.tv-cat-icon { font-size: 1.8rem; line-height: 1; flex-shrink: 0; }
.tv-cat-title {
  font-family: 'Cinzel',serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-lt);
}

.tv-cat-desc {
  font-family: 'Lora',serif;
  font-size: 0.90rem;
  color: rgba(253,248,238,0.62);
  line-height: 1.80;
  margin-bottom: 20px;
}

.tv-bullet-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
}
.tv-bullet-list li {
  font-family: 'Inter',sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(212,175,55,0.55);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
  transition: color 0.2s ease;
}
.tv-bullet-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(212,175,55,0.28);
}
.tv-bullet-list li:hover { color: rgba(240,208,96,0.75); }

/* ─── FOOTER ─────────────────────────────────────────────────── */
#footer-chrome {
  position: relative;
  z-index: 15;
  padding: 0 52px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.0) 100%
  );
  border-top: 1px solid rgba(212,175,55,0.06);
  flex-shrink: 0;
  margin-top: auto;
}

.footer-vig-lockup {
  display: flex;
  align-items: center;
  gap: 9px;
  animation: vigGlowPulse 8s ease-in-out infinite;
}
@keyframes vigGlowPulse {
  0%, 78%, 100% { filter: brightness(1)    drop-shadow(0 0  0px rgba(212,175,55,0.00)); }
  86%           { filter: brightness(1.20) drop-shadow(0 0  8px rgba(212,175,55,0.26)); }
}
.footer-vig-link {
  display: flex; align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.30s ease, transform 0.30s ease;
  flex-shrink: 0;
}
.footer-vig-link:hover {
  filter: brightness(1.45) drop-shadow(0 0 10px rgba(212,175,55,0.40));
  transform: scale(1.06);
}
.footer-vig-link img {
  width: clamp(22px,2.8vw,32px);
  height: auto;
  mix-blend-mode: screen;
  opacity: 0.55;
  display: block;
}
.footer-vig-label {
  font-family: 'Inter',sans-serif;
  font-size: clamp(0.46rem,0.72vw,0.58rem);
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.42);
  white-space: nowrap;
  pointer-events: none;
}
.footer-copy {
  font-family: 'Inter',sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  color: rgba(212,175,55,0.18);
  text-align: center;
  flex-shrink: 1;
  padding: 0 12px;
}
.footer-spacer {
  min-width: 80px;
  flex-shrink: 0;
}

/* Contact Us footer link */
@keyframes contactGlow {
  0%,100% { text-shadow: none; color: rgba(212,175,55,0.72); }
  50%      { text-shadow: 0 0 18px rgba(212,175,55,0.46), 0 0 6px rgba(240,208,96,0.28); color: rgba(240,208,96,0.92); }
}
.footer-contact-link {
  font-family: 'Inter',sans-serif;
  font-size: clamp(0.46rem,0.72vw,0.58rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.72);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.28s ease, text-shadow 0.28s ease;
  flex-shrink: 0;
  margin-right: 76px;
  animation: contactGlow 4s ease-in-out infinite;
}
.footer-contact-link:hover {
  color: rgba(240,208,96,0.95);
  text-shadow: 0 0 20px rgba(212,175,55,0.50), 0 0 8px rgba(240,208,96,0.35);
  animation: none;
}

/* ─── FADE-UP ANIMATION ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── SECTION DIVIDER LINE ───────────────────────────────────── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right,
    transparent 0%, rgba(212,175,55,0.18) 30%,
    rgba(212,175,55,0.18) 70%, transparent 100%);
  margin: 56px 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  #nav { padding: 0 24px; }
  .nav-items { gap: 0; }
  .nav-link { padding: 8px 10px; font-size: 0.62rem; }
  .section-wrap { padding: 0 24px; }
  .glass-panel { padding: 36px 28px; }
  .page-header { padding: 0 24px 48px; }
  .grid-2 { grid-template-columns: 1fr; }
  .tv-bullet-list { grid-template-columns: 1fr; }
  #footer-chrome { padding: 0 24px; }
  .footer-copy { font-size: 0.44rem; padding: 0 8px; }
  .footer-spacer { min-width: 0; display: none; }
  .footer-contact-link { font-size: 0.44rem; letter-spacing: 0.18em; }
  .pull-quote { padding: 36px 24px; }
  .philo-step { flex-direction: column; gap: 10px; }
  .philo-num { width: auto; text-align: left; }
}
@media (max-width: 600px) {
  .nav-brand-main { font-size: 0.68rem; }
  .nav-link { padding: 8px 8px; font-size: 0.58rem; letter-spacing: 0.10em; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  main { padding: 48px 0 80px; }
}

/* ═══ MOBILE ≤480px — iPhone portrait first ════════════════ */
@media (max-width: 480px) {
  /* NAV */
  #nav { padding: 0 16px; }
  .nav-items { display: none; }
  .nav-brand-main { font-size: 0.60rem; letter-spacing: 0.14em; }
  .nav-brand-sub  { font-size: 0.42rem; letter-spacing: 0.22em; }
  .nav-link { padding: 8px 6px; font-size: 0.56rem; letter-spacing: 0.08em; }

  /* PAGE HEADER */
  .page-header { padding: 0 16px 28px; }
  .page-title  { font-size: clamp(1.45rem, 6vw, 2rem); }
  .page-lead   { font-size: 0.88rem; }

  /* SECTION CONTAINER */
  .section-wrap { padding: 0 16px; }

  /* GLASS PANEL */
  .glass-panel { padding: 24px 16px; margin-bottom: 20px; }

  /* GRIDS — all collapse to single column */
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; gap: 16px; }

  /* TV BULLETS */
  .tv-bullet-list { grid-template-columns: 1fr; }

  /* PULL QUOTE */
  .pull-quote { padding: 24px 16px; margin-top: 24px; }
  .pull-quote blockquote { font-size: 1.0rem; }

  /* PHILOSOPHY STEP */
  .philo-step { flex-direction: column; gap: 8px; padding: 20px 0; }
  .philo-num  { width: auto; text-align: left; font-size: 1.6rem; }

  /* CONTENT CARDS */
  .content-card { padding: 20px 16px 22px; }

  /* CHARACTER CARDS */
  .char-card { padding: 24px 16px 20px; }

  /* SECTION DIVIDER */
  .section-divider { margin: 32px 0; }

  /* MAIN PADDING */
  main { padding: 36px 0 60px; }

  /* FOOTER — stack, kill 76px margin-right overflow */
  #footer-chrome {
    padding: 12px 16px 16px;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 6px;
  }
  .footer-contact-link {
    margin-right: 0;          /* KEY FIX: eliminates 76px horizontal overflow */
    font-size: 0.42rem;
    letter-spacing: 0.14em;
    white-space: normal;
  }
  .footer-copy   { font-size: 0.38rem; padding: 0; }
  .footer-spacer { display: none; }
  .footer-vig-label { font-size: 0.40rem; }
}

/* ═══ MOBILE — 480px (iPhone portrait) ════════════════════════
   MOBILE-ONLY: all rules scoped to ≤480px; no desktop changes.
═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* NAV — reduce padding, hide nav links, keep brand */
  #nav { padding: 0 16px; }
  .nav-items { display: none; }
  .nav-brand-main { font-size: 0.62rem; letter-spacing: 0.16em; }
  .nav-brand-sub  { font-size: 0.44rem; letter-spacing: 0.26em; }

  /* SECTIONS */
  .section-wrap { padding: 0 16px 60px; }
  .page-header  { padding: 0 16px 36px; }
  .pull-quote   { padding: 24px 16px; }

  /* GLASS PANELS */
  .glass-panel  { padding: 24px 16px; }

  /* GRIDS — collapse all multi-column grids to single column */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .tv-bullet-list { grid-template-columns: 1fr; }

  /* FOOTER — stack vertically, remove overflow-causing margin */
  #footer-chrome {
    padding: 16px 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 8px;
  }
  .footer-contact-link {
    margin-right: 0;       /* KEY FIX: removes 76px overflow margin */
    font-size: 0.46rem;
    letter-spacing: 0.16em;
  }
  .footer-copy { font-size: 0.40rem; padding: 0; }
  .footer-vig-label { font-size: 0.36rem; }

  /* BOOK PANEL (contact/about) */
  .book-panel { grid-template-columns: 1fr; gap: 24px; padding: 24px 16px; }
  .book-cover-wrap { width: 100%; max-width: 200px; }

  /* TV panel */
  .tv-panel-header { padding: 28px 16px 24px; }
}
