:root {
  --night: #0d1212;
  --ink: #131a19;
  --wood: #201915;
  --paper: #eadfca;
  --paper-2: #d2c3a7;
  --amber: #efad52;
  --orange: #f7931a;
  --accent: #f7931a;
  --sage: #85907c;
  --muted: #aaad9f;
  --line: rgba(234, 223, 202, .16);
  --shadow: 0 24px 80px rgba(0, 0, 0, .35);
  --shell: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0;
  background:
    radial-gradient(circle at 74% 9%, rgba(239, 173, 82, .11), transparent 24rem),
    linear-gradient(150deg, #0c1111 0%, #111716 55%, #18110e 100%);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  content: "";
  opacity: .16;
  pointer-events: none;
}
button, input { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--paper);
  color: #241a14;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.shell { width: min(var(--shell), calc(100% - 40px)); margin: 0 auto; }

.prototype-note {
  min-height: 34px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  color: #b6b19f;
  font: 10px/1.3 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(13, 18, 18, .84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(15px);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--paper);
  text-decoration: none;
}
.brand-seal {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 32px rgba(247, 147, 26, .2);
  color: #fff;
  font: 700 20px/1 Georgia, serif;
  transform: rotate(5deg);
}
.brand-wordmark {
  font: italic 600 20px/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.015em;
  white-space: nowrap;
}
.brand-wordmark small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font: normal 9px/1 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav a {
  color: var(--paper-2);
  font-size: 12px;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current="page"] { color: var(--orange); }
.header-actions, .social-nav { display: flex; align-items: center; gap: 6px; }
.social-link, .lightning-link, .theme-toggle, .rss-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(234, 223, 202, .035);
  color: var(--paper-2);
  font: 700 11px/1 ui-monospace, "SFMono-Regular", Menlo, monospace;
  text-decoration: none;
}
.social-link[aria-disabled="true"] { cursor: not-allowed; opacity: .58; }
.nostr-link { color: var(--amber); }
.lightning-link { color: #f6b84d; font-size: 15px; }
.theme-toggle { cursor: pointer; font-size: 16px; }
.theme-toggle:hover, .theme-toggle:focus-visible { border-color: var(--orange); color: var(--orange); }
.rss-button {
  border: 1px solid rgba(247, 147, 26, .4);
  color: #bd9a6b;
  font-size: 8px;
}
.rss-button:disabled { cursor: not-allowed; opacity: .72; }

.hero { min-height: 620px; }
.hero-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.07fr .93fr;
  align-items: center;
  gap: 68px;
  padding-block: 65px 72px;
}
.eyebrow, .section-kicker, .record-meta, .staff-role {
  margin: 0 0 20px;
  color: var(--orange);
  font: 10px/1 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 650px;
  margin: 0 0 28px;
  font: 500 clamp(3.8rem, 7vw, 6.5rem)/.88 Georgia, "Times New Roman", serif;
  letter-spacing: -.055em;
  overflow-wrap: normal;
  word-break: normal;
}
.hero h1 em { color: var(--amber); font-weight: 400; }
.hero-lead {
  max-width: 610px;
  margin: 0 0 35px;
  color: #cfc7b7;
  font: 20px/1.55 Georgia, "Times New Roman", serif;
}
.motto {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: #8e9489;
  font: 10px/1 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.motto::before { width: 46px; height: 1px; background: var(--orange); content: ""; }

.listening-desk {
  position: relative;
  min-width: 0;
  min-height: 455px;
  display: flex;
  align-items: center;
}
.lamp-glow {
  position: absolute;
  top: 55px;
  right: -18%;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 182, 87, .27), rgba(239, 173, 82, .06) 38%, transparent 68%);
}
.desk-lamp {
  position: absolute;
  top: 0;
  right: 13%;
  width: 210px;
  height: 230px;
  filter: drop-shadow(0 25px 50px rgba(239, 173, 82, .2));
}
.desk-lamp::before {
  position: absolute;
  top: 18px;
  left: 52px;
  width: 112px;
  height: 58px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(#f0b253, #d89438);
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
  content: "";
}
.desk-lamp::after {
  position: absolute;
  top: 75px;
  left: 106px;
  width: 5px;
  height: 128px;
  background: #b37b3d;
  box-shadow: 0 116px 0 17px #2d231d;
  content: "";
}
.current-episode {
  position: relative;
  width: 100%;
  margin-top: 104px;
  padding: 30px 30px 104px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(234, 223, 202, .28);
  border-radius: 2px;
  box-shadow: var(--shadow);
  color: #22221f;
}
.episode-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 9px 12px;
  background: #22221f;
  color: var(--paper);
  font: 9px/1 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.current-episode .record-meta { color: #7c725f; }
.current-episode h2 {
  margin: 13px 0 10px;
  font: italic 600 30px/1.1 Georgia, "Times New Roman", serif;
}
.current-episode > p:not(.record-meta):not(.availability-note) { max-width: 90%; color: #665f53; font-size: 13px; line-height: 1.6; }
.current-episode audio { width: 100%; height: 34px; margin: 9px 0 14px; opacity: .42; pointer-events: none; }
.current-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; }
.play-symbol, .detail-play {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: #2b1908;
  font-size: 18px;
}
.boost-button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid #9d8c72;
  background: transparent;
  color: #6b6255;
  font-size: 12px;
  font-weight: 700;
}
.play-symbol:disabled, .boost-button:disabled { cursor: not-allowed; opacity: .56; }
.availability-note { position: relative; z-index: 2; margin: 13px 0 0; color: #776e61; font-size: 11px; line-height: 1.45; }
.wave-band {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  background: var(--orange);
}
.wave-band i { width: 3px; border-radius: 4px; background: rgba(255,255,255,.92); }
.wave-band i:nth-child(6n+1) { height: 12px; }
.wave-band i:nth-child(6n+2) { height: 28px; }
.wave-band i:nth-child(6n+3) { height: 48px; }
.wave-band i:nth-child(6n+4) { height: 20px; }
.wave-band i:nth-child(6n+5) { height: 58px; }
.wave-band i:nth-child(6n) { height: 34px; }

.content-section { padding: 84px 0; border-top: 1px solid var(--line); }
.content-section h2, .archive-hero h1 {
  margin: 0;
  font: 500 clamp(2.8rem, 5vw, 4.7rem)/.98 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
  overflow-wrap: normal;
  word-break: normal;
}
.library-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: 90px; }
.catalog-stamp {
  margin: 32px 0 0;
  padding: 20px 22px;
  border-left: 2px solid var(--orange);
  background: rgba(234, 223, 202, .04);
  color: #aeb0a5;
  font: 11px/1.65 ui-monospace, "SFMono-Regular", Menlo, monospace;
  text-transform: uppercase;
}
.catalog-stamp div { display: grid; grid-template-columns: 82px 1fr; }
.catalog-stamp dt { color: #777d74; }
.catalog-stamp dd { margin: 0; }
.editorial-copy { color: #d4ccbb; font: 20px/1.65 Georgia, "Times New Roman", serif; }
.editorial-copy p { margin: 0 0 20px; }
.editorial-copy strong { color: var(--amber); font-weight: 500; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.staff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.staff-card {
  min-height: 290px;
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: start;
  gap: 26px;
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(234, 223, 202, .025);
}
.portrait {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 6px rgba(247, 147, 26, .16);
  color: #28221c;
  font: italic 600 32px/1 Georgia, serif;
}
.staff-role { margin-bottom: 10px; }
.staff-card h3 { margin: 0 0 14px; font: italic 600 29px/1.05 Georgia, serif; }
.staff-card p:not(.staff-role) { margin: 0; color: #afb1a7; font-size: 14px; line-height: 1.72; }
.person-contact-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.person-contact { min-width: 98px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); background: rgba(234,223,202,.03); color: var(--paper-2); font: 9px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.person-contact:hover, .person-contact:focus-visible { border-color: var(--orange); color: var(--orange); }
.person-contact svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.person-contact--lightning svg { fill: currentColor; stroke: none; }
.person-contact--lightning { color: var(--amber); }
.person-contact--nostr { color: #bda67e; }
.person-contact--telegram { color: #7cb7cd; }


.copy-address-button, .dialog-button {
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(234,223,202,.04);
  color: var(--paper-2);
  font: 800 9px/1 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.copy-address-button:hover, .copy-address-button:focus-visible,
.dialog-button:hover, .dialog-button:focus-visible { border-color: var(--orange); color: var(--orange); outline: none; }
.dialog-button.primary { min-height: 48px; border-color: var(--orange); background: var(--orange); color: #2b1908; }
.dialog-button.secondary { background: transparent; }

.crew-pay-dialog {
  width: min(590px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  background: transparent;
  color: var(--paper);
}
.crew-pay-dialog::backdrop { background: rgba(4,8,8,.78); backdrop-filter: blur(6px); }
.crew-pay-card {
  position: relative;
  min-height: 100%;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid rgba(234,223,202,.24);
  background: #121817;
  box-shadow: 8px 8px 0 var(--orange), var(--shadow);
}
.crew-pay-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font-size: 24px;
  cursor: pointer;
}
.crew-pay-close:hover, .crew-pay-close:focus-visible { border-color: var(--orange); color: var(--orange); outline: none; }
.crew-pay-person { display: grid; grid-template-columns: 64px minmax(0,1fr); align-items: center; gap: 18px; padding-right: 44px; }
.crew-pay-photo { width: 64px; height: 64px; padding: 8px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); object-fit: contain; }
.crew-pay-person .section-kicker { margin-bottom: 6px; }
.crew-pay-card h2 { margin: 0; font: italic 600 clamp(2rem, 7vw, 3.2rem)/1 Georgia, "Times New Roman", serif; overflow-wrap: normal; word-break: normal; }
.crew-pay-intro { margin: 20px 0 24px; color: var(--muted); }
.crew-pay-form { display: grid; gap: 16px; }
.crew-pay-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.crew-pay-presets button {
  min-height: 42px;
  border: 1px solid rgba(247,147,26,.65);
  background: transparent;
  color: var(--amber);
  font-weight: 850;
  cursor: pointer;
}
.crew-pay-presets button:hover, .crew-pay-presets button:focus-visible,
.crew-pay-presets button[aria-pressed="true"] { background: var(--orange); color: #2b1908; outline: none; }
.crew-pay-field { display: grid; gap: 7px; color: var(--paper-2); font: 800 9px/1.2 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.crew-pay-field input, .crew-pay-field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  background: #0d1212;
  color: var(--paper);
  font: 500 16px/1.4 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}
.crew-pay-field input:focus, .crew-pay-field textarea:focus { border-color: var(--orange); outline: 2px solid rgba(247,147,26,.3); }
.crew-pay-options { display: grid; gap: 14px; padding-block: 14px 16px; border-block: 1px solid var(--line); }
.crew-pay-options-heading { display: flex; justify-content: space-between; gap: 14px; margin: 0; color: var(--paper-2); font: 800 9px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.crew-pay-options-heading span { color: var(--muted); font-weight: 500; letter-spacing: normal; text-transform: none; }
.crew-pay-options-fields { display: grid; gap: 14px; }
.crew-pay-recipient { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 5px 14px; padding: 14px; border: 1px solid var(--line); background: rgba(234,223,202,.03); }
.crew-pay-recipient > span { grid-column: 1 / -1; color: var(--muted); font: 800 8px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.crew-pay-recipient-copy { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; }
.crew-pay-recipient-address { min-width: 0; overflow-x: auto; color: var(--paper-2); font: 10px/1.4 ui-monospace, "SFMono-Regular", Menlo, monospace; text-align: right; white-space: nowrap; }
.crew-pay-invoice { min-width: 0; display: grid; gap: 10px; padding: 14px; border: 2px solid var(--orange); background: rgba(234,223,202,.03); }
.crew-pay-invoice[hidden] { display: none; }
.crew-pay-invoice > strong { color: var(--amber); font: 800 9px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.crew-pay-invoice-qr { justify-self: center; width: min(100%, 320px); height: auto; padding: 10px; background: #fff; }
.crew-pay-invoice-value { display: block; min-width: 0; padding: 9px; overflow-x: auto; border: 1px solid var(--line); font: 10px/1.4 ui-monospace, "SFMono-Regular", Menlo, monospace; white-space: nowrap; }
.crew-pay-invoice-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.crew-pay-invoice-done { grid-column: 1 / -1; }
.crew-pay-status { min-height: 1.5em; margin: 0; color: var(--muted); font-size: 13px; }
.crew-pay-status.is-unknown { padding: 14px; border: 2px solid var(--orange); color: var(--paper); font-weight: 700; }
.crew-pay-status.is-success { padding: 18px; border: 2px solid var(--orange); background: #1d201a; color: var(--paper); font: 600 22px/1.3 Georgia, serif; cursor: pointer; }
.crew-pay-submit { width: 100%; }
.crew-pay-submit[hidden] { display: none; }
.crew-pay-submit:disabled, .crew-pay-close:disabled { opacity: .55; cursor: not-allowed; }
.crew-pay-form > small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.celebrate-overlay { position: fixed; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.confetti-piece { position: absolute; top: -16px; border-radius: 2px; opacity: .92; animation: confetti-fall 2.8s linear forwards; }
@keyframes confetti-fall { to { transform: translateY(108vh) rotate(900deg); } }

.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.catalog-card {
  position: relative;
  min-height: 265px;
  padding: 28px 26px 62px;
  background: var(--paper);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .18);
  color: #22221f;
}
.catalog-card:nth-child(3n+2) { background: #dfd2b9; }
.catalog-card:nth-child(3n) { background: #d6c7aa; }
.catalog-card::before {
  position: absolute;
  top: 64px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(85,73,55,.26);
  box-shadow: 0 39px rgba(85,73,55,.13), 0 78px rgba(85,73,55,.13), 0 117px rgba(85,73,55,.13);
  content: "";
}
.card-code { position: relative; display: flex; justify-content: space-between; margin: 0; color: #6f695d; font: 9px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.catalog-card h3 { position: relative; margin: 28px 0 16px; font: 600 23px/1.13 Georgia, serif; }
.catalog-card > p:not(.card-code) { position: relative; margin: 0; color: #5b584f; font-size: 12px; line-height: 1.55; }
.catalog-card footer { position: absolute; right: 26px; bottom: 22px; left: 26px; display: flex; align-items: center; justify-content: space-between; color: #696458; font: 9px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; }
.episode-card-link { color: #9a470b; text-decoration: none; border-bottom: 1px solid #9a470b; padding-bottom: 2px; }
.archive-actions { display: flex; justify-content: flex-end; margin-top: 28px; }
.primary-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; background: var(--orange); color: #2b1908; font-size: 12px; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .07em; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 30px; padding-block: 35px; color: #858a81; font: 10px/1.6 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .04em; }
.footer-inner p { margin: 0; }
.footer-inner p:last-child { text-align: right; }
.footer-inner a { color: var(--amber); }

/* All episodes */
.archive-page { min-height: 75vh; }
.archive-hero { padding: 82px 0 64px; }
.archive-hero-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: end; gap: 80px; }
.archive-copy { color: #b9b4a7; line-height: 1.7; }
.archive-copy strong { color: var(--amber); font: 500 21px Georgia, serif; }
.archive-copy p { margin: 12px 0 15px; }
.archive-copy a { color: var(--paper); text-underline-offset: 4px; }
.archive-controls { border-block: 1px solid var(--line); background: rgba(234, 223, 202, .025); }
.archive-controls .shell { padding-block: 28px; }
.archive-controls label { display: block; margin-bottom: 10px; color: var(--paper-2); font: 10px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .15em; text-transform: uppercase; }
.search-row { position: relative; }
.search-row input { width: 100%; min-height: 56px; padding: 0 55px 0 18px; border: 1px solid var(--line); background: #141918; color: var(--paper); font-size: 16px; }
.search-row input:focus { border-color: var(--orange); outline: 2px solid rgba(247, 147, 26, .28); }
.search-mark { position: absolute; top: 50%; right: 20px; color: var(--orange); font-size: 28px; transform: translateY(-50%); }
.search-status { margin: 10px 0 0; color: #898e84; font-size: 12px; }
.archive-records { padding: 50px 0 90px; }
.record-list { display: grid; gap: 12px; }
.episode-record {
  scroll-margin-top: 20px;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  min-height: 155px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  background: rgba(234, 223, 202, .03);
}
.episode-record:target { border-color: var(--orange); box-shadow: inset 4px 0 0 var(--orange); }
.record-number { color: var(--amber); font: italic 500 46px/1 Georgia, serif; }
.record-copy { min-width: 0; }
.record-copy .record-meta { margin-bottom: 9px; }
.record-copy h2 { margin: 0 0 8px; font: 600 25px/1.15 Georgia, serif; overflow-wrap: normal; word-break: normal; }
.record-copy > p:not(.record-meta) { margin: 0; color: #a9aca2; font-size: 13px; }
.record-actions { display: flex; align-items: center; gap: 18px; color: #858a81; font: 10px ui-monospace, "SFMono-Regular", Menlo, monospace; }
.record-actions button { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--orange); color: #2b1908; }
.record-actions button:disabled { cursor: not-allowed; opacity: .45; }

html[data-theme="light"] { color-scheme: light; --line: rgba(51, 42, 33, .16); --muted: #6f685d; }
html[data-theme="light"] body {
  background: radial-gradient(circle at 74% 9%, rgba(247,147,26,.14), transparent 24rem), linear-gradient(150deg, #f7f2e8 0%, #eee7d9 58%, #e4d6c2 100%);
  color: #2b261f;
}
html[data-theme="light"] body::before { opacity: .08; }
html[data-theme="light"] .prototype-note { color: #6d655a; }
html[data-theme="light"] .site-header { background: rgba(248, 244, 235, .9); }
html[data-theme="light"] .brand { color: #29231d; }
html[data-theme="light"] .brand-wordmark small,
html[data-theme="light"] .main-nav a,
html[data-theme="light"] .social-link,
html[data-theme="light"] .theme-toggle { color: #585044; }
html[data-theme="light"] .social-link,
html[data-theme="light"] .lightning-link,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .rss-button { background: rgba(255,255,255,.36); }
html[data-theme="light"] .nostr-link,
html[data-theme="light"] .main-nav a:hover,
html[data-theme="light"] .main-nav a:focus-visible,
html[data-theme="light"] .main-nav a[aria-current="page"] { color: #a95610; }
html[data-theme="light"] .hero-lead,
html[data-theme="light"] .editorial-copy { color: #4d453a; }
html[data-theme="light"] .motto,
html[data-theme="light"] .section-heading > p,
html[data-theme="light"] .archive-copy,
html[data-theme="light"] .footer-inner { color: #6b6459; }
html[data-theme="light"] .catalog-stamp { background: rgba(255,255,255,.28); color: #4e473d; }
html[data-theme="light"] .staff-card,
html[data-theme="light"] .episode-record { background: rgba(255,255,255,.32); }
html[data-theme="light"] .staff-card p:not(.staff-role),
html[data-theme="light"] .record-copy > p:not(.record-meta) { color: #5c554b; }
html[data-theme="light"] .person-contact { color: #4e473d; }
html[data-theme="light"] .crew-pay-dialog { color: #2b261f; }
html[data-theme="light"] .crew-pay-card { border-color: rgba(51,42,33,.22); background: #f6efe3; }
html[data-theme="light"] .crew-pay-close, html[data-theme="light"] .crew-pay-field, html[data-theme="light"] .crew-pay-options-heading { color: #2b261f; }
html[data-theme="light"] .crew-pay-field input, html[data-theme="light"] .crew-pay-field textarea { background: #fffaf1; color: #29231d; }
html[data-theme="light"] .crew-pay-recipient-address, html[data-theme="light"] .crew-pay-invoice-value { color: #40382f; }
html[data-theme="light"] .copy-address-button, html[data-theme="light"] .dialog-button.secondary { color: #40382f; }
html[data-theme="light"] .archive-controls { background: rgba(255,255,255,.25); }
html[data-theme="light"] .archive-controls label { color: #4f473d; }
html[data-theme="light"] .search-row input { background: #fffaf1; color: #29231d; }
html[data-theme="light"] .search-status { color: #696157; }
html[data-theme="light"] .archive-copy strong { color: #9e500f; }
html[data-theme="light"] .archive-copy a { color: #2b261f; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-copy { max-width: 760px; }
  .listening-desk { width: min(100%, 680px); margin-inline: auto; }
  .lamp-glow { right: 0; width: min(470px, 100%); }
  .library-grid { gap: 48px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner p:last-child { text-align: left; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 580px); }
  .prototype-note { padding-inline: 16px; font-size: 8px; line-height: 1.45; }
  .header-inner { min-height: 86px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; padding-top: 4px; }
  .brand { grid-column: 1; grid-row: 1; gap: 7px; }
  .brand-seal { width: 30px; height: 30px; font-size: 16px; }
  .brand-wordmark { font-size: 15px; }
  .brand-wordmark small { display: none; }
  .header-actions { grid-column: 2; grid-row: 1; gap: 4px; }
  .social-nav { gap: 4px; }
  .social-link, .lightning-link, .theme-toggle, .rss-button { width: 28px; height: 28px; font-size: 10px; }
  .lightning-link { font-size: 13px; }
  .theme-toggle { font-size: 14px; }
  .rss-button { font-size: 7px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; gap: 0; margin-top: 4px; border-top: 1px solid var(--line); }
  .main-nav a { min-height: 34px; display: grid; place-items: center; padding: 0 3px; border-right: 1px solid var(--line); font-size: 9px; }
  .main-nav a:last-child { border-right: 0; }

  .hero, .hero-grid { min-height: 0; }
  .hero-grid { padding-block: 52px 58px; }
  .hero h1 { font-size: clamp(3.1rem, 13vw, 4.3rem); line-height: .94; letter-spacing: -.045em; }
  .hero-lead { font-size: 18px; }
  .listening-desk { min-height: 420px; }
  .desk-lamp { right: 0; transform: scale(.72); transform-origin: top right; }
  .lamp-glow { right: -5px; width: 340px; height: 340px; }
  .current-episode { margin-top: 86px; padding: 25px 21px 103px; }
  .current-episode h2 { font-size: 25px; }
  .current-episode > p:not(.record-meta):not(.availability-note) { max-width: 100%; }
  .episode-ribbon { position: static; width: fit-content; margin: -25px -21px 23px auto; }
  .current-actions { align-items: stretch; flex-direction: column; }
  .play-symbol { width: 48px; height: 48px; }
  .boost-button { width: 100%; }
  .wave-band { gap: 5px; }
  .content-section { padding: 62px 0; }
  .library-grid, .archive-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .content-section h2, .archive-hero h1 { font-size: 39px; }
  .editorial-copy { font-size: 18px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .staff-grid, .catalog-grid { grid-template-columns: 1fr; }
  .staff-card { min-height: 0; grid-template-columns: 68px 1fr; gap: 17px; padding: 25px 21px; }
  .portrait { width: 68px; height: 68px; font-size: 25px; }
  .staff-card h3 { font-size: 25px; }
  .person-contact { flex: 1 1 96px; }

  .crew-pay-dialog { width: calc(100% - 18px); max-height: calc(100dvh - 18px); }
  .crew-pay-card { padding: 22px 18px; box-shadow: 5px 5px 0 var(--orange); }
  .crew-pay-person { grid-template-columns: 52px minmax(0,1fr); gap: 12px; padding-right: 38px; }
  .crew-pay-photo { width: 52px; height: 52px; padding: 6px; }
  .crew-pay-card h2 { font-size: clamp(1.8rem, 9vw, 2.45rem); }
  .crew-pay-recipient { grid-template-columns: 1fr; }
  .crew-pay-recipient > span, .crew-pay-recipient-copy { grid-column: 1; }
  .crew-pay-recipient-address { text-align: left; }
  .crew-pay-invoice-actions { grid-template-columns: 1fr; }
  .crew-pay-invoice-done { grid-column: 1; }
  .archive-actions { justify-content: stretch; }
  .primary-link { width: 100%; justify-content: center; text-align: center; }
  .archive-hero { padding: 56px 0 45px; }
  .episode-record { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 22px 18px; }
  .record-number { font-size: 34px; }
  .record-actions { grid-column: 2; justify-content: space-between; }
}

@media (max-width: 380px) {
  .brand-wordmark { font-size: 14px; }
  .header-actions, .social-nav { gap: 3px; }
  .social-link, .lightning-link, .theme-toggle, .rss-button { width: 25px; height: 25px; }
  .hero h1 { font-size: 44px; }
  .staff-card { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .confetti-piece { display: none; }
}
