/* ==========================================================================
   Mind Wide Open — Design Tokens
   Source of truth: CLAUDEwebdesign.md
   ========================================================================== */

:root{
  /* Color */
  --teal:        #1962A6; /* sampled from images/MWO_Logo.png (mountain/outline blue) */
  --teal-dark:   #10406C; /* derived, darkened logo blue for dark surfaces/text */
  --cream:       #F7F3EC;
  --ink:         #14231F;
  --terracotta:  #E8763F;

  --teal-tint:   #E3ECF4; /* derived, pale tint of logo blue for surfaces */
  --line:        #D8D0C2; /* derived, hairline on cream */
  --ink-soft:    #4A554F; /* derived, secondary text, meets AA on cream */
  --terracotta-text: #B04A22; /* derived, darkened terracotta — meets 4.5:1 on cream for small text */
  --terracotta-on-dark: #EE9770; /* derived, lightened terracotta — meets 4.5:1 on teal-dark for text/links on dark sections */
  --terracotta-tint: #FCEFE8; /* derived, pale terracotta wash for the newsletter card */

  /* Type — Canela + National 2 are the licensed pairing named in
     CLAUDEwebdesign.md. Fraunces/Work Sans are free stand-ins loaded via
     Google Fonts until the licensed files are self-hosted. Swap the two
     custom-property values below to bring in the real faces later. */
  --font-display: 'Canela', 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body:    'National 2', 'Work Sans', -apple-system, 'Segoe UI', sans-serif;

  --step-1: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-2: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-3: clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.8rem + 2.25vw, 3.5rem);
  --step-5: clamp(2.75rem, 2rem + 3.75vw, 5rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --space-7: 9rem;

  --radius: 6px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;

  --container: 1180px;
  --header-h: 149px; /* header-inner min-height (148px) + 1px border-bottom; also used for mobile nav offset */
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
ul{ list-style: none; margin: 0; padding: 0; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
h1, h2, h3, p{ margin: 0; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.skip-link{
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--teal-dark);
  color: var(--cream);
  padding: var(--space-1) var(--space-2);
  z-index: 1000;
  border-radius: var(--radius);
}
.skip-link:focus{
  left: var(--space-2);
  top: var(--space-2);
}

:focus-visible{
  outline: 2px solid var(--teal-dark);
  outline-offset: 3px;
  border-radius: 2px;
}
/* teal-dark outline is ~1.7:1 against the near-black footer/statement
   backgrounds — effectively invisible. Swap to cream there. */
.site-footer :focus-visible,
.statement :focus-visible{
  outline-color: var(--cream);
}

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* ==========================================================================
   Typography
   ========================================================================== */

.eyebrow{
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: var(--space-2);
}

h1, h2, h3{ font-family: var(--font-display); color: var(--ink); }

h2{ font-size: var(--step-3); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
h3{ font-size: var(--step-2); font-weight: 500; line-height: 1.25; }

.meta{ color: var(--ink-soft); font-size: 0.875rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-3);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn-primary{
  background: var(--teal-dark);
  color: var(--cream);
}
.btn-primary:hover{ background: var(--teal); transform: translateY(-1px); }
.btn-ghost{
  border: 1.5px solid var(--teal-dark);
  color: var(--teal-dark);
}
.btn-ghost:hover{ background: var(--teal-tint); }

/* terracotta-text (not raw terracotta) so cream button copy clears 4.5:1 —
   raw terracotta + cream text is only ~2.7:1 */
.btn-accent{
  background: var(--terracotta-text);
  color: var(--cream);
}
.btn-accent:hover{ filter: brightness(0.88); transform: translateY(-1px); }

/* light outline button for use on dark (teal-dark) sections */
.btn-outline-dark{
  border: 1.5px solid var(--cream);
  color: var(--cream);
}
.btn-outline-dark:hover{ background: var(--cream); color: var(--teal-dark); }

/* ==========================================================================
   Reveal-on-scroll (single orchestrated moment, not scattered effects)
   ========================================================================== */

.reveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; }
}

/* ==========================================================================
   Ripple dividers — signature motif (soft overlapping circles, teal/cream/
   terracotta at low opacity), replacing flat IMO-style color blocks.
   ========================================================================== */

.ripple-field{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.ripple{
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
}
/* replaces the old ripple--1 gradient circle — same size/position/bleed,
   secondary/background only, so it never competes with the hero copy */
.hero-lotus{
  position: absolute;
  width: 620px;
  height: 620px;
  right: -220px;
  top: -160px;
  opacity: 0.55;
  background-image: url('../images/lotus-2-svgrepo-com.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.ripple--2{
  width: 420px; height: 420px;
  right: 60px; top: 120px;
  border-color: var(--teal);
  opacity: 0.25;
}
.ripple--3{
  width: 260px; height: 260px;
  right: 260px; top: -40px;
  background: var(--terracotta);
  opacity: 0.08;
}
/* replaces the old ripple--4 gradient circle. Same size/position/bleed as
   before, but opacity is much lower than the Hero's .hero-lotus (0.55) —
   this sits on --teal-dark, so a light shape reads far more prominently on
   a dark background than the same light-on-cream version did in the Hero */
.statement-lotus{
  position: absolute;
  width: 520px;
  height: 520px;
  left: -180px;
  bottom: -220px;
  opacity: 0.18;
  background-image: url('../images/lotus-2-svgrepo-com.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.ripple--5{
  width: 300px; height: 300px;
  left: 40px; bottom: -80px;
  border-color: var(--teal);
  opacity: 0.2;
}
.ripple--6{
  width: 380px; height: 380px;
  right: -140px; top: -120px;
  background: radial-gradient(circle at 40% 40%, var(--teal-tint) 0%, transparent 70%);
}
/* the Hosts section sits on --teal-tint (unlike Hero's --cream), so these
   fills use --cream for contrast instead of the usual teal-tint radial —
   a teal-tint circle would be invisible on a teal-tint background */
.ripple--8{
  width: 300px; height: 300px;
  left: -80px; top: -40px;
  background: radial-gradient(circle at 40% 40%, var(--cream) 0%, transparent 70%);
  opacity: 0.6;
}
.ripple--9{
  width: 160px; height: 160px;
  left: 140px; top: 200px;
  border-color: var(--teal);
  opacity: 0.3;
}
.ripple--10{
  width: 300px; height: 300px;
  right: -80px; top: -40px;
  background: radial-gradient(circle at 60% 40%, var(--cream) 0%, transparent 70%);
  opacity: 0.6;
}
.ripple--11{
  width: 160px; height: 160px;
  right: 140px; top: 200px;
  border-color: var(--teal);
  opacity: 0.3;
}
.ripple--7{
  width: 220px; height: 220px;
  left: -60px; bottom: -80px;
  border-color: var(--teal);
  opacity: 0.2;
}

/* ==========================================================================
   Placeholder photo blocks
   ========================================================================== */

.photo-block{
  position: relative;
  background: linear-gradient(155deg, var(--teal-tint) 0%, var(--cream) 60%);
  border: 1.5px dashed var(--teal);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color var(--dur) var(--ease);
}
.photo-label{
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.02em;
  padding: var(--space-2);
}
.photo-block--wide{ aspect-ratio: 16 / 10; }
.photo-block--card{ aspect-ratio: 16 / 10; margin-bottom: var(--space-2); }
/* full column width, consistent portrait ratio so Beth and Bhante's photos
   feel matched in size regardless of their source dimensions */
/* circular, matching the Hero section's ripple-circle motif */
.photo-block--host{ width: 100%; max-width: 300px; aspect-ratio: 1 / 1; margin: 0 auto; }

/* a real photo has replaced the dashed placeholder — drop the placeholder
   chrome and let the image fill/crop the same shape */
.photo-block--filled{
  border-style: solid;
  border-color: var(--line);
  background: none;
  overflow: hidden;
  padding: 0;
  border-radius: 50%;
}
.host-photo{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: none; /* explicit: no glassmorphism blur per brand rules */
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}
.brand{
  display: inline-flex;
  align-items: center;
}
.brand-mark{
  height: 105px; /* 84px + 25% */
  width: auto;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.brand:hover .brand-mark,
.brand:focus-visible .brand-mark{
  transform: scale(1.05);
  opacity: 0.9;
}

.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.primary-nav ul{
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.primary-nav a, .dropdown-toggle{
  font-size: 0.95rem;
  font-weight: 500;
  padding: var(--space-1) 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.primary-nav a:hover, .dropdown-toggle:hover{ color: var(--teal-dark); }

/* animated underline on plain nav links (not the dropdown toggle or the
   Submit a Question button, which already have their own hover treatment) */
.primary-nav ul > li > a:not(.nav-cta)::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1.5px;
  background: var(--teal-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.primary-nav ul > li > a:not(.nav-cta):hover::after,
.primary-nav ul > li > a:not(.nav-cta):focus-visible::after{
  transform: scaleX(1);
}

/* .primary-nav a's own padding/font/hover-color rules (above) outweigh the
   plain .btn/.btn-primary classes by specificity, which was zeroing the
   button's side padding and swapping its hover text to teal-dark instead of
   staying cream. Re-declare with a more specific selector so it matches the
   other buttons exactly. */
.primary-nav a.nav-cta{
  padding: 0 var(--space-3);
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 48px;
  color: var(--cream);
  white-space: nowrap;
}
.primary-nav a.nav-cta:hover{ color: var(--cream); }

.has-dropdown{ position: relative; }
.dropdown-menu{
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 180px;
  box-shadow: 0 12px 28px rgba(20, 35, 31, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  padding: var(--space-1);
}
.dropdown-menu.is-open{
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li a{
  display: block;
  padding: var(--space-1) var(--space-2);
  border-radius: 4px;
  font-size: 0.9rem;
}
.dropdown-menu li a:hover{ background: var(--teal-tint); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero{
  position: relative;
  overflow: hidden;
  padding: var(--space-6) 0 var(--space-5);
}
.hero-inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-5);
  align-items: center;
}
.wordmark{
  font-size: var(--step-5);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin: var(--space-2) 0 var(--space-2);
}
.tagline{
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  color: var(--teal-dark);
  margin-bottom: var(--space-3);
}
.hero-sub{
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: var(--step-1);
  margin-bottom: var(--space-4);
}
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.hero-photo .photo-block{
  border-radius: 50% 50% 46% 54% / 54% 46% 54% 46%;
  aspect-ratio: 1 / 1;
}
.hero-photo-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Latest episode
   ========================================================================== */

.latest{ padding: var(--space-6) 0; }
.latest-inner{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-5);
  align-items: center;
}
.latest-desc{ color: var(--ink-soft); margin: var(--space-3) 0 var(--space-4); max-width: 60ch; }
.platform-row{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.platform-label{ color: var(--ink-soft); font-size: 0.875rem; margin-right: var(--space-1); }
.platform-btn{
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: var(--space-1) var(--space-3);
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.platform-btn:hover{ border-color: var(--teal-dark); color: var(--teal-dark); }

/* ==========================================================================
   Statement
   ========================================================================== */

.statement{
  position: relative;
  overflow: hidden;
  background: var(--teal-dark);
  color: var(--cream);
  padding: var(--space-7) 0;
  text-align: center;
}
.statement-inner{ position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.statement-text{
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
}
.statement-sub{
  margin-top: var(--space-3);
  color: rgba(247, 243, 236, 0.78);
  font-size: var(--step-1);
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.statement-link{
  display: inline-block;
  margin-top: var(--space-4);
  font-weight: 600;
  border-bottom: 1.5px solid var(--terracotta);
  padding-bottom: 2px;
  color: var(--cream);
  transition: border-color var(--dur) var(--ease), padding-bottom var(--dur) var(--ease);
}
/* Hover stays on cream text (terracotta text fails AA on teal-dark, 2.7:1) —
   the underline carries the accent instead. */
.statement-link:hover{ border-bottom-width: 3px; }

/* ==========================================================================
   Recent episodes grid
   ========================================================================== */

.episodes-grid{ padding: var(--space-6) 0; }
.section-head{ margin-bottom: var(--space-5); max-width: 60ch; }
.section-head-link{
  display: inline-block;
  margin-top: var(--space-2);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--teal-dark);
  border-bottom: 1.5px solid var(--teal);
  padding-bottom: 2px;
}
.section-head-link:hover{ border-color: var(--teal-dark); }
.ep-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.ep-card{ transition: transform var(--dur) var(--ease); }
.ep-card:hover{ transform: translateY(-6px); }

.ep-thumb-link{
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-2);
}
.ep-thumb-link .photo-block{ margin: 0; border-radius: var(--radius); transition: border-color var(--dur) var(--ease), transform 400ms var(--ease); }
.ep-card:hover .photo-block{ border-color: var(--teal-dark); transform: scale(1.03); }

/* real YouTube thumbnail (i.ytimg.com) in place of the placeholder block.
   aspect-ratio is 16/9 (not 16/10) on purpose: YouTube's hqdefault.jpg is a
   fixed 480x360 (4:3) canvas with black letterbox bars padding the actual
   16:9 video frame. A 16/9 crop via object-fit:cover removes exactly that
   padding; anything narrower (e.g. 16/10) crops too little and leaves a
   sliver of the bars visible. */
.ep-thumb-img{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 400ms var(--ease);
}
.ep-card:hover .ep-thumb-img{ transform: scale(1.03); }

.ep-badge{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  padding: 5px;
  box-shadow: 0 4px 10px rgba(20, 35, 31, 0.18);
}
.ep-scrim{
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(20, 35, 31, 0.78) 0%, transparent 100%);
  pointer-events: none;
}
.ep-overlay-title{
  position: absolute;
  left: var(--space-2);
  right: var(--space-2);
  bottom: var(--space-2);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.2;
}

.ep-headline{ font-size: var(--step-1); margin-bottom: var(--space-1); }
.ep-headline a:hover{ color: var(--teal-dark); }
.ep-meta{ color: var(--ink-soft); font-size: 0.875rem; margin-bottom: var(--space-2); }
.ep-card-desc{ color: var(--ink-soft); font-size: 0.9375rem; margin-bottom: var(--space-2); }

.episodes-hub-intro{ padding: var(--space-6) 0 var(--space-4); }
.episodes-hub-intro h1{ font-size: var(--step-4); font-weight: 500; margin-bottom: var(--space-2); max-width: 20ch; }
.episodes-hub-sub{ color: var(--ink-soft); font-size: var(--step-1); max-width: 60ch; }

.btn-watch{
  min-height: 40px;
  padding: 0 var(--space-2);
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ==========================================================================
   Hosts
   ========================================================================== */

.hosts{ position: relative; overflow: hidden; padding: var(--space-6) 0; background: var(--teal-tint); }
.hosts .wrap{ position: relative; z-index: 1; }
.host-list{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
/* IMO-style host card: photo full-width on top, then name/role, then bio —
   stacked vertically with generous breathing room, not a side-by-side row */
.host{
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.host-copy h3{ margin-bottom: var(--space-1); }
.host-role{ color: var(--teal-dark); font-weight: 600; font-size: 0.875rem; margin: 2px 0 var(--space-3); }
.host-copy p:not(.host-role){ color: var(--ink-soft); }

/* ==========================================================================
   Signup
   ========================================================================== */

.signup{ position: relative; padding: var(--space-6) 0; }
.signup-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: var(--space-5);
}
.signup-copy p{ color: var(--ink-soft); margin-top: var(--space-2); max-width: 42ch; }
.signup-form .field{ margin-bottom: var(--space-3); }
.signup-form label{
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.signup-form input{
  width: 100%;
  min-height: 48px;
  padding: 0 var(--space-2);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--cream);
}
.signup-form input:focus{ border-color: var(--teal-dark); outline: none; }
.form-note{ color: var(--ink-soft); font-size: 0.8125rem; margin-top: var(--space-2); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer{ background: var(--ink); color: rgba(247, 243, 236, 0.82); padding-top: var(--space-6); }
.footer-inner{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(247, 243, 236, 0.14);
}
.footer-mark{ height: 32px; filter: brightness(0) invert(1); opacity: 0.92; margin-bottom: var(--space-2); }

/* white circle badge for the full-color logo — scoped so it doesn't affect
   the plain .footer-mark (white silhouette via filter) used elsewhere */
.footer-mark-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
  padding: 10px;
  margin-bottom: var(--space-2);
}
.footer-mark-badge .footer-mark{
  filter: none;
  opacity: 1;
  height: auto;
  width: 100%;
  margin-bottom: 0;
}
.footer-tagline{ font-family: var(--font-display); font-style: italic; color: var(--cream); }
.footer-tagline--sub{ font-size: 0.875rem; opacity: 0.7; font-style: normal; margin-top: 4px; }
.footer-icons{
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.footer-icons a{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(247, 243, 236, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.footer-icons a:hover{ border-color: var(--terracotta-on-dark); color: var(--terracotta-on-dark); }
.footer-icons svg{ width: 18px; height: 18px; }
.footer-col h3{
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: var(--space-2);
}
.footer-col li{ margin-bottom: var(--space-1); }
.footer-col a:hover{ color: var(--terracotta); }
.footer-bottom{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-3);
  font-size: 0.8125rem;
  opacity: 0.65;
}
.footer-contact a:hover{ color: var(--terracotta-on-dark); }

/* quiet producer/site credit line — sits below footer-bottom, deliberately
   smaller and more muted than it */
.footer-credits{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-5);
  padding: var(--space-2) var(--space-3) var(--space-3);
  border-top: 1px solid rgba(247, 243, 236, 0.1);
}
.footer-credit{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(247, 243, 236, 0.5);
  transition: transform var(--dur) var(--ease);
}
.footer-credit:hover{ transform: translateY(-2px); }
.footer-credit-logo{
  height: 28px;
  width: auto;
  max-width: 120px;
}
/* the Lotus mark is fine linework with a lot of negative space, so at the
   same height it reads much fainter than 2329's bolder solid letterforms —
   sized up and given a tight glow to boost its perceived weight/brightness */
.footer-credit-logo--lotus{
  height: 50px;
  width: auto;
  max-width: 120px;
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.9));
}

/* ==========================================================================
   Responsive — 1024
   ========================================================================== */

@media (max-width: 1024px){
  .ep-cards{ grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
  .footer-inner{ grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-inner .footer-col:last-child{ grid-column: 1 / -1; }
}

/* ==========================================================================
   Responsive — 768 (tablet)
   ========================================================================== */

@media (max-width: 768px){
  .hero-inner, .latest-inner, .signup-inner{
    grid-template-columns: 1fr;
  }
  .hero-photo{ order: -1; max-width: 320px; margin: 0 auto; }
  .ep-cards{ grid-template-columns: 1fr 1fr; }
  .host-list{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Responsive — 375 (mobile)
   ========================================================================== */

@media (max-width: 640px){
  .nav-toggle{ display: flex; }

  .primary-nav{
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--cream);
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    overflow-y: auto;
    padding: var(--space-4) var(--space-3);
  }
  .primary-nav.is-open{ transform: translateX(0); }
  .primary-nav ul{
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
  .primary-nav a, .dropdown-toggle{ font-size: 1.1rem; min-height: 44px; }
  .dropdown-menu{
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    padding-left: var(--space-2);
  }
  .dropdown-menu.is-open{ display: block; }

  .wordmark{ font-size: var(--step-4); }
  .ep-cards{ grid-template-columns: 1fr; }
  .signup-inner{ padding: var(--space-4); }
  .footer-inner{ grid-template-columns: 1fr; }
  .statement{ padding: var(--space-5) 0; }
}
