/* ============================================================
   Brainologi — Shared Stylesheet
   Editorial / publishing-house redesign
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,500;1,600;1,700&display=swap');

/* ── CSS Variables ── */
:root {
  --white:   #FFFFFF;
  --ink:     #111111;
  --gray:    #555555;
  --gray-light: #888888;
  --orange:  #D97B3F;
  --orange-dark: #b96530;
  --green:   #1F4D3E;
  --green-dark: #163a2e;
  --divider: #E8E8E8;

  /* legacy aliases kept so class names elsewhere keep working */
  --teal:    #1F4D3E;
  --footer-dark: #1F4D3E;
  --terra:   #D97B3F;
  --terra-dark: #b96530;
  --cream:   #FFFFFF;
  --apricot: #FFFFFF;
  --offwhite:#FFFFFF;
  --border:  #E8E8E8;

  --max-w:   1160px;
  --pad-v:   88px;
  --pad-v-m: 48px;
  --radius:  2px;
  --shadow:  none;
  --shadow-hover: none;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Playfair Display', serif;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.section {
  padding: var(--pad-v) 0;
  border-bottom: 1px solid var(--divider);
  background: var(--white);
}

.section--cream,
.section--white,
.section--terra {
  background: var(--white);
  color: var(--ink);
}

.section--teal  {
  background: var(--green);
  color: #fff;
  border-bottom: none;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Righteous', cursive;
  line-height: 1.15;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section--teal h1,
.section--teal h2,
.section--teal h3,
.section--terra h1,
.section--terra h2 {
  color: #fff;
}

h1 { font-size: clamp(38px, 5.2vw, 58px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
h3 { font-size: clamp(20px, 2.4vw, 25px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }

p { color: var(--ink); margin-bottom: 0; font-weight: 400; line-height: 1.8; }

.label {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.section__eyebrow {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 14px;
}

.section__heading {
  margin-bottom: 24px;
}

.section__subhead {
  font-size: 17px;
  color: var(--gray);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 0;
  font-weight: 400;
}

/* Baloo/paw classes kept as no-ops so existing markup doesn't break */
.baloo { font-family: 'Playfair Display', serif; font-style: italic; }
.paw-watermark { display: none; }
.paw-divider { display: none; }

/* ── Large corner-bleed paw watermark ──
   One large, near-invisible paw per section, alternating between the
   top-left and bottom-right corners as sections stack down each page —
   the same rhythm on every page: section 1 = --tl, section 2 = --br,
   section 3 = --tl, and so on (footer counts as the next section in
   that count). It deliberately bleeds off ITS OWN section's edge
   (negative offset), but never off the actual viewport/page, because
   every host section clips it via position:relative + overflow:hidden.
   Corner offsets are identical everywhere (the --tl/--br modifiers) so
   the rhythm reads as consistent; only rotation varies per instance,
   cycled through the --rot-N modifiers for a bit of organic variety.
   Scales down proportionally on small screens via clamp() (vw-based),
   same technique as .masthead__logo. */
.page-watermark {
  position: absolute;
  width: clamp(140px, 26vw, 340px);
  height: auto;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.page-watermark--tl { top: -10%; left: -7%; }
.page-watermark--br { bottom: -10%; right: -7%; }

.page-watermark--rot-1 { transform: rotate(-12deg); }
.page-watermark--rot-2 { transform: rotate(10deg); }
.page-watermark--rot-3 { transform: rotate(-7deg); }
.page-watermark--rot-4 { transform: rotate(14deg); }
.paw-bullet li { padding-left: 1.2em; position: relative; list-style: none; }
.paw-bullet li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* ── Buttons — rectangular, newspaper style ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  border: 2px solid var(--ink);
  line-height: 1;
  background: var(--white);
  color: var(--ink);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn--terra {
  background: var(--white);
  color: var(--orange);
  border-color: var(--orange);
}
.btn--terra:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.btn--fill-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--fill-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn--ghost-teal {
  background: var(--white);
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost-teal:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--ghost-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn--ghost-white:hover {
  background: #fff;
  color: var(--green);
}

.btn--sm {
  font-size: 12px;
  padding: 9px 18px;
}

/* ── Navigation ── */
#nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--divider);
  transition: box-shadow 0.3s ease;
}

#nav.scrolled {
  box-shadow: 0 1px 0 var(--divider);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}

.nav__logo-link {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 66px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.nav__links a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ── Nav dropdown (Stories by the Lake seasons) ──
   Desktop: hover/focus-within/.is-open reveals a popover menu.
   Mobile (inside #nav-drawer): the same markup renders as an inline
   accordion instead — see the #nav-drawer overrides below. */
.nav__dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 4px;
  margin-bottom: 4px;
  cursor: pointer;
  color: var(--ink);
  transition: color 0.2s, transform 0.2s;
}
.nav__dropdown-toggle svg { width: 10px; height: 10px; display: block; }
.nav__dropdown-toggle:hover { color: var(--orange); }
.nav__dropdown.is-open .nav__dropdown-toggle,
.nav__dropdown:focus-within .nav__dropdown-toggle { color: var(--orange); }
.nav__dropdown.is-open .nav__dropdown-toggle svg,
.nav__dropdown:hover .nav__dropdown-toggle svg,
.nav__dropdown:focus-within .nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 14px;
  min-width: 150px;
  background: var(--white);
  border: 1px solid var(--divider);
  box-shadow: 0 8px 24px rgba(17,17,17,0.09);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 1001;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu,
.nav__dropdown.is-open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  border-radius: 3px;
  margin: 2px 0;
}
.nav__dropdown-menu a:hover,
.nav__dropdown-menu a.active {
  background: var(--cream);
}

/* Mobile drawer: same markup, rendered as a static inline accordion */
#nav-drawer .nav__dropdown {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}
#nav-drawer .nav__dropdown-trigger {
  border-bottom: none;
  padding-bottom: 14px;
}
#nav-drawer .nav__dropdown-toggle {
  position: absolute;
  right: 0;
  top: 8px;
  padding: 8px;
  margin-bottom: 0;
}
#nav-drawer .nav__dropdown-toggle svg { width: 14px; height: 14px; }
#nav-drawer .nav__dropdown-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
#nav-drawer .nav__dropdown.is-open .nav__dropdown-menu {
  max-height: 160px;
  border-bottom: 1px solid var(--divider);
}
#nav-drawer .nav__dropdown-menu a {
  font-size: 15px;
  padding: 12px 0 12px 18px;
  border-bottom: none;
}

/* ── Event section tabs (sticky in-page nav, Stories by the Lake S2 only) ──
   Sticks directly below the main nav (72px) and stays reachable while
   scrolling. Scroll-spy (nav.js) toggles .is-active on the link matching
   whichever section is currently in view. Smooth-scroll on click comes
   from the shared `html { scroll-behavior: smooth }` rule plus the
   scroll-margin-top below, which clears both sticky bars. */
.event-tabs {
  position: sticky;
  top: 72px;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--divider);
}

