/* ==========================================================================
   Sexy Secrets Radio: home page (the opening page, in the Luminous Pearl look)
   Content lives in content/home.yml; layout in templates/home.html.
   ========================================================================== */
[id] { scroll-margin-top: 92px; }
.header-cta { margin-left: 4px; white-space: nowrap; }
.header-cta span { color: var(--magenta); margin-left: .35rem; font-size: .75em; }
.site-nav { margin-left: auto; }
.bar { gap: clamp(12px, 2vw, 28px); }
.foot-support { margin-top: .9rem; font-size: .92rem; }
.foot-support .icon { width: 1.25em; height: 1.25em; vertical-align: -.3em; margin-right: .2em; }

/* ---- hero ---------------------------------------------------------------------------- */
.hero-home { padding: clamp(36px, 6vw, 84px) 0 clamp(24px, 4vw, 48px); }
.hero-home .hero-grid { grid-template-columns: 1.02fr .98fr; align-items: center; }
.hero-home h1 { font-size: clamp(2.7rem, 6.1vw, 5.2rem); line-height: .98; letter-spacing: -.03em; margin-bottom: .45em; }
.hero-home h1 em { color: var(--magenta); font-style: italic; font-weight: 400; }
.hero-home .actions .btn span { font-size: .8em; }
.hero-proof { list-style: none; display: flex; flex-wrap: nowrap; margin: 2rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--rule); gap: 1rem 0; }
.hero-proof li { padding: 0 1rem; border-left: 1px solid var(--rule); }
.hero-proof li:first-child { padding-left: 0; border-left: 0; }
.hero-proof b { display: block; font: 400 1.15rem/1.2 var(--serif); white-space: nowrap; color: var(--plum); }
.hero-proof span { display: block; font: 700 .6rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }

.hero-studio { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 5 / 6; }
.hero-photo { position: absolute; margin: 0; overflow: hidden; background: #fff; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--plum); color: var(--pearl); font: 700 .62rem/1 var(--sans); letter-spacing: .22em; padding: .6rem .8rem; }
.hero-photo-now { width: 68%; height: 80%; right: 0; top: 7%; border: 7px solid #fff; outline: 1px solid rgba(189, 139, 83, .7); border-radius: 6px; box-shadow: 0 28px 60px rgba(78, 31, 70, .32); }
.hero-photo-now img { object-position: center 24%; }
.hero-photo-then { width: 56%; height: 34%; left: 0; bottom: 6%; border: 7px solid #fff; outline: 1px solid rgba(189, 139, 83, .7); border-radius: 6px; transform: rotate(-3deg); z-index: 3; box-shadow: 0 22px 46px rgba(78, 31, 70, .35); }
.hero-photo-then img { object-position: center 42%; }
.on-air { position: absolute; right: 2%; top: 0; z-index: 4; margin: 0; background: rgba(255, 252, 247, .92); border: 1px solid rgba(189, 139, 83, .7); border-radius: 999px; padding: .5rem .9rem; font: 700 .64rem/1 var(--sans); letter-spacing: .2em; color: var(--plum); }
.on-air span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); margin-right: .5rem; vertical-align: 0; animation: pulse 2s infinite; }
.hero-photo-line { position: absolute; right: 0; bottom: 0; width: 42%; z-index: 4; text-align: right; }
.hero-photo-line p { margin: .4rem 0 0; font: 700 .6rem/1.5 var(--sans); letter-spacing: .24em; color: var(--muted); }
.hero-photo-line p b { color: var(--plum); }

.signal { display: flex; align-items: center; justify-content: flex-end; gap: 5px; height: 34px; }
.signal i { display: block; width: 3px; height: 8px; border-radius: 4px; background: linear-gradient(180deg, var(--magenta), var(--purple)); }
.signal i:nth-child(2), .signal i:nth-child(10) { height: 17px; }
.signal i:nth-child(3), .signal i:nth-child(9) { height: 27px; }
.signal i:nth-child(4), .signal i:nth-child(8) { height: 12px; }
.signal i:nth-child(5), .signal i:nth-child(7) { height: 23px; }
.signal i:nth-child(6) { height: 34px; }

/* ---- manifesto band ---------------------------------------------------------------------- */
.manifesto { position: relative; overflow: hidden; color: var(--pearl); padding: clamp(36px, 5vw, 58px) 0;
  background: url("/assets/img/backgrounds/plum-glass-1920.webp") center / cover no-repeat, var(--deep); }
.manifesto .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.manifesto p { margin: 0; font: 700 .7rem/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.manifesto h2 { margin: 0; color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.7rem); }
.manifesto h2 em { color: var(--gold-light); font-style: italic; }

/* ---- sections ------------------------------------------------------------------------------ */
.section-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 56px; flex-wrap: wrap; }
.split-intro { max-width: 460px; color: var(--muted); margin: 0 0 .4rem; }
.sub-h { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0; }

