/* ============================================================
   YOUR STORY REVEALED — Design System v1 "Revealed"
   Cinematic dark + parchment light, gold reveal accent.
   Display: Fraunces · Body/UI: Inter · Hebrew: Frank Ruhl Libre
   ============================================================ */

:root {
  /* Ink (dark) surfaces */
  --ink-0: #08090c;
  --ink-1: #0d0f13;
  --ink-2: #12151b;
  --ink-3: #1a1e26;
  --hairline: rgba(244, 239, 230, 0.10);
  --hairline-strong: rgba(244, 239, 230, 0.18);

  /* Parchment (light) surfaces */
  --parch-0: #f6f2e9;
  --parch-1: #efe9dc;
  --parch-2: #e7dfcf;
  --hairline-dark: rgba(23, 21, 18, 0.12);

  /* Gold accent */
  --gold: #c9a45c;
  --gold-bright: #e6c47c;
  --gold-deep: #9a7a3c;
  --gold-glow: rgba(201, 164, 92, 0.35);

  /* Text */
  --text-hi: #f5f2ea;
  --text-mid: #c9c4b8;
  --text-lo: #918c80;
  --text-dark: #171512;
  --text-dark-lo: #57524a;

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-hebrew: "Frank Ruhl Libre", "Fraunces", serif;

  /* Rhythm */
  --section-pad: clamp(5rem, 10vw, 9rem);
  --container: 1200px;
  --container-wide: 1400px;
  --radius: 18px;
  --radius-lg: 28px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-luxe: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.7s;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-hi);
  background: var(--ink-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--gold); color: var(--ink-0); }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.display-xl { font-size: clamp(2.9rem, 7.2vw, 6rem); }
.display-lg { font-size: clamp(2.3rem, 5vw, 4rem); }
.display-md { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.display-sm { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.25; }

.display-italic { font-style: italic; font-weight: 400; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow--bare::before { display: none; }

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 46ch;
}

.text-gold { color: var(--gold); }
.hebrew { font-family: var(--font-hebrew); direction: rtl; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 92vw); margin-inline: auto; }
.container-wide { width: min(var(--container-wide), 94vw); margin-inline: auto; }

section { position: relative; }
.section { padding-block: var(--section-pad); }

.section--parchment {
  background: var(--parch-0);
  color: var(--text-dark);
}
.section--parchment .lede,
.section--parchment p { color: var(--text-dark-lo); }
.section--parchment .eyebrow { color: var(--gold-deep); }

.section--raised { background: var(--ink-1); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 2.6vw, 2.2rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2vw, 1.8rem); }

@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   PREMIUM BUTTONS
   ============================================================ */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.02rem 2.1rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out),
              background-color 0.45s var(--ease-out), border-color 0.45s var(--ease-out),
              color 0.45s var(--ease-out);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }

/* Sheen sweep on hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-luxe);
  z-index: 1;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }

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

/* Primary — gold */
.btn--gold {
  background: linear-gradient(140deg, var(--gold-bright) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  color: #14100a;
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 10px 30px -8px var(--gold-glow);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 18px 44px -8px var(--gold-glow);
}

/* Ghost — hairline glass */
.btn--ghost {
  border: 1px solid var(--hairline-strong);
  color: var(--text-hi);
  background: rgba(244, 239, 230, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--gold-bright);
  box-shadow: 0 14px 34px -12px rgba(0,0,0,0.6);
}

/* Dark on parchment */
.btn--ink {
  background: var(--ink-1);
  color: var(--parch-0);
  box-shadow: 0 12px 30px -10px rgba(23,21,18,0.45);
}
.btn--ink:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(23,21,18,0.55); }

.btn--lg { padding: 1.2rem 2.7rem; font-size: 1.02rem; }
.btn--sm { padding: 0.72rem 1.5rem; font-size: 0.86rem; }

/* Arrow micro-interaction */
.btn .arr { display: inline-block; transition: transform 0.45s var(--ease-out); }
.btn:hover .arr { transform: translateX(5px); }

/* Text link with animated underline */
.link-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  padding-bottom: 3px;
}
.link-line::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease-luxe);
}
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }
.link-line .arr { transition: transform 0.45s var(--ease-out); }
.link-line:hover .arr { transform: translateX(4px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out),
              backdrop-filter 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--hairline);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  width: min(var(--container-wide), 94vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.05rem;
}

