:root {
  interpolate-size: allow-keywords;
  --gutter: clamp(16px, 3.4vw, 52px);
  --ink: #16181c;
  --soft: #59616e;
  --paper: #f4f6fa;
  --blue: #1b4fd8;
  --blue-deep: #113c9f;
  --rule: #d4dce9;
  --rounded: "M PLUS Rounded 1c", ui-rounded, "Hiragino Maru Gothic ProN", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: calc(12px + env(safe-area-inset-top)); left: max(12px, env(safe-area-inset-left)); z-index: 10; padding: 10px 14px; color: #fff; background: var(--blue-deep); border-radius: 4px; font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform 160ms ease-out; }
.skip-link:focus-visible { transform: translateY(0); }
body {
  max-width: 100%;
  overflow-x: clip;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.62 var(--rounded);
  -webkit-font-smoothing: antialiased;
}

html body.about-page {
  display: grid;
  grid-template-rows: auto minmax(min-content, 1fr) auto;
  min-height: 100svh;
  padding-bottom: 0;
}

main { display: grid; grid-template-columns: minmax(13rem, 1fr) clamp(28rem, 38vw, 46rem) minmax(13rem, 1fr); gap: clamp(24px, 2.2vw, 44px); align-content: center; align-content: safe center; align-items: center; justify-content: center; width: 100%; max-width: none; min-height: 0; margin-inline: auto; padding: clamp(24px, 4vh, 56px) max(var(--gutter), env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left)); }
.hero, .appearances { width: 100%; max-width: 1500px; margin-inline: auto; }
.hero { display: contents; }
.hero-photo { grid-column: 2; grid-row: 1; align-self: center; width: 100%; margin: 0; aspect-ratio: 4 / 5; background: #1256a8; overflow: hidden; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-photo.showing-poster { background: transparent; }
.hero-photo.showing-poster img { object-fit: contain; }
.hero-copy { align-self: center; max-width: none; }
.hero-copy-left { grid-column: 1; grid-row: 1; width: min(100%, 38rem); justify-self: start; }
.eyebrow { margin: 0 0 12px; color: inherit; font: 600 clamp(11px, 1vw, 13px)/1.2 var(--rounded); letter-spacing: .1em; text-transform: uppercase; }
h2 { margin: 0; font-family: var(--rounded); font-weight: 600; letter-spacing: .01em; }
.about-title { margin: 0 0 clamp(18px, 2.5vw, 30px); font: 600 clamp(1.45rem, 2.2vw, 2rem)/1.1 var(--rounded); letter-spacing: .01em; text-wrap: balance; scroll-margin-top: 1rem; }
.prose { max-width: none; margin: 0; font-size: clamp(.94rem, 1vw, 1rem); line-height: 1.64; }
.prose p { margin: 0 0 20px; break-inside: avoid; }
.prose p:last-child { margin-bottom: 0; }
.album { font-weight: 700; letter-spacing: .03em; }

.appearances { grid-column: 3; grid-row: 1; align-self: center; justify-self: end; width: min(100%, 38rem); max-width: none; margin: 0; scroll-margin-top: 1rem; }
.section-head { margin-bottom: clamp(18px, 2.5vw, 30px); }
.section-head h2 { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.1; text-wrap: balance; scroll-margin-top: 1rem; }

.appearance-directory { --directory-columns: minmax(0, 1fr) clamp(58px, 6vw, 82px) clamp(68px, 7vw, 96px); --directory-gap: clamp(14px, 2vw, 26px); width: 100%; border-bottom: 1px solid var(--rule); }
.appearance-directory-head { display: grid; grid-template-columns: var(--directory-columns); gap: var(--directory-gap); align-items: center; padding: 0 0 10px; color: var(--soft); font-size: .66rem; font-weight: 400; letter-spacing: .03em; line-height: 1; }
.appearance-directory-head span:nth-child(2) { text-align: center; }
.appearance-directory-head span:nth-child(3) { text-align: right; }
.appearance-year, .appearance-list { display: contents; }
.appearance-year > h3 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.appearance-item { display: grid; grid-template-columns: var(--directory-columns); gap: var(--directory-gap); align-items: center; width: 100%; min-height: 58px; padding: 14px 0; border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: transparent; color: inherit; cursor: pointer; appearance: none; text-align: left; touch-action: manipulation; -webkit-tap-highlight-color: rgba(27, 79, 216, .14); scroll-margin-top: 1rem; }
.appearance-row-year { justify-self: end; color: var(--soft); font-size: clamp(.68rem, .76vw, .76rem); font-variant-numeric: tabular-nums; line-height: 1.2; letter-spacing: .04em; }
.appearance-name { min-width: 0; overflow-wrap: anywhere; font: 600 clamp(.92rem, 1.2vw, 1.08rem)/1.25 var(--rounded); letter-spacing: .005em; }
.appearance-item time { justify-self: center; color: var(--soft); font-size: clamp(.66rem, .72vw, .73rem); line-height: 1.2; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.appearance-item:focus-visible .appearance-name,
.appearance-item[aria-pressed="true"] .appearance-name { color: var(--blue-deep); }
.appearance-item:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.appearance-item:active { opacity: .68; }

@media (hover: hover) and (pointer: fine) {
  .appearance-item:hover .appearance-name { color: var(--blue-deep); }
}

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

@media (min-width: 56.0625rem) and (max-width: 76rem) {
  main { grid-template-columns: minmax(0, 1fr) clamp(19rem, 33vw, 25rem) minmax(0, 1fr); gap: clamp(16px, 1.8vw, 22px); }
  .hero-copy-left,
  .appearances { width: 100%; }

  .about-title,
  .section-head h2 { margin-bottom: 14px; font-size: clamp(1.26rem, 2vw, 1.55rem); }
  .prose { font-size: clamp(.78rem, 1.3vw, .88rem); line-height: 1.47; }
  .prose p { margin-bottom: 10px; }
  .section-head { margin-bottom: 14px; }
  .appearance-directory { --directory-columns: minmax(0, 1fr) 34px 40px; --directory-gap: 8px; }
  .appearance-item { min-height: 50px; padding: 10px 0; }
  .appearance-name { font-size: clamp(.76rem, 1.25vw, .86rem); }
  .appearance-item time,
  .appearance-row-year { font-size: .62rem; }
}

@media (max-width: 56rem) {
  main { grid-template-columns: minmax(0, 1fr); align-content: center; align-content: safe center; min-height: 0; max-width: none; padding: clamp(28px, 5vw, 56px) max(var(--gutter), env(safe-area-inset-right)) calc(var(--gutter) * 2) max(var(--gutter), env(safe-area-inset-left)); }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem); gap: clamp(28px, 4vw, 48px); align-items: start; }
  .hero-copy,
  .hero-photo,
  .appearances { align-self: start; }
  .hero-copy-left { grid-column: 1; grid-row: 1; }
  .hero-photo { grid-column: 2; grid-row: 1; }
  .appearances { grid-column: 1; grid-row: auto; width: 100%; max-width: none; margin-top: clamp(56px, 8vw, 88px); }
}

