/* LIMUNA — liner notes for a night singer.
   One light source at a time: whichever painting is in view tints the page. */

/* The ambient colours are registered so they can be transitioned. */
@property --amb-a { syntax: "<color>"; inherits: true; initial-value: #1b3fd1; }
@property --amb-b { syntax: "<color>"; inherits: true; initial-value: #6fd6ff; }
@property --amb-k { syntax: "<number>"; inherits: true; initial-value: 1; }

:root {
  color-scheme: dark;

  --bg: #070a12;
  --ink: #e8edf6;
  --ink-2: #97a2b8;
  --rule: rgba(232, 237, 246, .12);
  --rule-2: rgba(232, 237, 246, .26);
  --accent: #8be9ff;           /* the neon sign: active track, focus, link hover. nothing else */

  --amb-a: #1b3fd1;
  --amb-b: #6fd6ff;
  --amb-k: 1;                  /* how hard this painting's light spills (dim teal needs more) */

  --f-mincho: "Shippori Mincho", "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --f-batang: "Gowun Batang", "Noto Serif KR", "AppleMyungjo", "Batang", serif;
  --f-sans:   "Zen Kaku Gothic New", "Pretendard Variable", Pretendard, "Hiragino Kaku Gothic ProN", "Noto Sans KR", system-ui, sans-serif;
  --f-ui:     "Pretendard Variable", Pretendard, "Zen Kaku Gothic New", "Noto Sans KR", system-ui, sans-serif;
  --f-mono:   "DM Mono", "Pretendard Variable", Pretendard, ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4.4vw, 72px);
  --wrap: 1480px;
  --bar-h: 64px;
  --label-w: clamp(64px, 7vw, 104px);
  --col-gap: clamp(12px, 1.9vw, 30px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  transition: --amb-a 1.2s ease, --amb-b 1.2s ease, --amb-k 1.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-color: rgba(232, 237, 246, .22) transparent;
  -webkit-text-size-adjust: 100%;
          text-size-adjust: 100%;
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;                   /* transparent on purpose: the ambient layer sits behind it */
  color: var(--ink);
  font: 400 15px/1.7 var(--f-ui);
  word-break: keep-all;        /* Korean: break at spaces */
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
:lang(ja) { line-break: strict; word-break: normal; }

img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p, h1, h2, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: color-mix(in srgb, var(--amb-b) 38%, transparent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: var(--gutter); top: 10px; z-index: 100;
  padding: 8px 12px; background: var(--bg); color: var(--ink);
  font: 500 12px/1 var(--f-ui); border: 1px solid var(--rule-2);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.ico { width: 1em; height: 1em; flex: none; }

/* ------------------------------------------------------------------ *
 * Ambient light
 * ------------------------------------------------------------------ */
.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 74vmax 58vmax at 82% 22%, rgba(27, 63, 209, .24), transparent 70%),
    radial-gradient(ellipse 62vmax 50vmax at 6% 86%, rgba(111, 214, 255, .07), transparent 70%);
}
@supports (color: color-mix(in srgb, red, blue)) {
  .ambient {
    /* long, eased falloff: the light should not have a visible edge */
    background:
      radial-gradient(ellipse 74vmax 58vmax at 82% 22%,
        color-mix(in srgb, var(--amb-a) calc(30% * var(--amb-k)), transparent) 0%,
        color-mix(in srgb, var(--amb-a) calc(21% * var(--amb-k)), transparent) 20%,
        color-mix(in srgb, var(--amb-a) calc(11% * var(--amb-k)), transparent) 42%,
        color-mix(in srgb, var(--amb-a) calc(4% * var(--amb-k)), transparent) 62%,
        transparent 82%),
      radial-gradient(ellipse 62vmax 50vmax at 6% 86%,
        color-mix(in srgb, var(--amb-b) calc(11% * var(--amb-k)), transparent) 0%,
        color-mix(in srgb, var(--amb-b) calc(6% * var(--amb-k)), transparent) 36%,
        color-mix(in srgb, var(--amb-b) calc(2% * var(--amb-k)), transparent) 62%,
        transparent 82%);
  }
}

/* ------------------------------------------------------------------ *
 * Header
 * ------------------------------------------------------------------ */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar-h);
  border-bottom: 1px solid transparent;
  transition: background-color .5s ease, border-color .5s ease;
}
.bar.is-scrolled {
  background: rgba(7, 10, 18, .8);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-bottom-color: var(--rule);
}
.bar__in {
  width: min(100% - 2 * var(--gutter), var(--wrap)); height: 100%;
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.bar__brand { display: flex; align-items: baseline; gap: .95em; white-space: nowrap; }
.bar__latin { font: 500 13px/1 var(--f-sans); letter-spacing: .34em; }
.bar__ja    { font: 500 12px/1 var(--f-mincho); letter-spacing: .14em; color: rgba(232, 237, 246, .72); }
.bar__nav   { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 38px); }
.bar__nav a {
  font: 500 12px/1 var(--f-sans); letter-spacing: .14em; white-space: nowrap;
  color: rgba(232, 237, 246, .86);
  padding: 14px 0;
  transition: color .25s ease;
}
.bar__nav a:hover { color: var(--accent); }
.bar__nav .bar__yt { display: grid; place-items: center; padding: 10px 0 10px 2px; }
.bar__yt .ico { width: 24px; height: 24px; }

