@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/* -------------------------------------------------- */
/* Color Variables & Theme Tokens                     */
/* -------------------------------------------------- */
:root {
  color-scheme: light;
  --color-background: #f2f0ea;
  --color-surface: #fcfbf8;
  --color-text: #0a0a0c;
  --color-muted: #5a6470;
  --color-border: #d2cdc4;
  --color-link: #4a002e;
  --color-link-hover: #2f001d;
  --color-accent: #4a002e;
  --color-accent-hover: #360022;
  --color-accent-contrast: #f2f0ea;
  --color-accent-soft: rgba(74, 0, 46, 0.08);
  --color-accent-soft-strong: rgba(74, 0, 46, 0.14);
  --color-highlight: #c7e0ff;
  --color-shadow: rgba(0, 0, 0, 0.08);
  --radius-soft: 1.5rem;
  --transition-base: 160ms ease-in-out;

  /* Chateau Follent vertical lockup system (crest anchored) */
  --lockup-wordmark-block-height-ratio: 0.455; /* 45.5% of crest height */
  --lockup-gap-ratio: 0.091; /* 9.1% of crest height */
  --lockup-crest-height-ratio: 2.2; /* 220% of wordmark block height */
  --lockup-gap-to-wordmark-ratio: 0.2; /* 20% of wordmark block height */
  --lockup-stacked-wordmark-line-height: 1.1;

  /* Acceptable tolerance ranges (crest anchored) */
  --lockup-wordmark-block-height-ratio-min: 0.44;
  --lockup-wordmark-block-height-ratio-max: 0.47;
  --lockup-gap-ratio-min: 0.08;
  --lockup-gap-ratio-max: 0.1;
}

/* -------------------------------------------------- */
/* Typography & Base Elements                         */
/* -------------------------------------------------- */
html {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--color-background);
}

body {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: clamp(1.5rem, 3vw, 3rem);
  background: linear-gradient(135deg, var(--color-background), var(--color-surface));
  color: var(--color-text);
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  transition: background-color var(--transition-base), color var(--transition-base);
}