.nav__logo img { height: 44px; width: auto; transition: opacity 0.3s; }
.nav__logo:hover img { opacity: 0.85; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2rem);
}
.nav__links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  padding: 0.4rem 0.1rem;
  transition: color 0.35s var(--ease-out);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-luxe);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text-hi); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { display: flex; align-items: center; gap: 1rem; }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.6rem;
  z-index: 1001;
}
.nav__burger span {
  width: 26px; height: 2px;
  background: var(--text-hi);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-luxe), opacity 0.3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(8, 9, 12, 0.88);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out);
}
.nav__drawer.is-open { opacity: 1; pointer-events: auto; }
.nav__drawer a {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  padding: 0.45rem 1rem;
  color: var(--text-mid);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
.nav__drawer.is-open a { opacity: 1; transform: none; }
.nav__drawer a:hover { color: var(--gold-bright); }
.nav__drawer .drawer-social { display: flex; gap: 1.4rem; margin-top: 2rem; opacity: 0; transition: opacity 0.6s 0.3s; }
.nav__drawer.is-open .drawer-social { opacity: 1; }

@media (max-width: 1080px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__burger { display: flex; }
  .nav__drawer { display: flex; }
}

/* ============================================================
   PREMIUM MODAL / POPUP SYSTEM
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(5, 6, 8, 0.6);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  display: grid;
  place-items: center;
  padding: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}
.modal-backdrop.is-open { opacity: 1; pointer-events: auto; }

.modal {
  position: relative;
  width: min(560px, 100%);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(201, 164, 92, 0.12), transparent 55%),
    linear-gradient(180deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.2rem);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.8), 0 0 0 1px rgba(201,164,92,0.08);
  transform: translateY(26px) scale(0.96);
  opacity: 0;
  transition: transform 0.6s var(--ease-luxe), opacity 0.5s var(--ease-out);
}
.modal-backdrop.is-open .modal { transform: none; opacity: 1; }

.modal__close {
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  color: var(--text-lo);
  font-size: 1.1rem;
  line-height: 1;
  transition: color 0.3s, border-color 0.3s, transform 0.4s var(--ease-out);
}
.modal__close:hover { color: var(--gold-bright); border-color: var(--gold); transform: rotate(90deg); }

.modal .eyebrow { margin-bottom: 1rem; }
.modal h3 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-bottom: 0.8rem; }
.modal p { color: var(--text-mid); font-size: 0.99rem; margin-bottom: 1.6rem; }

/* ---------- Premium form fields ---------- */
.field-row { display: flex; gap: 0.7rem; }
@media (max-width: 540px) { .field-row { flex-direction: column; } }

.field {
  flex: 1;
  padding: 1.02rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: rgba(244, 239, 230, 0.05);
  color: var(--text-hi);
  font-family: var(--font-body);
  font-size: 0.97rem;
  outline: none;
  transition: border-color 0.35s, box-shadow 0.35s, background-color 0.35s;
}
.field::placeholder { color: var(--text-lo); }
.field:focus {
  border-color: var(--gold);
  background: rgba(244, 239, 230, 0.08);
  box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.16);
}
.section--parchment .field {
  border-color: var(--hairline-dark);
  background: rgba(255,255,255,0.6);
  color: var(--text-dark);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translate(-50%, 140%);
  z-index: 1400;
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 1.7rem;
  border-radius: 999px;
  background: rgba(18, 21, 27, 0.85);
  border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.7);
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.6s var(--ease-luxe);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 12px var(--gold-glow); }

/* ============================================================
   SCROLL REVEAL & MOTION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-luxe);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-scale.is-in { opacity: 1; transform: none; }

/* Staggered children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-stagger].is-in > * { opacity: 1; transform: none; }
[data-stagger].is-in > *:nth-child(1) { transition-delay: 0.05s; }
[data-stagger].is-in > *:nth-child(2) { transition-delay: 0.16s; }
[data-stagger].is-in > *:nth-child(3) { transition-delay: 0.27s; }
[data-stagger].is-in > *:nth-child(4) { transition-delay: 0.38s; }
[data-stagger].is-in > *:nth-child(5) { transition-delay: 0.49s; }
[data-stagger].is-in > *:nth-child(6) { transition-delay: 0.6s; }

/* Gold hairline that draws itself */
.rule-draw {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-luxe) 0.2s;
}
.rule-draw.is-in { transform: scaleX(1); }

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--hairline);
  padding-block: 1.15rem;
  user-select: none;
  position: relative;
}
.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--text-lo);
  display: flex; align-items: center; gap: 3.5rem;
  white-space: nowrap;
}
.marquee__track span::after { content: "✦"; color: var(--gold); font-style: normal; font-size: 0.7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Slow float (book) */
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-14px) rotate(0.4deg); }
}

/* Light rays sweep */
@keyframes rays {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Slow pan for cinematic imagery */
@keyframes kenburns {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.12); }
}

@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, .reveal-scale, [data-stagger] > * { opacity: 1; transform: none; filter: none; }
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.55s var(--ease-out), border-color 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 164, 92, 0.4);
  box-shadow: 0 30px 60px -18px rgba(0,0,0,0.65), 0 0 40px -20px var(--gold-glow);
}

.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,9,12,0.55));
  pointer-events: none;
}