/* ------------------------------------------------------------------ *
 * Hero
 * ------------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: max(100svh, 540px);
  overflow: hidden; overflow: clip;
}
.hero__art { position: absolute; inset: 0; z-index: -1; }
.hero__art img {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 62% 0%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 56%, rgba(0, 0, 0, .55) 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0, #000 56%, rgba(0, 0, 0, .55) 80%, transparent 100%);
}
/* the painting's top-left is white monitors: give the header something to stand on */
.hero__art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(7, 10, 18, .78) 0, rgba(7, 10, 18, .35) 11%, transparent 26%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(7, 10, 18, .7), transparent 70%);
}
.hero__in {
  position: absolute; inset: 0;
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto;
}
.hero__name {
  position: absolute; right: 0; top: clamp(92px, 16svh, 176px);
  writing-mode: vertical-rl; text-orientation: upright;
  font: 500 clamp(44px, 6vw, 112px)/1 var(--f-mincho);
  letter-spacing: .22em; margin-right: -.1em;
  color: var(--ink);
  text-shadow: 0 0 28px rgba(7, 10, 18, .55);
}
.hero__line { position: absolute; left: 0; bottom: clamp(36px, 7.5svh, 84px); max-width: 80%; }
.hero__ko {
  display: block;
  font: 400 clamp(27px, 3.15vw, 50px)/1.25 var(--f-batang);
  letter-spacing: -.012em;
  text-shadow: 0 0 22px rgba(7, 10, 18, .6);
}
.hero__en {
  display: block; margin-top: 16px;
  font: 400 12px/1.4 var(--f-mono); letter-spacing: .12em; color: rgba(232, 237, 246, .76);
}

/* the name and the line arrive a moment after the painting */
.js .hero__name, .js .hero__line { animation: hero-in 1.6s var(--ease) both; }
.js .hero__name { animation-delay: .35s; }
.js .hero__line { animation-delay: .6s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ *
 * Shared section frame
 * ------------------------------------------------------------------ */
.sec, .updates, .foot {
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto;
}
.sec {
  margin-top: clamp(112px, 14vw, 216px);
  padding-top: clamp(30px, 3.4vw, 52px);
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: var(--label-w) minmax(0, 1fr);
  align-items: start;
  scroll-margin-top: calc(var(--bar-h) - 1px);
}
.sec > :not(.sec__label) { grid-column: 2; }

.sec__label {
  position: sticky; top: calc(var(--bar-h) + 28px); align-self: start;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  font-weight: 400;
}
.sec__kanji { font: 500 clamp(36px, 3.4vw, 52px)/1 var(--f-mincho); margin-left: -.04em; }
.sec__rule  { width: 1px; height: 64px; background: var(--rule-2); margin-left: .12em; }
.sec__en {
  writing-mode: vertical-rl;
  font: 400 11px/1 var(--f-mono); letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-2); margin-left: .06em;
}

.cap {
  margin-top: 14px;
  font: 400 11.5px/1.4 var(--f-mono); letter-spacing: .08em; color: var(--ink-2);
  transition: color .25s ease;
}
.cap__no { color: var(--ink); }

/* fade-and-rise, once. only when JS is there to reveal it. */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 1s ease var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ *
 * Updates
 * ------------------------------------------------------------------ */
