/* She Podcasts — colors and type carried over from the 2023 site */
:root {
  --black: #000;
  --ink: #1d1a24;
  --muted: #5d5868;
  --purple: #4c23e0;
  --deep-purple: #2b0063;
  --teal: #06aec8;
  --pink: #c92a77;
  --pink-dark: #a81f61;
  --gold: #f2b134;
  --paper: #fff;
  --soft: #f6f3fb;
  --radius: 14px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 Inter, Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); }
a:hover { color: var(--pink-dark); }
h1, h2, h3 { font-weight: 900; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--pink); margin-bottom: .9em; }
.eyebrow a { color: inherit; text-decoration: none; }
.lede { font-size: 1.1rem; opacity: .85; }
.rule { display: block; width: 44px; height: 4px; background: var(--gold); border-radius: 2px; margin: 0 0 1.4em; }

.btn {
  display: inline-block; background: var(--pink); color: #fff; text-decoration: none;
  font-weight: 600; padding: .8em 1.5em; border-radius: 8px; border: 2px solid var(--pink);
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--pink-dark); border-color: var(--pink-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* ---------- header ---------- */
.topbar { background: var(--black); }
.topbar-inner { display: flex; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; }
.topbar-social { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.topbar-social a { color: #cfc8dc; font-size: .78rem; font-weight: 500; text-decoration: none; }
.topbar-social a:hover { color: #fff; }

.site-header { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.08); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }
.brand img { width: 190px; }
.main-nav { display: flex; gap: 30px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { border-bottom-color: var(--pink); color: var(--ink); }
.nav-toggle { display: none; }

/* ---------- home ---------- */
.hero { background: var(--black); color: #fff; padding: 72px 0 84px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hero-art { width: 100%; max-width: 470px; justify-self: center; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }

.press { background: var(--purple); color: #fff; padding: 36px 0; }
.press-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.press h2 { font: 500 1.5rem/1.2 Inter, sans-serif; margin: 0; }
.press-logos { display: flex; align-items: center; gap: 56px; flex-wrap: wrap; }
.press-logos img { width: auto; height: 40px; }

.swirl {
  color: #fff; padding: 96px 0 88px;
  background: linear-gradient(170deg, rgba(0,0,0,.66), rgba(0,0,0,.58)), url(/assets/swirl.jpg) center/cover;
}
.swirl-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; margin-bottom: 56px; }
.latest-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.latest-card h3 { font-size: 1.45rem; }
.latest-card h3 a { color: var(--ink); text-decoration: none; }
.latest-card h3 a:hover { color: var(--pink); }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ep-card { background: #fff; color: var(--ink); text-decoration: none; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s; }
.ep-card:hover { transform: translateY(-3px); color: var(--ink); }
.ep-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.ep-card .ep-meta { padding: 14px 16px 0; }
.ep-card .ep-title { padding: 4px 16px 18px; font-weight: 700; line-height: 1.3; }
.ep-meta { font-size: .8rem; color: var(--muted); font-weight: 500; }
.ep-num { color: var(--pink); font-weight: 700; margin-right: .5em; }

.teal { background: var(--teal); color: #fff; padding: 96px 0; }
.teal-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.teal-photo { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0,0,0,.2); }
.teal p { font-size: 1.05rem; }

.events-strip { padding: 88px 0; text-align: center; }
.event-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.event-tile { background: var(--soft); border-radius: var(--radius); padding: 28px; text-decoration: none; color: var(--ink); font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: 18px; transition: transform .15s; }
.event-tile:hover { transform: translateY(-3px); color: var(--pink); }
.event-tile img { height: 170px; width: auto; object-fit: contain; }

/* ---------- inner pages ---------- */
.page-hero { background: var(--black); color: #fff; padding: 72px 0 64px; }
.page-hero h1 { max-width: 860px; }
.prose-section { padding: 72px 0; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.rounded { border-radius: var(--radius); }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 2rem; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose blockquote { margin: 1.6em 0; padding: 1em 1.4em; border-left: 4px solid var(--pink); background: var(--soft); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }
.prose blockquote cite { display: block; margin-top: .6em; font-style: normal; font-weight: 700; font-size: .9rem; }
.note { background: #fff4d6; border-radius: 10px; padding: 14px 18px; }

.hosts { background: var(--teal); color: #fff; padding: 80px 0; }
.host-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.host { background: rgba(255,255,255,.12); border-radius: var(--radius); padding: 32px; }
.host h3 { font-size: 1.6rem; }
.host-tag { font-weight: 600; }

.values { padding: 80px 0; text-align: center; }
.values-intro { font-size: 1.2rem; color: var(--muted); }
.value-list { list-style: none; padding: 0; margin: 24px auto 0; max-width: 820px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-list li { background: var(--soft); border-radius: var(--radius); padding: 22px 18px; font-weight: 700; }
.value-list li:last-child { background: var(--pink); color: #fff; }

.event-block { padding: 80px 0; }
.event-block.alt { background: var(--soft); }
.event-block img { max-height: 380px; width: auto; justify-self: center; }
.event-meta { font-weight: 700; color: var(--purple); }

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.contact-card { background: var(--soft); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.contact-card span { font-size: .85rem; color: var(--muted); }
.contact-card strong { color: var(--pink); word-break: break-all; }
.contact-card:hover strong { text-decoration: underline; }

/* ---------- episodes ---------- */
.episode-browser { padding: 48px 0 88px; }
.filters { display: flex; flex-direction: column; gap: 16px; margin-bottom: 12px; }
#ep-search { font: inherit; padding: 14px 18px; border: 2px solid #ddd6ea; border-radius: 10px; width: 100%; max-width: 560px; }
#ep-search:focus { outline: none; border-color: var(--purple); }
.year-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.year-filter button { font: 600 .85rem Inter, sans-serif; border: 0; background: var(--soft); color: var(--ink); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.year-filter button.active, .year-filter button:hover { background: var(--purple); color: #fff; }
.result-count { color: var(--muted); font-size: .9rem; }
.ep-list { list-style: none; margin: 0; padding: 0; }
.ep-row a { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid #ece8f3; text-decoration: none; color: var(--ink); align-items: flex-start; }
.ep-row a:hover .ep-title { color: var(--pink); }
.ep-row img { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; flex: none; }
.ep-row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ep-row .ep-title { font-weight: 700; font-size: 1.08rem; line-height: 1.3; }
.ep-summary { color: var(--muted); font-size: .92rem; }

.episode-head { background: var(--black); color: #fff; padding: 56px 0; }
.episode-head-inner { display: flex; gap: 36px; align-items: center; }
.episode-head img { width: 220px; border-radius: var(--radius); flex: none; }
.episode-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.episode-head .ep-meta { color: #cfc8dc; font-size: .95rem; }
.player { width: 100%; border: 0; border-radius: var(--radius); display: block; }
.episode .player { margin: 40px 0 32px; }
.show-notes { overflow-wrap: anywhere; }
.ep-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 48px 0 88px; }
.ep-nav a { background: var(--soft); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--ink); font-weight: 700; line-height: 1.3; }
.ep-nav a span { display: block; color: var(--pink); font-size: .8rem; margin-bottom: 4px; }
.ep-nav-next { grid-column: 2; text-align: right; }

/* ---------- footer ---------- */
.site-footer { background: linear-gradient(to bottom, #fff 0 90px, var(--deep-purple) 90px); color: #fff; padding-bottom: 28px; }
.roar { background: var(--black); border-radius: var(--radius); padding: 48px 32px; text-align: center; }
.roar h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); max-width: 620px; margin: 0 auto 1.2em; }
.listen-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #cfc8dc; margin-bottom: .8em; }
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.35); padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.pill:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; }
.footer-bottom p { margin: 0; color: #cfc8dc; }
.footer-social { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-social a { color: #fff; text-decoration: none; }
.footer-social a:hover { color: var(--gold); }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .hero-inner, .swirl-inner, .teal-inner, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 300px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .event-row, .host-grid, .value-list { grid-template-columns: 1fr; }
  .nav-toggle { display: block; font: 600 .9rem Inter, sans-serif; background: var(--black); color: #fff; border: 0; border-radius: 8px; padding: 10px 16px; cursor: pointer; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; gap: 0; padding: 8px 24px 16px; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid #eee; }
  .header-inner { position: relative; }
  .topbar { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img { width: 150px; }
  .hero, .page-hero { padding: 48px 0; }
  .swirl, .teal, .events-strip { padding: 64px 0; }
  .press-logos { gap: 28px; }
  .press-logos img { height: 30px; }
  .card-grid { gap: 12px; }
  .episode-head-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .episode-head img { width: 140px; }
  .contact-cards, .ep-nav { grid-template-columns: 1fr; }
  .ep-nav-next { grid-column: auto; text-align: left; }
  .ep-row img { width: 60px; height: 60px; }
  .ep-summary { display: none; }
}