.site-header {
  width: min(100%, 42rem);
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

header {
  text-align: center;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  margin-inline: auto;
}

.brand-crest {
  width: clamp(5.25rem, 10vw, 7rem);
  height: auto;
  display: block;
}

.brand-wordmark {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(1.8rem, 2.2vw + 1rem, 2.8rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: var(--lockup-stacked-wordmark-line-height);
  text-align: center;
}

.brand-wordmark span {
  display: block;
}

main {
  width: min(100%, 42rem);
  padding: clamp(1.5rem, 2vw + 1rem, 3rem);
  background-color: var(--color-surface);
  border-radius: var(--radius-soft);
  box-shadow: 0 1.5rem 3rem var(--color-shadow);
  text-align: left;
  border: 1px solid var(--color-border);
  transition: background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.waitlist-invite {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: clamp(1.5rem, 2vw + 1rem, 2rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-soft);
  background: linear-gradient(135deg, var(--color-accent-soft), rgba(74, 0, 46, 0));
}

.waitlist-copy h2 {
  margin-bottom: 0.75rem;
}

.waitlist-action {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-button {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background-color: var(--color-accent);
  color: var(--color-accent-contrast);
  border-color: var(--color-accent);
  box-shadow: 0 0.75rem 1.5rem var(--color-accent-soft-strong);
}

.cta-button:hover,
.cta-button:focus-visible {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.site-footer {
  width: min(100%, 42rem);
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 2vw + 1rem, 2.5rem);
  background-color: var(--color-surface);
  border-radius: var(--radius-soft);
  box-shadow: 0 1rem 2.5rem var(--color-shadow);
  border: 1px solid var(--color-border);
  text-align: left;
  transition: background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-heading {
  font-family: 'Libre Baskerville', 'Playfair Display', 'Georgia', serif;
  font-size: 1.25rem;
  margin: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.social-links a {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.social-links a[aria-disabled='true'] {
  color: var(--color-muted);
  opacity: 1;
  pointer-events: none;
  border-bottom: 1px dashed var(--color-border);
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
}

.footer-nav-links a {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-note {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(0.95rem, 1vw + 0.85rem, 1.1rem);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Libre Baskerville', 'Playfair Display', 'Georgia', serif;
  color: var(--color-text);
  letter-spacing: 0.01em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 2.8vw + 1.5rem, 3.5rem);
  margin-bottom: 1rem;
}

p {
  font-size: clamp(1rem, 1.2vw + 0.8rem, 1.25rem);
  line-height: 1.7;
  color: var(--color-muted);
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: left;
}

.vintage-intro {
  margin-bottom: 2.5rem;
}

.vintage-intro h2 {
  margin-bottom: 0.5rem;
}

.vintage-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vintage-timeline details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-soft);
  padding: 0.5rem 1rem 1rem;
  background: linear-gradient(135deg, var(--color-accent-soft), rgba(74, 0, 46, 0));
  box-shadow: 0 1rem 2rem var(--color-shadow);
}

.vintage-timeline summary {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: 'Libre Baskerville', 'Playfair Display', 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.vintage-timeline summary::-webkit-details-marker {
  display: none;
}

.vintage-timeline summary span:last-child {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.vintage-content {
  margin-top: 1rem;
}

.vintage-group + .vintage-group {
  margin-top: 1.25rem;
}

.vintage-group h3 {
  margin-bottom: 0.5rem;
}

.vintage-group ul,
.vintage-links {
  padding-left: 1.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--color-text);
}

.vintage-group li,
.vintage-links li {
  font-size: 1rem;
  line-height: 1.6;
}

.vintage-links a {
  font-weight: 600;
}

/* -------------------------------------------------- */
/* Interactive Elements & Links                       */
/* -------------------------------------------------- */
a {
  color: var(--color-link);
  text-decoration-line: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  text-decoration-skip-ink: auto;
  transition: color var(--transition-base), text-decoration-thickness var(--transition-base);
}

a:hover,
a:focus-visible {
  color: var(--color-link-hover);
  text-decoration-thickness: 0.12em;
}

button {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

button:hover,
button:focus-visible {
  background-color: #efebe4;
  border-color: #a8a39a;
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

.waitlist-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background-color: rgba(12, 12, 12, 0.65);
  padding: 1.5rem;
  z-index: 1000;
}

/* Ensure overlay never renders until explicitly opened */
.waitlist-overlay[hidden],
.waitlist-overlay[aria-hidden="true"] {
  display: none !important;
}

.waitlist-dialog {
  position: relative;
  width: min(100%, 48rem);
  max-height: calc(100vh - 3rem);
  overflow: auto;
  background-color: var(--color-surface);
  color: var(--color-text);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 2vw + 1rem, 2.5rem);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.25);
  border: 1px solid var(--color-border);
}

.waitlist-dialog p {
  margin-bottom: 1.5rem;
}

.waitlist-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
  line-height: 1;
  background-color: rgba(0, 0, 0, 0.05);
  border: none;
  padding: 0;
  color: inherit;
}

.waitlist-close:hover,
.waitlist-close:focus-visible {
  background-color: rgba(0, 0, 0, 0.1);
}

.waitlist-open {
  overflow: hidden;
}

/* -------------------------------------------------- */
/* Responsive Layout Adjustments                      */
/* -------------------------------------------------- */
@media (max-width: 600px) {
  body {
    place-items: start center;
    min-height: auto;
  }

  main {
    border-radius: 1rem;
    box-shadow: 0 1rem 2rem var(--color-shadow);
  }

  .site-footer {
    border-radius: 1rem;
    box-shadow: 0 0.75rem 1.5rem var(--color-shadow);
  }

  h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  p {
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    text-align: left;
  }

  .waitlist-invite {
    padding: 1.25rem;
  }

  .waitlist-dialog {
    padding: 1.5rem;
  }
}

/* -------------------------------------------------- */
/* Founding Fellowship Page                           */
/* -------------------------------------------------- */
body.fellowship-page main {
  width: min(100%, 56.25rem);
  background-color: var(--color-surface);
}

body.fellowship-page header {
  width: min(100%, 56.25rem);
  margin-bottom: 1rem;
}

body.fellowship-page .site-footer {
  width: min(100%, 56.25rem);
}

body.fellowship-page .fellowship-hero {
  background: linear-gradient(135deg, var(--color-accent-soft), rgba(242, 240, 234, 0.92));
  border-radius: var(--radius-soft);
  padding: clamp(1.5rem, 2vw + 1.5rem, 3rem);
  text-align: center;
  box-shadow: 0 1.5rem 3rem var(--color-shadow);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 1.6vw + 0.9rem, 1.5rem);
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.fellowship-divider {
  border: none;
  margin: 2.5rem auto;
  height: 1px;
  width: 60%;
  background: linear-gradient(90deg, transparent, var(--color-accent-soft-strong), transparent);
}

.benefits-section {
  display: grid;
  gap: 1.5rem;
}

.benefit-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-soft);
  padding: 1.5rem;
  background-color: var(--color-accent-soft);
  box-shadow: 0 1rem 2rem var(--color-shadow);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-soft);
  border: 1px solid var(--color-border);
  background-color: var(--color-accent-soft);
  margin-bottom: 1.5rem;
}

.fellowship-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.fellowship-table th,
.fellowship-table td {
  padding: 0.85rem 1rem;
  text-align: left;
}

.fellowship-table thead {
  background-color: var(--color-accent-soft-strong);
}

.fellowship-table tbody tr:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.02);
}