/* ages: the four chapters */
.ages-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 90px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.ages-intro h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; margin: 0; }
.ages-intro h2 em { color: var(--magenta); font-weight: 400; }
.ages-intro-copy p:first-child { font: 400 1.15rem/1.7 var(--serif); color: var(--muted); margin: 0; }
.ages-quote { font: italic 1.4rem/1.4 var(--serif); margin: 1.3rem 0 0; padding-left: 1.1rem; border-left: 2px solid var(--gold); color: var(--plum); }
.ages-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 16px; align-items: stretch; }
.age-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: transform .25s, box-shadow .25s, border-color .25s; }
.age-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.age-photo { height: 350px; overflow: hidden; background: var(--ivory); }
.age-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.age-wide .age-photo img { object-position: center 40%; }
.age-tall .age-photo img { object-position: center 18%; }
.age-caption { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px 20px 26px; flex: 1; }
.age-n { font: 400 1.9rem/1 var(--serif); color: var(--gold); }
.age-caption small { font: 700 .62rem/1.4 var(--sans); letter-spacing: .18em; color: var(--magenta); }
.age-caption h3 { font: 400 1.2rem/1.3 var(--serif); margin: .55rem 0 0; }
.age-accent { background: linear-gradient(160deg, var(--purple), var(--deep)); border-color: var(--purple); color: var(--pearl); }
.age-accent .age-n { color: var(--gold-light); }
.age-accent .age-caption small { color: var(--gold-light); }
.age-accent .age-caption h3 { color: #fff; }

/* shows */
.show-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 22px; }
.show-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.show-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.show-art { height: 265px; position: relative; overflow: hidden; }
.feature-card .show-art { height: 330px; }
.episode-tag { position: absolute; z-index: 3; top: 16px; left: 16px; background: rgba(255, 252, 247, .95); border: 1px solid rgba(189, 139, 83, .6); border-radius: 999px; padding: .45rem .8rem; font: 700 .58rem/1 var(--sans); letter-spacing: .16em; color: var(--plum); }
.show-art-talk { display: flex; align-items: flex-end; padding: 30px; color: #fff; background: url("/assets/img/backgrounds/aubergine-1920.webp") 70% center / cover no-repeat, var(--deep); }
.show-art-talk .rings { position: absolute; width: 230px; height: 230px; right: -18px; top: 28px; border: 1px solid rgba(236, 208, 164, .4); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255, 255, 255, .04), 0 0 0 70px rgba(255, 255, 255, .025); }
.show-art-talk b { position: relative; font: 400 2.4rem/.86 var(--serif); letter-spacing: -.03em; }
.archive-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; filter: grayscale(1) contrast(1.1); }
.archive-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(78, 31, 70, .78), transparent 72%); mix-blend-mode: multiply; }
.show-art-notes { background: url("/assets/img/backgrounds/plum-glass-1920.webp") 30% center / cover no-repeat, var(--deep); color: #fff; padding: 56px 30px 30px; display: flex; flex-direction: column; justify-content: flex-end; }
.show-art-notes .quote { position: absolute; top: 56px; left: 26px; width: 64px; height: 48px; background: url("/assets/img/accents/quote-mark-dark.svg") left / contain no-repeat; }
.show-art-notes p { position: relative; margin: 0; font: 400 1.45rem/1.3 var(--serif); }
.show-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.meta { font: 700 .62rem/1.4 var(--sans); letter-spacing: .14em; color: var(--magenta); margin: 0; }
.show-body h3 { margin: .55rem 0 .7rem; font-size: 1.7rem; }
.show-body > p:not(.meta) { font-size: .95rem; line-height: 1.65; color: var(--muted); margin: 0 0 1.6rem; }
.show-body a { margin-top: auto; display: flex; justify-content: space-between; font: 700 .68rem/1.4 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--purple); text-decoration: none; border-top: 1px solid var(--rule); padding-top: 1rem; }
.show-body a:hover { color: var(--magenta); }
.shows-episodes { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); }
.shows-episodes .section-head { margin-bottom: 1.4rem; }

