/*=================================================================
  LIVING IN FULLNESS — Design System
  A warm editorial "audio magazine" identity built around a single
  signature motif: the waveform. Same brand palette as before
  (linen / ink / marigold / teal), new type system, new layout logic.
=================================================================*/

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700;9..144,900&family=Fraunces:ital,opsz,wght@1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Brand palette — carried over from the original site */
  --linen: #f5f0e6;
  --paper: #ffffff;
  --ink: #2a2c39;
  --charcoal: #423f3a;
  --marigold: #e6b800;
  --marigold-deep: #b88f00;
  --teal: #1e6f5c;
  --teal-deep: #164f42;

  /* Derived surfaces */
  --linen-deep: #ece4d3;
  --hairline: rgba(42, 44, 57, 0.12);
  --hairline-on-ink: rgba(245, 240, 230, 0.16);

  /* Type */
  --display: "Fraunces", ui-serif, Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --wrap: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

::selection { background: var(--marigold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* ---------- Waveform signature ---------- */
.waveform {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 46px;
}
.waveform span {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: var(--marigold);
  transform-origin: bottom;
}
.waveform span:nth-child(3n) { background: var(--teal); }
.waveform span:nth-child(7n) { background: var(--ink); }

/* fixed varied heights so it reads as an actual waveform, not bars-of-one-size */
.waveform span:nth-child(1)  { height: 40%; }
.waveform span:nth-child(2)  { height: 70%; }
.waveform span:nth-child(3)  { height: 30%; }
.waveform span:nth-child(4)  { height: 90%; }
.waveform span:nth-child(5)  { height: 55%; }
.waveform span:nth-child(6)  { height: 100%; }
.waveform span:nth-child(7)  { height: 45%; }
.waveform span:nth-child(8)  { height: 65%; }
.waveform span:nth-child(9)  { height: 25%; }
.waveform span:nth-child(10) { height: 80%; }
.waveform span:nth-child(11) { height: 50%; }
.waveform span:nth-child(12) { height: 35%; }
.waveform span:nth-child(13) { height: 95%; }
.waveform span:nth-child(14) { height: 60%; }
.waveform span:nth-child(15) { height: 40%; }
.waveform span:nth-child(16) { height: 75%; }
.waveform span:nth-child(17) { height: 30%; }
.waveform span:nth-child(18) { height: 85%; }
.waveform span:nth-child(19) { height: 45%; }
.waveform span:nth-child(20) { height: 65%; }

.waveform.animated span {
  animation: wave-pulse 1.6s ease-in-out infinite;
}
.waveform.animated span:nth-child(2n) { animation-delay: -0.3s; }
.waveform.animated span:nth-child(3n) { animation-delay: -0.6s; }
.waveform.animated span:nth-child(5n) { animation-delay: -0.9s; }
@keyframes wave-pulse {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1); }
}

.wave-divider {
  height: 22px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--marigold) 0px, var(--marigold) 3px,
    transparent 3px, transparent 9px
  );
  background-position: bottom;
  background-repeat: repeat-x;
  background-size: auto 60%;
  opacity: 0.55;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--linen), transparent 6%);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img { height: 46px; width: auto; max-width: 160px; max-height: 46px; display: block; flex-shrink: 0; object-fit: contain; }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-family: var(--body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 9px 16px;
  border-radius: 50px;
  color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  position: relative;
}
.main-nav a:hover { background: color-mix(in srgb, var(--marigold), transparent 82%); }
.main-nav a.active { background: var(--ink); color: var(--linen); }

.main-nav li.has-dropdown { position: relative; display: flex; align-items: center; }
.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
.dropdown-panel .dropdown-inner {
  background: var(--paper);
  border-radius: 10px;
  box-shadow: 0 20px 44px rgba(20,20,30,0.16);
  padding: 8px;
  min-width: 220px;
  transform: translateY(-6px);
  transition: transform 0.2s var(--ease);
}
.main-nav li.has-dropdown:hover .dropdown-panel,
.main-nav li.has-dropdown:focus-within .dropdown-panel {
  opacity: 1; pointer-events: auto;
}
.main-nav li.has-dropdown:hover .dropdown-panel .dropdown-inner,
.main-nav li.has-dropdown:focus-within .dropdown-panel .dropdown-inner {
  transform: translateY(0);
}
.dropdown-panel a {
  display: flex; align-items: center; gap: 8px;
  border-radius: 8px; padding: 10px 12px; font-size: 14px; white-space: nowrap;
}
.dropdown-panel a:hover { background: var(--linen); }

