/* ==========================================================================
   sadness.love
   ========================================================================== */

:root {
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --serif: "Instrument Serif", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --cjk: "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", "SimSun", serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Consolas", monospace;

  --bg: #121016;
  --ink: #F4EDE3;
  --dim: #9C93A6;
  --faint: #6F667C;
  --accent: #FF5533;
  --gold: #F2C14E;
  --line: rgba(244, 237, 227, 0.14);
  --line-strong: rgba(244, 237, 227, 0.32);
  --paper: #F2EBDD;
  --paper-ink: #14121A;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--cjk);
  font-size: 16px;
  line-height: 1.7;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #FFF6EF; }

.mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.dim { color: var(--faint); }
.small { font-size: 10px; }

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

/* ---- texture ------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 90;
  pointer-events: none;
  background-image: url("img/grain.png");
  background-size: 190px 190px;
  opacity: 0.05;
  mix-blend-mode: overlay;
  animation: grain 1.1s steps(3) infinite;
  will-change: transform;
}
.glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 78% -6%, rgba(255, 120, 60, 0.14), transparent 70%),
    radial-gradient(50% 40% at 4% 104%, rgba(242, 193, 78, 0.06), transparent 70%);
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-22px, 14px); }
  66%  { transform: translate(16px, -20px); }
  100% { transform: translate(0, 0); }
}

/* ---- nav ----------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color 0.45s, border-color 0.45s;
}
.nav.on {
  background: rgba(18, 16, 22, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.brand {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.links { display: flex; gap: clamp(12px, 2.2vw, 26px); }
.links a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dim);
  padding: 6px 0;
  transition: color 0.3s;
}
.links a:hover { color: var(--accent); }

/* ---- hero ---------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(26px, 5vh, 66px) 0 clamp(30px, 5vh, 60px) var(--gutter);
}
.hero-copy { min-width: 0; }
.eyebrow {
  margin: 0 0 clamp(14px, 2.4vh, 26px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
}
h1 {
  margin: 0 0 clamp(18px, 3vh, 30px);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 11.4vw, 168px);
  line-height: 0.82;
  letter-spacing: -0.035em;
  text-indent: -0.05em;
}
h1 span, h1 em { display: block; }
h1 em {
  font-style: italic;
  color: var(--accent);
  margin-left: 0.5em;
  letter-spacing: -0.01em;
}
.lede {
  margin: 0 0 12px;
  font-size: clamp(19px, 2.2vw, 28px);
  line-height: 1.65;
  letter-spacing: 0.01em;
}
.sub {
  margin: 0 0 clamp(22px, 3.4vh, 34px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 19px);
  color: var(--dim);
}
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn i { font-style: normal; transition: transform 0.3s; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #121016; }
.btn:hover i { transform: translateX(3px); }
.btn.ghost { border-color: var(--line); color: var(--dim); }
.btn.ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }

.hero-fig { margin: 0; position: relative; }
.hero-fig img {
  width: 100%;
  height: clamp(380px, 70vh, 720px);
  object-fit: cover;
}
.hero-fig figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 9px 13px;
  background: rgba(18, 16, 22, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #F4EDE3;
}

/* ---- ticker -------------------------------------------------------------- */
.ticker {
  overflow: hidden;
  background: var(--accent);
  color: var(--paper-ink);
  padding: 9px 0;
  border-top: 1px solid rgba(18, 16, 22, 0.2);
  border-bottom: 1px solid rgba(18, 16, 22, 0.2);
}
.ticker-in { display: flex; width: max-content; animation: tick 30s linear infinite; }
.ticker-in span {
  font-family: var(--cjk);
  font-weight: 300;
  font-size: 11.5px;
  letter-spacing: 0.3em;
  white-space: nowrap;
  padding-right: 2.2em;
}
@keyframes tick { to { transform: translateX(-50%); } }

/* ---- intro --------------------------------------------------------------- */
.intro {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: clamp(16px, 2vw, 32px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 13vh, 168px) var(--gutter);
}
.sec-no {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--faint);
  text-transform: uppercase;
  padding-top: 0.9em;
}
.intro-body { max-width: 40em; }
.intro-body p {
  margin: 0 0 0.1em;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.95;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}
