/* Rabbi Yoni Levin — Speaker-Forward Editorial Redesign */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-italic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal-deep: #092B32;
  --teal-900: #0D3840;
  --teal-800: #144E56;
  --teal-700: #1B626B;
  --teal-600: #257A84;
  --gold-300: #F0C987;
  --gold-400: #E2AB58;
  --gold-500: #D4953A;
  --gold-600: #B5731F;
  --gold-text: #9A5F12;
  --ivory: #FAF7F1;
  --ivory-2: #F2ECE0;
  --white: #FFFFFF;
  --ink: #0F2327;
  --ink-soft: #43595E;
  --ink-muted: #60757A;
  --line: rgba(13, 59, 62, 0.12);
  --line-strong: rgba(13, 59, 62, 0.22);
  --line-dark: rgba(255, 255, 255, 0.14);
  --gold-line: rgba(212, 149, 58, 0.38);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 12px 32px rgba(7, 29, 34, 0.06), 0 2px 8px rgba(7, 29, 34, 0.04);
  --shadow-lift: 0 22px 48px rgba(7, 29, 34, 0.12), 0 4px 12px rgba(7, 29, 34, 0.06);
  --shadow-dark: 0 26px 64px rgba(4, 18, 21, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--teal-900);
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }

.sr, .skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  width: auto;
  height: auto;
  padding: 10px 16px;
  clip: auto;
  background: var(--gold-500);
  color: var(--teal-deep);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

.shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* =========================================================
   TOPBAR
   ========================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(13, 56, 64, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 185, 108, 0.24);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.topbar.scrolled {
  background: rgba(11, 46, 53, 0.95);
  box-shadow: 0 10px 30px rgba(5, 24, 28, 0.26);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ivory);
  flex-shrink: 0;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(212, 149, 58, 0.14);
  border: 1px solid rgba(212, 149, 58, 0.36);
  color: var(--gold-400);
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #FFFFFF;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(250, 247, 241, 0.82);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}
.nav-cta {
  margin-left: 8px;
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-deep);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(212, 149, 58, 0.32);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 8px 20px rgba(212, 149, 58, 0.42);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, #ECC37A 0%, #D4953A 55%, #C17D24 100%);
  color: var(--teal-deep);
  box-shadow: 0 10px 26px rgba(212, 149, 58, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}
.btn-gold:hover {
  box-shadow: 0 14px 34px rgba(212, 149, 58, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.48);
  filter: brightness(1.04);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(226, 171, 88, 0.65);
  color: #FFFFFF;
}
.btn-glass.is-copied {
  background: rgba(212, 149, 58, 0.22);
  border-color: var(--gold-400);
  color: var(--gold-300);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal-800), var(--teal-900));
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(9, 37, 42, 0.22);
}
.btn-teal:hover {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-800));
  box-shadow: 0 12px 26px rgba(9, 37, 42, 0.3);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--teal-900);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease);
}
.btn-outline-dark:hover {
  border-color: var(--teal-800);
  background: rgba(13, 59, 62, 0.04);
  transform: translateY(-1px);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal-800);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(212, 149, 58, 0.55);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.inline-link:hover {
  color: var(--gold-text);
  border-color: var(--gold-500);
}