.dropdown-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: inherit;
  padding: 8px;
  font-size: 15px;
  flex-shrink: 0;
}
.dropdown-toggle i { transition: transform 0.25s var(--ease); }
.has-dropdown.open .dropdown-toggle i { transform: rotate(180deg); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  background: none; border: none; color: var(--ink); font-size: 24px;
  line-height: 0;
  flex-shrink: 0;
}

/* Body/scroll lock while the mobile drawer is open */
html.nav-open, html.nav-open body { overflow: hidden; height: 100%; }

@media (max-width: 940px) {
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    height: 100vh; height: 100dvh;
    width: min(320px, 86vw);
    background: var(--ink); padding: 90px 24px 28px; transform: translateX(100%);
    transition: transform 0.35s var(--ease); z-index: 110;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a {
    color: var(--linen); display: block;
    border-radius: 8px; padding: 13px 14px; font-size: 16px;
  }
  .main-nav a.active { background: var(--marigold); color: var(--ink); }
  .main-nav ul > li { border-bottom: 1px solid var(--hairline-on-ink); }
  .main-nav ul > li:last-child { border-bottom: none; }

  .main-nav li.has-dropdown { flex-wrap: wrap; border-bottom: 1px solid var(--hairline-on-ink); }
  .main-nav li.has-dropdown > a { flex: 1; border-bottom: none; }
  .dropdown-toggle { display: flex; color: var(--linen); }
  .dropdown-panel {
    position: static; opacity: 1; pointer-events: none;
    padding: 4px 0 10px 14px;
    max-height: 0; overflow: hidden; width: 100%;
    transition: max-height 0.3s var(--ease);
  }
  .dropdown-panel .dropdown-inner {
    background: transparent; box-shadow: none; padding: 0; min-width: 0; transform: none;
  }
  .main-nav li.has-dropdown.open .dropdown-panel { max-height: 200px; pointer-events: auto; }
  .dropdown-panel a { color: color-mix(in srgb, var(--linen), transparent 15%); padding: 9px 12px; font-size: 13.5px; border-radius: 8px; }
  .dropdown-panel a:hover { background: rgba(245,240,230,0.08); }

  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-open .nav-toggle { color: var(--linen); }

  .nav-scrim {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(20,20,30,0.55); z-index: 105;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
  }
  .nav-scrim.show { opacity: 1; pointer-events: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.2px;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.btn-solid { background: var(--marigold); color: var(--ink); }
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(230,184,0,0.35); }
.btn-outline { border-color: currentColor; color: inherit; }
.btn-outline:hover { transform: translateY(-3px); }
.btn-ghost-light { border-color: var(--hairline-on-ink); color: var(--linen); }
.btn-ghost-light:hover { background: rgba(245,240,230,0.08); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--linen);
  overflow: hidden;
  padding: 150px 0 90px;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marigold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  width: 28px; height: 1px; background: var(--marigold);
}
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  color: var(--linen);
  font-weight: 600;
  max-width: 16ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--marigold);
}
.hero p.lede {
  font-size: 1.2rem;
  max-width: 46ch;
  margin: 26px 0 36px;
  color: color-mix(in srgb, var(--linen), transparent 15%);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-waveform {
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: 46%;
  max-width: 520px;
  opacity: 0.9;
}
.hero-waveform .waveform { height: 220px; gap: 6px; }
.hero-waveform .waveform span { width: 7px; }

.hero-pillars {
  display: flex;
  gap: 34px;
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid var(--hairline-on-ink);
  flex-wrap: wrap;
}
.hero-pillars .pillar {
  font-family: var(--mono);
  font-size: 13px;
  color: color-mix(in srgb, var(--linen), transparent 25%);
  display: flex; align-items: center; gap: 10px;
}
.hero-pillars .pillar b { color: var(--linen); font-weight: 600; }
.hero-pillars .pillar::before { content: "▸"; color: var(--teal); }

/* ---------- Section basics ---------- */
section { padding: 100px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head .eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head p { margin-top: 16px; font-size: 1.05rem; color: var(--charcoal); opacity: 0.85; }
.section-head.center { margin-inline: auto; text-align: center; }

.on-ink { background: var(--ink); color: var(--linen); }
.on-ink h2, .on-ink h3, .on-ink h4 { color: var(--linen); }
.on-ink .section-head p { color: color-mix(in srgb, var(--linen), transparent 15%); }
.on-linen-deep { background: var(--linen-deep); }

/* ---------- On-air / pillars feature blocks ---------- */
.pillar-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 56px 0; }
.pillar-block:not(:last-child) { border-bottom: 1px solid var(--hairline); }
.pillar-block.reverse .pillar-media { order: 2; }
.pillar-media img { border-radius: var(--radius); }
.pillar-index { font-family: var(--mono); color: var(--marigold-deep); font-size: 14px; margin-bottom: 14px; display: block; }
.pillar-block h3 { font-size: 1.7rem; margin-bottom: 16px; }
.pillar-block ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.pillar-block ul li { display: flex; gap: 10px; font-size: 15px; }
.pillar-block ul li::before { content: "—"; color: var(--teal); flex-shrink: 0; }

@media (max-width: 860px) {
  .pillar-block { grid-template-columns: 1fr; gap: 26px; }
  .pillar-block.reverse .pillar-media { order: 0; }
}

/* ---------- Mission / vision pull quotes ---------- */
.pull-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.pull-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 42px;
  border-left: 4px solid var(--teal);
}
.pull-card h3 { font-size: 1.2rem; margin-bottom: 14px; }
.pull-card p { font-family: var(--display); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
@media (max-width: 780px) { .pull-grid { grid-template-columns: 1fr; } }

/* ---------- Values (numbered list — real enumeration) ---------- */
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.value-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
}
.value-row .num { font-family: var(--mono); font-size: 15px; color: var(--marigold-deep); padding-top: 4px; }
.value-row h4 { font-size: 1.05rem; margin-bottom: 8px; }
.value-row p { font-size: 14.5px; opacity: 0.85; }
@media (max-width: 780px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Portfolio ---------- */
.portfolio-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.portfolio-filters button {
  background: transparent; border: 1.5px solid var(--hairline); border-radius: 50px;
  padding: 9px 20px; font-size: 13.5px; font-weight: 600; color: var(--ink);
  transition: all 0.25s var(--ease);
}
.portfolio-filters button.active, .portfolio-filters button:hover {
  background: var(--ink); color: var(--linen); border-color: var(--ink);
}
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.portfolio-grid figure {
  margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; aspect-ratio: 4/5;
}
.portfolio-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.portfolio-grid a:hover img { transform: scale(1.06); }
.portfolio-grid figure.hide { display: none; }
@media (max-width: 780px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Reviews (swiper) ---------- */
.reviews-swiper .swiper-slide { height: auto; }
.review-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--marigold);
}
.review-card .quote-mark { font-family: var(--display); font-size: 3rem; color: var(--teal); line-height: 0.6; margin-bottom: 6px; }
.review-card p.txt { font-size: 14.5px; flex: 1; margin: 14px 0 20px; }
.review-card .who { display: flex; align-items: center; gap: 12px; }
.review-card .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-card .who h4 { font-size: 14.5px; font-family: var(--body); font-weight: 700; }
.review-card .who span { font-size: 12.5px; opacity: 0.65; }
.swiper-pagination { position: static !important; margin-top: 28px; }
.swiper-pagination-bullet { background: var(--ink); opacity: 0.25; }
.swiper-pagination-bullet-active { opacity: 1; background: var(--marigold); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--teal);
  color: var(--linen);
  border-radius: var(--radius);
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h3 { color: var(--linen); font-size: 1.7rem; max-width: 26ch; }
.cta-band p { max-width: 42ch; opacity: 0.9; margin-top: 10px; font-size: 14.5px; }

