/* ===========================================================
   THE WELLNESS DIARY FOUNDATION — v1 Design System
   Rebuilt to match client's "Proposed Website Colours Application" doc:
   Navy (primary) / Sunrise Gold (secondary) / Sunset Coral (accent)
   / Soft Grey (neutral) / White (base) / Sky Blue (sparing accent)
   Type: Fraunces (display serif) + Public Sans (body sans)
   =========================================================== */

:root {
  /* Brand colors — exact values, confirmed against client's logo + palette files */
  --navy:         #002248;   /* PRIMARY — nav, headings, footer, dividers */
  --gold:         #E1AD01;   /* SECONDARY — CTAs, icons, stats, highlights */
  --gold-hover:   #C89701;   /* deeper gold for hover states */
  --coral:        #E2725C;   /* ACCENT — messages, banners, quotes, podcast */
  --coral-deep:   #9C3F2C;   /* small-text-safe coral (tags/badges) — verified 6.6:1 with white */
  --grey:         #F2F3F5;   /* NEUTRAL — section dividers, card backgrounds */
  --grey-line:    #E2E5E9;   /* hairline borders on the neutral grey family */
  --sky:          #32729A;   /* calming sky blue — links, resources, edu content only. Slightly deeper than a raw sky tone so it passes 4.5:1 as link text */
  --sky-soft:     #E9F2F7;   /* light sky tint for backgrounds/infographic fills */
  --white:        #FFFFFF;   /* BASE — primary page background, cards */

  /* Legacy aliases kept so existing component rules below keep working */
  --ink:          #002248;
  --ink-soft:     #3D5266;
  --ink-faint:    #78889B;
  --line:         #E2E5E9;
  --cream:        #FFFFFF;
  --cream-soft:   #F2F3F5;
  --cream-deep:   #E9ECEF;
  --coral-soft:   #F8DFD6;
  --coral-dark:   #9C3F2C;
  --gold-soft:    #FBF0CE;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 12px 32px -16px rgba(43, 32, 21, 0.25);
  --shadow-lift: 0 20px 48px -20px rgba(43, 32, 21, 0.32);

  --max-width: 1180px;
}

