:root {
  --ink: #151515;
  --ink-soft: #2f3036;
  --paper: #fffdf7;
  --cream: #fff2dc;
  --red: #e7211a;
  --yellow: #ffc92f;
  --blue: #1667d9;
  --green: #0f9b69;
  --line: rgba(21, 21, 21, 0.14);
  --shadow: 0 26px 70px rgba(20, 18, 16, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 10px max(17px, calc((100% - 1120px) / 2));
  border-bottom: 1px solid rgba(21, 21, 21, 0.1);
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 12px 36px rgba(18, 16, 13, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 9px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 1000;
  background: var(--red);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
}

.site-nav a:hover {
  color: #fff;
  background: var(--ink);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 3px auto;
  background: #fff;
}

.hero {
  position: relative;
  overflow: visible;
  color: var(--ink);
  background: var(--paper);
}

.hero-image {
  position: relative;
  overflow: hidden;
  background: #f3c658;
}

.hero-image::after {
  content: none;
}

.hero-image img {
  width: 100%;
  height: auto;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: block;
  width: min(1120px, calc(100% - 34px));
  margin: 0 auto;
  padding: 24px 26px 26px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.98);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker {
  width: fit-content;
  max-width: min(560px, 100%);
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(21, 21, 21, 0.14);
  border-radius: 999px;
  color: var(--red);
  font-size: 13px;
  font-weight: 1000;
  line-height: 1.3;
  background: #fff;
}

.hero-copy {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 800;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 1000;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 32px rgba(231, 33, 26, 0.32);
}

.button.apple {
  color: #fff;
  background: #151515;
  box-shadow: 0 14px 32px rgba(21, 21, 21, 0.22);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.13);
}

.hero-content .button.secondary {
  color: var(--ink);
  border-color: rgba(21, 21, 21, 0.18);
  background: #fff;
}

.button.secondary.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  color: #fff;
  background: var(--ink);
}