/* ---------- Episodes ---------- */
.ep-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap; margin-bottom: 40px;
}
.ep-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.ep-filters button {
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 50px;
  padding: 8px 18px; font-size: 13px; font-weight: 600; color: var(--ink);
  transition: all 0.25s var(--ease);
}
.ep-filters button.active, .ep-filters button:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.ep-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 50px; padding: 8px 18px;
  min-width: 220px;
}
.ep-search input { border: none; background: none; width: 100%; font-size: 14px; color: var(--ink); }
.ep-search input:focus { outline: none; }

.ep-list { display: flex; flex-direction: column; }
.ep-row {
  display: grid;
  grid-template-columns: 90px 100px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--hairline);
}
.ep-row .ep-num { font-family: var(--mono); color: var(--marigold-deep); font-size: 14px; padding-top: 6px; }
.ep-row .ep-thumb { width: 100px; height: 100px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.ep-row .ep-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.ep-row .ep-body h3 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.ep-row .ep-meta { font-family: var(--mono); font-size: 12px; color: var(--teal-deep); display: flex; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.ep-row .ep-preview { font-size: 14.5px; opacity: 0.85; }
.ep-row .ep-preview.clamped { max-height: 4.4em; overflow: hidden; transition: max-height 0.4s var(--ease); }
.ep-row .ep-preview.clamped.expanded { max-height: 2000px; }
.ep-row .ep-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.ep-row .ep-actions a, .ep-row .ep-actions button {
  font-family: var(--body); font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 50px; border: 1.5px solid var(--hairline); background: var(--paper); white-space: nowrap;
}
.ep-row .ep-actions a:hover, .ep-row .ep-actions button:hover { border-color: var(--ink); }
.read-more-btn {
  background: none; border: none; color: var(--teal-deep); font-weight: 700; font-size: 13px; padding: 6px 0 0; text-decoration: underline;
}
.ep-row.hidden { display: none; }

@media (max-width: 780px) {
  .ep-row { grid-template-columns: 60px 1fr; }
  .ep-row .ep-thumb { display: none; }
  .ep-row .ep-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; margin-top: 10px; }
}

/* ---------- Pagination (episodes + guests) ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 50px; }
.pager button {
  background: var(--ink); color: var(--linen); border: none; border-radius: 50px;
  padding: 10px 22px; font-weight: 700; font-size: 13.5px; transition: opacity 0.2s;
}
.pager button:disabled { opacity: 0.35; cursor: not-allowed; }
.pager span { font-family: var(--mono); font-size: 13px; color: var(--ink); }

/* ---------- Guests ---------- */
.guest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.guest-card { text-align: left; }
.guest-card figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.guest-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(65%); transition: filter 0.4s var(--ease), transform 0.5s var(--ease); }
.guest-card:hover img { filter: grayscale(0%); transform: scale(1.04); }
.guest-card h4 { font-family: var(--body); font-size: 15px; font-weight: 700; margin-top: 14px; color: var(--ink); }
.guest-card span { font-family: var(--mono); font-size: 12px; color: var(--teal-deep); }
.guest-card.hidden { display: none; }
@media (max-width: 900px) { .guest-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- About page ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-hero img { border-radius: var(--radius); }
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; }
.stat .n { font-family: var(--display); font-size: 2.6rem; color: var(--marigold); font-weight: 600; }
.stat p { font-size: 13px; opacity: 0.85; margin-top: 8px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.service-card img { aspect-ratio: 4/3; object-fit: cover; }
.service-card .body { padding: 26px; }
.service-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.service-card p { font-size: 14px; opacity: 0.85; }
@media (max-width: 900px) { .about-hero, .services-grid { grid-template-columns: 1fr; } .stats-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item button {
  width: 100%; text-align: left; background: none; border: none; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--display); font-size: 1.05rem; color: var(--ink); font-weight: 500;
}
.faq-item .plus { font-family: var(--mono); font-size: 20px; color: var(--marigold-deep); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-answer p { padding-bottom: 22px; font-size: 14.5px; opacity: 0.85; max-width: 62ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; }
.contact-info .info-row { display: flex; gap: 16px; margin-bottom: 30px; }
.contact-info .info-row i { font-size: 20px; color: var(--teal); margin-top: 3px; }
.contact-info h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info p { font-size: 14.5px; opacity: 0.8; }
.contact-info .socials { display: flex; gap: 12px; margin-top: 10px; }
.contact-info .socials a {
  width: 40px; height: 40px; border-radius: 50%; background: var(--paper);
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--hairline);
}
.contact-info .socials a:hover { background: var(--ink); color: var(--linen); }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--hairline); border-radius: 8px; padding: 13px 16px;
  background: var(--paper); font-size: 14.5px; transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal), transparent 84%);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .contact-grid, .field-row { grid-template-columns: 1fr; } }