/* ---------- 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.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 var(--space-2); color: var(--ink); }
p { margin: 0 0 var(--space-2); color: var(--ink-soft); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

@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; }
}

/* ---------- Type scale ---------- */
h1 { font-size: clamp(2.1rem, 5vw + 1rem, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw + 1rem, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 1.4vw + 1rem, 1.5rem); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}
.section { padding: var(--space-5) 0; }
.section--tight { padding: var(--space-4) 0; }
.section--dark {
  background: var(--ink);
  color: var(--cream-soft);
}
.section--dark h2, .section--dark h3 { color: var(--cream-soft); }
.section--dark p { color: #B9C7D4; }
.section--soft { background: var(--cream-soft); }
.section--panel {
  background: var(--white);
  border-radius: var(--radius-lg);
}
.grid { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
/* Icon-only cards (pillars, resource library) read as sparse single-file
   stacks on phones — pair them up as soon as there's room, well before
   the full 3/4-column desktop layout kicks in at 860px. */
@media (min-width: 360px) and (max-width: 859px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
  /* At 2-up, the card's own padding + a full-size icon leaves barely 100px
     for text — the base h3 size then wraps multi-word headings like
     "Mental Health Awareness" one word per line. Tighten padding, shrink
     the icon, and scale the heading down so it breaks at sensible phrases. */
  .grid--4 .card { padding: var(--space-2); }
  .grid--4 .card .card-icon { width: 38px; height: 38px; margin-bottom: var(--space-1); }
  .grid--4 .card .card-icon svg { width: 18px; height: 18px; }
  .grid--4 .card h3 { font-size: 1rem; line-height: 1.25; }
}
@media (min-width: 860px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.stack { display: flex; flex-direction: column; gap: var(--space-2); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--coral); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-secondary { background: var(--white); border-color: var(--navy); color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-on-dark { background: var(--gold); color: var(--navy); }
.btn-on-dark:hover { background: var(--white); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--coral-deep); border-color: var(--coral-soft); }
.btn-ghost:hover { background: var(--coral-soft); }
.btn-sky { background: transparent; color: var(--sky); border-color: var(--sky-soft); }
.btn-sky:hover { background: var(--sky-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 232, 195, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}
.wordmark-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 1.6rem; align-items: center; }
.nav-desktop a {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--coral-dark); border-color: var(--coral); }
.nav-desktop .btn-primary, .nav-mobile .btn-primary { padding: 0.6em 1.2em; font-size: 0.85rem; color: var(--navy); white-space: nowrap; }

/* ---------- Language toggle (EN / SW) ---------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--grey);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}
.lang-toggle-icon { width: 15px; height: 15px; margin-left: 6px; color: var(--ink-faint); flex-shrink: 0; }
.lang-toggle button {
  border: none;
  background: transparent;
  padding: 0.4em 0.85em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
  cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
}
.lang-toggle--mobile {
  margin-top: var(--space-3);
  align-self: flex-start;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.35);
}
.lang-toggle--mobile .lang-toggle-icon { color: rgba(255,255,255,0.75); }
.lang-toggle--mobile button { color: rgba(255,255,255,0.7); }
.lang-toggle--mobile button[aria-pressed="true"] { background: var(--gold); color: var(--navy); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 50%;
}
.nav-toggle svg { width: 20px; height: 20px; }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 60;
  padding: var(--space-3);
  flex-direction: column;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile-top { display: flex; justify-content: space-between; align-items: center; }
.nav-mobile-close { background: transparent; border: none; color: var(--cream); width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.nav-mobile-close svg { width: 20px; height: 20px; }
.nav-mobile ul { margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); }
.nav-mobile a { font-family: var(--font-display); font-size: 1.6rem; color: var(--cream-soft); }
.nav-mobile a[aria-current="page"] { color: var(--gold); }
.nav-mobile .btn-primary { margin-top: var(--space-3); align-self: flex-start; }

@media (min-width: 1180px) {
  .nav-desktop { display: flex; align-items: center; gap: 1.75rem; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ----------
   Sunset gradient exactly per client spec: Coral -> Warm Orange -> Gold,
   white typography. A flat 44% navy scrim sits over the gradient —
   verified mathematically so white text stays >=4.5:1 contrast even
   against the brightest (gold) end. Without the scrim, white-on-gold
   measures 2.06:1 (fails badly); with it, 4.97:1 (passes AA). */
.hero {
  padding: var(--space-5) 0 var(--space-4);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #FDF3D6 40%, #F6DD8E 75%, var(--gold) 100%);
}
.hero .eyebrow { color: var(--coral-deep); }
.hero .eyebrow::before { background: var(--coral); }
.hero h1 { color: var(--navy); margin-bottom: var(--space-2); }
.hero .lede { color: var(--ink-soft); margin-bottom: var(--space-3); }
.hero h1 {
  font-size: clamp(1.7rem, 3vw + 0.8rem, 2.75rem);
}
@media (min-width: 640px) {
  .hero h1 { white-space: nowrap; }
}
.hero .btn-ghost { color: var(--coral-deep); border-color: var(--coral-soft); }
.hero .btn-ghost:hover { background: var(--coral-soft); }
/* Three full-width stacked pill buttons reads as a "wall of buttons" on
   phones — tighten the stack and let the tertiary action (Listen to the
   Podcast) sit lighter, closer to a text link than a competing button. */
@media (max-width: 639px) {
  .hero .btn-row { gap: var(--space-1); }
  .hero .btn-row .btn-ghost {
    border-color: transparent;
    padding: 0.5em 0.4em;
    font-size: 0.9rem;
  }
}

/* Same treatment, reusable on interior pages (e.g. Resources/Podcast) */
.page-hero--gradient {
  background: linear-gradient(180deg, #FFFFFF 0%, #FDF3D6 40%, #F6DD8E 75%, var(--gold) 100%);
}
.page-hero--gradient .eyebrow { color: var(--coral-deep); }
.page-hero--gradient .eyebrow::before { background: var(--coral); }
.page-hero--gradient h1 { color: var(--navy); }
.page-hero--gradient .breadcrumb-path,
.page-hero--gradient .breadcrumb-path a { color: var(--sky); }
.page-hero--gradient .lede { color: var(--ink-soft); }

.hero-grid {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-5); }
}
.hero h1 { margin-bottom: var(--space-2); }
.hero .lede { margin-bottom: var(--space-3); }

/* ---------- Sunrise arc signature (photo placeholder + divider) ---------- */
.sunrise-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, var(--coral-soft) 0%, var(--gold-soft) 60%, var(--gold-soft) 100%);
  box-shadow: var(--shadow-lift);
}
.sunrise-frame::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30%;
  transform: translateX(-50%);
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--coral) 0%, var(--coral) 55%, rgba(225,97,60,0) 78%);
  opacity: 0.9;
}
.sunrise-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(43,32,21,0.05) 0 2px, transparent 2px 34px);
  mix-blend-mode: multiply;
}
.sunrise-frame .frame-caption {
  position: absolute;
  left: var(--space-2);
  bottom: var(--space-2);
  z-index: 2;
  background: rgba(43, 32, 21, 0.78);
  color: var(--cream-soft);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5em 0.9em;
  border-radius: 999px;
  max-width: calc(100% - 2 * var(--space-2));
}
.sunrise-frame--square { aspect-ratio: 1 / 1; }
.sunrise-frame--wide { aspect-ratio: 16 / 9; }
.sunrise-frame--sm { aspect-ratio: 1 / 1; border-radius: var(--radius-md); }
.sunrise-frame--on-gradient {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.sunrise-frame--on-gradient::before { opacity: 0.75; }
.sunrise-frame--on-gradient .frame-caption { background: rgba(0, 34, 72, 0.78); }

/* ---------- Photo frame — for REAL photos (no gradient/sun-disc decoration) ---------- */
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lift);
  background: var(--grey);
}
.photo-frame--square { aspect-ratio: 1 / 1; }
.photo-frame--wide { aspect-ratio: 16 / 9; }
.photo-frame--sm { aspect-ratio: 1 / 1; border-radius: var(--radius-md); }