/* story */
.story { display: grid; grid-template-columns: 1fr 1fr; background: #fff; position: relative; }
.story-image { position: relative; min-height: 680px; overflow: hidden; background: var(--deep); }
.story-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 19%; filter: saturate(.85) contrast(1.05); }
.story-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(35deg, rgba(78, 31, 70, .78), transparent 62%); mix-blend-mode: multiply; }
.story-image span { position: absolute; bottom: 28px; left: 34px; z-index: 2; color: #fff; font: 700 .62rem/1 var(--sans); letter-spacing: .2em; }
.story-copy { padding: clamp(48px, 7vw, 110px) clamp(24px, 6vw, 96px); align-self: center; }
.story-copy h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.08; }
.story-p { font: 400 1.08rem/1.75 var(--serif); color: var(--muted); }
.story-signoff { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 1.8rem 0 0; padding: 0; }
.story-signoff li { border: 1px solid rgba(189, 139, 83, .7); border-radius: 999px; padding: .55rem 1rem; font: 700 .64rem/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--plum); background: var(--pearl); }

/* standards */
.standards-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.standards h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; }
.standards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.standards-grid article { border-top: 1px solid var(--gold); padding-top: 1.3rem; }
.standards-grid .thread-n { width: 44px; height: 44px; font-size: 1.1rem; }
.standards-grid h3 { font-size: 1.3rem; margin: 1.1rem 0 .5rem; }
.standards-grid p { font-size: .95rem; color: var(--muted); margin: 0; }