.field input.field-invalid { border-color: #c0392b; }
.field input.field-invalid:focus { box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.14); }
.field input.field-valid { border-color: var(--teal); }

.field-hint { min-height: 18px; margin-top: 6px; font-size: 12.5px; }
.field-hint.is-error { color: #c0392b; }
.field-hint.is-success { color: var(--teal-deep); }
.field-hint.is-suggestion { color: var(--marigold-deep); }
.field-hint button {
  background: none; border: none; padding: 0; margin-left: 4px;
  color: var(--teal-deep); font-weight: 700; font-size: 12.5px;
  text-decoration: underline; cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--linen); padding: 70px 0 30px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand { max-width: 380px; }
.footer-brand p { font-size: 14px; opacity: 0.75; margin-top: 16px; }
.footer-socials { display: flex; gap: 12px; margin-top: 22px; }
.footer-socials a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--hairline-on-ink);
  display: flex; align-items: center; justify-content: center; transition: background 0.25s, transform 0.25s;
}
.footer-socials a:hover { background: var(--marigold); color: var(--ink); transform: translateY(-3px); }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-links h5 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--marigold); margin-bottom: 16px; }
.footer-links a { display: block; font-size: 14px; opacity: 0.8; padding: 5px 0; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--hairline-on-ink); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 13px; opacity: 0.65;
}