.updates {
  display: grid; grid-template-columns: var(--label-w) minmax(0, 1fr);
  border-top: 1px solid var(--rule);
  padding-top: 0;
}
.updates__h {
  padding-top: 19px;
  font: 400 11px/1.6 var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2);
}
.updates__list > li {
  display: grid; grid-template-columns: 116px 72px minmax(0, 1fr); column-gap: 16px; align-items: baseline;
  padding: 15px 0 14px;
  border-top: 1px solid var(--rule);
}
.updates__list > li:first-child { border-top: 0; }
.updates__list time { font: 400 12px/1.6 var(--f-mono); letter-spacing: .06em; color: var(--ink-2); }
.updates__tag { font: 400 11px/1.6 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.updates__list p,
.updates__list a { font: 400 14px/1.6 var(--f-sans); letter-spacing: .02em; }
.updates__list a {
  display: inline-flex; align-items: baseline; gap: .7em; justify-self: start;
  transition: color .25s ease;
}
.updates__list a:hover { color: var(--accent); }
.updates__list a .ico { font-size: 11px; color: var(--ink-2); transition: color .25s ease; align-self: center; }
.updates__list a:hover .ico { color: var(--accent); }

/* ------------------------------------------------------------------ *
 * Illustration
 * ------------------------------------------------------------------ */
.ill__stage {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap); row-gap: clamp(64px, 8.5vw, 140px);
  align-items: start;
}
.plate { margin: 0; }
.plate__link { display: block; cursor: zoom-in; }
.plate img {
  width: 100%; height: auto; border-radius: 2px;
  background: #0c1120;
}
.plate:hover .cap, .plate:focus-within .cap { color: var(--ink); }

.plate--1 { grid-column: 1 / -1; }
.plate--2 { grid-column: 1 / 8; }
.plate--3 { grid-column: 8 / -1; margin-top: clamp(96px, 16vw, 300px); }
.plate--4 { grid-column: 3 / -1; }

/* ------------------------------------------------------------------ *
 * Covers
 * ------------------------------------------------------------------ */
.covers__stage {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
}
.deck   { grid-column: 1 / 9; }
.tracks { grid-column: 9 / -1; }

.player {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: #04060b; border-radius: 2px;
}
.player__btn {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none;
  cursor: pointer; display: block;
}
.player__poster { width: 100%; height: 100%; object-fit: cover; }
.player__btn::after {            /* scrim for the control, nothing more */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(4, 6, 11, .6), transparent 38%);
  transition: opacity .4s ease;
}
.player__ctl {
  position: absolute; left: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); z-index: 1;
  display: flex; align-items: center; gap: 14px;
}
.player__ring {
  width: clamp(48px, 4.4vw, 60px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; font-size: clamp(22px, 2vw, 28px);
  border: 1px solid rgba(255, 255, 255, .8);
  padding-left: 2px;
  transition: background-color .3s ease, border-color .3s ease;
}
.player__txt { font: 400 11px/1 var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .92); }
.player__btn:hover .player__ring { background: rgba(255, 255, 255, .16); border-color: #fff; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player[data-state="playing"] .player__btn { visibility: hidden; }

.np {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; column-gap: 20px;
  padding-top: 20px;
}
.np__no    { font: 400 12px/1.6 var(--f-mono); letter-spacing: .1em; color: var(--ink-2); }
.np__title { word-break: keep-all; font: 500 clamp(22px, 2.1vw, 30px)/1.3 var(--f-mincho); letter-spacing: .03em; font-feature-settings: "palt"; }
.np__yt {
  display: inline-flex; align-items: center; gap: .6em;
  font: 400 12px/1.6 var(--f-ui); letter-spacing: .04em; color: var(--ink-2);
  transition: color .25s ease;
}
.np__yt:hover { color: var(--accent); }
.np__yt .ico { font-size: 10px; }

.tracks {
  display: grid; grid-template-rows: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}
.tracks > li { display: flex; border-bottom: 1px solid var(--rule); }
.track {
  position: relative; flex: 1; min-width: 0;
  display: grid; grid-template-columns: 2.7em minmax(0, 1fr);
  grid-template-areas: "no title" "no tag";
  align-content: center; column-gap: 8px; row-gap: 7px;
  padding: 16px 0 16px 20px;
  background: none; border: 0; text-align: left; cursor: pointer;
}
.track::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 2px; height: 0; background: var(--accent); transform: translateY(-50%);
  transition: height .45s var(--ease);
}
.track[aria-current="true"]::before { height: 38px; }
.track__no    { grid-area: no; align-self: start; font: 400 12px/1.9 var(--f-mono); letter-spacing: .08em; color: var(--ink-2); }
.track__title {
  grid-area: title; word-break: keep-all; overflow-wrap: break-word;
  font: 500 clamp(18px, 1.55vw, 23px)/1.4 var(--f-mincho); letter-spacing: .02em; font-feature-settings: "palt";
  color: rgba(232, 237, 246, .66); transition: color .3s ease;
}
.track__tag   { grid-area: tag; font: 400 11px/1.4 var(--f-ui); letter-spacing: .08em; color: var(--ink-2); }
.track:hover .track__title,
.track[aria-current="true"] .track__title { color: var(--ink); }