/* ---------- Community illustration (original artwork, not a stock photo) ---------- */
.community-illustration {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-lift);
  background: var(--grey);
}
.community-illustration svg { width: 100%; height: 100%; display: block; }
.community-illustration .frame-caption {
  position: absolute;
  left: var(--space-2);
  bottom: var(--space-2);
  background: rgba(0, 34, 72, 0.78);
  color: var(--cream-soft);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5em 0.9em;
  border-radius: 999px;
  max-width: calc(100% - 2 * var(--space-2));
}

/* ---------- Partner logo grid (Impact page) ---------- */
.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (min-width: 640px) { .partner-logo-grid { grid-template-columns: repeat(3, 1fr); } }
.partner-logo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.partner-logo-card img { max-width: 100%; max-height: 70px; object-fit: contain; }
.partner-logo-card--pending {
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
  border-style: dashed;
  border-color: var(--coral-soft);
  background: var(--cream-soft);
}

.arc-divider {
  height: 64px;
  background: linear-gradient(180deg, transparent, var(--cream-deep) 100%);
  position: relative;
  overflow: hidden;
}
.arc-divider svg { position: absolute; bottom: -1px; left: 0; width: 100%; height: auto; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  height: 100%;
}
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 0.4rem; }
.card p { margin-bottom: var(--space-2); font-size: 0.97rem; }
.card .btn-ghost { font-size: 0.88rem; padding: 0.6em 1.1em; }

/* Alternate Navy/Gold icon badges across any icon grid, per client spec */
.grid > *:nth-child(even) .card-icon,
.row-item:nth-child(even) .card-icon,
.stack > *:nth-child(even) .card-icon {
  background: var(--gold);
  color: var(--navy);
}

.pillar-card { text-align: left; }

