/* -------------------------------------------------------------
   THE HUMAN ADDRESS - Global Stylesheet
   Typography: Cormorant Garamond (Serif/Editorial) & Inter (Sans/Clean)
   Color System: Gold & Deep Charcoal Dark Mode
   ------------------------------------------------------------- */

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

/* CSS Variables */
:root {
  --color-bg: #0A0A0A;
  --color-card-bg: #1A1A1A;
  --color-border: rgba(240, 237, 230, 0.08);
  --color-border-gold: rgba(201, 146, 42, 0.3);
  --color-gold: #C9922A;
  --color-gold-hover: #E8C87A;
  --color-candlelight: #E8C87A;
  --color-parchment: #D4C5A9;
  --color-charcoal: #2B2B2B;
  --color-text-primary: #F0EDE6;
  --color-text-secondary: #D4C5A9;
  --color-text-muted: rgba(240, 237, 230, 0.4);
  --color-mobile-menu-bg: rgba(10, 10, 10, 0.98);
  
  --font-serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  --container-max-width: 1440px;
  --header-height: 120px;
}

body.light-theme {
  /* Light palette: white canvas + warm sandy gold accent */
  --color-bg: #FFFFFF;
  --color-card-bg: #F6F3EE;
  --color-border: rgba(26, 18, 4, 0.08);
  --color-border-gold: rgba(200, 164, 84, 0.45);
  --color-gold: #C8A454;
  --color-gold-hover: #B8923E;
  --color-text-primary: #1A1208;
  --color-text-secondary: rgba(26, 18, 8, 0.68);
  --color-text-muted: rgba(26, 18, 8, 0.42);
  --color-mobile-menu-bg: rgba(255, 255, 255, 0.98);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.section-padding {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 80px 0;
  }
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(240, 237, 230, 0.03);
}

.nav-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 48px;
}

/* Centered logo nav layout */
.nav-centered {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 48px;
  column-gap: 40px;
}

.nav-links.nav-left {
  display: flex;
  align-items: center;
  gap: 56px;
  justify-content: flex-start;
}

.nav-links.nav-right {
  display: flex;
  align-items: center;
  gap: 56px;
  justify-content: flex-end;
}

.logo-center {
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-container,
  .nav-centered {
    padding: 0 24px;
    grid-template-columns: 1fr auto;
  }
  .nav-left,
  .nav-right {
    display: none;
  }
}


.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--color-text-primary);
}

@keyframes logo-slow-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.logo-wrapper {
  position: relative;
  height: 72px;
  width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-wrapper {
  height: 110px;
  width: 110px;
}

.logo-img {
  height: 90px;
  width: auto;
  display: block;
  object-fit: contain;
  transform-origin: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 110px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none; /* Mobile menu can be added later if needed */
  }
}

.nav-link {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-gold);
}

.nav-btn {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid var(--color-border-gold);
  padding: 10px 22px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: var(--color-gold);
  color: var(--color-bg);
  border-color: var(--color-gold);
}

/* Mobile navigation */
.nav-toggle { display: none; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--color-mobile-menu-bg, rgba(10, 10, 10, 0.98));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-link {
  font-family: var(--font-sans);
  font-size: 18px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.32s; }

.mobile-link:hover { color: var(--color-gold); }

.mobile-link-cta {
  color: var(--color-gold);
  border: 1px solid var(--color-border-gold);
  padding: 14px 32px;
  margin-top: 12px;
  border-radius: 50px;
}

@media (max-width: 900px) {
  :root {
    --header-height: 80px;
  }

  .logo-img {
    height: 60px;
  }

  .nav-links.nav-left,
  .nav-links.nav-right { display: none; }

  .nav-container,
  .nav-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: var(--header-height);
  }

  .logo-center {
    margin: 0 auto;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
    z-index: 120;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-gold);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  header.mobile-nav-open {
    height: 100vh !important;
    height: 100dvh !important;
    background: var(--color-mobile-menu-bg, rgba(10, 10, 10, 0.98)) !important;
  }
}

/* Typography elements */
.font-serif {
  font-family: var(--font-serif);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 24px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
  z-index: 1;
  background-color: #0d0d0d;
}

/* Hero still image — fades back in after the intro clip ends */
.hero-still {
  opacity: 0;
  z-index: 2;
  transition: opacity 1.2s ease;
}

.hero-still.shown {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 2;
  pointer-events: none;
}

