@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("outfit-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("instrument-serif-italic-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #07060c;
  --ink: #f7f4fb;
  --muted: #c3b8d2;
  --magenta: #c733e1;
  --magenta-ink: #2a0830;
  --purple: #3a1466;
  --card: #120e1a;
  --line: rgba(255, 255, 255, 0.14);
  --focus: #e7a0f4;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(92, 28, 160, 0.45), transparent 60%),
    radial-gradient(700px 380px at 100% 0%, rgba(90, 16, 80, 0.35), transparent 55%),
    var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: #ffd0e6; }
a:hover { color: white; }
h1, h2, h3 { line-height: 1.15; font-weight: 650; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.85rem, 5vw, 3.15rem); margin: 0.2em 0 0.35em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
h3 { font-size: 1.05rem; margin: 0 0 0.25em; }
p { margin: 0.4em 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: white;
  color: black;
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}


.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 32px;
  min-height: 72px;
}
.brand img { height: 48px; width: auto; display: block; }
.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 520;
  font-size: 0.98rem;
}
.nav-links a:hover { color: white; }
.btn-live { margin-left: 0; justify-self: end; }
.admin-nav { display: flex; flex-wrap: wrap; }
.admin-nav form { margin-left: auto; }

.btn, button, .admin-nav button {
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.72rem 1.15rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.btn-live, .btn-magenta {
  background: var(--magenta);
  color: white;
  font-weight: 650;
}
.btn-live:hover, .btn-magenta:hover { color: white; background: #d45aeb; }
.btn-ghost, .admin-nav button, .row-actions button {
  background: transparent;
  color: var(--ink);
  border-color: rgba(255,255,255,0.28);
}
.btn-ghost:hover { border-color: white; color: white; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.flash {
  max-width: 1180px;
  margin: 8px auto;
  padding: 10px 14px;
  border-radius: 12px;
}
.flash-ok { background: #143024; }
.flash-err { background: #3a1024; }

.hero, .nowbar-wrap, .block {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.hero {
  display: grid;
  gap: 36px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 12px;
}
.kicker {
  margin: 0 0 12px;
  color: var(--magenta);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0 0 16px;
  max-width: 16em;
}
.lede { color: var(--muted); font-size: 1.12rem; line-height: 1.6; max-width: 34rem; margin: 0; }
.hero-portrait { margin: 0; }
.hero-portrait img {
  width: 100%;
  height: min(68vh, 620px);
  object-fit: cover;
  object-position: center 30%;
  border-radius: 28px;
  display: block;
  box-shadow: 0 30px 80px rgba(70, 10, 120, 0.35);
}

.nowbar-wrap { padding-top: 28px; padding-bottom: 8px; }
.nowbar {
  display: grid;
  grid-template-columns: auto 1fr minmax(120px, 280px) auto;
  gap: 16px 20px;
  align-items: center;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  background: #121018;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.nowbar:hover { border-color: rgba(255, 47, 134, 0.55); }
.nowbar-thumb {
  width: 92px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1028;
  display: block;
}
.nowbar-thumb img, .ep-media img, .flow-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nowbar-copy { display: flex; flex-direction: column; min-width: 0; }
.nowbar-label { color: var(--magenta); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.nowbar-title { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nowbar-track {
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,0.12);
  display: block;
}
.nowbar-track span {
  display: block;
  width: 28%;
  height: 100%;
  border-radius: inherit;
  background: var(--magenta);
}
.nowbar-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--magenta);
  position: relative;
}
.nowbar-play::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 13px;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent white;
}

.block { padding-top: 72px; padding-bottom: 12px; }
.block-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
}
.block h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.card-row, .flow-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.ep-card h3 { font-size: 1.08rem; margin: 12px 0 6px; }
.ep-card h3 a, .flow-title { color: white; text-decoration: none; }
.ep-card h3 a:hover, .flow-card:hover .flow-title { text-decoration: underline; }
.ep-media {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1028;
}
.play-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--magenta);
  font-weight: 650;
  text-decoration: none;
}
.play-link::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
  margin: 5px 8px 0 0;
}
.more { margin: 22px 0 0; }
.more a { font-weight: 650; }

.about-band {
  margin-top: 72px;
  background:
    radial-gradient(700px 280px at 15% 0%, rgba(120, 30, 180, 0.35), transparent 60%),
    #140818;
  border-top: 1px solid rgba(255, 47, 134, 0.45);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.about-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 32px;
  display: grid;
  gap: 36px;
  align-items: center;
}
.about-photo {
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 18% 80%;
  border-radius: 28px;
  display: block;
}
.about-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 8px; }
.role { color: #ffb3d4; font-weight: 620; margin: 0 0 12px; }
.bio { color: var(--muted); font-size: 1.12rem; line-height: 1.7; max-width: 36rem; }
.about-band .btn { margin-top: 18px; }

.flow-grid { margin-top: 8px; }
.flow-card {
  display: grid;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.flow-title { font-weight: 640; line-height: 1.3; }
.meta { color: var(--muted); font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0; }
.empty, .hint { color: var(--muted); }

.episode, .narrow, .admin-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 32px 48px;
}
.series {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 1.45rem;
}
.series::after {
  content: "";
  display: block;
  width: 7.5rem;
  height: 3px;
  margin-top: 6px;
  border-radius: 99px;
  background: var(--magenta);
}
.episode { padding-top: 12px; }
.crumb { margin-bottom: 8px; }
.player {
  margin: 18px 0;
  aspect-ratio: 16 / 9;
  background: black;
  border-radius: 16px;
  overflow: hidden;
}
.player iframe { width: 100%; height: 100%; border: 0; }
.episode-still { border-radius: 16px; }

.site-footer {
  max-width: 1180px;
  margin: 48px auto 0;
  padding: 28px 32px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

.narrow { max-width: 640px; }
.admin-card, .admin-wrap { padding-top: 12px; }
.stack { display: grid; gap: 12px; margin-top: 12px; }
label { display: grid; gap: 6px; font-weight: 600; }
input, textarea, select {
  font: inherit;
  color: var(--ink);
  background: #0d0b12;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  width: 100%;
}
.errors { color: #ffb4c8; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.row-actions { display: flex; gap: 10px; align-items: center; }
.row-actions form { margin: 0; }
.row-actions button { padding: 0.35rem 0.7rem; }

@media (min-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: 48px; padding-top: 36px; }
  .card-row, .flow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
}
@media (max-width: 859px) {
  .nav { grid-template-columns: 1fr auto; padding: 14px 18px; }
  .nav-links { grid-column: 1 / -1; justify-content: flex-start; gap: 10px 16px; }
  .hero, .nowbar-wrap, .block, .about-grid, .site-footer, .episode, .admin-wrap { padding-left: 18px; padding-right: 18px; }
  .hero-portrait img { height: 420px; }
  .nowbar { grid-template-columns: auto 1fr auto; }
  .nowbar-track { display: none; }
  .hero h1 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