/* =========================================================
   1. MAGNETIC EDITORIAL HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(58% 72% at 78% 28%, rgba(232, 185, 108, 0.26) 0%, rgba(232, 185, 108, 0.09) 42%, rgba(20, 78, 86, 0) 72%),
    radial-gradient(56% 68% at 14% 84%, rgba(62, 168, 174, 0.30) 0%, rgba(62, 168, 174, 0.10) 45%, rgba(13, 56, 64, 0) 74%),
    radial-gradient(46% 54% at 24% 10%, rgba(76, 188, 194, 0.18) 0%, rgba(13, 56, 64, 0) 68%),
    radial-gradient(66% 42% at 52% 104%, rgba(232, 185, 108, 0.16) 0%, rgba(20, 78, 86, 0) 70%),
    linear-gradient(148deg, #0D3840 0%, #144E56 48%, #1B626B 100%);
  color: var(--ivory);
  padding: 40px 0 42px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(244, 212, 150, 0.11) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 82% 76% at 74% 34%, #000 12%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 82% 76% at 74% 34%, #000 12%, transparent 74%);
}
.hero-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  top: -140px;
  right: 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 192, 114, 0.28) 0%, rgba(232, 185, 108, 0.09) 42%, rgba(232, 185, 108, 0) 70%);
  filter: blur(26px);
  pointer-events: none;
  z-index: 1;
}
.hero-glow-secondary {
  position: absolute;
  width: 520px;
  height: 520px;
  bottom: -180px;
  left: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66, 178, 184, 0.28) 0%, rgba(62, 168, 174, 0.08) 46%, rgba(13, 56, 64, 0) 72%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 1;
}
.hero-filigree {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.42;
}
.hero-shell {
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 52px;
}
.hero-copy-col {
  order: 1;
}
.hero-portrait-col {
  order: 2;
  display: flex;
  justify-content: flex-end;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.hero-kicker::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  flex-shrink: 0;
}

.hero-title {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(3.15rem, 5.4vw, 4.95rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  text-shadow: 0 2px 26px rgba(6, 28, 34, 0.28);
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: #F6D89B;
  text-shadow: 0 2px 24px rgba(8, 32, 38, 0.26);
}

.hero-sub {
  margin: 0 0 30px;
  max-width: 540px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 252, 245, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Portrait Frame */
.portrait-frame {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 410px;
  border-radius: 22px;
  padding: 9px;
  background: linear-gradient(148deg, rgba(245, 210, 144, 0.58), rgba(212, 149, 58, 0.20) 48%, rgba(92, 198, 204, 0.34));
  box-shadow: 0 26px 60px rgba(6, 28, 34, 0.42), 0 0 0 1px rgba(244, 208, 139, 0.28);
}
.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 4.75;
  object-fit: cover;
  object-position: 50% 16%;
  border-radius: 15px;
  background: #144E56;
}
.portrait-badge {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: calc(100% - 40px);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(11, 46, 53, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 208, 139, 0.40);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #FFFFFF;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F4CE86;
  box-shadow: 0 0 0 4px rgba(232, 185, 108, 0.26);
  flex-shrink: 0;
}