@media (max-width: 48rem) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { grid-column: 1; grid-row: 1; width: min(100%, 32rem); justify-self: center; aspect-ratio: 4 / 5; }
  .hero-copy { grid-column: 1; max-width: 43rem; }
  .hero-copy-left { grid-row: 2; padding-top: 34px; }
}

@media (max-width: 42rem) {
  main { padding-inline: 0; }
  .hero-copy, .appearances { padding-right: max(var(--gutter), env(safe-area-inset-right)); padding-left: max(var(--gutter), env(safe-area-inset-left)); }
  .hero-copy-left { padding-top: 34px; }
  .hero-copy-left { padding-bottom: 34px; }
  .appearance-directory { --directory-columns: minmax(0, 1fr) 38px 40px; --directory-gap: 10px; }
  .appearance-item { min-height: 54px; padding: 12px 0; }
}

/* Scale the three-panel composition for laptop and short desktop viewports. */
@media (min-width: 56.0625rem) and (max-width: 90rem),
       (min-width: 56.0625rem) and (max-height: 56rem) {
  main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(16rem, 36vw, 32rem) minmax(0, 1fr);
    gap: clamp(16px, 1.7vw, 24px);
    min-height: 0;
    padding-block: clamp(20px, 3svh, 42px);
  }

  .hero { display: contents; }

  .hero-copy,
  .hero-photo,
  .appearances {
    align-self: center;
    padding: 0;
  }

  .hero-copy-left,
  .appearances {
    width: 100%;
    margin-top: 0;
  }

  .hero-copy-left {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-photo {
    grid-column: 2;
    grid-row: 1;
    width: min(100%, clamp(10rem, calc(80svh - 200px), 32rem));
    justify-self: center;
  }

  .prose {
    font-size: clamp(.62rem, 1.04vw, .9rem);
    line-height: 1.4;
  }

  .prose p { margin-bottom: clamp(7px, 1.1svh, 10px); }

  .appearance-directory {
    --directory-columns: minmax(0, 1fr) 34px 40px;
    --directory-gap: 8px;
  }

  .appearance-directory-head { padding-bottom: 7px; font-size: .6rem; }
  .appearance-item { min-height: clamp(34px, 5.75svh, 46px); padding: 6px 0; }
  .appearance-name { font-size: clamp(.58rem, 1vw, .82rem); }
  .appearance-item time,
  .appearance-row-year { font-size: .58rem; }
}

.about-page .site-footer {
  position: static;
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skip-link { transition: none; }
}