.hero-overlay-vertical {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  padding: 40px 48px;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-content.entered {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-content {
    padding: 24px;
  }
}

.hero-content .eyebrow {
  font-size: 15px;
  letter-spacing: 0.45em;
}

.hero-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  -webkit-text-stroke: 0.4px currentColor;
  color: var(--color-text-primary);
  margin-bottom: 32px;
}

.divider-gold {
  width: 64px;
  height: 1px;
  background-color: var(--color-gold);
  margin: 32px 0;
}

.heading-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 20px auto 28px;
  width: 100%;
  max-width: 480px;
}

.heading-divider::before,
.heading-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--color-gold);
  opacity: 0.35;
}

.heading-divider span {
  font-size: 11px;
  color: var(--color-gold);
  line-height: 1;
  display: inline-flex;
}

.heading-divider-left {
  justify-content: flex-start;
  margin: 16px 0 20px 0;
}

.hero-desc {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.55;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-gold);
  color: var(--color-bg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-1px);
}

.btn-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  border: 1px solid rgba(240, 237, 230, 0.25);
  padding: 16px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-text:hover {
  color: var(--color-text-primary);
  border-bottom-color: var(--color-text-primary);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Manifesto Section */
.manifesto-section {
  padding: 64px 24px;
}

.manifesto-section .vertical-line {
  margin-top: 22px;
  height: 40px;
}

.manifesto-container {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

/* Contained section panels (manifesto, latest address) */
.section-panel {
  background: rgba(22, 22, 22, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 56px 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

@media (max-width: 640px) {
  .section-panel {
    padding: 36px 22px;
    border-radius: 16px;
  }
}

/* Map backdrop behind pillars + manifesto */
.map-backdrop {
  background-color: var(--color-bg);
}


.manifesto-text {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(24px, 3.8vw, 48px);
  line-height: 1.3;
  color: var(--color-text-primary);
  max-width: 800px;
  margin: 0 auto;
}

.manifesto-text span {
  color: var(--color-text-muted);
  transition: color 1.5s ease 0.6s;
}

.manifesto-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
  text-align: left;
}

@media (max-width: 1024px) {
  .manifesto-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .manifesto-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.manifesto-card {
  background: var(--color-card-bg);
  border: 1px solid rgba(240, 237, 230, 0.04);
  border-radius: 12px;
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.manifesto-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 146, 42, 0.25);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(201, 146, 42, 0.02);
}

.manifesto-card .card-eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
  font-weight: 600;
}

.manifesto-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.manifesto-card p {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* Pillars — cinematic icon cards (placed after hero) */
.pillars-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

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

.pillar-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border-gold);
  border-radius: 14px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 146, 42, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 28px rgba(201, 146, 42, 0.09);
}

.pillar-icon {
  color: var(--color-gold);
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 0 10px rgba(201, 146, 42, 0.35));
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pillar-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-primary);
}

/* Specific cinematic scroll reveal for manifesto typography */
.manifesto-text.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1), transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.manifesto-text.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.manifesto-text.reveal.visible span {
  color: var(--color-text-secondary);
}

.vertical-line {
  width: 1px;
  height: 90px;
  background: linear-gradient(180deg, var(--color-gold) 0%, rgba(201, 146, 42, 0) 100%);
  margin: 64px auto 0;
}

/* Grid & Cards Section */
.latest-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .latest-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.latest-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #000000;
  border: 1px solid var(--color-border-gold);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(232, 200, 122, 0.06);
  overflow: hidden;
}

.latest-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HTML5 Video Player */
video.latest-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 0.1));
}

.play-btn {
  width: 74px;
  height: 74px;
  border: 1px solid rgba(240, 237, 230, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--color-text-primary);
  margin-left: 4px;
}

.latest-media:hover .play-btn {
  transform: scale(1.05);
  border-color: var(--color-gold);
}

.latest-media:hover .play-icon {
  border-color: transparent transparent transparent var(--color-gold);
}

.latest-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.latest-excerpt {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.55;
  color: var(--color-text-secondary);
  margin-bottom: 18px;
}

.latest-meta {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.latest-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Latest address — full-bleed, edge-to-edge band */
.latest-section {
  background: transparent;
  padding: 64px 0;
}

.latest-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

/* About section below latest address */
.about-section {
  background: rgba(16, 16, 16, 0.88);
  border-top: 1px solid rgba(240, 237, 230, 0.08);
  border-bottom: 1px solid rgba(240, 237, 230, 0.08);
}

.about-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 0 48px;
}