/* Hero Trust Strip */
.trust-strip {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(240, 201, 135, 0.26);
  border: 1px solid rgba(240, 201, 135, 0.30);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(6, 28, 34, 0.24);
}
.trust-item {
  background: rgba(11, 47, 54, 0.64);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.trust-num {
  font-family: var(--serif);
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1.1;
  color: #F6D89B;
  letter-spacing: 0.01em;
}
.trust-label {
  font-size: 0.79rem;
  color: rgba(255, 252, 245, 0.86);
  line-height: 1.35;
}

/* =========================================================
   1B. LUMINOUS INTERACTIVE MARQUEE SCROLLER BAND
   ========================================================= */
.marquee-band {
  position: relative;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(60% 180% at 50% 0%, rgba(232, 185, 108, 0.16) 0%, rgba(245, 237, 224, 0) 70%),
    linear-gradient(180deg, #F3EBDC 0%, #FAF6EE 100%);
  border-top: 1px solid rgba(232, 185, 108, 0.45);
  border-bottom: 1px solid rgba(13, 59, 62, 0.12);
  padding: 13px 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
.marquee-viewport {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 4.5%, #000 95.5%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4.5%, #000 95.5%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: marqueeGlide 46s linear infinite;
}
.marquee-band:hover .marquee-track,
.marquee-band:focus-within .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0F4149;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s ease, transform 0.2s var(--ease);
}
.marquee-item:hover,
.marquee-item:focus-visible {
  background: rgba(212, 149, 58, 0.16);
  color: #874F09;
  transform: translateY(-1px);
}
.marquee-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
  font-size: 0.56rem;
  color: #C78428;
  opacity: 0.85;
  user-select: none;
}
@keyframes marqueeGlide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.watch-section,
.speaking-section,
.pasken-section,
.library-section {
  padding: 84px 0;
}
.watch-section { background: var(--ivory); }
.speaking-section { background: var(--ivory); }
.pasken-section {
  background: var(--ivory-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.library-section { background: var(--ivory); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.section-head h2,
.pasken-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 3.8vw, 3.15rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--teal-900);
}
.section-lead {
  margin: 0;
  max-width: 440px;
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

/* =========================================================
   2. FEATURED VIDEO THEATER & PARSHA PEARLS REELS
   ========================================================= */
.theater-card {
  background: linear-gradient(148deg, #0D3840 0%, #144E56 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 149, 58, 0.34);
  box-shadow: var(--shadow-dark);
  color: var(--ivory);
}
.theater-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #041316;
  overflow: hidden;
}
.theater-stage video {
  width: 100%;
  height: 100%;
  display: block;
  background: #041316;
  object-fit: contain;
}
.poster-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #041316;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}
.poster-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.35s ease;
}
.poster-trigger:hover img {
  transform: scale(1.025);
  filter: brightness(0.95);
}
.poster-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(6, 26, 30, 0.14) 0%, rgba(6, 26, 30, 0.42) 100%),
    linear-gradient(180deg, rgba(6, 26, 30, 0.44) 0%, transparent 32%, transparent 68%, rgba(6, 26, 30, 0.6) 100%);
  pointer-events: none;
}
.poster-pill {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(6, 26, 30, 0.84);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(240, 201, 135, 0.42);
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.play-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #F0C987 0%, #D4953A 65%, #BA761F 100%);
  color: var(--teal-deep);
  box-shadow: 0 0 0 12px rgba(212, 149, 58, 0.22), 0 18px 42px rgba(0, 0, 0, 0.46);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.play-orb svg { margin-left: 3px; }
.poster-trigger:hover .play-orb {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 18px rgba(212, 149, 58, 0.28), 0 22px 48px rgba(0, 0, 0, 0.56);
}
.poster-runtime {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(6, 26, 30, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.video-error-banner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  background: rgba(6, 26, 30, 0.92);
  color: #FFFFFF;
  text-align: center;
}
.video-error-banner p { margin: 0; max-width: 420px; color: rgba(250, 247, 241, 0.86); }

.theater-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background: linear-gradient(180deg, #09252A 0%, #071D21 100%);
  border-top: 1px solid rgba(240, 201, 135, 0.16);
}
.theater-meta { min-width: 0; }
.theater-tag {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.theater-title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 600;
  line-height: 1.1;
  color: #FFFFFF;
}
.theater-desc {
  margin: 0;
  max-width: 560px;
  font-size: 0.93rem;
  color: rgba(250, 247, 241, 0.8);
}
.theater-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}
.episode-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  gap: 4px;
}
.ep-pill {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(250, 247, 241, 0.84);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.ep-pill:hover { color: #FFFFFF; }
.ep-pill.is-active {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--teal-deep);
}
.theater-ext {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gold-300);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 201, 135, 0.4);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.theater-ext:hover { color: #FFFFFF; border-color: #FFFFFF; }

/* Reel Strip & Horizontal Scroller */
.reel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 46px 0 20px;
}
.reel-heading {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--teal-900);
}
.reel-header-right {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.reel-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.reel-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--teal-900);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(9, 43, 50, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease), opacity 0.2s ease;
}
.reel-nav-btn:hover:not(:disabled) {
  background: var(--teal-800);
  border-color: var(--teal-800);
  color: #FFFFFF;
  transform: translateY(-1px);
}
.reel-nav-btn:disabled {
  opacity: 0.36;
  cursor: default;
}
.reel-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reel-grid::-webkit-scrollbar {
  display: none;
}
.reel-grid .reel-card {
  flex: 0 0 348px;
  scroll-snap-align: start;
}
.reel-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease;
}
.reel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--gold-line);
}
.reel-thumb-btn,
.reel-thumb-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: var(--teal-900);
  overflow: hidden;
  cursor: pointer;
}
.reel-thumb-btn img,
.reel-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.reel-card:hover .reel-thumb-btn img,
.reel-card:hover .reel-thumb-link img {
  transform: scale(1.04);
}
.reel-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 26, 30, 0.84);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.reel-badge-inline {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--teal-deep);
  font-weight: 700;
}
.reel-dur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(6, 26, 30, 0.86);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
}
.reel-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.reel-parsha {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.reel-body h4 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.18;
  color: var(--teal-900);
}
.reel-body h4 a { text-decoration: none; }
.reel-body h4 a:hover { color: var(--teal-700); }
.reel-links {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.reel-action {
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--teal-800);
  cursor: pointer;
  border-bottom: 1.5px solid var(--gold-500);
}
.reel-action:hover { color: var(--gold-text); }
.reel-ext {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}
.reel-ext:hover { color: var(--teal-800); }

/* =========================================================
   PULL QUOTE BAND
   ========================================================= */