.channel {
  grid-column: 1 / -1;
  margin-top: clamp(52px, 6.5vw, 96px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font: 500 13px/1.4 var(--f-sans); letter-spacing: .16em;
  transition: color .25s ease;
}
.channel [lang="ja"] { font: 500 14px/1 var(--f-mincho); letter-spacing: .16em; margin-left: .3em; }
.channel:hover { color: var(--accent); }
.channel .ico { font-size: 13px; }

/* ------------------------------------------------------------------ *
 * About
 * ------------------------------------------------------------------ */
.about__stage {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
}
.about__fig { grid-column: 1 / 7; }
.about__fig img { width: 100%; border-radius: 2px; background: #0c1120; }
.about__body {
  grid-column: 8 / -1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 56px;
}
.about__h {
  display: flex; align-items: center; gap: 18px;
  font: 400 11px/1 var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2);
}
.about__h::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.about__name {
  margin-top: clamp(26px, 3vw, 44px);
  font: 500 clamp(64px, 8.6vw, 140px)/1 var(--f-mincho); letter-spacing: .05em; margin-left: -.2em;   /* り has a wide left bearing */
}
.about__latin { margin-top: 20px; font: 500 14px/1 var(--f-sans); letter-spacing: .52em; }
.about__role  { margin-top: 24px; font: 400 12px/1.6 var(--f-mono); letter-spacing: .12em; color: var(--ink-2); }
.about__bio {
  max-width: 22em;
  font: 400 clamp(18px, 1.6vw, 22px)/1.95 var(--f-batang);
  text-wrap: pretty;
}
.links { border-top: 1px solid var(--rule); }
.links li { border-bottom: 1px solid var(--rule); }
.links a {
  display: flex; align-items: baseline; gap: 20px; padding: 19px 0;
  transition: color .25s ease;
}
.links__name   { font: 500 13px/1.4 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; }
.links__handle { margin-left: auto; font: 400 12px/1.4 var(--f-mono); letter-spacing: .06em; color: var(--ink-2); transition: color .25s ease; }
.links a .ico  { font-size: 12px; align-self: center; }
.links a:hover, .links a:hover .links__handle { color: var(--accent); }

/* ------------------------------------------------------------------ *
 * Footer
 * ------------------------------------------------------------------ */
.foot {
  margin-top: clamp(120px, 15vw, 232px);
  padding: 24px 0 calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline;
  font: 400 11px/1.6 var(--f-mono); letter-spacing: .12em; color: var(--ink-2);
}
.foot__c { font-size: inherit; }
.foot__ja { font: 500 13px/1 var(--f-mincho); letter-spacing: .24em; color: var(--ink); }
.foot__top {
  justify-self: end; display: inline-flex; align-items: center; gap: .7em; padding: 10px 0;
  text-transform: uppercase; letter-spacing: .24em; transition: color .25s ease;
}
.foot__top:hover { color: var(--accent); }

/* ------------------------------------------------------------------ *
 * Lightbox
 * ------------------------------------------------------------------ */
.lb {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; color: var(--ink);
  background:
    radial-gradient(ellipse 80vmax 60vmax at 50% 45%, color-mix(in srgb, var(--amb-a) 16%, transparent), transparent 75%),
    rgba(4, 6, 11, .975);
  overscroll-behavior: contain;
}
.lb:not([open]) { display: none; }
.lb[open] {
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  animation: lb-in .4s ease both;
}
.lb.is-closing { animation: lb-out .24s ease both; }
.lb::backdrop { background: #04060b; }
@keyframes lb-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-out { from { opacity: 1; } to { opacity: 0; } }

.lb__top, .lb__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--gutter);
}
.lb__top    { padding-top: max(14px, env(safe-area-inset-top)); }
.lb__bottom { padding-bottom: max(18px, env(safe-area-inset-bottom)); }
.lb__count, .lb__cap { font: 400 12px/1.4 var(--f-mono); letter-spacing: .12em; color: var(--ink-2); }
.lb__count span:first-child { color: var(--ink); }
.lb__tools { display: flex; align-items: center; gap: 8px; }
.lb__orig {
  display: inline-flex; align-items: center; gap: .6em; padding: 12px 6px;
  font: 400 12px/1 var(--f-ui); letter-spacing: .04em; color: var(--ink-2);
  transition: color .25s ease;
}
.lb__orig .ico { font-size: 10px; }
.lb__orig:hover { color: var(--accent); }
.lb__close, .lb__arrow {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; border-radius: 50%; color: var(--ink); font-size: 22px; cursor: pointer;
  transition: color .25s ease;
}
.lb__close:hover, .lb__arrow:hover { color: var(--accent); }
.lb__nav { display: flex; gap: 4px; }

