:root {
  color-scheme: dark;
  --bg: #141210;
  --ink: #f2e8d8;
  --muted: #bdb0a1;
  --accent: #dec08b;
  --line: #463c32;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Inter", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 136px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.65 var(--body); }
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; }
p { color: var(--muted); }
h2 { font-size: clamp(48px, 5.4vw, 79px); line-height: .96; letter-spacing: -.042em; }
h3 { line-height: 1.03; }

.container { width: min(calc(100% - 48px), 1216px); margin-inline: auto; }
.skip-link { position: fixed; inset: 8px auto auto 8px; z-index: 10; padding: 12px; background: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 5; background: #141210; border-bottom: 1px solid #302821; }
.header-inner { display: flex; flex-direction: column; align-items: stretch; }
.brand { min-height: 56px; display: inline-flex; align-items: center; align-self: flex-start; gap: 10px; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #795e43; border-radius: 50%; color: var(--accent); font: 17px Georgia, serif; }
.brand-text { display: flex; flex-direction: column; }
.brand strong { font: 500 26px/.97 var(--display); letter-spacing: -.018em; }
.brand small { font-size: 9px; color: var(--muted); letter-spacing: .015em; margin-top: 3px; white-space: nowrap; }
.main-nav { display: flex; justify-content: space-between; gap: 7px; border-top: 1px solid #302821; color: #d1c4b4; font-size: clamp(10px, 3.05vw, 13px); }
.main-nav a { display: flex; align-items: center; min-height: 44px; padding-inline: 1px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.button { min-height: 49px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; border: 1px solid transparent; font-size: 13px; font-weight: 600; line-height: 1.2; transition: background .2s, border-color .2s; }
.button span { font-size: 17px; line-height: 1; }
.button-primary { color: #211711; background: #dec08b; border-color: #dec08b; }
.button-primary:hover { background: #f2d5a3; border-color: #f2d5a3; }

.hero { position: relative; isolation: isolate; background: #100e0d; }
.hero-image { display: block; position: relative; height: clamp(225px, 65vw, 450px); z-index: -1; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #100e0d 0%, transparent 35%); }
.hero-inner { padding-bottom: 35px; margin-top: -25px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 10px; line-height: 1.5; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow span { width: 22px; height: 1px; background: #ad885d; }
.hero h1 { margin: 12px 0 15px; font-size: clamp(50px, 13.1vw, 78px); letter-spacing: -.052em; line-height: .87; text-wrap: balance; }
.hero h1 em { font-weight: 500; color: var(--accent); }
.desktop-break { display: none; }
.hero-copy { max-width: 380px; font-size: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px 26px; align-items: center; margin-top: 24px; }
.hero-actions .button { width: 100%; }
.hero-secondary { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; color: #e9ddcc; font-size: 13px; }
.hero-secondary span { color: var(--accent); }
.hero-secondary:hover, .footer-inner a:hover { color: var(--accent); }

.section { padding-block: 58px; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 23px; }
.audio-layout { display: grid; gap: 24px; }
.topic-list { border-top: 1px solid var(--line); }
.topic-link { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.topic-link h3 { font-size: clamp(27px, 6.7vw, 35px); }
.topic-link p { margin-top: 4px; font-size: 12px; }
.topic-link > span { color: var(--accent); font-size: 17px; }
.topic-link:hover h3 { color: var(--accent); }
.text-action { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 13px; font-weight: 600; color: var(--accent); }
.text-action:hover { text-decoration: underline; text-underline-offset: 4px; }
details summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; list-style: none; cursor: pointer; padding: 10px 0; min-height: 44px; }
details summary::-webkit-details-marker { display: none; }
details summary:hover, details[open] summary { color: var(--accent); }
details p { padding: 0 0 11px; max-width: 57ch; font-size: 14px; }
.toggle { position: relative; flex: 0 0 26px; height: 26px; border: 1px solid #66533f; border-radius: 50%; color: var(--accent); }
.toggle::before, .toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .toggle::after { display: none; }
.feature { background: #201914; border: 1px solid var(--line); display: grid; grid-template-columns: 29% 1fr; min-height: 175px; overflow: hidden; }
.feature img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { padding: 17px; align-self: center; }
.feature h3 { margin-block: 8px 12px; font-size: clamp(25px, 6vw, 39px); text-wrap: balance; }

.page-intro { padding-block: clamp(37px, 6vw, 88px); background: radial-gradient(ellipse at 75% 0%, #34251c, transparent 72%), #1b1512; }
.page-intro h1 { font-size: clamp(48px, 10.5vw, 100px); line-height: .95; letter-spacing: -.045em; }
.page-intro p { max-width: 50ch; margin-top: 15px; }
.page-intro .button { margin-top: 23px; }
.topic-nav { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 23px; }
.topic-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 11px; border: 1px solid #6b5340; color: var(--accent); font-size: 12px; }
.topic-nav a:hover { background: #3c2d23; border-color: var(--accent); }
.catalog-section { padding-block: clamp(30px, 5vw, 70px); }
.catalog-list { display: grid; gap: clamp(32px, 5vw, 66px); }
.catalog-topic h2 { margin-bottom: 13px; font-size: clamp(34px, 7vw, 63px); }
.episode { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line); background: #211914; }
.episode-copy { padding: clamp(15px, 3.6vw, 32px); }
.episode-copy h3 { font-size: clamp(27px, 5vw, 43px); }
.episode-label { margin: 6px 0 10px; color: var(--accent); font-size: 12px; }
.episode-image { display: none; }
.sample-player { margin: 15px 0 16px; }
.sample-player audio { width: 100%; max-width: 420px; display: block; }
.sample-player figcaption { margin-top: 7px; color: var(--muted); font-size: 11px; }
.transcript { border-top: 1px solid var(--line); }
.transcript summary { font-size: 13px; }

.reading-section { background: #211815; }
.reading-layout, .about-layout { display: grid; gap: 29px; }
.contact-card > div:first-child > p { margin-top: 14px; max-width: 43ch; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid #594639; }
.steps li { border-bottom: 1px solid #594639; padding: 15px 0; }
.steps h3 { font-size: 27px; }
.steps p { margin-top: 5px; font-size: 13px; }

.about-copy { max-width: 57ch; }
.about-copy p + p { margin-top: 13px; }
.contact-section { padding-block: 36px; }
.contact-card { display: grid; gap: 24px; padding: 24px; border: 1px solid #796047; background: radial-gradient(ellipse at 3% 0%, #33241b 0%, #201916 70%); }
.contact-card h2 { font-size: clamp(40px, 10vw, 66px); }
.messengers { display: grid; align-content: center; gap: 8px; }
.messenger { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 12px; padding: 10px 12px; background: #211b16; border: 1px solid #6b5340; }
.messenger strong { color: var(--accent); font-weight: 600; font-size: 14px; }
.messenger small { color: var(--muted); font-size: 11px; }
.footer-inner { display: flex; gap: 12px; align-items: center; justify-content: space-between; min-height: 68px; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); }
.footer-inner a { display: inline-flex; gap: 5px; align-items: center; min-height: 44px; }

@media (min-width: 440px) {
  .hero-actions .button { width: auto; }
}
@media (min-width: 700px) {
  html { scroll-padding-top: 100px; }
  .container { width: min(calc(100% - 112px), 1216px); }
  .header-inner { min-height: 76px; flex-direction: row; align-items: center; justify-content: space-between; gap: 19px; }
  .brand { gap: 13px; }
  .header-inner .brand { align-self: center; }
  .brand-mark { width: 37px; height: 37px; }
  .brand strong { font-size: 30px; }
  .brand small { font-size: 10px; }
  .main-nav { gap: clamp(14px, 2.65vw, 41px); border-top: 0; }
  .hero-image { position: absolute; inset: 0; height: auto; }
  .hero-image img { object-position: 65% 54%; }
  .hero-image::after { background: linear-gradient(90deg, #100e0de8 0%, #100e0d8c 42%, transparent 74%); }
  .hero-inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: clamp(490px, 48.5vw, 720px); margin-top: 0; padding-block: 76px; }
  .hero h1 { font-size: clamp(64px, 7.7vw, 116px); text-wrap: initial; margin-block: 19px 22px; }
  .desktop-break { display: initial; }
  .hero-copy { font-size: 16px; }
  .hero-actions { margin-top: 30px; gap: 15px 26px; }
  .hero-actions .button { padding-inline: 20px; }
  .section { padding-block: 86px; }
  .section-heading { margin-bottom: 32px; }
  .audio-layout { grid-template-columns: 1.15fr 1fr; gap: clamp(22px, 5vw, 84px); }
  .feature-copy { padding: 23px; }
  .catalog-list { max-width: 1030px; }
  #sample { grid-template-columns: minmax(0, 1fr) clamp(152px, 22vw, 255px); }
  .episode-image { display: block; width: 100%; height: 100%; object-fit: cover; }
  .reading-layout, .about-layout { grid-template-columns: 1fr 1fr; align-items: center; gap: 9%; }
  .steps li { padding-block: 17px; }
  .contact-section { padding-block: 54px; }
  .contact-card { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 6%; padding: clamp(30px, 5.3vw, 69px); }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 36px); }
  .hero h1 { font-size: 45px; }
  .contact-card { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