.charter-section {
  border: 1px solid var(--color-accent-soft-strong);
  border-radius: var(--radius-soft);
  padding: 1.75rem;
  background-color: var(--color-accent-soft);
  box-shadow: 0 1.25rem 2.5rem var(--color-shadow);
}

body.fellowship-page blockquote {
  border-left: 4px solid var(--color-accent);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--color-text);
  font-style: italic;
}

body.fellowship-page code {
  font-family: 'Courier New', Courier, monospace;
  padding: 0.15rem 0.35rem;
  border-radius: 0.35rem;
  background-color: rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .benefits-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* -------------------------------------------------- */
/* Waitlist Page                                      */
/* -------------------------------------------------- */
body.waitlist-page {
  place-items: start center;
  min-height: auto;
  padding: clamp(1rem, 2.8vw, 2rem) clamp(0.9rem, 2.5vw, 1.5rem) clamp(1.8rem, 4vw, 3rem);
}

body.waitlist-page .site-header,
body.waitlist-page main,
body.waitlist-page .site-footer {
  width: min(100%, 42rem);
}

body.waitlist-page .waitlist-header {
  margin-bottom: 0.9rem;
}

body.waitlist-page .waitlist-header .brand-wordmark {
  font-size: clamp(1.45rem, 1.4vw + 1rem, 2rem);
  letter-spacing: 0.08em;
}

body.waitlist-page main {
  padding: clamp(1.15rem, 2vw, 1.85rem);
  border-radius: 1.1rem;
  box-shadow: 0 1rem 2rem var(--color-shadow);
}

body.waitlist-page .hero {
  display: grid;
  gap: 0.75rem;
}

body.waitlist-page .hero .eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
}

body.waitlist-page h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5.8vw, 2.55rem);
  line-height: 1.2;
}

body.waitlist-page .hero-subhead,
body.waitlist-page p,
body.waitlist-page li {
  font-size: clamp(0.96rem, 1.8vw, 1.06rem);
  line-height: 1.58;
  margin-bottom: 0;
}

body.waitlist-page .hero-subhead {
  color: var(--color-muted);
  max-width: 44ch;
}

/* Framed card treatment keeps the form visually central without loud styling. */
body.waitlist-page .signup-card {
  margin-top: 0.35rem;
  border: 1px solid var(--color-border);
  border-radius: 0.95rem;
  background: linear-gradient(150deg, var(--color-surface), rgba(74, 0, 46, 0.03));
  box-shadow: 0 0.7rem 1.4rem rgba(0, 0, 0, 0.06);
  padding: 0.95rem;
}

body.waitlist-page .waitlist-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

body.waitlist-page input[type='email'] {
  width: 100%;
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  color: var(--color-text);
  border-radius: 0.65rem;
  padding: 0.78rem 0.82rem;
  font: inherit;
}

body.waitlist-page input[type='email']::placeholder {
  color: color-mix(in srgb, var(--color-muted) 88%, white 12%);
}

body.waitlist-page .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  border: 1px solid var(--color-accent);
  padding: 0.78rem 1rem;
  text-decoration: none;
}

body.waitlist-page input[type='email']:focus-visible,
body.waitlist-page .cta-button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