.about-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

.about-copy {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

@media (max-width: 640px) {
  .about-inner {
    padding: 0 24px;
  }
}

.latest-header {
  text-align: center;
  margin-bottom: 56px;
}

.latest-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  color: var(--color-text-primary);
}

@media (max-width: 640px) {
  .latest-inner { padding: 0 24px; }
}

/* Quote Section */
.quote-section {
  background-image: linear-gradient(rgba(30, 18, 9, 0.80), rgba(10, 8, 5, 0.90));
  border-top: 1px solid rgba(201, 146, 42, 0.15);
  border-bottom: 1px solid rgba(201, 146, 42, 0.15);
  text-align: center;
}

.quote-container {
  max-width: 800px;
  margin: 0 auto;
}

.quote-text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.45;
  color: var(--color-text-primary);
}

.quote-author {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: 32px;
}

.quote-seal {
  display: block;
  width: 88px;
  height: auto;
  margin: 0 auto 28px;
  opacity: 0.9;
}

/* ============================================================
   CINEMATIC ATMOSPHERE — candlelight glow, film grain, vignette
   ============================================================ */

/* Global edge vignette (fixed, non-interactive) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 60%, rgba(0, 0, 0, 0.45) 100%);
}

/* Global film grain (fixed, non-interactive) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9991;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Candlelight glow behind the pillar cards */
.pillars-section {
  background: radial-gradient(ellipse 72% 60% at 50% 20%, rgba(232, 200, 122, 0.07), transparent 70%);
}

/* Candlelight glow behind the manifesto statement */
.manifesto-section {
  background: radial-gradient(ellipse 60% 75% at 50% 50%, rgba(232, 200, 122, 0.05), transparent 72%);
}

/* Subscription Form */
.subscribe-section {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.subscribe-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.subscribe-desc {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

.subscribe-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(240, 237, 230, 0.25);
  transition: border-bottom-color 0.3s ease;
}

.subscribe-form:focus-within {
  border-bottom-color: var(--color-gold);
}

.subscribe-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 16px 4px;
}