.quote-band {
  position: relative;
  overflow: hidden;
  padding: 68px 0;
  background:
    radial-gradient(54% 92% at 50% 48%, rgba(232, 185, 108, 0.24) 0%, rgba(232, 185, 108, 0.06) 44%, rgba(20, 78, 86, 0) 74%),
    radial-gradient(48% 80% at 14% 80%, rgba(62, 168, 174, 0.24) 0%, rgba(13, 56, 64, 0) 70%),
    linear-gradient(142deg, #0D3840 0%, #144E56 52%, #1B626B 100%);
  color: #FFFFFF;
  border-top: 1px solid rgba(240, 201, 135, 0.28);
  border-bottom: 1px solid rgba(240, 201, 135, 0.28);
}
.quote-inner {
  text-align: center;
  max-width: 860px;
}
.quote-mark {
  display: block;
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--gold-400);
  margin-bottom: 12px;
}
.quote-band blockquote {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  font-weight: 500;
  line-height: 1.28;
  color: #FFFFFF;
}
.quote-attr {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
}

/* =========================================================
   3. SPEAKING & SHABBATON SHOWCASE
   ========================================================= */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.format-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 30px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease;
}
.format-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--teal-700));
  opacity: 0.55;
  transition: opacity 0.25s ease;
}
.format-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--gold-line);
}
.format-card:hover::before { opacity: 1; }
.format-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.format-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(13, 59, 62, 0.08), rgba(212, 149, 58, 0.16));
  border: 1px solid rgba(212, 149, 58, 0.34);
  color: var(--teal-800);
}
.format-no {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(181, 115, 31, 0.55);
}
.format-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.72rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--teal-900);
}
.format-card p {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--ink-soft);
}
.format-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.format-tags span {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--ivory-2);
  border: 1px solid var(--line);
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--teal-800);
}

/* Institutional Background Band */
.cred-band {
  margin-top: 0;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: center;
  background: var(--ivory-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.cred-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(7, 29, 34, 0.16);
  border: 1px solid rgba(13, 59, 62, 0.14);
}
.cred-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 18%;
}
.cred-body { padding: 6px 8px; }
.cred-body h2,
.cred-body h3 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--teal-900);
}
.cred-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
}
.cred-list li {
  padding-left: 13px;
  border-left: 2.5px solid var(--gold-500);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cred-list strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--teal-900);
}
.cred-list span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.38;
}

/* Direct Speaking Inquiry Conversion Box */
.inquiry-box {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
  padding: 40px 42px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(62% 92% at 88% 16%, rgba(232, 185, 108, 0.28) 0%, rgba(232, 185, 108, 0.08) 44%, rgba(20, 78, 86, 0) 72%),
    radial-gradient(50% 80% at 10% 88%, rgba(62, 168, 174, 0.24) 0%, rgba(13, 56, 64, 0) 70%),
    linear-gradient(145deg, #0D3840 0%, #144E56 50%, #1B626B 100%);
  color: #FFFFFF;
  border: 1px solid rgba(240, 201, 135, 0.36);
  box-shadow: 0 24px 58px rgba(7, 32, 38, 0.32);
}
.inquiry-kicker {
  margin: 0 0 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.inquiry-copy h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
  color: #FFFFFF;
}
.inquiry-copy p {
  margin: 0;
  font-size: 0.97rem;
  color: rgba(250, 247, 241, 0.84);
  line-height: 1.62;
}
.inquiry-panel {
  background: rgba(10, 42, 49, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(240, 201, 135, 0.22);
  border-radius: 18px;
  padding: 24px;
}
.pill-label {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.72);
}
.event-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}
.event-pill {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(250, 247, 241, 0.92);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.event-pill:hover {
  border-color: var(--gold-400);
  background: rgba(212, 149, 58, 0.16);
}
.event-pill.is-active {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  border-color: transparent;
  color: var(--teal-deep);
  box-shadow: 0 6px 16px rgba(212, 149, 58, 0.34);
}
.subject-preview {
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--gold-400);
  font-size: 0.84rem;
  color: var(--gold-300);
  line-height: 1.45;
}
.inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.inquiry-addr {
  margin: 0;
  font-size: 0.83rem;
  color: rgba(250, 247, 241, 0.72);
}
.inquiry-addr span {
  color: #FFFFFF;
  font-weight: 600;
}