.event-tabs__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.event-tabs__inner::-webkit-scrollbar { display: none; }

.event-tabs__link {
  flex-shrink: 0;
  padding: 14px 18px;
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.event-tabs__link:hover {
  color: var(--orange);
}
.event-tabs__link:focus-visible {
  color: var(--orange);
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}
.event-tabs__link.is-active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* Land below both sticky bars (nav 72px + tabs ~48px) instead of behind them */
#speakers, #venue, #registration {
  scroll-margin-top: 130px;
}

.nav__cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav__cta .btn {
  border: none;
  background: #E67E3D;
  color: #fff;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 7px;
  /* nav__links a reserves 6px below its text (4px padding + 2px border) for
     the active/hover underline, which shifts its text 3px above true center;
     match that so this button's label sits on the same baseline. */
  transform: translateY(-3px);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.nav__cta .btn:hover {
  background: #c9652f;
  color: #fff;
  box-shadow: 0 4px 12px rgba(230, 126, 61, 0.35);
  transform: translateY(-3px) scale(1.05);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}

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

/* Mobile drawer */
.nav__drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.nav__drawer.open {
  display: flex;
  transform: translateX(0);
}

.nav__drawer a {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
  display: block;
}

.nav__drawer a:hover { color: var(--orange); }

.nav__drawer .btn {
  margin-top: 20px;
  width: fit-content;
}

/* ── Masthead (site-wide) ── */
.masthead {
  background: var(--white);
  text-align: center;
  padding: 36px 24px 0;
}

.masthead__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  /* Single source of truth for scale: both the logo (em) and the wordmark
     (1em below) size off this, so they stay in lockstep at every
     breakpoint instead of drifting apart with two separate clamp()s. */
  font-size: clamp(32px, 5vw, 46px);
}

