/* ============ Global Design System ============ */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@300;400;500;600;700;800;900&family=Fraunces:ital,wght@0,300;0,400;1,300;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --black: #000000;
  --ink: #0a0a0a;
  --ink-2: #141414;
  --line: #2a2a2a;
  --line-light: #e8e5dd;
  --cream: #f7f3ea;
  --cream-2: #efe9da;
  --white: #ffffff;
  --muted: #a8a8a8;
  --muted-2: #6b6b6b;
  --muted-dark: #6b6355;
  --ink-soft: #1a1612;
  --gold: #f0bc00;
  --gold-dim: #b88d00;
  --gold-soft: rgba(240, 188, 0, 0.12);
}

/* ============ Section themes ============ */
.sec-dark { background: var(--black); color: var(--white); }
.sec-dark .eyebrow-muted { color: var(--muted-2); }
.sec-light { background: var(--white); color: var(--black); }
.sec-cream { background: var(--cream); color: var(--black); }
.sec-gold { background: var(--gold); color: var(--black); }
.sec-light .muted, .sec-cream .muted { color: var(--muted-dark); }

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

html, body {
  background: var(--white);
  color: var(--black);
  font-family: 'League Spartan', sans-serif;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

/* ============ Typography ============ */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 500;
}

.eyebrow-muted {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.display {
  font-size: clamp(56px, 10vw, 168px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.italic-serif {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* ============ Layout ============ */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

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

section { position: relative; }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  color: var(--white);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  color: var(--black);
  font-weight: 900;
  font-size: 18px;
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.35;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  color: var(--white);
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s ease;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { right: 0; }
.nav-link.active { color: var(--gold); }
.nav-link.active::after { right: 0; }

.nav-item { position: relative; }
.nav-link-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-caret { flex-shrink: 0; transition: transform 0.25s ease; }
.nav-item.open .nav-caret,
.nav-item.has-dropdown:hover .nav-caret { transform: rotate(180deg); }
.nav-item.open .nav-link-toggle,
.nav-item.has-dropdown:hover .nav-link-toggle { color: var(--gold); }
.nav-item.open .nav-link-toggle::after,
.nav-item.has-dropdown:hover .nav-link-toggle::after { right: 0; }

/* invisible bridge so the pointer can travel from the button down into the dropdown without losing :hover */
.nav-item.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 190px;
  background: rgba(0, 0, 0, 0.97);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 50;
}
.nav-item.open .nav-dropdown,
.nav-item.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-link {
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-dropdown-link:hover, .nav-dropdown-link.active { background: rgba(240, 188, 0, 0.12); color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 28px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: 'League Spartan', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover {
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -12px rgba(240, 188, 0, 0.55);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--black);
}
.btn .dot {
  width: 8px; height: 8px;
  background: currentColor;
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}
.btn-gold .dot { background: var(--black); }

/* ============ Footer ============ */
.footer {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--line);
  padding: 0;
  margin-top: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.footer h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 20px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer a { font-size: 15px; color: var(--muted); transition: color 0.2s ease; }
.footer a:hover { color: var(--gold); }
.footer-tag {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--muted);
  max-width: 320px;
  margin-top: 20px;
  line-height: 1.4;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--white);
  letter-spacing: 0.08em;
}
.footer-policy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--white);
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}
.footer-policy:hover { color: var(--gold); }
.socials, .footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-socials { margin-top: 0; gap: 8px; }
.social {
  width: 40px; height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: all 0.2s ease;
  color: #000000 !important;
  background: var(--gold);
}
.social:hover { background: var(--white) !important; border-color: var(--white); color: #000000 !important; transform: translateY(-2px); }
.social svg { width: 16px; height: 16px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: rgba(0,0,0,0.97);
  border-top: 1px solid var(--line);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease;
}
.mobile-link:last-of-type { border-bottom: none; }
.mobile-link:hover, .mobile-link.active { color: var(--gold); }

.mobile-dropdown { border-bottom: 1px solid var(--line); }
.mobile-link-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  border-bottom: none;
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  padding: 14px 0;
}
.mobile-link-toggle .nav-caret { transition: transform 0.25s ease; }
.mobile-dropdown.open .nav-caret { transform: rotate(180deg); }
.mobile-dropdown.open .mobile-link-toggle { color: var(--gold); }
.mobile-submenu {
  display: none;
  flex-direction: column;
  padding: 0 0 14px 12px;
  gap: 2px;
}
.mobile-dropdown.open .mobile-submenu { display: flex; }
.mobile-sublink {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 0;
  transition: color 0.2s ease;
}
.mobile-sublink:hover, .mobile-sublink.active { color: var(--gold); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-right .btn { padding: 10px 16px; font-size: 12px; }
  .hamburger { display: flex; }
  .nav-book-btn { display: none; }
  .marquee-track { animation-duration: 10s; font-size: 22px; gap: 36px; }
  .marquee-track span { gap: 36px; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 0 20px; height: 68px; }
  .nav-right .btn { display: none; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; padding: 20px 0; }
  .footer-policy { font-size: 11px; }
}