.lb__stage {
  position: relative; display: grid; min-height: 0; padding: 0 var(--gutter);
  touch-action: pan-y pinch-zoom;
}
.lb__img {
  grid-area: 1 / 1; width: 100%; height: 100%; max-width: none;
  object-fit: contain; opacity: 0; transition: opacity .5s ease;
}
.lb__img.is-on { opacity: 1; }

/* ------------------------------------------------------------------ *
 * Narrow screens
 * ------------------------------------------------------------------ */
@media (max-width: 960px) {
  .deck, .tracks { grid-column: 1 / -1; }
  .tracks { grid-template-rows: none; margin-top: clamp(32px, 6vw, 48px); }
  .track { padding-block: 20px; }
}

@media (max-width: 760px) {
  :root { --bar-h: 56px; --label-w: 0px; }

  .bar__latin { font-size: 12px; letter-spacing: .26em; }
  .bar__ja { font-size: 11px; letter-spacing: .1em; }
  .bar__nav { gap: 17px; }
  .bar__nav a { font-size: 11.5px; letter-spacing: .1em; }

  .sec { grid-template-columns: minmax(0, 1fr); margin-top: 104px; }
  .sec > :not(.sec__label) { grid-column: 1; }
  .sec__label { position: static; flex-direction: row; align-items: center; gap: 14px; margin-bottom: 32px; }
  .sec__kanji { font-size: 34px; }
  .sec__rule { width: 40px; height: 1px; margin: 0; }
  .sec__en { writing-mode: horizontal-tb; letter-spacing: .26em; margin: 0; }

  .updates { grid-template-columns: minmax(0, 1fr); }
  .updates__h { padding: 20px 0 6px; }
  .updates__list > li { grid-template-columns: minmax(0, 1fr); row-gap: 2px; padding: 15px 0 16px; }
  .updates__tag { display: none; }
  .updates__list a { justify-self: stretch; justify-content: space-between; }

  .ill__stage { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .plate--1, .plate--2, .plate--3, .plate--4 { grid-column: 1; margin-top: 0; }
  .plate--2 { width: 92%; }
  .plate--3 { width: 86%; justify-self: end; }

  .np { grid-template-columns: auto minmax(0, 1fr); row-gap: 8px; }
  .np__yt { grid-column: 1 / -1; }

  .about__stage { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .about__fig, .about__body { grid-column: 1; }
  .about__body { gap: 44px; }

  .foot { grid-template-columns: 1fr auto 1fr; }

  .lb__stage { padding: 0; }
}

/* A portrait viewport can't hold the neon sign and the face at full height
   (they are ~46% of the painting's width apart), so the painting is set as a
   plate under the header, 110vw tall, and fades into the page. The name hangs
   from it and the line sits beside the name; the hero ends where its content
   ends, so the Updates strip shows under it instead of an empty screen. */
@media (max-aspect-ratio: 4/5) {
  .hero { min-height: 0; }
  .hero__art {
    position: relative; inset: auto; z-index: 0;
    margin-top: var(--bar-h);
    height: min(110vw, 62svh);
  }
  .hero__art img { object-position: 56% 0%; }
  .hero__art::after { background: none; }
  .hero__in {
    position: relative; inset: auto;
    display: flex; justify-content: space-between; align-items: flex-end; gap: 14px;
    margin-top: -34px; padding-bottom: clamp(38px, 5.5svh, 56px);
  }
  .hero__name { position: static; order: 2; font-size: clamp(54px, 17vw, 88px); margin-right: -.1em; }
  .hero__line { position: static; order: 1; max-width: none; padding-bottom: .5em; }
  .hero__ko { font-size: clamp(25px, 7.4vw, 36px); }
  .hero__en { font-size: 11.5px; letter-spacing: .08em; }
}

@media (max-width: 374px) {
  .bar__ja { display: none; }
}

@media (max-width: 400px) {
  .bar__nav { gap: 14px; }
  .bar__nav a { letter-spacing: .06em; }
  .bar__latin { letter-spacing: .2em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root { transition-duration: .01ms; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero__name, .js .hero__line { animation: none; }
  .lb[open], .lb.is-closing { animation: none; }
  .lb__img, .track::before, .bar { transition-duration: .01ms; }
}