.masthead__logo {
  /* logo.png is a circular fox badge with its own "BRAINOLOGI" text pill
     baked into the bottom ~30% of the square — so the box is sized well
     past 1em (taller than the wordmark itself) to make the visible fox
     artwork land at roughly the wordmark's own cap-height-to-descender
     height, rather than sizing the whole square to 1em and having the
     fox read small once the baked-in text pill eats into it.
     height (not width) drives the scale so the art stays proportional;
     it's sized off the shared .masthead__brand em, so it grows/shrinks
     in lockstep at every breakpoint automatically. */
  height: 1.65em;
  width: auto;
  display: block;
}

.masthead__word {
  font-family: 'Righteous', cursive;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.masthead__tagline {
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray);
  margin-top: 8px;
}

.masthead__rule {
  width: 100%;
  height: 3px;
  background: var(--orange);
  margin-top: 24px;
}

/* ── Hero ── */
.hero {
  background: var(--white);
  padding: 72px 0;
  border-bottom: 1px solid var(--divider);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 60px;
}

.hero__content h1 {
  margin-bottom: 20px;
}

.hero__content .section__subhead {
  margin-bottom: 36px;
  font-size: 18px;
  color: var(--gray);
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
}

.hero__image img {
  width: 100%;
  height: 460px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--white);
  padding: 64px 0 48px;
  text-align: left;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--divider);
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero .section__subhead {
  margin: 0 0 8px;
  max-width: 680px;
  text-align: left;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: 0;
  padding: 32px;
  border: 1px solid var(--divider);
  box-shadow: none;
  transition: border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--ink);
}

.card::after { content: none; }

.card__icon {
  width: 28px;
  height: 28px;
  margin-bottom: 24px;
  display: inline-block;
  color: var(--orange);
}
.card__icon svg { width: 100%; height: 100%; display: block; }

.service-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  display: block;
  color: var(--orange);
}
.service-icon svg { width: 100%; height: 100%; display: block; }

.inline-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: var(--orange);
  margin-right: 6px;
  vertical-align: -3px;
}
.inline-icon svg { width: 100%; height: 100%; display: block; }

/* ── Event facts strip ── */
.event-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.event-facts__item {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: var(--ink);
}

.event-facts__item--muted {
  color: var(--gray-light);
}

.card__tag {
  display: inline-block;
  background: transparent;
  color: var(--orange);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0;
  border-radius: 0;
  margin-bottom: 12px;
}

/* ── Transcript cards (podcast page) ── */
.transcript-card {
  padding: 40px;
}

.transcript-card__header h3 {
  margin: 6px 0 12px;
}

.transcript-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  margin-bottom: 16px;
}

.transcript-summary {
  font-size: 16px;
  color: #3a3a3a;
  line-height: 1.8;
  max-width: 700px;
}