.journey-card {
  background: var(--grey);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
/* Generous desktop card padding reads as empty/sparse once cards stack
   full-width on phones — tighten it back up below the tablet breakpoint. */
@media (max-width: 639px) {
  .card { padding: var(--space-2) var(--space-3); }
  .journey-card { padding: var(--space-3); }
}
.journey-card .card-icon { width: 52px; height: 52px; border-radius: 14px; }

/* ---------- Stat bar ---------- */
.stat-bar {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--space-3) 0;
}
@media (min-width: 760px) { .stat-bar { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; position: relative; padding-top: 1.5rem; }
.stat-item::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.stat-item span { font-size: 0.85rem; color: var(--ink-faint); }

/* ---------- Placeholder blocks (clearly-labeled, per build rule #2) ---------- */
.placeholder-block {
  border: 1.5px dashed var(--coral-soft);
  background: var(--cream-soft);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  text-align: center;
  color: var(--ink-faint);
}
.placeholder-block .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-dark);
  background: var(--coral-soft);
  padding: 0.3em 0.7em;
  border-radius: 999px;
  margin-bottom: 0.6em;
}

/* ---------- Value pills (About Us) ---------- */
.pill-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55em 1.1em;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.pill--accent { background: var(--coral); color: var(--white); border-color: var(--coral); }

/* ---------- Founder Spotlight ---------- */
.founder-spotlight {
  display: grid;
  gap: var(--space-4);
  align-items: start;
}
@media (min-width: 860px) {
  .founder-spotlight { grid-template-columns: 0.85fr 1.4fr; gap: var(--space-5); }
}
.founder-photo .sunrise-frame { box-shadow: var(--shadow-lift); }
.founder-bio p { font-size: 0.98rem; }
.founder-quote {
  margin: var(--space-3) 0 0;
  padding: var(--space-3);
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.5;
}
.founder-quote cite {
  display: block;
  margin-top: var(--space-1);
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--coral-deep);
}

/* ---------- Leadership profile cards ---------- */
.leader-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.leader-profile .founder-bio,
.leader-profile .founder-bio * {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.leader-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.1rem;
  font-size: 1.02rem;
}
.leader-portfolio {
  color: var(--coral-deep);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}
.leader-tags {
  font-style: italic;
  color: var(--ink-faint);
  font-size: 0.9rem;
  margin-bottom: var(--space-2);
  line-height: 1.5;
}
.leader-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: var(--space-5) 0;
}

/* ---------- List rows (Programs / Get Involved) ---------- */
.row-list { border-top: 1px solid var(--line); }
.row-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) {
  .row-item { grid-template-columns: 0.9fr 2fr auto; align-items: center; gap: var(--space-3); }
}
.row-item h3 { margin: 0; }
.row-item p { margin: 0; font-size: 0.96rem; }

/* ---------- Episode card (Podcast) — White card, Gold play button ---------- */
.episode-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-soft);
}
.episode-play {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.episode-play svg { width: 22px; height: 22px; }

/* ---------- Video embed (real YouTube episodes) ---------- */
.video-embed {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.video-embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy);
}
.video-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed-caption { padding: var(--space-2) var(--space-3) var(--space-3); }
/* Text-only card (Spotify/Apple/etc. links with no iframe embed) */
.video-embed-caption--solo { padding: var(--space-3); }
.video-embed-caption--solo .btn { margin-top: var(--space-2); }

/* ---------- Blog / article cards (client-added, resources.html) ---------- */
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.blog-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--sky-soft);
}
.blog-card-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: var(--space-2) var(--space-3) var(--space-3); flex: 1; display: flex; flex-direction: column; }
.blog-card-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Podcast studio banner (real photo) ---------- */
.podcast-studio-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-soft);
}
.podcast-studio-banner img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }

/* Small badge/tag — uses a deeper coral so white text stays >=4.5:1 at small sizes
   (the brand coral itself only reaches 3.09:1, which fails for small text) */
.tag-coral {
  display: inline-block;
  background: var(--coral-deep);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3em 0.8em;
  border-radius: 999px;
}

