:root {
  --ink: #15211c;
  --muted: #5e6a63;
  --line: #d9ddd4;
  --paper: #f7f8f3;
  --white: #ffffff;
  --sage: #8aa394;
  --teal: #1b6b6f;
  --wine: #7e3150;
  --gold: #b6863b;
  --shadow: 0 18px 50px rgba(21, 33, 28, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 248, 243, 0.92);
  border-bottom: 1px solid rgba(21, 33, 28, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  background: var(--teal);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

.topbar.compact {
  position: relative;
}

.lang-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.lang-switch button {
  width: 42px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.lang-switch button.active {
  color: white;
  background: var(--teal);
}

.hero {
  position: relative;
  min-height: min(740px, calc(100vh - 72px));
  display: grid;
  align-items: end;
  padding: clamp(80px, 11vw, 160px) clamp(20px, 6vw, 80px) clamp(54px, 8vw, 86px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24vh;
  min-height: 110px;
  background: linear-gradient(to bottom, rgba(247, 248, 243, 0), var(--paper));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 28, 25, 0.88), rgba(16, 28, 25, 0.54) 48%, rgba(16, 28, 25, 0.18)),
    url("https://cdn.mave.digital/storage/podcasts/317c8bb1-3814-4c3a-b1a3-3ad800732d34/images/c1906fa6-8e62-4815-8c57-71265cc6e884_80.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: white;
}

.eyebrow,
.label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--wine);
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.1);
}

.button.outline {
  color: var(--teal);
  border-color: var(--teal);
  background: transparent;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding: 34px clamp(20px, 6vw, 80px) 52px;
}

.intro-text {
  font-size: clamp(20px, 2.4vw, 30px);
  font-family: Georgia, "Times New Roman", serif;
}

.intro-text p {
  margin: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.stats div {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats dt {
  font-size: 30px;
  font-weight: 900;
  color: var(--teal);
}

.stats dd {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: clamp(54px, 8vw, 94px) clamp(20px, 6vw, 80px);
}

.section.muted {
  background: #edf1ea;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.podcast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.podcast-card {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.podcast-card img {
  width: 126px;
  height: 126px;
  object-fit: cover;
  border-radius: 8px;
  background: #d9ddd4;
}

.podcast-card h3,
.topic-grid h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
}

.podcast-card p:not(.label) {
  margin: 0;
  color: var(--muted);
}

.link-row a {
  color: var(--teal);
  font-weight: 800;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.topic-grid article {
  padding: 20px;
  min-height: 190px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.topic-grid p {
  color: var(--muted);
}

.episodes {
  background: var(--ink);
  color: white;
}

.episodes .eyebrow {
  color: #d5a653;
}

.episode-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.section-action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.episode-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.episode-list span {
  color: #d5a653;
  font-weight: 900;
}

.episode-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
}

.episode-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-section {
  background: var(--white);
}

.question-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.question-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.question-form .full,
.question-form .disclaimer,
.question-form button {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcf8;
  font: inherit;
}

textarea {
  resize: vertical;
}

.consent {
  display: flex !important;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  color: var(--ink);
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--teal);
  font-weight: 700;
}

.article-main {
  padding: clamp(38px, 7vw, 80px) clamp(20px, 6vw, 80px);
}

.article-hero,
.episode-article {
  max-width: 980px;
  margin: 0 auto;
}

.article-hero h1,
.episode-article h1 {
  margin: 0;
  max-width: 880px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

.article-hero p,
.article-lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.search-input {
  width: min(720px, 100%);
  min-height: 48px;
  margin-top: 24px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.episode-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 38px auto 0;
}

.directory-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.directory-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.18;
}

.directory-card h2 a {
  text-decoration: none;
}

.directory-card p {
  color: var(--muted);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.article-meta span {
  padding: 7px 10px;
  color: var(--teal);
  background: #e5efea;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.episode-article audio {
  width: 100%;
  margin: 18px 0 28px;
}

.episode-article section {
  margin-top: 34px;
}

[hidden] {
  display: none !important;
}

.episode-article h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.english-article {
  padding: 20px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.english-article p {
  max-width: 860px;
  margin: 0 0 16px;
}

.english-article p:last-child {
  margin-bottom: 0;
}

.transcript {
  max-height: 520px;
  overflow: auto;
  padding: 18px;
  white-space: pre-wrap;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pending,
.article-cta {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 80px);
  color: rgba(255, 255, 255, 0.8);
  background: var(--ink);
}

.footer p {
  margin: 6px 0 0;
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 680px;
  }

  .intro-band,
  .podcast-grid,
  .topic-grid,
  .question-form {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .podcast-card {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 16px;
  }

  .podcast-card img {
    width: 92px;
    height: 92px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 620px;
    padding-top: 64px;
  }

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

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

  .button {
    width: 100%;
  }
}