.subscribe-submit {
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 16px 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.subscribe-submit:hover {
  color: var(--color-gold-hover);
}

.subscribe-note {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 16px;
}

/* Footer */
footer {
  padding: 80px 48px 48px;
  border-top: 1px solid rgba(240, 237, 230, 0.06);
}

@media (max-width: 768px) {
  footer {
    padding: 60px 24px 24px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  max-width: var(--container-max-width);
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Footer social icons */
.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 26px;
}

.social-icon {
  display: block;
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.social-icon:hover {
  color: var(--color-candlelight);
  transform: translateY(-2px);
}

.footer-logo {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 320px;
}

.footer-col-title {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 24px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.footer-link:hover {
  color: var(--color-gold);
}

.footer-bottom {
  max-width: var(--container-max-width);
  margin: 64px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(240, 237, 230, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.footer-motto {
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Scroll Animation classes */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.3s cubic-bezier(0.22, 1, 0.36, 1), transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid rgba(240, 237, 230, 0.14);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-size: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-left: 8px;
}

body.light-theme .theme-toggle-btn {
  border-color: rgba(200, 164, 84, 0.45);
  color: #C8A454;
  background: rgba(200, 164, 84, 0.06);
}

.theme-toggle-btn:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
  background-color: rgba(201, 146, 42, 0.06);
}

.theme-toggle-sun { display: none; }
.theme-toggle-moon { display: block; }
body.light-theme .theme-toggle-sun { display: block; }
body.light-theme .theme-toggle-moon { display: none; }

/* =====================================================
   LIGHT THEME — Professional UX/UI Design System
   White canvas (#FFFFFF) + Warm Gold accent (#C8A454)
   ===================================================== */

/* -- Body & base transitions -- */
body {
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* -- Header -- */
body.light-theme header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 164, 84, 0.2);
}

/* -- Nav links & buttons -- */
body.light-theme .nav-link {
  color: rgba(26, 18, 8, 0.6);
}
body.light-theme .nav-link:hover,
body.light-theme .nav-link.active {
  color: #C8A454;
}
body.light-theme .nav-btn {
  color: #C8A454;
  border-color: rgba(200, 164, 84, 0.5);
}
body.light-theme .nav-btn:hover {
  background-color: #C8A454;
  border-color: #C8A454;
  color: #fff;
}

/* -- Hero overlays in light mode: dark gradient from left, image fully clear -- */
body.light-theme .hero-overlay {
  background: linear-gradient(90deg,
    rgba(10, 8, 4, 0.82) 0%,
    rgba(10, 8, 4, 0.55) 30%,
    rgba(10, 8, 4, 0.15) 58%,
    rgba(10, 8, 4, 0) 80%);
}
body.light-theme .hero-overlay-vertical {
  /* No vertical dimming — let the photo breathe */
  background: transparent;
}

/* -- Hero text stays white in light mode (sits over dark left gradient) -- */
body.light-theme .hero-content .hero-title,
body.light-theme .hero-content .hero-subtitle,
body.light-theme .hero-content .eyebrow,
body.light-theme .hero-content .hero-meta,
body.light-theme .hero-content .hero-date,
body.light-theme .hero-content .hero-tag {
  color: #FFFFFF;
}
body.light-theme .hero-content .eyebrow {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.25);
}
body.light-theme .hero-content .divider-gold {
  background-color: #C8A454;
}

/* -- Eyebrow labels -- */
body.light-theme .eyebrow {
  color: #C8A454;
}

/* -- Divider gold -- */
body.light-theme .divider-gold {
  background-color: #C8A454;
}
body.light-theme .vertical-line {
  background: linear-gradient(180deg, #C8A454, rgba(200, 164, 84, 0));
}

/* -- Primary button -- */
body.light-theme .btn-primary {
  background-color: #C8A454;
  color: #fff;
}
body.light-theme .btn-primary:hover {
  background-color: #B8923E;
}

/* -- Text/ghost button -- */
body.light-theme .btn-text {
  color: rgba(26, 18, 8, 0.65);
  border-color: rgba(26, 18, 8, 0.2);
}
body.light-theme .btn-text:hover {
  color: #1A1208;
  border-color: #1A1208;
}

/* -- Cards (manifesto, pillars, format, topic) -- */
body.light-theme .manifesto-card,
body.light-theme .pillar,
body.light-theme .format-card,
body.light-theme .topic-item {
  background: #F6F3EE;
  border-color: rgba(200, 164, 84, 0.2);
  box-shadow: 0 1px 4px rgba(26, 18, 8, 0.05);
}
body.light-theme .manifesto-card:hover,
body.light-theme .pillar:hover,
body.light-theme .format-card:hover,
body.light-theme .topic-item:hover {
  border-color: rgba(200, 164, 84, 0.55);
  box-shadow: 0 8px 24px rgba(200, 164, 84, 0.12);
}
body.light-theme .manifesto-card .card-eyebrow,
body.light-theme .pillar-number,
body.light-theme .format-tag {
  color: #C8A454;
}
body.light-theme .pillar-divider {
  background: #C8A454;
}

/* -- Gold quote section (accent strip) -- */
body.light-theme .quote-section {
  background-color: #C8A454;
  border-top-color: transparent;
  border-bottom-color: transparent;
}
body.light-theme .quote-text,
body.light-theme .quote-author {
  color: #FFFFFF;
}

/* -- Host & formats alternate sections -- */
body.light-theme .host-section {
  background-color: #F6F3EE;
  border-top-color: rgba(200, 164, 84, 0.25);
  border-bottom-color: rgba(200, 164, 84, 0.25);
}
body.light-theme .formats-section {
  background-color: #F6F3EE;
  border-top-color: rgba(200, 164, 84, 0.25);
  border-bottom-color: rgba(200, 164, 84, 0.25);
}

/* -- Episode thumb gradient (addresses grid) -- */
body.light-theme .episode-thumb {
  background: linear-gradient(135deg, #e8dfc8 0%, #f0e8d5 100%);
  border-color: rgba(200, 164, 84, 0.3);
}
body.light-theme .related-thumb {
  background: linear-gradient(135deg, #e8dfc8 0%, #f0e8d5 100%);
  border-color: rgba(200, 164, 84, 0.3);
}

/* -- Host portrait border -- */
body.light-theme .host-portrait {
  border-color: rgba(200, 164, 84, 0.35);
}

/* -- Subscribe form -- */
body.light-theme .subscribe-form {
  border-bottom-color: rgba(26, 18, 8, 0.2);
}
body.light-theme .subscribe-form:focus-within {
  border-bottom-color: #C8A454;
}
body.light-theme .subscribe-input {
  color: #1A1208;
}
body.light-theme .subscribe-submit {
  color: #C8A454;
}
body.light-theme .subscribe-banner {
  background-color: #F6F3EE;
  border-color: rgba(200, 164, 84, 0.3);
}

/* -- Contact form inputs -- */
body.light-theme .form-input,
body.light-theme .form-textarea {
  color: #1A1208;
  border-bottom-color: rgba(26, 18, 8, 0.2);
}
body.light-theme .form-input:focus,
body.light-theme .form-textarea:focus {
  border-bottom-color: #C8A454;
}
body.light-theme .form-group label {
  color: #C8A454;
}
body.light-theme .form-submit-btn {
  background-color: #C8A454;
  color: #fff;
}
body.light-theme .form-submit-btn:hover {
  background-color: #B8923E;
}

/* -- Tab & filter bars -- */
body.light-theme .tab-btn {
  color: rgba(26, 18, 8, 0.48);
}
body.light-theme .tab-btn.active {
  color: #C8A454;
  border-bottom-color: #C8A454;
}
body.light-theme .filter-btn {
  border-color: rgba(26, 18, 8, 0.14);
  color: rgba(26, 18, 8, 0.55);
}
body.light-theme .filter-btn.active {
  border-color: #C8A454;
  color: #C8A454;
}
body.light-theme .intent-btn {
  border-color: rgba(26, 18, 8, 0.14);
  color: rgba(26, 18, 8, 0.55);
}
body.light-theme .intent-btn.active {
  border-color: #C8A454;
  color: #C8A454;
  background: rgba(200, 164, 84, 0.06);
}

/* -- Latest media (homepage video) -- */
body.light-theme .latest-media {
  border-color: rgba(200, 164, 84, 0.3);
}

/* -- Footer -- */
body.light-theme footer {
  background-color: #FFFFFF;
  border-top-color: rgba(200, 164, 84, 0.2);
}
body.light-theme .footer-bottom {
  border-top-color: rgba(200, 164, 84, 0.15);
}
body.light-theme .footer-col-title {
  color: #C8A454;
}
body.light-theme .footer-link:hover {
  color: #C8A454;
}
body.light-theme .footer-tagline {
  color: rgba(26, 18, 8, 0.45);
}
body.light-theme .footer-copy,
body.light-theme .footer-motto {
  color: rgba(26, 18, 8, 0.4);
}

/* -- Manifesto text fade -- */
body.light-theme .manifesto-text span {
  color: rgba(26, 18, 8, 0.35);
}
body.light-theme .manifesto-text.reveal.visible span {
  color: rgba(26, 18, 8, 0.55);
}

/* -- Transcript & blockquote -- */
body.light-theme .transcript-blockquote {
  color: #C8A454;
  border-left-color: rgba(200, 164, 84, 0.5);
}

/* -- Letter theme badge -- */
body.light-theme .letter-theme {
  color: #C8A454;
  border-color: rgba(200, 164, 84, 0.45);
}

/* -- Tab bar border -- */
body.light-theme .tab-bar {
  border-bottom-color: rgba(26, 18, 8, 0.1);
}

/* -- Back link -- */
body.light-theme .back-link {
  color: rgba(26, 18, 8, 0.45);
}
body.light-theme .back-link:hover {
  color: #C8A454;
}

/* -- Split Card Layout -- */
.split-card-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: stretch;
  width: 100%;
  height: 100%;
}
.split-card-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.split-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.split-card-content {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
@media (max-width: 850px) {
  .split-card-grid {
    grid-template-columns: 1fr;
  }
  .split-card-image {
    aspect-ratio: 4/5;
  }
  .split-card-image img {
    position: relative;
  }
  .split-card-content {
    padding: 48px 24px;
    text-align: center;
  }
}

/* -- Centered Video Carousel -- */
.carousel-section {
  padding: 80px 0 40px;
  background: var(--color-bg);
  width: 100%;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--color-border-gold);
  border-bottom: 1px solid var(--color-border-gold);
}

.carousel-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/world-map.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.035;
  z-index: 0;
  pointer-events: none;
}

.carousel-section > * {
  position: relative;
  z-index: 1;
}
.carousel-wrapper {
  max-width: var(--container-max-width);
  margin: 0 auto;
  position: relative;
}
.carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 480px;
  margin: 0 auto;
  overflow: visible;
  width: 100%;
}
.carousel-slide {
  position: absolute;
  width: 60%;
  max-width: 720px;
  aspect-ratio: 16/9;
  background: #111;
  border-radius: 16px;
  border: 1px solid rgba(201, 146, 42, 0.2);
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.7) translateX(0);
  z-index: 0;
}
/* Active (Center) Slide */
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateX(0);
  z-index: 3;
  filter: none;
}
/* Previous (Left) Slide */
.carousel-slide.prev {
  opacity: 0.55;
  pointer-events: auto;
  transform: scale(0.8) translateX(-45%);
  z-index: 1;
  filter: blur(4px);
  cursor: pointer;
}
/* Next (Right) Slide */
.carousel-slide.next {
  opacity: 0.55;
  pointer-events: auto;
  transform: scale(0.8) translateX(45%);
  z-index: 1;
  filter: blur(4px);
  cursor: pointer;
}
.carousel-media {
  width: 100%;
  height: 100%;
  position: relative;
}
.carousel-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.carousel-media-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(201, 146, 42, 0.9);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.carousel-slide:hover .carousel-play-btn {
  transform: scale(1.1);
  background: #C8A454;
}
.carousel-play-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  margin-left: 4px;
}
/* Carousel Controls & Details */
.carousel-details {
  text-align: center;
  margin-top: 40px;
  padding: 0 24px;
}
.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
}
.carousel-arrow {
  background: transparent;
  border: 1px solid rgba(240, 237, 230, 0.15);
  color: var(--color-text-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.carousel-arrow:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}
.carousel-dots {
  display: flex;
  gap: 12px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(240, 237, 230, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-dot.active {
  background: var(--color-gold);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .carousel-container {
    height: 320px;
  }
  .carousel-slide {
    width: 85%;
  }
  .carousel-slide.prev {
    transform: scale(0.8) translateX(-15%);
    opacity: 0;
    pointer-events: none;
  }
  .carousel-slide.next {
    transform: scale(0.8) translateX(15%);
    opacity: 0;
    pointer-events: none;
  }
}

/* -- Human Moments Section -- */
.moments-section {
  background: var(--color-bg);
  border-top: 1px solid rgba(240, 237, 230, 0.05);
}
.moments-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 20px;
  max-width: var(--container-max-width);
  margin: 0 auto;
}
.moment-card {
  position: relative;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(240, 237, 230, 0.05);
  background: #111;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.moment-card:nth-child(-n+5) {
  grid-column: span 2;
}
.moment-card:nth-child(6) {
  grid-column: 2 / span 2;
}
.moment-card:nth-child(n+7) {
  grid-column: span 2;
}
.moment-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.moment-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.7) 0%, rgba(10, 10, 10, 0.95) 100%);
  z-index: 1;
}
.moment-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.moment-number {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  display: block;
  margin-bottom: 12px;
  opacity: 0.8;
}
.moment-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}
.moment-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.moment-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 146, 42, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(201, 146, 42, 0.05);
}
.moment-card:hover .moment-bg {
  transform: scale(1.08);
}
.moment-card:hover .moment-title {
  color: var(--color-gold);
}
.moment-card:hover .moment-desc {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1024px) {
  .moments-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .moment-card {
    height: 340px;
    grid-column: auto !important;
  }
}
@media (max-width: 768px) {
  .moments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .moments-grid {
    grid-template-columns: 1fr;
  }
  .moment-card {
    height: 300px;
    padding: 20px;
  }
}