.card__body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.card__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.card__title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  line-height: 1.28;
  color: var(--text-hi);
}
.card__excerpt {
  font-size: 0.93rem;
  color: var(--text-lo);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__meta { margin-top: auto; padding-top: 0.9rem; font-size: 0.82rem; color: var(--text-lo); display: flex; gap: 1rem; align-items: center; }

/* Parchment variant */
.section--parchment .card {
  background: #fffdf8;
  border-color: var(--hairline-dark);
}
.section--parchment .card__title { color: var(--text-dark); }
.section--parchment .card__excerpt, .section--parchment .card__meta { color: var(--text-dark-lo); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink-0);
  border-top: 1px solid var(--hairline);
  padding: clamp(3.5rem, 7vw, 6rem) 0 2.2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: 3.5rem;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand img { height: 52px; width: auto; margin-bottom: 1.2rem; }
.footer__brand p { font-size: 0.92rem; color: var(--text-lo); max-width: 30ch; }

.footer h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-lo);
  margin-bottom: 1.3rem;
}
.footer__links li { margin-bottom: 0.65rem; }
.footer__links a {
  font-size: 0.95rem;
  color: var(--text-mid);
  transition: color 0.3s, padding-left 0.3s var(--ease-out);
}
.footer__links a:hover { color: var(--gold-bright); padding-left: 6px; }

.footer__bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--text-lo);
}

/* Social icons */
.social { display: flex; gap: 0.9rem; }
.social a {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  color: var(--text-mid);
  transition: transform 0.45s var(--ease-out), border-color 0.4s, color 0.4s, box-shadow 0.45s;
}
.social a:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  color: var(--gold-bright);
  box-shadow: 0 12px 26px -10px var(--gold-glow);
}
.social svg { width: 19px; height: 19px; fill: currentColor; }

/* ============================================================
   PODCAST EPISODE ROWS
   ============================================================ */
.ep {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.4rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  transition: transform 0.5s var(--ease-out), border-color 0.5s, box-shadow 0.5s;
}
.ep + .ep { margin-top: 1rem; }
.ep:hover {
  transform: translateX(6px);
  border-color: rgba(201, 164, 92, 0.4);
  box-shadow: 0 20px 44px -16px rgba(0,0,0,0.6);
}
.ep__art { width: 92px; height: 92px; border-radius: 12px; object-fit: cover; }
.ep__title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; margin-top: 0.3rem; }
.ep__desc {
  font-size: 0.88rem; color: var(--text-lo); margin-top: 0.35rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 640px) {
  .ep { grid-template-columns: 64px 1fr; }
  .ep__art { width: 64px; height: 64px; }
  .ep__actions { grid-column: 1 / -1; }
}

/* ============================================================
   VIDEO MODAL
   ============================================================ */
.modal--video {
  width: min(1020px, 100%);
  padding: 0.6rem;
  background: var(--ink-1);
}
.modal--video .modal__close {
  top: -54px; right: 0;
  background: rgba(8,9,12,0.6);
}
.modal__video { aspect-ratio: 16 / 9; border-radius: calc(var(--radius-lg) - 6px); overflow: hidden; background: #000; }
.modal__video iframe { width: 100%; height: 100%; border: 0; }

/* Video play badge overlay */
.play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
  pointer-events: none;
}
.play-badge span {
  width: 76px; height: 76px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(8, 9, 12, 0.55);
  border: 1px solid rgba(244,239,230,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold-bright);
  font-size: 1.5rem;
  padding-left: 5px;
  transition: transform 0.5s var(--ease-out), background-color 0.4s, box-shadow 0.5s;
}
.card:hover .play-badge span, a:hover > .play-badge span {
  transform: scale(1.12);
  background: rgba(201, 164, 92, 0.85);
  color: #14100a;
  box-shadow: 0 0 50px var(--gold-glow);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-1 { margin-top: 0.75rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.5rem; } .mt-4 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.75rem; } .mb-2 { margin-bottom: 1.5rem; } .mb-3 { margin-bottom: 2.5rem; } .mb-4 { margin-bottom: 4rem; }
.center { text-align: center; }
.center .lede, .center .eyebrow { margin-inline: auto; }
.center .eyebrow::before { display: none; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .display-lg, .section-head .display-md { margin-top: 1.1rem; margin-bottom: 1.1rem; }

/* Page hero (interior pages) */
.page-hero {
  padding: calc(var(--section-pad) + 4rem) 0 var(--section-pad);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% -10%, rgba(201, 164, 92, 0.14), transparent 60%),
    var(--ink-0);
}
.page-hero .lede { margin-top: 1.4rem; }

/* ---------- Footer: five-column layout (brand + 4 nav groups) ---------- */
.footer__grid--5 { grid-template-columns: 1.7fr repeat(4, 1fr); }
.footer__brand p { max-width: 34ch; }
.footer__social { margin-top: 1.4rem; }
.footer__social .social a { width: 40px; height: 40px; }
.footer__social .social svg { width: 16px; height: 16px; }
@media (max-width: 1080px) { .footer__grid--5 { grid-template-columns: repeat(3, 1fr); } .footer__grid--5 .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 640px)  { .footer__grid--5 { grid-template-columns: repeat(2, 1fr); } }

/* Mobile drawer: secondary destinations */
.nav__drawer a.nav__drawer-minor { font-size: clamp(1.05rem, 4vw, 1.3rem); color: var(--text-lo); padding-block: 0.25rem; }
.nav__drawer a.nav__drawer-minor:first-of-type { margin-top: 0.8rem; }