/* network */
.network-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.network-card { min-height: 300px; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; padding: 28px; display: flex; flex-direction: column; text-decoration: none; color: var(--plum); transition: transform .25s, box-shadow .25s, border-color .25s; box-shadow: inset 0 3px 0 -1px var(--gold); }
.network-card:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 3px 0 -1px var(--gold); border-color: var(--gold); color: var(--plum); }
.network-card small { font: 700 .62rem/1.4 var(--sans); letter-spacing: .16em; color: var(--magenta); }
.network-card h3 { font-size: 1.8rem; margin: 2.2rem 0 .6rem; }
.network-card p { color: var(--muted); font-size: .96rem; margin: 0 0 1.4rem; }
.net-cta { margin-top: auto; border-top: 1px solid var(--rule); padding-top: 1rem; font: 700 .64rem/1.4 var(--sans); letter-spacing: .13em; color: var(--purple); }
.network-card.current { background: linear-gradient(160deg, var(--purple), var(--deep)); border-color: var(--purple); color: #fff; box-shadow: var(--shadow); }
.network-card.current small { color: var(--gold-light); }
.network-card.current h3 { color: #fff; }
.network-card.current p { color: #eddde6; }
.network-card.current .net-cta { border-color: rgba(236, 208, 164, .4); color: var(--gold-light); }

/* support (dark) */
.support { position: relative; overflow: hidden; color: var(--pearl); padding: clamp(56px, 8vw, 104px) 0;
  background: url("/assets/img/backgrounds/aubergine-1920.webp") center / cover no-repeat, linear-gradient(135deg, var(--deep), var(--purple)); }
.support-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 7vw, 100px); align-items: start; }
.support .eyebrow.light { color: var(--gold-light); }
.support h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; }
.support-text { font: 400 1.15rem/1.65 var(--serif); color: #f3e4ee; max-width: 34em; }
.support-help { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin: 1.6rem 0 0; }
.support-help > span { font: 700 .68rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.btn-light { background: var(--pearl); color: var(--plum); border-color: var(--gold); }
.btn-light:hover { background: #fff; color: var(--magenta); border-color: var(--magenta); }
.btn-light .icon { width: 1.3em; height: 1.3em; vertical-align: 0; }
.support-list { border-top: 1px solid rgba(236, 208, 164, .45); }
.support-list div { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 1.25rem 0; border-bottom: 1px solid rgba(236, 208, 164, .45); }
.support-list b { font: 400 1.35rem/1.3 var(--serif); color: #fff; }
.support-list span { font-size: .95rem; line-height: 1.55; color: #eddde6; }

/* join */
.join { text-align: center; padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.join .signal { justify-content: center; margin-bottom: 1.2rem; }
.join h2 { max-width: 18ch; margin: .2rem auto .6em; font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.06; }
.join .lead { color: var(--muted); max-width: 36em; margin-inline: auto; font-family: var(--serif); }
.join-actions { justify-content: center; margin: 1.8rem 0; }

/* ---- responsive ------------------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .site-nav a { font-size: .86rem; }
  .ages-grid { grid-template-columns: 1fr 1fr; }
  .age-wide { grid-column: span 2; }
  .age-wide .age-photo { height: 380px; }
  .show-grid { grid-template-columns: 1fr 1fr; }
  .feature-card { grid-column: span 2; }
  .standards-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .hero-home .hero-grid { grid-template-columns: 1fr; }
  .hero-studio { max-width: 440px; margin-top: 8px; }
  .ages-intro { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story-image { min-height: 460px; }
  .support-grid { grid-template-columns: 1fr; }
  .network-grid { grid-template-columns: 1fr; }
  .network-card { min-height: 0; }
  .standards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ages-grid { grid-template-columns: 1fr; }
  .age-wide { grid-column: auto; }
  .age-photo, .age-wide .age-photo { height: 380px; }
  .age-wide .age-photo { height: 250px; }
  .show-grid { grid-template-columns: 1fr; }
  .feature-card { grid-column: auto; }
  .feature-card .show-art { height: 280px; }
  .support-list div { grid-template-columns: 1fr; gap: 6px; }
  .hero-proof li { padding: 0 .9rem; }
  .hero-proof b { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) { .on-air span { animation: none; } }
@media print { .hero-studio, .manifesto, .support { break-inside: avoid; } }

/* the pearl button on dark bands (beats the jewel-button rule in accents.css) */
.support .btn.btn-light { background: var(--pearl); color: var(--plum); border-color: var(--gold); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.support .btn.btn-light:hover { background: #fff; color: var(--magenta); border-color: var(--magenta); }

/* links into the rest of the site */
.home-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.text-more { margin: 1.6rem 0 0; font: 700 .72rem/1.4 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.text-more a { color: var(--magenta); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.text-more a:hover { color: var(--plum); }
.network .text-more { margin-top: 2rem; }
.support-form { color: var(--gold-light); font: 700 .72rem/1.4 var(--sans); letter-spacing: .13em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.support-form:hover { color: #fff; }

/* Voscast player above the episode search */
.episodes-player { margin: 0 0 2rem; padding: clamp(32px, 4vw, 40px) clamp(28px, 5vw, 64px); }
.episodes-player .eyebrow { margin: 0 0 .8rem; }
.episodes-player .player { min-height: 60px; overflow-x: auto; }
