/* ==========================================================================
   Sexy Secrets Radio: Luminous Pearl
   Colors come from the Media Kit (02-website/brand-tokens.css).
   To restyle the whole site, change the tokens in :root and nothing else.
   ========================================================================== */
:root {
  --pearl: #fffcf7;      /* dominant field */
  --ivory: #f8efe4;      /* quiet panels */
  --purple: #6d275f;     /* headings, rules, buttons */
  --magenta: #b41672;    /* selective accents */
  --plum: #4e1f46;       /* primary text */
  --gold: #bd8b53;       /* thin borders & ornament (decorative, not small text) */
  --muted: #625663;      /* secondary text */
  --rule: #dfcdba;       /* fine rules */
  --deep: #3a1535;       /* footer & dark bands */
  --gold-light: #ecd0a4; /* gold text on dark */
  --glass: rgba(255, 252, 247, .8);
  --shadow: 0 18px 50px rgba(78, 31, 70, .14);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --radius: 18px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--pearl); color: var(--plum); font: 17px/1.7 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-underline-offset: .18em; }
a:hover { color: var(--magenta); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--plum); margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); line-height: 1.06; letter-spacing: -.015em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.15; letter-spacing: -.01em; }
h3 { font-size: 1.45rem; line-height: 1.25; }
p { margin: 0 0 1.1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--purple); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted, .small { color: var(--muted); }
.small { font-size: .88rem; }
.note { max-width: 760px; }
code { background: var(--ivory); padding: .1em .4em; border-radius: 5px; font-size: .9em; }

/* eyebrow / rule motifs */
.eyebrow { font: 700 .76rem/1.4 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--purple); margin: 0 0 .9rem; }
.kicker { font: 700 .74rem/1.4 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--magenta); margin: 0 0 .5rem; }
.rule { position: relative; border-top: 1px solid var(--rule); margin-top: 1.1rem; }
.rule::before { content: ""; position: absolute; left: 0; top: -2px; width: 72px; height: 3px; background: var(--purple); }
.section-head { margin-bottom: 2rem; }
.section-head h2 { margin-bottom: 0; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--plum); }
.lead p:last-child { margin-bottom: 0; }