/* ---------- Inline prose links — Sky Blue, used sparingly per client spec ---------- */
main p a, .faq-answer a {
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
main p a:hover, .faq-answer a:hover { color: var(--coral-deep); }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: var(--space-2) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}
.faq-question .plus { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--coral-soft); color: var(--coral-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: transform 0.2s ease; }
.faq-item[data-open="true"] .plus { transform: rotate(45deg); background: var(--coral); color: var(--white); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.faq-answer p { padding-bottom: var(--space-2); margin: 0; }
.faq-item[data-open="true"] .faq-answer { max-height: 400px; }

.category-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-3); }
.category-filter button {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.5em 1em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.category-filter button[aria-pressed="true"] { background: var(--ink); color: var(--cream-soft); border-color: var(--ink); }

/* ---------- Forms (Contact) ---------- */
.form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
}
.field { margin-bottom: var(--space-3); }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
}
.field .hint { font-size: 0.8rem; color: var(--ink-faint); margin-top: 0.35rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8em 1em;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--cream-soft);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--coral);
  outline: none;
  background: var(--white);
}
.field textarea { min-height: 140px; resize: vertical; }

.toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: var(--space-2) var(--space-2);
  margin-bottom: var(--space-3);
}
.switch {
  position: relative;
  width: 46px; height: 26px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.switch .track {
  position: absolute; inset: 0;
  background: var(--line);
  border-radius: 999px;
  transition: background 0.2s ease;
  z-index: 1;
  pointer-events: none;
}
.switch .thumb {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.switch input:checked + .track { background: var(--coral); }
.switch input:checked + .track .thumb,
.switch input:checked ~ .thumb { transform: translateX(20px); }
.toggle-copy strong { display: block; font-size: 0.98rem; color: var(--ink); margin-bottom: 0.15rem; }
.toggle-copy span { font-size: 0.85rem; color: var(--ink-faint); }

.field.is-hidden { display: none; }

.form-success {
  display: none;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-3);
  font-weight: 600;
}
.form-success.is-visible { display: block; }

.contact-panel { display: flex; flex-direction: column; gap: var(--space-3); }
.contact-info-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-info-item .card-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-info-item strong { display: block; color: var(--ink); font-size: 0.95rem; }
.contact-info-item span, .contact-info-item a { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #C7D3DE;
  padding: var(--space-5) 0 var(--space-3);
}
.footer-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-col h4 {
  color: var(--cream-soft);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.footer-col p { color: rgba(255,255,255,0.82); font-size: 0.92rem; }
.footer-col a { color: var(--gold); font-size: 0.92rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a:hover { color: var(--coral); }
.footer-wordmark { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); color: var(--cream-soft); font-size: 1.1rem; margin-bottom: var(--space-2); }
.footer-social { display: flex; gap: 0.6rem; margin-top: var(--space-1); }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid #1C4166;
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid #1C4166;
  margin-top: var(--space-4);
  padding-top: var(--space-2);
  font-size: 0.82rem;
  color: #7E93A8;
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: space-between;
}

/* ---------- Page-level Contact CTA band — "Get in Touch" gradient, corrected per client feedback ---------- */
.cta-band {
  background: linear-gradient(135deg, #FFFFFF 0%, #FDF3D6 35%, #F6DD8E 70%, var(--gold) 100%);
  color: var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
  border: 1px solid var(--line);
}
.cta-band h2 { color: var(--navy); }
.cta-band p { color: var(--ink-soft); max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--navy); color: var(--white); }
.cta-band .btn-primary:hover { background: var(--coral); color: var(--white); }

/* ---------- Page hero (interior pages) — plain white per client spec ---------- */
.page-hero {
  padding: var(--space-5) 0 var(--space-4);
}
.page-hero .eyebrow { margin-bottom: var(--space-2); }
.breadcrumb-path { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: var(--space-2); }
.breadcrumb-path a { color: var(--sky); font-weight: 600; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.section-head { max-width: 62ch; margin-bottom: var(--space-4); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