.section {
  width: min(1120px, calc(100% - 34px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2,
.request-content h2,
.note-panel h2 {
  margin: 0;
  font-size: clamp(34px, 5.8vw, 72px);
  font-weight: 1000;
  line-height: 1.05;
  letter-spacing: 0;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 38px 48px;
  align-items: start;
}

.intro-section .section-heading {
  display: block;
  margin: 0;
}

.about-art {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 0;
  padding: 14px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 10px 10px 0 var(--yellow);
  transform: rotate(1deg);
}

.about-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.about-art figcaption {
  margin-top: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-copy {
  grid-column: 1;
  padding-top: 12px;
}

.intro-copy p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 700;
  line-height: 2;
}

.schedule-calendar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.schedule-card {
  position: relative;
  min-height: 178px;
  padding: 54px 16px 18px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 6px 6px 0 var(--red);
}

.schedule-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 34px;
  content: "";
  background:
    radial-gradient(circle at 24px 17px, #fff 0 5px, transparent 6px),
    radial-gradient(circle at calc(100% - 24px) 17px, #fff 0 5px, transparent 6px),
    var(--red);
}

.schedule-card::after {
  position: absolute;
  top: 27px;
  right: 16px;
  left: 16px;
  height: 2px;
  content: "";
  background: rgba(21, 21, 21, 0.12);
}

.schedule-card:nth-child(2) {
  box-shadow: 6px 6px 0 var(--blue);
}

.schedule-card:nth-child(2)::before {
  background:
    radial-gradient(circle at 24px 17px, #fff 0 5px, transparent 6px),
    radial-gradient(circle at calc(100% - 24px) 17px, #fff 0 5px, transparent 6px),
    var(--blue);
}

.schedule-card:nth-child(3) {
  box-shadow: 6px 6px 0 var(--yellow);
}

.schedule-card:nth-child(3)::before {
  background:
    radial-gradient(circle at 24px 17px, #fff 0 5px, transparent 6px),
    radial-gradient(circle at calc(100% - 24px) 17px, #fff 0 5px, transparent 6px),
    var(--yellow);
}

.schedule-card .schedule-day {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 6px 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 1000;
  line-height: 1;
  background: var(--ink);
  border-radius: 999px;
}

.schedule-card .schedule-time {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0.04em;
}

.schedule-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 1000;
  line-height: 1.45;
}

.members-section {
  border-top: 1px solid var(--line);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.member-card {
  appearance: none;
  position: relative;
  min-height: 214px;
  padding: 24px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 8px;
  color: #fff;
  font: inherit;
  text-align: left;
  background: var(--red);
  box-shadow: 8px 8px 0 var(--ink);
  cursor: pointer;
  transition:
    filter 160ms ease,
    box-shadow 160ms ease;
}

.member-card:hover {
  filter: saturate(1.12) contrast(1.02);
}

.member-card:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.member-card::after {
  position: absolute;
  right: -34px;
  bottom: -48px;
  width: 132px;
  height: 132px;
  border: 18px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  content: "";
}

.member-card > :not(.member-wipe) {
  position: relative;
  z-index: 1;
}

.member-wipe,
.member-dialog-wipe {
  display: block;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background-image: url("./assets/member-wipes.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
}

.member-wipe {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 88px;
  height: 88px;
  box-shadow: 0 0 0 3px rgba(21, 21, 21, 0.2), 6px 6px 0 rgba(21, 21, 21, 0.2);
}

.member-card[data-member="hayami"] .member-wipe,
.member-dialog[data-current-member="hayami"] .member-dialog-wipe {
  background-position: 0% 0%;
}

.member-card[data-member="hisashi"] .member-wipe,
.member-dialog[data-current-member="hisashi"] .member-dialog-wipe {
  background-position: 50% 0%;
}

.member-card[data-member="setchan"] .member-wipe,
.member-dialog[data-current-member="setchan"] .member-dialog-wipe {
  background-position: 100% 0%;
}

.member-card[data-member="nagako"] .member-wipe,
.member-dialog[data-current-member="nagako"] .member-dialog-wipe {
  background-position: 0% 100%;
}

.member-card[data-member="motchan"] .member-wipe,
.member-dialog[data-current-member="motchan"] .member-dialog-wipe {
  background-position: 50% 100%;
}

.member-card[data-member="hiroshi"] .member-wipe,
.member-dialog[data-current-member="hiroshi"] .member-dialog-wipe {
  background-position: 100% 100%;
}

.member-card:nth-child(1) {
  background: linear-gradient(135deg, #e7211a, #ff7a35);
}

.member-card:nth-child(2) {
  background: linear-gradient(135deg, #1667d9, #53b8ff);
  box-shadow: 8px 8px 0 var(--yellow);
}

.member-card:nth-child(3) {
  color: var(--ink);
  background: linear-gradient(135deg, #ffc92f, #fff1a8);
  box-shadow: 8px 8px 0 var(--red);
}

.member-card:nth-child(4) {
  background: linear-gradient(135deg, #0f9b69, #5cd09b);
  box-shadow: 8px 8px 0 var(--blue);
}

.member-card:nth-child(6) {
  color: var(--ink);
  background: linear-gradient(135deg, #ffb7c4, #fff0f3);
  box-shadow: 8px 8px 0 var(--green);
}

.member-card:nth-child(2),
.member-card:nth-child(5) {
  transform: translateY(18px);
}

.member-card.ghost {
  color: #fff;
  background: linear-gradient(135deg, #151515, #3f4350);
  box-shadow: 8px 8px 0 var(--red);
}

.member-number {
  display: inline-flex;
  margin-bottom: 30px;
  color: inherit;
  font-size: 14px;
  font-weight: 1000;
}

.member-card.ghost .member-number {
  color: var(--yellow);
}

.member-card h3,
.secret-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.2;
}

.member-card p,
.secret-card p,
.note-panel p,
.request-content p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

.member-card p {
  color: inherit;
  opacity: 0.88;
}

.member-card.ghost p {
  color: rgba(255, 255, 255, 0.82);
}

.member-dialog {
  width: min(620px, calc(100% - 34px));
  padding: 0;
  color: var(--ink);
  border: 0;
  background: transparent;
}

.member-dialog::backdrop {
  background: rgba(21, 21, 21, 0.58);
}

.member-dialog-card {
  position: relative;
  min-height: 292px;
  padding: 34px 190px 34px 34px;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #fffdf7, #fff2dc);
  background-size: 30px 30px, auto;
  box-shadow: 10px 10px 0 var(--red);
}

.member-dialog-card::after {
  position: absolute;
  right: -48px;
  bottom: -62px;
  width: 170px;
  height: 170px;
  border: 22px solid rgba(231, 33, 26, 0.12);
  border-radius: 999px;
  content: "";
}

.member-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 1000;
  line-height: 1;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.member-dialog-wipe {
  position: absolute;
  top: 78px;
  right: 34px;
  z-index: 2;
  width: 124px;
  height: 124px;
  border-color: #fff;
  box-shadow: 0 0 0 4px var(--ink), 8px 8px 0 var(--yellow);
}

.member-dialog-number {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 8px 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 1000;
  line-height: 1;
  background: var(--red);
  border-radius: 999px;
}

.member-dialog-role {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-dialog h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: clamp(34px, 7vw, 58px);
  font-weight: 1000;
  line-height: 1.05;
}

.member-dialog-body {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.95;
}

.listen-section {
  width: 100%;
  padding-inline: max(17px, calc((100% - 1120px) / 2));
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #fff2dc, #fffdf7);
  background-size: 42px 42px, auto;
}

.listen-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: 20px;
  align-items: stretch;
}

.player-frame {
  overflow: hidden;
  border: 6px solid var(--ink);
  border-radius: 8px;
  background: #245f78;
  box-shadow: 12px 12px 0 var(--red);
}

.player-frame iframe {
  border: 0;
}

.listen-links {
  display: grid;
  gap: 12px;
}

.listen-links a {
  display: grid;
  min-height: 77px;
  align-content: center;
  padding: 18px 20px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 6px 6px 0 var(--ink);
}

.listen-links a:nth-child(2) {
  box-shadow: 6px 6px 0 var(--blue);
}

.listen-links a:nth-child(3) {
  box-shadow: 6px 6px 0 var(--yellow);
}

.listen-links a:nth-child(4) {
  box-shadow: 6px 6px 0 var(--green);
}

.listen-links a:nth-child(5) {
  box-shadow: 6px 6px 0 var(--red);
}

.listen-links span,
.secret-label {
  color: var(--red);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listen-links strong {
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.25;
}

.latest-episodes {
  margin-top: 34px;
}

.latest-episodes-heading {
  display: flex;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.latest-episodes-heading .eyebrow {
  margin: 0;
}

.latest-episodes-heading h3 {
  margin: 0;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 1000;
  line-height: 1.08;
}

.episode-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.episode-card,
.episode-loading {
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff;
}

.episode-card {
  display: grid;
  min-height: 260px;
  align-content: start;
  padding: 20px;
  box-shadow: 7px 7px 0 var(--blue);
}

.episode-card:nth-child(2) {
  box-shadow: 7px 7px 0 var(--yellow);
}

.episode-card:nth-child(3) {
  box-shadow: 7px 7px 0 var(--green);
}

.episode-meta {
  min-height: 20px;
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.04em;
}

.episode-card h4 {
  margin: 0;
  font-size: 21px;
  font-weight: 1000;
  line-height: 1.35;
}

.episode-card p:not(.episode-meta) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.episode-card a {
  align-self: end;
  justify-self: start;
  margin-top: 18px;
  padding: 9px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  background: var(--ink);
  border-radius: 999px;
}

.episode-loading {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.7;
}

.note-section {
  padding-bottom: 46px;
}

.note-panel {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 42px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(231, 33, 26, 0.88), rgba(21, 21, 21, 0.94)),
    url("./assets/pattern-c-reference.png") center / cover;
  box-shadow: var(--shadow);
}

.note-panel p {
  max-width: 680px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.84);
}

.secret-section {
  border-top: 1px solid var(--line);
}

.secret-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.secret-card {
  min-height: 300px;
  padding: 28px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  box-shadow: 10px 10px 0 var(--ink);
}

.secret-card.accent {
  background: #b9dcff;
  box-shadow: 10px 10px 0 var(--red);
}

.secret-card .secret-label {
  margin-bottom: 46px;
  color: var(--ink);
}

.secret-card p:not(.secret-label) {
  margin-bottom: 32px;
}

.secret-card a,
.gift-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 1000;
  background: var(--ink);
}

.secret-card a {
  min-height: 42px;
  padding: 10px 16px;
}

.gifts-section {
  padding-top: 38px;
}

.gift-list {
  display: grid;
  gap: 12px;
}

.gift-list a {
  justify-content: flex-start;
  min-height: 88px;
  padding: 18px 20px;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(23, 21, 17, 0.07);
}

.gift-list span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  margin-right: 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
}

.gift-list strong {
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.35;
}

.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(420px, 0.8fr);
  gap: 38px;
  align-items: start;
  padding: 88px max(17px, calc((100% - 1120px) / 2));
  color: #fff;
  background:
    linear-gradient(135deg, rgba(21, 21, 21, 0.94), rgba(21, 21, 21, 0.76)),
    url("./assets/hero-studio.png") center / cover fixed;
}

.request-content {
  max-width: 560px;
  position: sticky;
  top: 120px;
}

.request-content p {
  max-width: 640px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.84);
}

.request-card {
  padding: 26px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.96);
  box-shadow: var(--shadow);
}

.request-frame {
  display: none;
}

.request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.request-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.request-field.full {
  grid-column: 1 / -1;
}

.request-field span {
  font-size: 13px;
  font-weight: 1000;
}

.request-field input,
.request-field select,
.request-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  background: #fff;
  border: 2px solid rgba(21, 21, 21, 0.16);
  border-radius: 8px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.request-field textarea {
  min-height: 160px;
  resize: vertical;
}

.request-field input:focus,
.request-field select:focus,
.request-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 103, 217, 0.14);
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.request-actions .button {
  cursor: pointer;
}

.request-copy {
  color: var(--ink);
  border-color: rgba(21, 21, 21, 0.22);
  background: #fff;
}

.request-note {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(17px, calc((100% - 1120px) / 2));
  color: #fff;
  background: var(--ink);
}

.site-footer p,
.site-footer a {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-footer a {
  color: var(--yellow);
}

@media (max-width: 880px) {
  .site-header {
    min-height: 62px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 253, 247, 0.98);
    box-shadow: 0 18px 42px rgba(18, 16, 13, 0.14);
  }

  .nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 14px 16px;
  }

  .nav-toggle {
    display: block;
  }

  .hero-content {
    padding: 22px;
  }

  .intro-section,
  .schedule-calendar,
  .listen-layout,
  .episode-list {
    grid-template-columns: 1fr;
  }

  .about-art,
  .intro-copy {
    grid-column: auto;
  }

  .about-art {
    grid-row: auto;
    max-width: 420px;
  }

  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-card:nth-child(2),
  .member-card:nth-child(5) {
    transform: none;
  }

  .note-panel,
  .request-section {
    display: grid;
  }

  .request-section {
    grid-template-columns: 1fr;
  }

  .request-content {
    position: static;
  }
}

@media (max-width: 580px) {
  .site-header {
    min-height: 58px;
    padding-inline: 10px;
  }

  .brand {
    padding-right: 10px;
    font-size: 13px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
  }

  .hero-content {
    width: calc(100% - 24px);
    padding: 18px;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading h2,
  .request-content h2,
  .note-panel h2 {
    font-size: clamp(32px, 11vw, 48px);
  }

  .member-grid,
  .secret-grid {
    grid-template-columns: 1fr;
  }

  .member-card {
    min-height: 180px;
  }

  .member-wipe {
    width: 78px;
    height: 78px;
  }

  .schedule-card {
    min-height: auto;
  }

  .player-frame {
    border-width: 4px;
    box-shadow: 7px 7px 0 var(--red);
  }

  .latest-episodes-heading {
    display: grid;
    gap: 8px;
  }

  .episode-card {
    min-height: auto;
    padding: 18px;
  }

  .member-dialog-card {
    min-height: auto;
    padding: 26px;
  }

  .member-dialog-wipe {
    position: relative;
    top: auto;
    right: auto;
    width: 112px;
    height: 112px;
    margin: 0 0 18px;
  }

  .member-dialog-close {
    top: 12px;
    right: 12px;
  }

  .note-panel {
    padding: 28px;
  }

  .request-section {
    padding-block: 70px;
    background-attachment: scroll;
  }

  .request-card {
    padding: 20px;
  }

  .request-grid {
    grid-template-columns: 1fr;
  }

  .request-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .gift-list a {
    align-items: flex-start;
  }

  .gift-list strong {
    font-size: 17px;
  }

}