/* sections */
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section.tight { padding: clamp(32px, 5vw, 60px) 0; }
.band-ivory { background: var(--ivory); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.45rem; border-radius: 999px; font: 600 .95rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; border: 1px solid var(--purple); background: var(--purple); color: #fff; transition: background .2s, color .2s, transform .2s, box-shadow .2s; cursor: pointer; }
.btn:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(180, 22, 114, .25); }
.btn-ghost { background: rgba(255, 252, 247, .85); color: var(--plum); border-color: var(--gold); }
.btn-ghost:hover { background: #fff; color: var(--magenta); border-color: var(--magenta); box-shadow: none; }
.btn-link { background: none; border-color: transparent; color: var(--purple); padding-inline: .6rem; }
.btn-link:hover { background: none; color: var(--magenta); box-shadow: none; text-decoration: underline; }
.btn-sm { padding: .6rem 1.1rem; font-size: .88rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 0; }

/* glass */
.glass { background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1); border: 1px solid rgba(189, 139, 83, .5); border-radius: var(--radius); box-shadow: var(--shadow); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 252, 247, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.site-header::after { content: ""; display: block; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--plum); }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font: 400 1.3rem var(--serif); }
.brand-sub { font: 700 .66rem var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--purple); }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.site-nav a { color: var(--plum); text-decoration: none; font: 600 .92rem var(--sans); letter-spacing: .02em; padding: .4rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--magenta); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--purple); }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 20px; height: 2px; background: var(--plum); border-radius: 2px; position: relative; transition: transform .2s, opacity .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* hero */
.hero { background: var(--pearl) url("/assets/img/brand/pearl-bg-1920.webp") center / cover no-repeat; padding: clamp(36px, 7vw, 100px) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-card { padding: clamp(26px, 4vw, 54px); }
.hero h1 { margin-bottom: .45em; }
.hero h1 span { display: block; }
.hero-tag { font: italic 1.1rem var(--serif); color: var(--muted); margin: 1.8rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.hero-logo img { width: min(100%, 540px); margin-inline: auto; filter: drop-shadow(0 26px 40px rgba(78, 31, 70, .3)); }

/* live strip */
.live-strip { background: var(--deep); color: #f4e6ee; }
.live-strip .wrap { display: flex; align-items: center; gap: 16px; padding: 12px 0; flex-wrap: wrap; }
.live-strip p { margin: 0; flex: 1; }
.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 0 rgba(180, 22, 114, .6); animation: pulse 2s infinite; vertical-align: middle; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(180, 22, 114, 0); } 100% { box-shadow: 0 0 0 0 rgba(180, 22, 114, 0); } }

/* page hero (inner pages) */
.page-hero { padding: clamp(40px, 6vw, 84px) 0 clamp(28px, 4vw, 48px); background: linear-gradient(180deg, var(--ivory), var(--pearl)); border-bottom: 1px solid var(--rule); }
.page-hero h1 { max-width: 22ch; }
.page-hero.ep-hero h1 { max-width: none; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--purple); }
.byline { color: var(--muted); font-size: .95rem; margin: 1.1rem 0 0; }
.ep-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.ep-figure { margin: 0; }
.ep-figure img { width: 100%; border-radius: var(--radius); border: 1px solid rgba(189, 139, 83, .55); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }
.ep-figure figcaption, .page-figure figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; line-height: 1.45; }
.page-figure { margin: 0 0 2rem; }
.page-figure img { border-radius: var(--radius); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; }
.card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 22px 24px 26px; }
.card h3 { margin-bottom: .4em; }
.card-sum { color: var(--muted); font-size: .96rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.meta { font-size: .8rem; color: var(--muted); margin: 0; }
.center + .grid, .grid + .center { margin-top: 2rem; }
.grid + .center, .net-grid + .center { margin-top: 2.2rem; }

/* featured */
.feature { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.feature-body { padding: clamp(24px, 4vw, 48px); align-self: center; }
.feature-body h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.feature-body h3 a { color: inherit; text-decoration: none; }
.feature-body h3 a:hover { color: var(--magenta); }
.feature-body .sub { font: italic 1.1rem var(--serif); color: var(--muted); }

/* players */
.player { margin: 1.2rem 0; }
.player audio { width: 100%; }
.player iframe, .player embed, .player object, .player video { max-width: 100%; border: 0; }
.player-pending { padding: 16px 20px; border: 1px dashed var(--gold); border-radius: 12px; background: rgba(255, 252, 247, .7); color: var(--muted); }
.player-pending p { margin: 0; font-size: .95rem; }
.audio-card { padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); }
.audio-card .player:first-child { margin-top: 0; }
.mini-h { font: 700 .76rem var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--purple); margin: 1.4rem 0 .6rem; }
.chapters, .listen-links { list-style: none; padding: 0; margin: 0 0 1rem; }
.chapters { display: flex; flex-wrap: wrap; gap: 8px; }
.chapters button { font: 600 .85rem var(--sans); border: 1px solid var(--gold); background: var(--pearl); color: var(--plum); padding: .45rem .8rem; border-radius: 999px; cursor: pointer; }
.chapters button:hover { background: #fff; color: var(--magenta); border-color: var(--magenta); }
.chapters li { font-size: .9rem; }
.ts { font-variant-numeric: tabular-nums; color: var(--magenta); font-weight: 700; }
.listen-links li { padding: .35rem 0; border-top: 1px solid var(--rule); }
.listen-links li:first-child { border-top: 0; }
.listen { padding: clamp(36px, 5vw, 64px) 0; }
.listen-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.bridge { background: var(--pearl); border-bottom: 1px solid var(--rule); }
.bridge .wrap { display: flex; gap: 20px; align-items: baseline; padding: 16px 0; }
.bridge strong { white-space: nowrap; color: var(--purple); font: 700 .78rem var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.bridge p { margin: 0; font-size: .96rem; color: var(--muted); }

/* prose */
.prose { max-width: 740px; }
.prose h2 { font-size: 2rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { font-size: 1.05rem; }
.prose-sm p { margin-bottom: .8em; }
.prose-sm { color: var(--muted); }
.prose blockquote { margin: 1.6rem 0; padding: .2rem 0 .2rem 1.4rem; border-left: 3px solid var(--gold); font: italic 1.25rem/1.5 var(--serif); }

/* threads */
.threads { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 820px; }
.threads li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--rule); }
.threads li:last-child { border-bottom: 1px solid var(--rule); }
.thread-n { font: 400 2.4rem/1 var(--serif); color: var(--gold); }
.threads h3 { margin-bottom: .3em; }

/* quotes */
.quote-band { background: linear-gradient(135deg, var(--deep), var(--purple)); color: var(--pearl); padding: clamp(40px, 6vw, 72px) 0; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; }
.quotes blockquote { margin: 0; }
.quotes blockquote p { font: 400 clamp(1.2rem, 2vw, 1.5rem)/1.45 var(--serif); margin-bottom: .9rem; }
.quotes cite { font: 600 .78rem var(--sans); letter-spacing: .08em; color: var(--gold-light); font-style: normal; }

/* faq */
.faq details { border-top: 1px solid var(--rule); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font: 400 1.25rem/1.4 var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--magenta); font: 300 1.6rem/1 var(--sans); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: .8rem 0 0; color: var(--muted); }