/* =========================================================
   4A. WHAT WOULD YOU PASKEN?
   ========================================================= */
.pasken-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 44px;
  align-items: start;
}
.pasken-intro p:last-child {
  margin: 16px 0 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.pasken-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 32px 34px;
  box-shadow: var(--shadow-card);
}
.case-badge {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.pasken-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.6vw, 2.15rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--teal-900);
}
.case-text {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
}
.pasken-reveal-wrap { margin-bottom: 24px; }
.pasken-reveal-wrap .chev { transition: transform 0.25s var(--ease); }
#pasken-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.pasken-panel {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--ivory);
  border: 1px solid var(--gold-line);
  border-left: 4px solid var(--teal-800);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink);
}
.pasken-panel p { margin: 0; }
.pasken-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.case-disclaimer {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* =========================================================
   4B. FULL 4,753-SHIURIM LEARNING LIBRARY
   ========================================================= */
.tracks-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}
.tracks-nav a {
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-900);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.tracks-nav a:hover {
  border-color: var(--gold-500);
  background: var(--teal-900);
  color: var(--gold-300);
}

.library-controls {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}
.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  background: var(--ivory);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.search-field:focus-within {
  background: var(--white);
  border-color: var(--teal-800);
  box-shadow: 0 0 0 4px rgba(13, 59, 62, 0.1);
}
.search-field input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 13px 0;
  font-size: 0.98rem;
  color: var(--ink);
  outline: none;
}
.search-field input::placeholder { color: var(--ink-muted); }
.search-btn { padding: 13px 24px; }