.intro-body .last { color: var(--accent); }

/* ---- section shell ------------------------------------------------------- */
.sec {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 10vh, 130px) var(--gutter);
  border-top: 1px solid var(--line);
}
.sec-head {
  display: grid;
  grid-template-columns: 72px auto 1fr;
  column-gap: clamp(16px, 2vw, 32px);
  align-items: baseline;
}
.sec-head h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.05;
}
.sec-en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  align-self: end;
  padding-bottom: 0.7em;
}
.sec-desc {
  max-width: 40em;
  margin: clamp(18px, 3vh, 30px) 0 clamp(30px, 5vh, 54px);
  padding-left: calc(72px + clamp(16px, 2vw, 32px));
  color: var(--dim);
  font-size: 14px;
  line-height: 1.9;
}
.sec-desc .hint {
  margin-left: 0.9em;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--faint);
  white-space: nowrap;
}

/* ---- 01 bits ------------------------------------------------------------- */
.bits { list-style: none; margin: 0; padding: 0; }
.bits li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 230px);
  column-gap: clamp(16px, 2vw, 32px);
  align-items: baseline;
  padding: clamp(16px, 2.3vh, 26px) 0;
  border-top: 1px solid var(--line);
}
.bits li:last-child { border-bottom: 1px solid var(--line); }
.bits .n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--faint); }
.bits p {
  margin: 0;
  font-size: clamp(17px, 2vw, 25px);
  line-height: 1.7;
  letter-spacing: 0.015em;
  text-wrap: pretty;
  transition: color 0.5s;
}
.bits .en {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--faint);
  text-align: right;
  opacity: 0.4;
  transition: opacity 0.45s;
}
@media (hover: hover) {
  .bits li:hover p { color: var(--accent); }
  .bits li:hover .en { opacity: 1; }
}
.bits li.em p { color: var(--accent); }
.bits li.em .en { opacity: 0.75; }

/* ---- 02 songs ------------------------------------------------------------ */
.songs-sec { border-top: 1px solid var(--line); }
.band { position: relative; margin: 0; height: clamp(260px, 44vh, 500px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(18, 16, 22, 0.88) 0%, rgba(18, 16, 22, 0.2) 42%, rgba(18, 16, 22, 0) 100%),
    linear-gradient(to right, rgba(18, 16, 22, 0.6) 0%, rgba(18, 16, 22, 0.1) 38%, rgba(18, 16, 22, 0) 70%);
}
.band-title {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(20px, 4vh, 44px);
  z-index: 2;
  display: grid;
  grid-template-columns: 72px auto 1fr;
  column-gap: clamp(16px, 2vw, 32px);
  align-items: baseline;
}
.band-title h2 {
  margin: 0;
  font-size: clamp(34px, 5.6vw, 68px);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
}
.band-title .sec-en { color: rgba(244, 237, 227, 0.65); }
.band-title .sec-no { color: rgba(244, 237, 227, 0.55); }

.songs-wrap { max-width: var(--maxw); margin: 0 auto; padding: clamp(44px, 7vh, 84px) var(--gutter); }
.songs { list-style: none; margin: 0; padding: 0; }
.songs li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: clamp(12px, 2vw, 28px);
  padding: clamp(16px, 2.2vh, 24px) 0;
  border-top: 1px solid var(--line);
}
.songs li:first-child { border-top: 0; padding-top: 0; }
.songs .n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--faint);
  padding-top: 0.5em;
}
.songs .t {
  position: relative;
  display: inline-block;
  font-size: clamp(17px, 1.75vw, 22px);
  letter-spacing: 0.01em;
  color: inherit;
  text-decoration: none;
  transition: color 0.35s;
}
.songs .t::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.songs .t:hover, .songs .t:focus-visible { color: var(--accent); }
.songs .t:hover::after, .songs .t:focus-visible::after { transform: scaleX(1); }
.songs .ext {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.42em;
  vertical-align: 0.3em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.35s, transform 0.35s;
}
.songs .t:hover .ext, .songs .t:focus-visible .ext { opacity: 0.85; transform: none; }
@media (hover: none) { .songs .ext { opacity: 0.4; transform: none; } }
.songs .a {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-left: 0.9em;
  white-space: nowrap;
}
.songs .note { margin: 0.5em 0 0; font-size: 13.5px; line-height: 1.8; color: var(--dim); }