.transcript-body {
  max-width: 700px;
  margin-top: 24px;
  font-size: 15.5px;
  line-height: 1.85;
  color: #333;
  position: relative;
  max-height: 260px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.transcript-body::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--white));
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.transcript-body.is-expanded {
  max-height: 6000px;
}

.transcript-body.is-expanded::after {
  opacity: 0;
}

.transcript-body h4 {
  font-size: 16px;
  margin: 24px 0 10px;
}

.transcript-body p { margin-bottom: 14px; }

.transcript-body .speaker {
  font-weight: 700;
  color: var(--ink);
}

.transcript-body .timestamp {
  font-variant-numeric: tabular-nums;
  color: var(--orange);
  font-weight: 600;
  margin-right: 6px;
}

.transcript-card__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
}

button.transcript-toggle {
  background: none;
  border: none;
  border-bottom: 1px solid var(--ink);
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  padding: 0 0 2px;
}

/* ── Grid helpers ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Newspaper-column variant: plain text columns separated by vertical rules */
.grid-3--rule {
  gap: 0;
  border-left: 1px solid var(--divider);
}

.grid-3--rule > * {
  border-right: 1px solid var(--divider);
  padding-left: 28px;
  padding-right: 28px;
}

.grid-3--rule > *:first-child { padding-left: 0; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Book cards ── */
.book-card {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--divider);
  box-shadow: none;
  transition: border-color 0.2s;
  position: relative;
}

.book-card:hover {
  border-color: var(--ink);
}

.book-card::after { content: none; }

.book-card__cover {
  background: var(--white);
  border-bottom: 1px solid var(--divider);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.book-card__cover img {
  max-height: 220px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.book-card__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.book-card__body h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.book-card__age {
  font-size: 12px;
  color: var(--gray-light);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.book-card__desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 24px;
  font-weight: 400;
}

/* ── Podcast episode cards ── */
.episode-card {
  background: var(--white);
  border-radius: 0;
  padding: 28px 0;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  border: none;
  border-bottom: 1px solid var(--divider);
  box-shadow: none;
  transition: none;
  position: relative;
  overflow: visible;
}

.episode-card:hover { border-color: var(--divider); }
.episode-card::after { content: none; }

.episode-num {
  font-family: 'Righteous', cursive;
  font-size: 32px;
  color: var(--divider);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.episode-content {
  flex: 1;
  min-width: 0;
}

.episode-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--ink);
}

.episode-content p {
  font-size: 14px;
  color: var(--gray);
}

/* ── Founder cards ── */
.founder-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  padding: 0 0 40px;
  border-radius: 0;
  background: var(--white);
  border-bottom: 1px solid var(--divider);
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.founder-card::after { content: none; }

.founder-card__photo {
  width: 200px;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
}

.founder-card__photo-placeholder {
  width: 200px;
  height: 220px;
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: var(--ink);
  flex-shrink: 0;
}

.founder-card__content h3 {
  margin-bottom: 4px;
}

.founder-card__title {
  font-weight: 600;
  color: var(--orange);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}

.founder-card__creds {
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 16px;
  font-style: italic;
}

.founder-card__bio {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  font-weight: 400;
}

/* ── Press bar ── */
.press-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.press-pill {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 0;
  padding: 10px 24px;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  transition: border-color 0.2s;
}

.press-pill:hover {
  border-color: var(--ink);
}

/* ── Instagram strip ── */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 36px;
  background: var(--divider);
}

.insta-card {
  background: var(--white);
  border-radius: 0;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.insta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0);
  transition: background 0.2s;
}

.insta-card:hover::after {
  background: rgba(17,17,17,0.15);
}

.insta-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
}

.insta-placeholder .icon {
  font-size: 28px;
  opacity: 0.5;
}

.insta-placeholder .caption {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.4;
}