.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.chip .n {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.chip:hover {
  border-color: var(--teal-800);
  background: rgba(13, 59, 62, 0.06);
}
.chip[aria-pressed="true"] {
  background: var(--teal-900);
  border-color: var(--teal-900);
  color: #FFFFFF;
}
.chip[aria-pressed="true"] .n {
  color: var(--gold-300);
}

.sort-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.select-wrap[hidden] { display: none; }
.select-wrap select {
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}
.clear-btn {
  margin-left: auto;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(181, 115, 31, 0.4);
  background: rgba(212, 149, 58, 0.12);
  color: var(--gold-text);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.clear-btn[hidden] { display: none; }
.clear-btn:hover { background: rgba(212, 149, 58, 0.22); }

.result-count {
  margin: 0 0 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.shiur-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.shiur-list li.empty {
  grid-column: 1 / -1;
  padding: 28px;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.small-link {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--teal-800);
  background: var(--white);
  color: var(--teal-900);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.si {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  text-decoration: none;
  transition: transform 0.2s var(--ease), border-color 0.2s ease, box-shadow 0.2s ease;
}
.si:hover {
  transform: translateY(-2px);
  border-color: var(--gold-500);
  box-shadow: 0 10px 24px rgba(9, 37, 42, 0.08);
}
.si-t {
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.38;
  color: var(--teal-900);
}
.si:hover .si-t { color: var(--teal-700); }
.si-m {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.more-wrap {
  margin-top: 24px;
  text-align: center;
}
.more-wrap button[hidden] { display: none; }

.platforms-bar {
  margin-top: 44px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: var(--ivory-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.platforms-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.platforms-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.platforms-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-900);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.platforms-links a:hover {
  color: var(--gold-text);
  border-color: var(--gold-500);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--teal-deep);
  color: rgba(250, 247, 241, 0.8);
  border-top: 1px solid rgba(240, 201, 135, 0.2);
  padding: 40px 0 46px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-name {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFFFF;
}
.footer-roles {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(250, 247, 241, 0.72);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.footer-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(250, 247, 241, 0.82);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--gold-300); }

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 32px;
  }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .reel-grid .reel-card { flex: 0 0 320px; }
  .cred-band { grid-template-columns: 1fr; }
  .inquiry-box { grid-template-columns: 1fr; padding: 30px 26px; }
  .pasken-grid { grid-template-columns: 1fr; gap: 24px; }
  .theater-bar { flex-direction: column; align-items: flex-start; }
  .theater-controls { align-items: flex-start; width: 100%; }
}

/* =========================================================
   RESPONSIVE — MOBILE (390px Samsung Phone-First Hero!)
   ========================================================= */
@media (max-width: 760px) {
  .shell { padding: 0 18px; }
  .topbar-inner { min-height: 58px; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 1.12rem; }
  .nav-desk { display: none; }
  .topnav .nav-link[href="#watch"] { display: none; }
  .nav-link { padding: 6px 8px; font-size: 0.8rem; white-space: nowrap; }
  .nav-cta { margin-left: 2px; padding: 7px 13px; font-size: 0.78rem; white-space: nowrap; }

  /* Tight, breathtaking above-the-fold phone hero (hero + scroller visible in 844px!) */
  .hero {
    padding: 12px 0 18px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .hero-portrait-col {
    order: 1;
    justify-content: center;
  }
  .hero-copy-col {
    order: 2;
  }
  .portrait-frame {
    max-width: 100%;
    padding: 5px;
    border-radius: 18px;
  }
  .portrait-frame img {
    aspect-ratio: 16 / 9.7;
    object-position: 50% 13%;
    border-radius: 13px;
  }
  .portrait-badge {
    left: 11px;
    bottom: 10px;
    padding: 5px 11px;
    font-size: 0.71rem;
  }

  .hero-kicker {
    margin: 0 0 6px;
    font-size: 0.66rem;
    letter-spacing: 0.13em;
  }
  .hero-kicker::before { width: 18px; }
  .hero-title {
    margin: 0 0 8px;
    font-size: 2.38rem;
    line-height: 0.98;
  }
  .hero-sub {
    margin: 0 0 14px;
    font-size: 0.91rem;
    line-height: 1.48;
  }
  .hero-actions {
    flex-direction: column;
    gap: 9px;
  }
  .hero-actions .btn {
    width: 100%;
    padding: 11.5px 18px;
    font-size: 0.9rem;
  }

  .trust-strip {
    margin-top: 15px;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 14px;
  }
  .trust-item { padding: 9.5px 13px; }
  .trust-num { font-size: 1.18rem; }
  .trust-label { font-size: 0.71rem; }

  .watch-section,
  .speaking-section,
  .pasken-section,
  .library-section {
    padding: 56px 0;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 26px;
  }

  .poster-pill {
    top: auto;
    bottom: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 0.62rem;
    max-width: calc(100% - 76px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .reel-header {
    align-items: center;
    margin: 34px 0 16px;
  }
  .reel-heading { font-size: 1.42rem; }
  .reel-header .inline-link { white-space: nowrap; font-size: 0.82rem; flex-shrink: 0; }
  .play-orb { width: 64px; height: 64px; }
  .play-orb svg { width: 24px; height: 24px; }
  .poster-runtime { right: 12px; bottom: 12px; padding: 4px 9px; font-size: 0.75rem; }
  .theater-bar { padding: 18px 18px 20px; gap: 16px; }
  .episode-switch { width: 100%; }
  .ep-pill { flex: 1; text-align: center; padding: 8px 10px; font-size: 0.79rem; }

  /* Marquee compact padding on mobile */
  .marquee-band {
    padding: 10px 0;
  }
  .marquee-item {
    padding: 5px 11px;
    font-size: 0.74rem;
    letter-spacing: 0.07em;
  }
  .reel-nav {
    display: none;
  }

  /* Swipeable Parsha Pearls reel strip on mobile */
  .reel-grid {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 4px 2px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .reel-grid .reel-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .quote-band { padding: 50px 0; }
  .formats-grid { grid-template-columns: 1fr; gap: 16px; }
  .format-card { padding: 24px 22px; }
  .cred-band { padding: 18px; gap: 22px; }
  .cred-list { grid-template-columns: 1fr; gap: 12px; }

  .inquiry-box { padding: 26px 18px; gap: 22px; border-radius: 20px; }
  .inquiry-panel { padding: 18px 16px; }
  .inquiry-actions { flex-direction: column; }
  .inquiry-actions .btn { width: 100%; }

  .pasken-card { padding: 24px 20px; }
  .pasken-footer { flex-direction: column; align-items: flex-start; }
  .pasken-footer .btn { width: 100%; }

  .library-controls { padding: 16px; }
  .search-bar { flex-direction: column; }
  .search-btn { width: 100%; }
  .shiur-list { grid-template-columns: 1fr; }
  .sort-controls { gap: 10px; }
  .clear-btn { margin-left: 0; }
  .platforms-bar { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .marquee-track {
    animation: none !important;
  }
  .marquee-viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .marquee-group[aria-hidden="true"] {
    display: none;
  }
}