body.waitlist-page .microcopy {
  margin-top: 0.7rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

body.waitlist-page .section {
  border-top: 1px solid var(--color-border);
  padding-top: 1.2rem;
  margin-top: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

body.waitlist-page .section h2 {
  font-size: clamp(1.2rem, 3.8vw, 1.5rem);
  margin: 0;
}

body.waitlist-page .brand-statement p,
body.waitlist-page .reassurance p,
body.waitlist-page .final-cta p {
  color: var(--color-muted);
}

body.waitlist-page .expect-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

body.waitlist-page .expect-list li {
  border: 1px solid var(--color-border);
  border-radius: 0.7rem;
  background-color: var(--color-surface);
  padding: 0.72rem 0.82rem;
}

body.waitlist-page .final-cta {
  align-items: start;
}

body.waitlist-page .site-footer.waitlist-footer {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
}

body.waitlist-page .footer-note {
  font-size: 0.92rem;
}

@media (min-width: 640px) {
  body.waitlist-page .waitlist-form {
    grid-template-columns: 1fr auto;
  }

  body.waitlist-page .waitlist-form .cta-button {
    min-width: 9.2rem;
  }
}

@media (max-width: 420px) {
  body.waitlist-page .site-footer.waitlist-footer {
    margin-top: 0.8rem;
    padding-inline: 1rem;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* -------------------------------------------------- */
/* Podcast Landing Page                               */
/* -------------------------------------------------- */
body.podcast-page {
  place-items: start center;
  min-height: auto;
  background: linear-gradient(135deg, var(--color-background), var(--color-surface));
  color: var(--color-text);
  padding: clamp(1rem, 2.8vw, 2.25rem) clamp(0.9rem, 2.5vw, 1.5rem) clamp(2rem, 5vw, 4rem);
}

body.podcast-page .site-header,
body.podcast-page .podcast-main,
body.podcast-page .site-footer {
  width: min(100%, 68rem);
}

body.podcast-page .podcast-header {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

body.podcast-page .brand-lockup {
  color: var(--color-text);
  text-decoration: none;
}

body.podcast-page .brand-wordmark {
  color: var(--color-text);
  font-size: clamp(1.45rem, 1.4vw + 1rem, 2.2rem);
  letter-spacing: 0.08em;
}

body.podcast-page .brand-crest {
  width: clamp(4.75rem, 9vw, 6.5rem);
}

body.podcast-page .podcast-main {
  display: grid;
  gap: clamp(1.25rem, 2vw, 2rem);
  padding: clamp(1.1rem, 2.8vw, 2.5rem);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 1.5rem 3rem var(--color-shadow);
}

body.podcast-page h1,
body.podcast-page h2,
body.podcast-page h3 {
  color: var(--color-text);
}

body.podcast-page p {
  color: var(--color-muted);
}

body.podcast-page .eyebrow,
body.podcast-page .section-kicker {
  margin: 0;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

body.podcast-page .podcast-hero,
body.podcast-page .podcast-video-section,
body.podcast-page .podcast-listen-section {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-soft);
  background: linear-gradient(135deg, var(--color-accent-soft), rgba(74, 0, 46, 0));
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

body.podcast-page .podcast-hero {
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.35rem);
  min-height: clamp(22rem, 42vw, 32rem);
  align-content: end;
  background:
    radial-gradient(circle at top right, var(--color-accent-soft-strong), transparent 24rem),
    linear-gradient(135deg, var(--color-accent-soft), rgba(242, 240, 234, 0.92));
  box-shadow: 0 1rem 2rem var(--color-shadow);
}

body.podcast-page .podcast-hero h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 1.02;
}

body.podcast-page .hero-subhead {
  max-width: 46rem;
  margin-bottom: 0;
  color: var(--color-text);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

body.podcast-page .podcast-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

body.podcast-page .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  background-color: var(--color-accent);
  color: var(--color-accent-contrast);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 0.75rem 1.5rem var(--color-accent-soft-strong);
}

body.podcast-page .cta-button:hover,
body.podcast-page .cta-button:focus-visible {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-accent-contrast);
  transform: translateY(-1px);
  outline: none;
}

body.podcast-page .cta-button:focus-visible,
body.podcast-page .platform-card:focus-visible,
body.podcast-page .brand-lockup:focus-visible,
body.podcast-page .footer-nav-links a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

body.podcast-page .cta-button-secondary {
  background-color: var(--color-surface);
  color: var(--color-accent);
  box-shadow: none;
}

body.podcast-page .cta-button-secondary:hover,
body.podcast-page .cta-button-secondary:focus-visible {
  color: var(--color-accent-contrast);
}

body.podcast-page .cta-button-disabled,
body.podcast-page .cta-button-disabled:hover,
body.podcast-page .cta-button-disabled:focus-visible {
  cursor: not-allowed;
  transform: none;
  border-color: var(--color-border);
  background-color: var(--color-surface);
  color: var(--color-muted);
  box-shadow: none;
}

body.podcast-page .podcast-video-section,
body.podcast-page .podcast-listen-section {
  display: grid;
  gap: 0.85rem;
}

body.podcast-page .podcast-video-section h2,
body.podcast-page .podcast-listen-section h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

body.podcast-page .video-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  min-height: 15rem;
  margin-top: 0.4rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius-soft) * 0.85);
  background:
    linear-gradient(135deg, var(--color-accent-soft), rgba(242, 240, 234, 0.7)),
    repeating-linear-gradient(45deg, rgba(74, 0, 46, 0.05) 0 1px, transparent 1px 18px),
    var(--color-surface);
  box-shadow: inset 0 0 0 1px rgba(74, 0, 46, 0.04), 0 1rem 2rem var(--color-shadow);
}