/* ---------- Scroll top ---------- */
.scroll-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--linen); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s; z-index: 90; box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-4px); }

/* ---------- Spotify modal (reused behavior) ---------- */
.audio-modal {
  display: none; position: fixed; inset: 0; z-index: 200; background: rgba(20,20,30,0.72);
  align-items: center; justify-content: center; padding: 16px;
}
.audio-modal.show { display: flex; }
.audio-modal .panel {
  background: var(--paper);
  border-radius: 14px;
  padding: 46px 16px 16px;
  width: min(560px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
.audio-modal iframe {
  width: 100%;
  height: 232px;
  max-width: 100%;
  border-radius: 10px;
  border: none;
  display: block;
}
.audio-modal .close-audio {
  position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--linen); border: none; font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}

@media (max-width: 480px) {
  .audio-modal { padding: 10px; }
  .audio-modal .panel { padding: 44px 10px 10px; }
}

/* ---------- YouTube video modal ---------- */
.video-modal {
  display: none; position: fixed; inset: 0; z-index: 200; background: rgba(20,20,30,0.78);
  align-items: center; justify-content: center; padding: 16px;
}
.video-modal.show { display: flex; }
.video-modal .panel {
  background: var(--ink);
  border-radius: 14px;
  padding: 46px 12px 12px;
  width: min(880px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none; display: block;
}
.video-modal .close-video {
  position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--marigold); color: var(--ink); border: none; font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
}

@media (max-width: 480px) {
  .video-modal { padding: 10px; }
  .video-modal .panel { padding: 44px 8px 8px; }
}

/* ---------- Modal prev/next episode navigation ---------- */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(20, 20, 30, 0.55);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 3;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.modal-nav:hover { background: rgba(20, 20, 30, 0.82); }
.modal-prev { left: 10px; }
.modal-next { right: 10px; }

@media (max-width: 560px) {
  .modal-nav { width: 34px; height: 34px; font-size: 16px; }
  .modal-prev { left: 4px; }
  .modal-next { right: 4px; }
}

/* ---------- Page header (interior pages) ---------- */
.page-header { background: var(--ink); color: var(--linen); padding: 130px 0 60px; }
.page-header .eyebrow { font-family: var(--mono); color: var(--marigold); font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; }
.page-header h1 { color: var(--linen); font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin-top: 14px; }
.page-header p { max-width: 58ch; margin-top: 16px; opacity: 0.8; font-size: 1.05rem; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; opacity: 0.65; margin-top: 22px; font-family: var(--mono); }

/* ---------- Articles ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.article-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.article-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.article-card:hover .thumb img { transform: scale(1.05); }
.article-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-card .cat { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-deep); }
.article-card h3 { font-size: 1.15rem; margin: 12px 0 16px; flex: 1; }
.article-card h3 a:hover { text-decoration: underline; }
.article-card .byline { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.article-card .byline img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.article-card .byline span { display: block; font-size: 12.5px; }
.article-card .byline .name { font-weight: 700; color: var(--ink); }
.article-card .byline .date { opacity: 0.6; font-family: var(--mono); }
@media (max-width: 860px) { .article-grid { grid-template-columns: 1fr; } }

/* ---------- Post detail / long-form ---------- */
.post-body { max-width: 720px; margin: 0 auto; }
.post-body img { border-radius: var(--radius); margin: 30px 0; }
.post-body p { margin: 0 0 20px; font-size: 1.05rem; }
.post-body h2, .post-body h3 { margin: 40px 0 16px; }
.post-body blockquote {
  border-left: 3px solid var(--marigold); padding-left: 20px; font-family: var(--display);
  font-style: italic; font-size: 1.2rem; color: var(--ink); margin: 30px 0;
}
.post-byline { display: flex; align-items: center; gap: 14px; max-width: 720px; margin: 0 auto 40px; }
.post-byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.post-byline .name { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.post-byline .date { font-family: var(--mono); font-size: 12.5px; opacity: 0.6; }

/* ---------- Legal / simple content pages ---------- */
.legal-body { max-width: 760px; }
.legal-body h2 { margin: 36px 0 14px; font-size: 1.3rem; }
.legal-body p, .legal-body li { font-size: 15px; opacity: 0.88; margin-bottom: 12px; }
.legal-body ul { padding-left: 20px; list-style: disc; }

/* ---------- Thank you ---------- */
.thanks-hero { text-align: center; padding: 90px 0; }
.thanks-hero .icon-circle {
  width: 84px; height: 84px; border-radius: 50%; background: var(--teal); color: var(--linen);
  display: flex; align-items: center; justify-content: center; font-size: 34px; margin: 0 auto 30px;
}
.thanks-hero h1 { font-size: 2.2rem; }
.thanks-hero p { max-width: 46ch; margin: 18px auto 30px; opacity: 0.8; }
.mt-0 { margin-top: 0; }
.center-copy { text-align: center; max-width: 640px; margin: 0 auto; }

[data-reveal] { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); }
.js-reveal [data-reveal].in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .js-reveal [data-reveal] { opacity: 1; transform: none; } }