/* network */
.net-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.net-card { background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--gold); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; }
.net-card h3 { font-size: 1.35rem; }
.net-card p { color: var(--muted); font-size: .96rem; }
.net-card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.net-card .more:hover { text-decoration: underline; }
.net-card .domain { font-size: .78rem; margin: .3rem 0 0; color: var(--muted); }
.appears { font-size: .85rem !important; }
.appears span { font-weight: 700; color: var(--purple); margin-right: .3em; }
.appears a { margin-right: .8em; }

/* series */
.series-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.series-card + .series-card { margin-top: 3rem; }
.series-media img { border-radius: var(--radius); border: 1px solid rgba(189, 139, 83, .55); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.series-card h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.series-card h3 a { color: inherit; text-decoration: none; }
.parts { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.parts a { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: baseline; padding: .7rem 0; border-top: 1px solid var(--rule); text-decoration: none; color: var(--plum); }
.parts li:last-child a { border-bottom: 1px solid var(--rule); }
.parts a:hover { color: var(--magenta); }
.part-n { font: 400 1.5rem var(--serif); color: var(--gold); }
.part-d { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.series-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.series-step { display: flex; flex-direction: column; gap: .3rem; padding: 20px 22px; background: #fff; border: 1px solid var(--rule); border-radius: 12px; text-decoration: none; color: var(--plum); transition: border-color .2s, box-shadow .2s; }
.series-step:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.series-step .eyebrow { margin: 0; }
.series-step strong { font: 400 1.15rem/1.35 var(--serif); }

/* host */
.host-grid { display: grid; grid-template-columns: 180px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 960px; }
.host-mark img { width: 160px; margin-inline: auto; filter: drop-shadow(0 14px 24px rgba(78, 31, 70, .25)); }

/* archive filters */
.filters { margin-bottom: 1.4rem; }
.filters[hidden] { display: none; }
.filter-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
input[type="search"], input[type="text"], input[type="email"], select, textarea { font: inherit; color: var(--plum); background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: .75rem 1rem; width: 100%; }
.filter-row input[type="search"] { flex: 1 1 260px; width: auto; }
.filter-row select { flex: 0 1 260px; width: auto; }
input:focus, select:focus, textarea:focus { border-color: var(--magenta); outline: 2px solid rgba(180, 22, 114, .25); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 .82rem var(--sans); padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--gold); background: #fff; color: var(--plum); cursor: pointer; }
.chip:hover { border-color: var(--magenta); color: var(--magenta); }
.chip.is-on { background: var(--purple); color: #fff; border-color: var(--purple); }
.count { font-size: .9rem; margin-bottom: 1rem; }
.empty { text-align: center; padding: 2rem; color: var(--muted); }
.card[hidden] { display: none; }

/* form */
.form { padding: clamp(22px, 4vw, 40px); margin-top: 2rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font: 700 .85rem var(--sans); letter-spacing: .04em; margin-bottom: .4rem; }
textarea { resize: vertical; }

/* footer */
.site-footer { background: var(--deep); color: #eddde6; margin-top: 0; padding-top: clamp(40px, 6vw, 72px); }
.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 36px clamp(32px, 5vw, 72px); padding-bottom: 36px; }
.foot-grid > div { flex: 0 1 170px; }
.foot-grid > .foot-brand { flex: 1 1 280px; }
.foot-brand img { width: 120px; margin-bottom: 14px; }
.foot-tag { font: italic 1.2rem var(--serif); color: #fff; margin-bottom: .4rem; }
.foot-brand p { font-size: .92rem; max-width: 34ch; }
.foot-h { font: 700 .74rem var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; font-size: .94rem; }
.foot-base { border-top: 1px solid rgba(236, 208, 164, .25); padding: 20px 0 32px; font-size: .82rem; color: #cdb8c6; }
.foot-base p { margin: 0 0 .4rem; }
.colophon { max-width: 80ch; }

/* responsive */
@media (max-width: 860px) {
  .hero { background-image: url("/assets/img/brand/pearl-bg-mobile-1080.webp"); }
  .hero-grid, .ep-hero-grid, .listen-grid, .feature, .series-card, .host-grid { grid-template-columns: 1fr; }
  .hero-logo { order: -1; }
  .hero-logo img { width: min(62%, 270px); }
  .feature-media img { min-height: 0; aspect-ratio: 3 / 2; }
  .host-mark img { width: 110px; margin: 0; }
  .bridge .wrap { flex-direction: column; gap: 4px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--pearl); border-bottom: 1px solid var(--rule); padding: 8px 20px 16px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .9rem 0; border-bottom: 1px solid var(--rule); }
  .site-header { position: sticky; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .threads li { grid-template-columns: 40px 1fr; }
  .parts a { grid-template-columns: 30px 1fr; }
  .part-d { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .player, .nav-toggle { display: none; }
}