body.podcast-page .video-placeholder::before {
  content: "";
  width: clamp(4.5rem, 11vw, 7rem);
  height: clamp(4.5rem, 11vw, 7rem);
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-soft), transparent 64%);
}

body.podcast-page .video-placeholder span {
  position: absolute;
  color: var(--color-text);
  font-family: 'Libre Baskerville', 'Playfair Display', 'Georgia', serif;
  font-size: clamp(1.25rem, 3vw, 2.35rem);
  text-align: center;
}

body.podcast-page .video-embed {
  aspect-ratio: 16 / 9;
  min-height: 15rem;
  margin-top: 0.4rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius-soft) * 0.85);
  background: var(--color-surface);
  box-shadow: 0 1rem 2rem var(--color-shadow);
}

body.podcast-page .video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

body.podcast-page .platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

body.podcast-page .platform-card {
  display: grid;
  gap: 0.45rem;
  min-height: 8rem;
  padding: 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: 1.1rem;
  background-color: var(--color-surface);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color var(--transition-base), transform var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
}

body.podcast-page a.platform-card:hover,
body.podcast-page a.platform-card:focus-visible {
  border-color: var(--color-accent);
  background-color: var(--color-accent-soft);
  box-shadow: 0 1rem 2rem var(--color-shadow);
  transform: translateY(-2px);
}

body.podcast-page .platform-card-media {
  gap: 0.65rem;
  min-height: auto;
  padding: 0.75rem;
}

body.podcast-page .spotify-embed-card {
  padding: 0.75rem;
}

body.podcast-page .spotify-episode-embed {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 352px;
  border: 0;
  border-radius: 12px;
}

body.podcast-page .platform-art-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 0.9rem;
  background:
    linear-gradient(135deg, var(--color-accent-soft), rgba(242, 240, 234, 0.72)),
    var(--color-surface);
}

body.podcast-page .spotify-promo-card,
body.podcast-page .apple-podcast-card {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.podcast-page .platform-name {
  color: var(--color-text);
  font-family: 'Libre Baskerville', 'Playfair Display', 'Georgia', serif;
  font-size: 1.25rem;
}

body.podcast-page .platform-copy {
  color: var(--color-muted);
}

body.podcast-page .platform-card-disabled {
  opacity: 0.72;
}

body.podcast-page .podcast-footer {
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

body.podcast-page .footer-nav-links a {
  color: var(--color-link);
}

body.podcast-page .footer-nav-links a:hover,
body.podcast-page .footer-nav-links a:focus-visible {
  color: var(--color-link-hover);
}

@media (min-width: 720px) {
  body.podcast-page .platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.podcast-page .podcast-cta-group .cta-button {
    min-width: 11.5rem;
  }
}

@media (max-width: 520px) {
  body.podcast-page .podcast-cta-group,
  body.podcast-page .podcast-cta-group .cta-button {
    width: 100%;
  }
}

.archive-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem 1rem;
  position: relative;
  z-index: 1;
  padding: 0.65rem 1rem;
  background: #262018;
  color: #fff8e8;
  font: 0.9rem/1.5 system-ui, sans-serif;
  text-align: center;
}

.archive-banner a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