/* ── Footer ── */
footer {
  background: var(--green);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.footer__top {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 32px;
}

.footer__logo img {
  height: 64px;
  width: auto;
  border-radius: 0;
  box-shadow: none;
}

.footer__logo-word {
  font-family: 'Righteous', cursive;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: flex-start;
}

.footer__links a {
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--orange); }

.footer__social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  transition: all 0.2s;
  text-decoration: none;
}

.social-link:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}

/* ── CTA strip ── */
.cta-strip {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 0;
  padding: 48px;
  text-align: center;
  margin-top: 40px;
}

.cta-strip h2 {
  margin-bottom: 24px;
}

.cta-strip p {
  color: var(--gray);
  margin-bottom: 28px;
  font-size: 17px;
  font-weight: 400;
}

/* ── Service cards ── */
.service-card {
  background: var(--white);
  border-radius: 0;
  padding: 2rem 0;
  border: none;
  border-bottom: 1px solid var(--divider);
  box-shadow: none;
  transition: none;
  position: relative;
  overflow: visible;
}

.service-card:hover { border-color: var(--divider); }
.service-card::after { content: none; }

.service-card__num {
  font-family: 'Righteous', cursive;
  font-size: 44px;
  color: var(--divider);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
}

.service-card h2,
.service-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.service-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  font-weight: 400;
}

/* ── SBTL schedule tables ── */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 15px;
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--divider);
}

.schedule-table th {
  background: var(--white);
  color: var(--orange);
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--ink);
}

.schedule-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--divider);
  color: var(--ink);
  vertical-align: top;
}

.schedule-table tr:last-child td { border-bottom: none; }

.schedule-table tr:nth-child(even) td {
  background: transparent;
}

.schedule-table .time-col {
  white-space: nowrap;
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
}

/* ── Speaker grid ── */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1px;
  margin-top: 32px;
  background: var(--divider);
}

.speakers-grid--four {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.speaker-card {
  background: var(--white);
  border-radius: 0;
  padding: 2rem 1.25rem;
  text-align: center;
  box-shadow: none;
  transition: none;
}

.speaker-card:hover { background: var(--white); }

.speaker-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
  color: var(--ink);
  font-family: 'Righteous', cursive;
  font-weight: 700;
}

.speaker-card h4 {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}

.speaker-card p {
  font-size: 12px;
  color: var(--gray-light);
}

/* ── Contact form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 0;
  padding: 12px 16px;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ink);
  box-shadow: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

/* ── Contact details ── */
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 1.75rem 0;
  border-radius: 0;
  background: var(--white);
  border-bottom: 1px solid var(--divider);
  box-shadow: none;
}

.contact-detail h4 {
  font-size: 11px;
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 4px;
}

.contact-detail a {
  color: var(--ink);
  font-size: 15px;
  transition: color 0.2s;
}

.contact-detail a:hover { color: var(--orange); }

.contact-detail span {
  font-size: 14px;
  color: var(--gray);
}

/* ── Values ── */
.value-card {
  background: var(--white);
  border-radius: 0;
  padding: 2rem;
  border: 1px solid var(--divider);
  box-shadow: none;
  transition: border-color 0.2s;
}

.value-card:hover { border-color: var(--ink); }

.value-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  display: block;
  color: var(--orange);
}
.value-icon svg { width: 100%; height: 100%; display: block; }

.value-card h3 {
  margin-bottom: 20px;
}

/* ── Scroll animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.08s; }
.fade-up-delay-2 { transition-delay: 0.16s; }
.fade-up-delay-3 { transition-delay: 0.24s; }
.fade-up-delay-4 { transition-delay: 0.32s; }
.fade-up-delay-5 { transition-delay: 0.4s; }

/* ── Text link ── */
.text-link {
  color: var(--ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s, color 0.2s;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.text-link:hover { gap: 8px; color: var(--orange); border-color: var(--orange); }

/* ── Hero intro "Read more" expand ── */
.hero__intro-more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.4s ease, opacity 0.3s ease;
}

.hero__intro-more.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.hero__intro-more__inner { overflow: hidden; }

.hero__intro-toggle {
  background: none;
  border: none;
  border-bottom: 1px solid var(--ink);
  cursor: pointer;
  font-family: inherit;
}

.hero__intro-toggle:hover { gap: 8px; color: var(--orange); border-color: var(--orange); }

/* ── Listen buttons row ── */
.listen-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ── Venue info ── */
.venue-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 0;
  padding: 2rem;
  box-shadow: none;
  font-size: 16px;
}