/* ============ Sticky Actions ============ */
.sticky-actions {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.sticky-cta {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--gold);
  color: var(--black);
  border-radius: 999px;
  padding: 13px 20px 13px 16px;
  box-shadow: 0 8px 28px rgba(240,188,0,0.3), 0 2px 8px rgba(0,0,0,0.3);
  text-decoration: none;
  font-family: 'League Spartan', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.sticky-cta:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(240,188,0,0.35), 0 4px 12px rgba(0,0,0,0.3);
}
.sticky-cta svg { flex-shrink: 0; }
.wa-sticky {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 13px 20px 13px 16px;
  box-shadow: 0 8px 28px rgba(37,211,102,0.3), 0 2px 8px rgba(0,0,0,0.3);
  text-decoration: none;
  font-family: 'League Spartan', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.wa-sticky:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37,211,102,0.4), 0 4px 12px rgba(0,0,0,0.3);
}
.wa-sticky svg { flex-shrink: 0; }
@media (max-width: 640px) {
  .sticky-actions { bottom: 20px; right: 16px; gap: 10px; }
  .sticky-cta { padding: 14px; border-radius: 50%; }
  .sticky-cta-label { display: none; }
  .wa-sticky { padding: 14px; border-radius: 50%; }
  .wa-sticky-label { display: none; }
}

/* ============ Utility ============ */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' /></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}

.placeholder-img {
  background:
    repeating-linear-gradient(135deg, rgba(240,188,0,0.04) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #1a1a1a 0%, #0e0e0e 100%);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.placeholder-img .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.6);
  border-radius: 999px;
}

.divider-row {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.divider-row::before, .divider-row::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Section header pattern */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-size: clamp(36px, 6vw, 84px);
  max-width: 900px;
}
.section-head .eyebrow { margin-bottom: 18px; display: block; }
.section-head .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  text-transform: uppercase;
  min-width: 140px;
  text-align: right;
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  padding: 28px 0;
}
.marquee-track {
  display: flex;
  gap: 72px;
  white-space: nowrap;
  animation: scroll 20s linear infinite;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 72px;
}
.marquee-track .star { color: var(--gold); font-family: 'Fraunces', serif; font-style: italic; font-weight: 300; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Three-color page rhythm overrides ============ */
/* Each page gets a white/cream base with black and gold interleaved sections */

body { background: var(--white); }

/* ABOUT PAGE */
.about-hero { background: var(--black); color: var(--white); }
.about-hero .about-hero-sub .col p { color: var(--white); }

/* Story section — white */
main .story, main .story-section { background: var(--line-light); color: var(--black); }
main .story h2, main .story-section h2 { color: var(--black); }
main .story p, main .story-section p { color: var(--muted-dark); }

/* Quote — gold */
.pullquote, .big-quote, .quote-section { background: var(--gold) !important; color: var(--black) !important; }
.pullquote *, .big-quote *, .quote-section * { color: var(--black) !important; border-color: rgba(0,0,0,0.2) !important; }
.pullquote em, .big-quote em, .quote-section em { color: var(--white) !important; }

/* Pillars/values — cream */
.pillars, .values, .team-section { background: var(--cream); color: var(--black); border-bottom: 1px solid var(--line-light); }
.pillars h2, .values h2, .team-section h2 { color: var(--black); }
.pillars .muted, .values .muted, .team-section .muted { color: var(--muted-dark); }

/* Timeline — white */
.timeline, .timeline-section { background: var(--white); color: var(--black); }

/* PODCASTS PAGE */
.pod-hero { background: var(--black); color: var(--white); }
.featured-ep { background: var(--cream); color: var(--black); border-bottom: 1px solid var(--line-light); }
.filter-bar { background: rgba(255,255,255,0.96) !important; border-bottom: 1px solid var(--line-light) !important; color: var(--black); }
.filter-bar .filter-tab { color: var(--muted-dark); border-color: var(--line-light); }
.filter-bar .filter-tab:hover { color: var(--black); border-color: var(--muted-dark); }
.filter-bar .filter-search { background: var(--white); border-color: var(--line-light); }
.filter-bar .filter-search input { color: var(--black); }
.filter-bar .filter-search input::placeholder { color: var(--muted-dark); }
.sessions-page { background: var(--white); color: var(--black); }

/* CONTACT PAGE */
.contact-hero { background: var(--black); color: var(--white); }
.contact-grid { background: var(--white); color: var(--black); border-bottom: 1px solid var(--line-light); }
.contact-grid label, .contact-grid .field-label { color: var(--black); }
.contact-grid .contact-form, .contact-grid .form-card, .contact-grid form { background: var(--cream) !important; border: 1px solid var(--line-light) !important; color: var(--black) !important; }
.contact-grid .contact-form *, .contact-grid .form-card *, .contact-grid form * { color: var(--black); }
.contact-grid input, .contact-grid textarea, .contact-grid select { background: var(--white) !important; border: 1px solid var(--line-light) !important; color: var(--black) !important; }
.contact-grid input::placeholder, .contact-grid textarea::placeholder { color: var(--muted-dark) !important; }
.contact-info, .whatsapp-card { background: var(--gold) !important; color: var(--black) !important; border-color: rgba(0,0,0,0.15) !important; }
.contact-info *, .whatsapp-card * { color: var(--black) !important; }
.map-section { background: var(--cream); }
.socials-section { background: var(--black); color: var(--white); }

/* Make any section with class .sec-light readable */
.sec-light h1, .sec-light h2, .sec-light h3, .sec-cream h1, .sec-cream h2, .sec-cream h3 { color: var(--black); }

/* Page-enter fade */
.page { animation: fadeUp 0.6s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
