@font-face {
  font-family: 'Lilita One';
  src: url('/fonts/lilita-one-latin.woff2') format('woff2');
  font-display: swap;
}

:root {
  --sky: #4ad3ec;
  --sky-deep: #2bb8d3;
  --ink: #0d0620;
  --paper: #fffaf3;
  --hot: #ff3b30;
  --warm: #ff8a4c;
  --grad: linear-gradient(135deg, var(--hot), var(--warm));
  --radius: 18px;
  --shadow: 5px 5px 0 var(--ink);
  --display: 'Lilita One', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-underline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }

h1 { font-size: clamp(2.2rem, 9vw, 4rem); }
h2 { font-size: clamp(1.7rem, 6vw, 2.5rem); }
h3 { font-size: 1.35rem; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 100;
}
.skip:focus { top: 8px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px var(--pad);
  padding-top: max(10px, env(safe-area-inset-top));
  background: color-mix(in srgb, var(--sky) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: auto; height: 64px; }
@media (min-width: 900px) { .brand img { height: 72px; } }

.topbar nav { display: flex; gap: 4px; }
.topbar nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  padding: 8px 10px;
  border-radius: 999px;
}
.topbar nav { align-items: center; }
.topbar nav a:hover, .follow-btn:hover, .follow-btn[aria-expanded="true"] { background: var(--ink); color: #fff; }

.follow { position: relative; }
.follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: inherit;
  font: 700 .95rem/1.6 var(--body);
  cursor: pointer;
}
.follow-caret { font-size: .7em; transition: transform .15s ease; }
.follow-btn[aria-expanded="true"] .follow-caret { transform: rotate(180deg); }
.follow-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 30;
}
.topbar .follow-menu a {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  white-space: nowrap;
}
.follow-menu i { width: 1.2em; text-align: center; font-size: 1.1rem; }

main { flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 var(--pad); outline: none; }

.hero {
  display: grid;
  gap: 24px;
  padding: 28px 0 12px;
  text-align: center;
  justify-items: center;
}
.hero-art img {
  width: min(82vw, 440px);
  border-radius: 28px;
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.lede { font-size: 1.15rem; max-width: 34ch; margin: 0 auto 20px; }

@media (min-width: 900px) {
  .hero { grid-template-columns: auto 1fr; text-align: left; justify-items: start; align-items: center; gap: 48px; padding: 56px 0 24px; }
  .lede { margin-left: 0; }
}

.subscribe { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.badge { display: inline-block; line-height: 0; }
.badge img { height: clamp(40px, (100vw - 48px) / 5.88, 64px); width: auto; }
@media (min-width: 900px) { .subscribe { justify-content: flex-start; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 700 1rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--paper);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--paper); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--paper); }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn-ghost:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn-soon { background: transparent; color: var(--ink); border-style: dashed; box-shadow: none; cursor: default; }
.btn-soon:hover { transform: none; box-shadow: none; }

.panel {
  margin: 28px 0;
  padding: clamp(20px, 5vw, 36px);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.center { text-align: center; }
.status { margin: 0; font-weight: 600; }

.player .now { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.player .now img { width: 88px; height: 88px; border-radius: 14px; border: 3px solid var(--ink); flex: none; }
.player .now h3 { margin: 0; }
.player audio { width: 100%; height: 54px; }
.player-desc {
  margin: 16px 0 0;
  white-space: pre-line;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 700px) { .player .now img { width: 120px; height: 120px; } }

.about { background: var(--grad); }
.about h2 { color: var(--ink); }
.cards { display: grid; gap: 16px; }
@media (min-width: 800px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 18px;
}
.card p { margin: 0; }

.episodes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.episode {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #fff;
}
.episode-art { width: 64px; height: 64px; border-radius: 10px; }
.episode-title { font-size: 1.15rem; margin: 0 0 4px; }
.episode-meta { margin: 0 0 2px; font-size: .85rem; font-weight: 700; opacity: .8; }
.episode-desc {
  margin: 0;
  font-size: .95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 700px) {
  .episode { grid-template-columns: 96px 1fr auto; padding: 14px; }
  .episode-art { width: 96px; height: 96px; }
}

.play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--grad);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
}
.play svg { width: 24px; height: 24px; fill: currentColor; }
.play:hover { transform: scale(1.06); }

[data-more] { margin-top: 18px; }

.legal {
  margin: 28px 0;
  padding: clamp(20px, 5vw, 48px);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 78ch;
  margin-inline: auto;
}
.legal h1 { font-size: clamp(2rem, 7vw, 3rem); }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal h3 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; margin-top: 1.2em; }
.legal .meta { font-weight: 700; margin-top: -.25em; }
.legal li { margin-bottom: .4em; }

.footer {
  padding: 24px var(--pad);
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  text-align: center;
  font-size: .95rem;
}
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 12px 0; }
.footer nav a, .linklike { font-weight: 700; }
.social { list-style: none; display: flex; justify-content: center; gap: 14px; margin: 0 0 6px; padding: 0; }
.social a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.35rem;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.social a:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.fine { font-size: .85rem; margin: 0; }

.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 50;
  max-width: 460px;
  margin: 0 auto;
  padding: 18px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.consent p { margin: 0 0 12px; }
.consent-title { font-family: var(--display); font-size: 1.3rem; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent-actions .btn { flex: 1; }
@media (min-width: 700px) { .consent { left: auto; right: 24px; bottom: 24px; } }

[hidden] { display: none !important; }
