:root {
  --bg: #e9e5db;
  --panel: rgba(248, 245, 238, 0.84);
  --panel-strong: rgba(244, 241, 233, 0.94);
  --text: #121512;
  --muted: #576059;
  --line: rgba(18, 21, 18, 0.12);
  --line-strong: rgba(18, 21, 18, 0.24);
  --accent: #0e6b67;
  --accent-soft: #9ed8d2;
  --acid: #d2ff3f;
  --acid-soft: rgba(210, 255, 63, 0.24);
  --shadow: 0 28px 64px rgba(18, 21, 18, 0.14);
  --rail-width: 220px;
  --shell-gap: 52px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  color: var(--text);
  font-family: "Zen Kaku Gothic New", sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(210, 255, 63, 0.24), transparent 22%),
    radial-gradient(circle at 84% 10%, rgba(14, 107, 103, 0.22), transparent 24%),
    radial-gradient(circle at 78% 72%, rgba(116, 225, 214, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(18, 21, 18, 0.045), transparent 38%),
    linear-gradient(180deg, #f0ece1 0%, var(--bg) 48%, #ddd8cd 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  /* Use the new paper texture as one large background layer to avoid visible seams. */
  opacity: 0.04;
  background-image: url("./images/paper.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  mix-blend-mode: multiply;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* Keep grain as a subtle repeating overlay so the page feels less sterile without obvious patterning. */
  opacity: 0.4;
  background-image: url("./images/grain.png");
  background-repeat: repeat;
  background-size: 320px auto;
  mix-blend-mode: multiply;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 56px;
}

.shell {
  display: grid;
  /* Slightly narrow the navigation rail so the reading column becomes the focal area. */
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
  gap: var(--shell-gap);
}

.sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  display: grid;
  gap: 18px;
}

.sidebar-menu {
  border-top: 1px solid var(--line);
}

.sidebar-menu-toggle {
  display: none;
  list-style: none;
}

.sidebar-menu-toggle::-webkit-details-marker {
  display: none;
}

.sidebar-nav {
  display: block;
  border-top: 0;
}

.sidebar-block {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.sidebar-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.site-title,
.feature-title {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.site-logo {
  display: block;
  width: min(170px, 100%);
  height: auto;
  margin: 0 0 8px;
  opacity: 0.82;
}

.site-title {
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sidebar-copy {
  margin: 14px 0 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--muted);
}

.artist-link,
.sidebar-cta,
.text-link,
.archive-card {
  text-decoration: none;
}

.artist-link {
  display: grid;
  gap: 2px;
  padding: 8px 0 8px 12px;
  border-left: 1px solid transparent;
  color: var(--text);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.artist-link:hover,
.artist-link.active {
  border-left-color: rgba(210, 255, 63, 0.72);
  color: var(--accent);
  transform: translateX(4px);
  text-shadow: 0 0 14px rgba(210, 255, 63, 0.22);
}

.artist-name {
  font-size: 0.96rem;
}

.artist-meta {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sidebar-cta,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-column {
  min-width: 0;
}

.hero {
  /* Keep the opening block tighter so date, title, and intro read as one unit. */
  margin-bottom: 20px;
  max-width: 820px;
}

.hero-headline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.hero-links {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
}

.hero-links a {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  text-decoration: none;
}

.hero-links a:hover {
  opacity: 0.72;
  transform: translateY(-1px);
}

.social-icon {
  display: block;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

.soundcloud-icon {
  width: 28px;
}

.instagram-icon {
  width: 18px;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3,
.question {
  font-family: "Source Sans 3", sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.92;
  font-weight: 700;
  max-width: 10ch;
}

.intro {
  width: min(640px, 100%);
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}

.stack {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.introduction-strip {
  width: min(820px, 100%);
  margin-top: 18px;
}

.introduction-strip .section-label {
  display: none;
}

.feature-image,
.feature-image-grid {
  margin: 0;
}

.feature-image {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.feature-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(0.96) contrast(1.02);
}

.feature-image-wide {
  margin-top: 28px;
}

.feature-image-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  margin: 8px 0 6px;
}

.feature-image-portrait {
  align-self: start;
}

.feature-image-square {
  align-self: start;
}

.feature-image-tracklist {
  margin-top: 4px;
}

.editorial-page .stack {
  gap: 30px;
  margin-top: 46px;
}

.editorial-page .interview-card,
.editorial-page .tracklist-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}

.editorial-page .interview-card::before,
.editorial-page .interview-card::after,
.editorial-page .tracklist-card::before,
.editorial-page .tracklist-card::after {
  display: none;
}

.editorial-page .feature-image {
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.editorial-page .interview-card > .card-heading + .placeholder-note {
  margin-top: 0;
}

.editorial-page .qa {
  padding-top: 30px;
}

.editorial-page .tracklist-card {
  margin-top: 2px;
}

.editorial-page .interview-card > .card-heading {
  margin-bottom: 10px;
}

.editorial-page .hero {
  max-width: 840px;
}

.editorial-page .hero-headline {
  align-items: flex-start;
  gap: 16px;
}

.editorial-page .hero-links {
  padding-top: 6px;
  padding-bottom: 0;
}

.editorial-page .audio-card .card-heading {
  margin-bottom: 10px;
}

.editorial-page .audio-card {
  width: 100%;
}

.artist-feature-page .audio-card {
  width: 100%;
}

.editorial-page .embed-shell {
  width: min(840px, 100%);
  margin: 0 auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.artist-feature-page .embed-shell,
.artist-feature-page .meta-block-compact {
  width: min(840px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.artist-feature-page .embed-shell {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.editorial-page .meta-block-compact {
  width: min(840px, 100%);
  margin: 10px auto 0;
}

.artist-feature-page .meta-block-compact {
  margin-top: 10px;
}

.interview-rail {
  display: grid;
  gap: 28px;
  align-items: start;
}

.interview-rail-right {
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.82fr);
}

.interview-rail-full {
  grid-template-columns: minmax(0, 1fr);
  width: min(760px, 100%);
}

/* Add a little breathing room after the photo before Q3 starts. */
.q3-rail {
  margin-top: 14px;
}

.interview-rail-left {
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.6fr);
}

.interview-copy {
  min-width: 0;
}

.interview-side-image {
  margin-top: 6px;
}

.interview-side-image-spacious {
  margin-bottom: 22px;
}

.qa-standalone {
  padding-top: 0;
}

.editorial-page .interview-rail-full .answer.ja {
  margin-bottom: 28px;
}

.editorial-page .interview-rail-right .interview-side-image {
  margin-bottom: 18px;
}

.tracklist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.9fr);
  gap: 28px;
  align-items: start;
  margin-top: 22px;
}

.tracklist-compact {
  font-size: 0.92rem;
  line-height: 1.82;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(18, 21, 18, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(14, 107, 103, 0.08), transparent 42%),
    radial-gradient(rgba(18, 21, 18, 0.045) 0.5px, transparent 0.8px),
    var(--panel);
  background-size: auto, auto, 18px 18px, auto;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 18%, transparent 82%, rgba(210, 255, 63, 0.12)),
    linear-gradient(180deg, rgba(18, 21, 18, 0.035), transparent 28%);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 255, 63, 0.22), transparent 70%);
}

.card-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.card-text {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  line-height: 1.8;
  color: var(--muted);
}

.embed-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  height: 188px;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(14, 107, 103, 0.22);
  background:
    linear-gradient(135deg, rgba(210, 255, 63, 0.16), rgba(255, 251, 245, 0.88) 38%, rgba(116, 225, 214, 0.18)),
    linear-gradient(180deg, rgba(14, 107, 103, 0.08), rgba(255, 255, 255, 0.5));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 14px 28px rgba(14, 107, 103, 0.08);
}

.embed-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(rgba(31, 37, 33, 0.7) 0.45px, transparent 0.8px);
  background-size: 16px 16px;
}

.embed-shell iframe {
  width: 100%;
  height: 100%;
}

.meta-block {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 21, 18, 0.1);
}

.meta-block-compact {
  margin-top: 10px;
  padding-top: 0;
  border-top: 0;
  text-align: right;
}

.meta-title {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.meta-text {
  margin: 0;
  color: var(--muted);
}

.meta-block-compact .meta-text {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.placeholder-note {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.interview-card {
  display: grid;
  gap: 22px;
}

.interview-card > .card-heading + .placeholder-note {
  margin-top: -8px;
}

.prose {
  position: relative;
  z-index: 1;
  column-width: 19rem;
  column-gap: 28px;
}

.prose p {
  margin: 0 0 16px;
  /* Increase body size and leading slightly for long-form readability. */
  font-size: 1rem;
  line-height: 1.94;
  color: rgba(93, 101, 95, 0.88);
}

.prose p:last-child {
  margin-bottom: 0;
}

.qa {
  position: relative;
  z-index: 1;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 21, 18, 0.1);
}

.qa:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.question-block {
  margin-bottom: 10px;
}

.question {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.question-sub {
  margin: 6px 0 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--muted);
}

.answer {
  margin: 0;
  line-height: 1.9;
}

.answer + .answer {
  margin-top: 12px;
}

/* Keep EN/JP answers distinct through spacing rather than graphic separators. */
.answer.en + .answer.ja {
  margin-top: 18px;
}

.answer.en {
  color: var(--text);
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.04rem;
  font-weight: 400;
}

.answer.ja {
  color: var(--muted);
  /* Preserve the quiet tone while giving Japanese copy a little more presence. */
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.94;
}

.en-text {
  font-family: "Source Sans 3", sans-serif;
}

.tracklist {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-left: 1.4rem;
  line-height: 1.9;
  color: var(--muted);
}

.tracklist li + li {
  margin-top: 4px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.archive-card {
  display: block;
  padding: 22px;
  border: 1px solid rgba(18, 21, 18, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(210, 255, 63, 0.08), transparent 45%),
    rgba(255, 251, 245, 0.72);
  color: var(--text);
  box-shadow: var(--shadow);
}

.archive-card:hover {
  border-color: rgba(14, 107, 103, 0.22);
  transform: translateY(-2px);
}

.archive-card h3 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1;
}

.archive-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  margin-top: clamp(84px, 11vw, 140px);
  margin-left: calc(-1 * (var(--rail-width) + var(--shell-gap)));
  padding-bottom: 6px;
  width: calc(100% + var(--rail-width) + var(--shell-gap));
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: baseline;
  font-size: 0.76rem;
  line-height: 1.8;
  color: rgba(87, 96, 89, 0.82);
}

.site-footer-note {
  margin: 0;
}

.site-footer-link {
  color: rgba(87, 96, 89, 0.82);
  text-decoration: none;
  transition: color 160ms ease;
}

.site-footer-link:hover,
.site-footer-link:focus-visible {
  color: var(--text);
}

@media (max-width: 900px) {
  .page {
    width: min(100% - 32px, 760px);
    padding-top: 48px;
  }

  .shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sidebar {
    position: static;
  }

  .sidebar-menu {
    border-top: 0;
  }

  .sidebar-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 251, 245, 0.82);
    color: var(--text);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .sidebar-menu-toggle::after {
    content: "+";
    font-size: 1rem;
    line-height: 1;
  }

  .sidebar-menu[open] .sidebar-menu-toggle::after {
    content: "-";
  }

  .sidebar-nav {
    margin-top: 10px;
    padding-top: 12px;
  }

  .sidebar-nav > .section-label {
    display: none;
  }

  .sidebar-menu:not([open]) > .sidebar-nav {
    display: none;
  }

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

  .hero-headline {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-links {
    padding-bottom: 0;
  }

  .introduction-strip {
    width: min(100%, 680px);
  }

  .feature-image-grid {
    grid-template-columns: 1fr;
  }

  .feature-image-portrait,
  .feature-image-square {
    width: 100%;
  }

  .interview-rail-right,
  .interview-rail-left,
  .tracklist-layout {
    grid-template-columns: 1fr;
  }

  .embed-shell {
    width: 100%;
    height: 176px;
  }

  .site-footer {
    margin-top: 72px;
    margin-left: 0;
    width: auto;
    gap: 8px 16px;
  }
}

@media (max-width: 560px) {
  .site-title {
    font-size: 0.74rem;
    line-height: 1.02;
    letter-spacing: 0.08em;
  }

  .page {
    width: min(100% - 28px, 100%);
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .card {
    padding: 20px;
    border-radius: 22px;
  }

  .question {
    font-size: 1.55rem;
  }

  .question-sub {
    font-size: 0.8rem;
  }

  .intro,
  .card-text,
  .answer {
    font-size: 0.98rem;
  }

  .site-title,
  .feature-title {
    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }

  .prose p {
    font-size: 0.95rem;
  }

  .prose {
    column-width: auto;
    column-count: 1;
  }

  .embed-shell {
    height: 168px;
  }
}