/* ---- 03 play ------------------------------------------------------------- */
.play {
  background: var(--paper);
  color: var(--paper-ink);
  padding: clamp(60px, 9vh, 110px) var(--gutter) clamp(60px, 9vh, 110px);
}
.play-head {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 72px auto 1fr;
  column-gap: clamp(16px, 2vw, 32px);
  align-items: baseline;
}
.play-head .sec-no { color: rgba(20, 18, 26, 0.45); }
.play-head h2 {
  margin: 0;
  font-size: clamp(34px, 5.6vw, 68px);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
}
.play-head .sec-en { color: rgba(20, 18, 26, 0.45); }
.play-desc {
  grid-column: 1 / -1;
  max-width: 42em;
  margin: clamp(16px, 2.6vh, 26px) 0 clamp(28px, 4.5vh, 46px);
  padding-left: calc(72px + clamp(16px, 2vw, 32px));
  font-size: 14px;
  line-height: 1.9;
  color: rgba(20, 18, 26, 0.7);
  text-wrap: pretty;
}
.games {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2.2vw, 26px);
}
.game {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(20, 18, 26, 0.25);
  background: transparent;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s;
}
.game:hover, .game:focus-visible {
  background: var(--paper-ink);
  color: var(--paper);
  border-color: var(--paper-ink);
}
.g-vis {
  position: relative;
  height: clamp(132px, 17vw, 186px);
  overflow: hidden;
  border-bottom: 1px solid rgba(20, 18, 26, 0.25);
  transition: border-color 0.35s;
}
.game:hover .g-vis { border-color: rgba(244, 237, 227, 0.2); }

/* catch preview */
.catch-vis { background: radial-gradient(80% 90% at 50% 110%, rgba(255, 85, 51, 0.18), transparent 70%); }
.catch-vis i {
  position: absolute;
  top: -14px;
  left: var(--x);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px 2px rgba(242, 193, 78, 0.55);
  animation: fall 3.2s linear infinite;
  animation-delay: var(--d);
}
.catch-vis i.bad { background: var(--accent); box-shadow: 0 0 14px 2px rgba(255, 85, 51, 0.5); }
.catch-vis .paddle {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 58px;
  height: 4px;
  margin-left: -29px;
  border-radius: 2px;
  background: var(--paper-ink);
  transition: background-color 0.35s;
}
.game:hover .catch-vis .paddle { background: var(--paper); }
@keyframes fall {
  0%   { transform: translateY(-16px); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateY(210px); opacity: 0; }
}

/* push preview */
.push-vis {
  --cell: clamp(19px, 2.5vw, 30px);
  display: grid;
  grid-template-columns: repeat(4, var(--cell));
  grid-template-rows: repeat(4, var(--cell));
  gap: 4px;
  align-content: center;
  justify-content: center;
}
.push-vis .cell { position: relative; border: 1px solid rgba(20, 18, 26, 0.16); transition: border-color 0.35s; }
.game:hover .push-vis .cell { border-color: rgba(244, 237, 227, 0.14); }
.push-vis .lit { border-color: rgba(20, 18, 26, 0.5); background: rgba(242, 193, 78, 0.55); }
.game:hover .push-vis .lit { background: rgba(242, 193, 78, 0.75); }
.push-vis .box { background: var(--accent); }
.push-vis .me::after {
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: var(--paper-ink);
  transition: background-color 0.35s;
}
.game:hover .push-vis .me::after { background: var(--paper); }

/* game card body */
.g-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
  padding: 16px clamp(16px, 2.2vw, 24px) 18px;
}
.g-no { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; opacity: 0.55; }
.g-body h3 {
  margin: 2px 0 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.g-en { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.5; }
.g-body p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.85; opacity: 0.78; }
.g-foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.g-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  border: 1px solid currentColor;
  padding: 3px 9px;
  opacity: 0.5;
}
.g-go { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---- 04 about ------------------------------------------------------------ */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  column-gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(20px, 3.4vh, 40px);
}
.about-fig { margin: 0; }
.about-fig img { width: 100%; height: auto; }
.about-fig figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.about-body p {
  margin: 0 0 1.1em;
  font-size: clamp(15.5px, 1.45vw, 18.5px);
  line-height: 2.05;
  letter-spacing: 0.012em;
  max-width: 30em;
}
.about-body .big {
  margin-bottom: 0.2em;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.about-body .small { margin-bottom: 2em; letter-spacing: 0.2em; }
.about-body em { font-family: var(--serif); font-style: italic; font-size: 1.1em; }
.about-body .last { color: var(--accent); }
.about-body .sign {
  margin-top: 2.6em;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--faint);
}