.venue-info p { color: var(--ink); font-weight: 400; }

/* ── Maps embed ── */
.map-wrap {
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--divider);
  margin-top: 20px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
  filter: grayscale(0.3);
}

/* ── Announcement banner — the one coloured (green) section ── */
.announcement-banner {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 56px 24px;
  border-radius: 0;
  margin: 0;
}

.announcement-banner h3 {
  color: #fff;
  font-size: clamp(24px, 3.4vw, 34px);
  margin-bottom: 12px;
  font-family: 'Righteous', cursive;
}

.announcement-banner p {
  color: rgba(255,255,255,0.82);
  font-size: 16px;
}

/* ── Subscribe strip ── */
.subscribe-strip {
  background: var(--white);
  color: var(--ink);
  border-radius: 0;
  padding: 48px 40px;
  text-align: center;
  margin-top: 40px;
  border: 1px solid var(--divider);
}

.subscribe-strip h2 { color: var(--ink); margin-bottom: 10px; }
.subscribe-strip p { color: var(--gray); font-size: 17px; }

/* ── Section title block ── */
.section-title {
  margin-bottom: 56px;
}

.section-title--center {
  text-align: center;
}

.section-title--center .section__subhead {
  margin: 0 auto;
  text-align: center;
}

/* ── Divider ── */
.divider {
  width: 40px;
  height: 2px;
  background: var(--orange);
  border-radius: 0;
  margin: 16px 0 28px;
}

.section-title--center .divider {
  margin: 16px auto 28px;
}

/* ── Pull quote ── */
.pull-quote {
  border-left: 4px solid var(--orange);
  background: transparent;
  padding: 4px 0 4px 24px;
  margin: 24px 0;
}

.pull-quote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  :root {
    --pad-v: var(--pad-v-m);
  }

  .podcast-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .founders-intro-grid,
  .about-grid-2col {
    grid-template-columns: 1fr !important;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero__image {
    max-width: 320px;
  }
  .hero__image img {
    height: 280px;
  }

  .hero__ctas {
    justify-content: flex-start;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-3--rule {
    border-left: none;
  }
  .grid-3--rule > * {
    border-right: none;
    border-bottom: 1px solid var(--divider);
    padding: 24px 0;
  }
  .grid-3--rule > *:first-child { padding-top: 0; }

  .grid-2 {
    grid-template-columns: 1fr !important;
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-card__photo,
  .founder-card__photo-placeholder {
    width: 140px;
    height: 150px;
  }

  .founder-letter-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .founder-letter-grid .founder-card__photo {
    width: 120px !important;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: left;
  }

  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .event-facts {
    flex-direction: column;
    gap: 16px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .schedule-table {
    font-size: 13px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 10px 12px;
  }

  .episode-card {
    flex-direction: column;
    gap: 12px;
  }

  .cta-strip {
    padding: 32px 24px;
  }

  .subscribe-strip {
    padding: 36px 24px;
  }
}

@media (max-width: 480px) {
  .insta-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .press-bar {
    gap: 12px;
  }

  .press-pill {
    font-size: 13px;
    padding: 8px 18px;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__ctas .btn {
    text-align: center;
    justify-content: center;
  }

  .listen-btns {
    flex-direction: column;
  }

  .listen-btns .btn {
    text-align: center;
    justify-content: center;
  }

  .speakers-grid,
  .speakers-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }
}