/* -- The Human Condition Dashboard -- */
.condition-section {
  background: #0E0E0E;
  border-top: 1px solid rgba(240, 237, 230, 0.05);
  border-bottom: 1px solid rgba(240, 237, 230, 0.05);
}
.condition-grid {
  display: flex;
  gap: 64px;
  max-width: var(--container-max-width);
  margin: 0 auto;
}
.topics-sidebar {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid rgba(240, 237, 230, 0.08);
  padding-right: 32px;
}
.topic-menu-item {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-text-muted);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 8px 0;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
}
.topic-menu-item::before {
  content: '';
  position: absolute;
  left: -16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.topic-menu-item:hover {
  color: var(--color-text-primary);
  transform: translateX(4px);
}
.topic-menu-item.active {
  color: var(--color-gold);
  font-weight: 400;
  transform: translateX(8px);
}
.topic-menu-item.active::before {
  opacity: 1;
  transform: scale(1);
}

.theme-details-panel {
  flex-grow: 1;
  display: flex;
  align-items: center;
  min-height: 400px;
}
.theme-details-content {
  width: 100%;
  max-width: 720px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.theme-details-content.fade-out {
  opacity: 0;
  transform: translateY(15px);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .condition-grid {
    flex-direction: column;
    gap: 40px;
  }
  .topics-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(240, 237, 230, 0.08);
    padding-right: 0;
    padding-bottom: 24px;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    gap: 24px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  /* Hide scrollbar for sidebar menu on mobile */
  .topics-sidebar::-webkit-scrollbar {
    display: none;
  }
  .topics-sidebar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .topic-menu-item {
    font-size: 18px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(240, 237, 230, 0.03);
    border: 1px solid rgba(240, 237, 230, 0.05);
  }
  .topic-menu-item::before {
    display: none;
  }
  .topic-menu-item.active {
    background: rgba(201, 146, 42, 0.1);
    border-color: var(--color-gold);
    transform: none;
  }
  .topic-menu-item:hover {
    transform: none;
  }
  .theme-details-panel {
    min-height: auto;
    text-align: center;
  }
  .theme-details-content {
    margin: 0 auto;
  }
}

/* -- Highlights Section -- */
.highlights-section {
  background: var(--color-bg);
  padding: 40px 0 120px;
}
@media (max-width: 768px) {
  .highlights-section {
    padding: 30px 0 80px;
  }
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: var(--container-max-width);
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}
.highlight-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201, 146, 42, 0.1);
  background: var(--color-bg-secondary);
  aspect-ratio: 9/16;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}