/* ---- 05 find ------------------------------------------------------------- */
.find {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 10vh, 130px) var(--gutter) clamp(50px, 7vh, 90px);
  border-top: 1px solid var(--line);
}
.find-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(28px, 5vw, 72px);
  row-gap: clamp(34px, 5vh, 56px);
  margin-top: clamp(24px, 4vh, 46px);
}
.col-h {
  margin: 0 0 6px;
  color: var(--faint);
  font-family: var(--cjk);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.16em;
}
.mails, .socials { list-style: none; margin: 0; padding: 0; }
.mails li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.mails li:last-child { border-bottom: 1px solid var(--line); }
.mails a {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(16px, 1.9vw, 23px);
  text-decoration: none;
  transition: color 0.35s;
  word-break: break-all;
}
.mails a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.mails a:hover { color: var(--accent); }
.mails a:hover::after { transform: scaleX(1); }

.socials li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  min-height: 52px;
}
.socials li:last-child { border-bottom: 1px solid var(--line); }
.socials .p {
  font-family: var(--cjk);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--faint);
  white-space: nowrap;
}
.socials .v {
  font-family: var(--serif);
  font-size: clamp(16px, 1.8vw, 21px);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.35s;
}
a.v:hover { color: var(--accent); }
.socials .go {
  width: 0.46em;
  height: 0.46em;
  margin-left: 0.5em;
  vertical-align: 0.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.45;
  transition: opacity 0.3s, transform 0.3s;
}
a.v:hover .go { opacity: 1; transform: translate(1px, -1px); }
.copy {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  background: transparent;
  border: 1px solid var(--line);
  padding: 6px 10px;
  min-height: 34px;
  min-width: 52px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.copy:hover { color: var(--ink); border-color: var(--line-strong); }
.copy.done { background: var(--gold); border-color: var(--gold); color: var(--paper-ink); }

/* ---- footer -------------------------------------------------------------- */
.foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px var(--gutter) calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.f-brand { font-family: var(--serif); font-size: 15px; }

/* ---- reveal -------------------------------------------------------------- */
.reveal { opacity: 1; }
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0ms);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-right: var(--gutter); row-gap: clamp(24px, 4vh, 44px); }
  .hero-fig img { height: clamp(300px, 46vh, 480px); }
  .intro, .bits li, .songs li { grid-template-columns: 44px minmax(0, 1fr); }
  .sec-head, .band-title, .play-head { grid-template-columns: 44px auto 1fr; }
  .sec-desc, .play-desc { padding-left: 60px; }
  .bits .en { grid-column: 2; text-align: left; margin-top: 6px; }
  .about { grid-template-columns: 1fr; row-gap: clamp(26px, 5vh, 44px); }
  .about-fig { max-width: 400px; }
  .games { grid-template-columns: 1fr; }
  .find-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --gutter: 20px; }
  h1 { font-size: clamp(50px, 15.5vw, 86px); }
  h1 em { margin-left: 0.32em; }
  .links { gap: 12px; }
  .links a { font-size: 9px; letter-spacing: 0.12em; }
  .brand { font-size: 15px; }
  .hero-fig figcaption { font-size: 8px; padding: 7px 10px; }
  .bits p { font-size: 16.5px; line-height: 1.85; }
  .bits li { grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; }
  .songs .a { display: block; margin: 5px 0 0; }
  .songs li { grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; }
  .socials li { grid-template-columns: 62px minmax(0, 1fr) auto; gap: 8px; }
  .socials .v { font-size: 15px; }
  .copy { padding: 6px 8px; min-width: 46px; }
  .foot { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  .ticker-in { animation: none; }
  .catch-vis i { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}