/* ---------- Audio player ---------- */
.audio-player {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--paper);
  border-radius: var(--radius-lg, 18px);
  padding: 20px 26px;
  box-shadow: 0 14px 34px rgba(20, 20, 30, 0.08);
}
.ap-toggle {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--marigold);
  color: var(--ink);
  border: none;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.ap-toggle:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(230, 184, 0, 0.35); }
.ap-toggle i.bi-pause-fill { margin: 0; }
.ap-toggle i.bi-play-fill { margin-left: 3px; } /* optical centering for the play triangle */

.ap-main { flex: 1; min-width: 0; }
.ap-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.ap-title { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.ap-subtitle { font-family: var(--mono); font-size: 11.5px; color: var(--teal-deep); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }

.ap-waveform {
  position: relative;
  height: 42px;
  cursor: pointer;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.ap-bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.ap-bars span {
  flex: 1 1 auto;
  min-width: 2px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--ink), transparent 88%);
}
.ap-bars-fg {
  width: 0%;
  overflow: hidden;
  pointer-events: none;
}
.ap-bars-fg span { background: var(--marigold); }

.ap-times {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--charcoal);
  opacity: 0.65;
}

.ap-mute {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--hairline);
  color: var(--ink);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.ap-mute:hover { background: var(--linen); border-color: var(--ink); }

@media (max-width: 640px) {
  .audio-player { padding: 16px 18px; gap: 14px; }
  .ap-toggle { width: 48px; height: 48px; font-size: 18px; }
  .ap-mute { display: none; } /* volume control is far less useful on mobile devices */
  .ap-subtitle { display: none; }
}