.highlight-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--color-gold);
  box-shadow: 0 12px 30px rgba(201, 146, 42, 0.15);
}
.highlight-video-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}
.highlight-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.highlight-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.2) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.highlight-play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.highlight-play-icon svg {
  width: 24px;
  height: 24px;
  margin-left: 2px;
}
.highlight-card:hover .highlight-play-icon {
  transform: scale(1.1);
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-bg);
}
.highlight-card:hover .highlight-overlay {
  opacity: 0;
}
/* When playing, hide play button and overlay */
.highlight-card.playing .highlight-overlay {
  opacity: 0;
  pointer-events: none;
}

/* Dedicated Mobile Responsiveness & Image Fit Overrides */
@media (max-width: 768px) {
  /* Homepage Hero Section Sizing to fit the landscape image/video */
  .hero {
    min-height: 75vh !important;
    min-height: 75dvh !important;
    padding-top: calc(var(--header-height) + 20px) !important;
    padding-bottom: 40px !important;
  }

  /* Reposition background image/video to center the booklet and logo stamp at the bottom */
  .hero-bg {
    object-position: right bottom !important;
  }

  /* Subpage Hero Section Paddings */
  .heart-hero,
  .speaking-hero,
  .contact-hero,
  .ep-hero,
  .library-hero {
    padding: 120px 24px 48px !important;
    text-align: center !important;
  }

  .speaking-hero,
  .contact-hero,
  .ep-hero {
    margin: 0 auto !important;
  }

  /* Spacings & Paddings */
  .contact-container {
    padding: 0 24px 80px !important;
  }

  .section-padding {
    padding: 80px 0 !important;
  }

  /* Typography Sizing for mobile screens */
  h1 {
    font-size: clamp(32px, 8vw, 44px) !important;
    line-height: 1.15 !important;
  }

  h2 {
    font-size: clamp(26px, 6vw, 32px) !important;
    line-height: 1.2 !important;
  }

  .hero-title {
    font-size: clamp(34px, 10vw, 48px) !important;
    line-height: 1.05 !important;
  }

  .eyebrow {
    font-size: 11px !important;
    letter-spacing: 0.25em !important;
    margin-bottom: 16px !important;
  }

  /* Divider Width Limit */
  .heading-divider {
    max-width: 280px !important;
    gap: 16px !important;
  }
}

@media (max-width: 480px) {
  /* Prevent horizontal scroll issues and adjust buttons */
  .hero-actions,
  .latest-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100%;
    padding: 0 16px;
  }

  .btn-primary,
  .btn-text {
    width: 100% !important;
    text-align: center;
  }
}


