/* Openland 旷野乐队 — official one-page site
   Palette: ink, warm cream, amber, dusk rose, night blue

   Structure of this file
   1. Base / static design  — what no-JS and prefers-reduced-motion visitors get
   2. Scroll-story layout    — html.motion (pinned hero, statement, stacked songs, horizontal timeline)
   3. Scrub plumbing         — html.sda = native animation-timeline, html.sdf = rAF fallback
   4. Keyframes + per-element choreography (transform / opacity only)
*/
:root {
  --ink: #100e0c;
  --ink-2: #1a1714;
  --ink-3: #241f1a;
  --line: rgba(243, 234, 217, 0.12);
  --line-strong: rgba(243, 234, 217, 0.22);
  --cream: #f3ead9;
  --cream-dim: rgba(243, 234, 217, 0.72);
  --cream-mute: rgba(243, 234, 217, 0.52);
  --gold: #c9a36a;
  --gold-2: #e0c38a;
  --rose: #c48b8b;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  --radius: 18px;
  --max: 1160px;
  --nav-h: 60px;
  --lvh: 100vh;
  --svh: 100vh;
  --font-serif: "Cormorant Garamond", "Noto Serif SC", "Songti SC", "STSong", serif;
  --font-sans: "Lora", "LXGW WenKai", "Noto Serif SC", "Kaiti SC", "STKaiti", "KaiTi", serif;
  --ease-out: cubic-bezier(0.2, 0.65, 0.2, 1);
}
@supports (height: 100svh) {
  :root { --lvh: 100lvh; --svh: 100svh; }
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
figure { margin: 0; }
main, footer { position: relative; z-index: 1; }
main { overflow-x: clip; }
section[id] { scroll-margin-top: calc(var(--nav-h) - 8px); }
#top { scroll-margin-top: 0; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 16px; background: var(--gold); color: var(--ink); padding: 8px 12px; z-index: 100; }

/* ───────────── NAV ───────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  background: rgba(16, 14, 12, 0.9); /* opaque enough to read without a per-frame backdrop blur */
  border-bottom: 1px solid rgba(243, 234, 217, 0.07);
  z-index: 50;
}
.nav-brand { display: flex; align-items: center; gap: 12px; letter-spacing: 0.04em; }
.nav-brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-strong); }
.nav-brand .en { font-family: var(--font-serif); font-size: 22px; font-weight: 600; font-style: italic; line-height: 1; display: block; }
.nav-brand .zh { font-size: 11px; color: var(--cream-mute); letter-spacing: 0.18em; margin-top: 2px; display: block; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a { font-size: 13px; letter-spacing: 0.12em; padding: 8px 12px; color: var(--cream-dim); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--gold-2); }
.nav-cta {
  margin-left: 8px; border: 1px solid var(--gold); color: var(--gold-2) !important;
  padding: 7px 14px !important; border-radius: 999px; font-size: 12px !important;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--ink) !important; }
.nav-toggle { display: none; background: none; border: 0; color: var(--cream); width: 42px; height: 42px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-progress {
  display: none; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ───────────── AMBIENT LIGHT (motion only) ───────────── */
.ambient { display: none; }

/* ───────────── HERO ───────────── */
.hero { position: relative; padding: 0; }
.hero-stage {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
}
.hero-zoom, .hero-bg, .hero-dim, .hero-shade { position: absolute; inset: 0; }
/* the photo is a real <img> (srcset, async decode, high fetch priority) filling the one layer that zooms */
.hero-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 30%; }
.hero-shade {
  background:
    radial-gradient(ellipse at 70% 40%, transparent 0%, rgba(16,14,12,0.35) 70%),
    linear-gradient(to top, var(--ink) 0%, rgba(16,14,12,0.55) 42%, rgba(16,14,12,0.25) 70%, rgba(16,14,12,0.45) 100%);
}
.hero-inner { position: relative; z-index: 1; width: min(var(--max), calc(100% - 56px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-2); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(56px, 11vw, 148px);
  line-height: 0.9; letter-spacing: -0.02em; margin: 0 0 8px; font-style: italic;
}
.hero h1 .zh {
  display: block; font-style: normal; font-size: 0.3em; letter-spacing: 0.42em;
  margin-top: 16px; font-weight: 500; color: var(--cream-dim);
}
.tagline { max-width: 36em; font-size: clamp(16px, 2vw, 19px); color: var(--cream-dim); margin: 22px 0 28px; }
.hero-actions, .btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  color: var(--cream); font-size: 13px; letter-spacing: 0.04em;
  transition: 0.2s ease;
}
.btn:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(201,163,106,0.08); }
.btn-solid { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 600; }
.btn-solid:hover { background: var(--gold-2); color: var(--ink); }
.platforms { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.platforms a { font-size: 12px; letter-spacing: 0.08em; color: var(--cream-mute); border-bottom: 1px solid transparent; }
.platforms a:hover { color: var(--gold-2); border-bottom-color: var(--gold); }
.hero-cue { display: none; }

/* sound-wave motif: tiny equaliser */
.eq { display: inline-flex; align-items: center; gap: 3px; height: 22px; }
.eq i { display: block; width: 2px; height: 100%; border-radius: 2px; background: var(--gold-2); transform: scaleY(0.35); }
.eq i:nth-child(2), .eq i:nth-child(6) { transform: scaleY(0.7); }
.eq i:nth-child(3), .eq i:nth-child(5) { transform: scaleY(1); }
.eq i:nth-child(4) { transform: scaleY(0.55); }
@keyframes eq-bounce { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: no-preference) {
  .eq i { animation: eq-bounce 0.9s ease-in-out infinite alternate; }
  .eq i:nth-child(2) { animation-duration: 0.7s; animation-delay: -0.3s; }
  .eq i:nth-child(3) { animation-duration: 1.1s; animation-delay: -0.6s; }
  .eq i:nth-child(4) { animation-duration: 0.8s; animation-delay: -0.2s; }
  .eq i:nth-child(5) { animation-duration: 1s; animation-delay: -0.5s; }
  .eq i:nth-child(6) { animation-duration: 0.75s; animation-delay: -0.1s; }
  .eq i:nth-child(7) { animation-duration: 0.95s; animation-delay: -0.4s; }
}

/* ───────────── SECTIONS ───────────── */
.wrap { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; }
section { padding: 96px 0; }
.section-kicker { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.section-title {
  font-family: var(--font-serif); font-size: clamp(40px, 7vw, 84px);
  font-weight: 500; margin: 0 0 16px; letter-spacing: -0.02em; line-height: 1.08;
  transform-origin: 0 100%;
}
.section-lead { color: var(--cream-dim); max-width: 38em; margin: 0 0 40px; }

/* ───────────── UPCOMING ───────────── */
.upcoming { background: linear-gradient(180deg, var(--ink) 0%, #1c130c 55%, #16110f 100%); padding-top: 40px; }
.upcoming-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
}
/* gig poster: the photo is the hero, the headline is set in its negative space.
   All type is sized in cqw so its position relative to the people never drifts. */
.upcoming-poster { position: relative; background: var(--ink-2); overflow: hidden; container-type: inline-size; }
.upcoming-photo { position: relative; aspect-ratio: 1280 / 530; overflow: hidden; }
.upcoming-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform-origin: 50% 0; }
.upcoming-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(26,23,20,0) 70%, rgba(26,23,20,0.62) 90%, var(--ink-2) 100%),
    radial-gradient(34% 48% at 50% 18%, rgba(16,14,12,0.5), rgba(16,14,12,0) 75%);
}
.gig-type {
  position: absolute; z-index: 1; left: 35cqw; top: 2.2cqw; max-width: 31cqw;
  display: flex; flex-direction: column; align-items: flex-start; pointer-events: none;
}
.gig-top { display: flex; align-items: center; gap: 1.3cqw; white-space: nowrap; }
.gig-top .pill { font-size: clamp(9px, 0.95cqw, 12px); padding: 0.35em 0.95em; align-self: center; }
.gig-venue {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(11px, 1.55cqw, 20px);
  letter-spacing: 0.04em; color: var(--gold-2); opacity: 0.92;
}
.gig-venue::before {
  content: ""; display: inline-block; vertical-align: middle; width: 2.2cqw; height: 1px;
  margin-right: 1.1cqw; background: currentColor; opacity: 0.55;
}
.gig-title { margin: 0.9cqw 0 0; font-family: var(--font-serif); font-weight: 500; display: flex; flex-direction: column; align-items: flex-start; }
.gig-name {
  font-size: 3.2cqw; line-height: 1.1; letter-spacing: 0.14em; white-space: nowrap;
  color: #efe6d6; opacity: 0.94; text-shadow: 0 1px 18px rgba(16,14,12,0.55);
}
.gig-date {
  font-style: italic; font-size: 8.8cqw; line-height: 0.84; letter-spacing: -0.035em; white-space: nowrap;
  margin: 0.02em 0 0 -0.04em; padding: 0.06em 0.12em 0.04em 0;
  color: var(--gold-2);
  background: linear-gradient(176deg, #f1dcae 8%, #e0c38a 38%, #c9a36a 66%, rgba(201,163,106,0.72) 96%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(16,14,12,0.5));
}
:lang(ja) .gig-name { font-size: 2.3cqw; letter-spacing: 0.08em; }
:lang(en) .gig-name { font-size: 3cqw; letter-spacing: 0.02em; font-style: italic; }
:lang(ko) .gig-name { font-size: 2.6cqw; letter-spacing: 0.06em; }
.upcoming-body { position: relative; padding: 6px 44px 40px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 56px; align-items: start; }
.upcoming-body .meta { grid-row: 1 / span 2; margin-bottom: 0; }
.upcoming-body .note-sm { margin-top: 8px; font-size: 14px; line-height: 1.75; }
.meta { list-style: none; padding: 0; margin: 0 0 22px; }
.meta li { display: grid; grid-template-columns: 5.5em 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.meta li:last-child { border-bottom: 1px solid var(--line); }
.meta .k { color: var(--gold); font-size: 12px; letter-spacing: 0.12em; padding-top: 3px; }
.note-sm { color: var(--cream-mute); font-size: 13.5px; margin: 0 0 22px; }
.pill {
  display: inline-block; align-self: flex-start; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); padding: 4px 10px; border-radius: 999px; font-weight: 700;
}

/* ───────────── ABOUT ───────────── */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.about-copy p { color: var(--cream-dim); margin: 0 0 1.1em; }
.about-copy p.section-kicker { color: var(--gold); margin: 0 0 8px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-photos { display: grid; gap: 14px; }
.ph { border-radius: 18px; overflow: hidden; background: #15110e; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.tall { aspect-ratio: 4/5; }
.ph.wide { aspect-ratio: 16/10; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin: 72px 0 0; padding: 0; border-top: 1px solid var(--line);
}
.stat { padding: 28px 20px 0 0; }
.stat dt {
  font-family: var(--font-serif); font-weight: 500; line-height: 1;
  font-size: clamp(48px, 7.4vw, 96px); letter-spacing: -0.02em;
  color: var(--gold-2); font-variant-numeric: tabular-nums lining-nums;
  display: flex; align-items: baseline; gap: 6px; white-space: nowrap;
}
.stat dt small { font-family: var(--font-sans); font-size: 14px; letter-spacing: 0.1em; color: var(--gold); }
.stat dd { margin: 10px 0 0; color: var(--cream-dim); font-size: 14px; letter-spacing: 0.08em; }

/* pull quote */
.statement { padding: 72px 0 96px; }
.statement-stage { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; }
.statement-text {
  margin: 0; font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(30px, 5.4vw, 76px); line-height: 1.32; letter-spacing: 0.01em;
  max-width: 15.5em; color: var(--cream);
}

/* ───────────── ORIGINALS ───────────── */
.originals { background: #140f0e; }
.wave { display: flex; align-items: center; gap: 3px; height: 56px; margin: -8px 0 40px; max-width: 760px; }
.wave i {
  flex: 1 1 0; min-width: 1px; height: calc(var(--h, 0.5) * 100%); border-radius: 3px;
  background: linear-gradient(180deg, var(--gold-2), var(--rose)); opacity: 0.55;
}
.song-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.song {
  position: relative;
  display: grid; grid-template-columns: 168px 1fr; gap: 22px; align-items: center;
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; padding: 16px 18px 16px 16px;
}
.song-art { position: relative; background: #000; width: 168px; height: 168px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.song-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.song-body { padding: 4px 6px 4px 0; }
.song-body h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 500; margin: 0 0 4px; }
.song-body .sub { font-size: 12px; letter-spacing: 0.1em; color: var(--gold); margin: 0 0 10px; }
.song-body p { margin: 0; color: var(--cream-dim); font-size: 14.5px; }

/* ───────────── EVENTS (static = vertical list) ───────────── */
.hscroll-head { display: none; }
.hs-hint { display: none; } /* swipe hint only exists for the horizontal carousel */
.timeline { display: flex; flex-direction: column; gap: 22px; position: relative; width: min(var(--max), calc(100% - 56px)); margin: 0 auto; }
.event {
  position: relative;
  display: grid; grid-template-columns: 140px 1fr 280px; gap: 28px; align-items: stretch;
  border-top: 1px solid var(--line); padding-top: 22px;
}
.event-date { font-family: var(--font-serif); font-size: 22px; color: var(--gold-2); letter-spacing: 0.02em; padding-top: 4px; }
.event-date small { display: block; font-family: var(--font-sans); font-size: 12px; color: var(--cream-mute); letter-spacing: 0.08em; margin-top: 4px; }
.event-copy h3 { font-size: 22px; margin: 0 0 8px; font-family: var(--font-serif); font-weight: 500; }
.event-copy p { margin: 0 0 14px; color: var(--cream-dim); font-size: 14.5px; }
.xhs-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: 0.08em; color: var(--gold-2);
  border-bottom: 1px solid rgba(201,163,106,0.35);
}
.xhs-link:hover { border-bottom-color: var(--gold-2); }
.event-media { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #000; min-height: 180px; }
.event-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; aspect-ratio: 5/4; transition: transform 0.6s var(--ease-out); }
.event-media.is-video img { aspect-ratio: 16/11; }
.play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 55%);
}
.play-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(16,14,12,0.68); border: 1px solid rgba(243,234,217,0.45);
  display: grid; place-items: center;
  transition: 0.2s ease;
}
.event-media:hover .play-icon { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.play-icon svg { width: 18px; height: 18px; margin-left: 2px; fill: currentColor; }

/* inline video players */
.event.has-video { grid-template-columns: 140px 1fr 400px; }
.event.has-video.vertical-video { grid-template-columns: 140px 1fr 300px; }
.has-player video { display: block; width: 100%; height: 100%; aspect-ratio: 16/9; object-fit: contain; background: #000; }
.has-player.is-vertical video { aspect-ratio: 3/4; object-fit: cover; }
.has-player.playing video { object-fit: contain; }
.has-player .play { border: 0; padding: 0; margin: 0; cursor: pointer; color: var(--cream); width: 100%; font: inherit; }
.has-player:hover .play-icon, .has-player .play:focus-visible .play-icon { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.has-player.playing .play { display: none; }
.video-dur {
  position: absolute; right: 10px; bottom: 10px; font-size: 12px; letter-spacing: 0.06em;
  background: rgba(16,14,12,0.7); color: var(--cream); padding: 3px 8px; border-radius: 999px;
}

/* ───────────── MEMBERS ───────────── */
.members { background: linear-gradient(180deg, var(--ink) 0%, #15110f 100%); }
.member-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 18px; }
.member {
  position: relative;
  flex: 0 1 220px; max-width: 255px;
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0; text-align: center; overflow: hidden;
}
.member-photo {
  display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover;
  border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
  background: #1c1815; transform-origin: 50% 100%;
}
.member-body { position: relative; z-index: 1; background: var(--ink-2); padding: 14px 14px 18px; }
.member h3 { margin: 0; font-size: 18px; font-family: var(--font-serif); font-weight: 600; }
.member .role { display: block; margin-top: 4px; font-size: 12px; letter-spacing: 0.1em; color: var(--gold); }
.member .nick { display: block; margin-top: 2px; font-size: 14px; color: var(--cream-dim); letter-spacing: 0.06em; }
.member .note { margin: 8px 0 0; font-size: 12.5px; color: var(--cream-mute); }
.guest { margin: 14px auto 6px; text-align: center; color: var(--cream-dim); }
.guest-tag { display: block; font-size: 11px; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 12px; }
.guest-cards { display: flex; justify-content: center; align-items: flex-start; gap: 14px; }
.member.member-sm { flex: 0 1 150px; max-width: 150px; }
.member-sm .member-body { padding: 10px 10px 14px; }
.member-sm h3 { font-size: 16px; }
.member-sm .role { font-size: 11px; letter-spacing: 0.06em; }
.guest em { display: block; margin-top: 12px; font-style: normal; font-size: 12.5px; color: var(--cream-mute); }
.alumni { color: var(--cream-mute); font-size: 14px; margin: 8px 0 56px; text-align: center; }
.gallery-title { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 44px); font-weight: 500; margin: 0 0 8px; }
.gallery-note { color: var(--cream-mute); font-size: 13.5px; margin: 0 0 18px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.gallery img.wide { grid-column: span 2; aspect-ratio: 16/10; height: 100%; }

/* ───────────── FOOTER ───────────── */
footer { border-top: 1px solid var(--line); padding: 48px 0 36px; color: var(--cream-mute); background: var(--ink); }
.footer-eq { margin: 0 0 22px; opacity: 0.8; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; margin-bottom: 36px; }
.footer-brand .en { font-family: var(--font-serif); font-style: italic; font-size: clamp(40px, 6vw, 72px); color: var(--cream); line-height: 1; }
.footer-brand .zh { letter-spacing: 0.28em; font-size: 13px; margin: 8px 0 12px; }
footer h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.16em; color: var(--gold); font-weight: 600; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 0 0 6px; }
footer a:hover { color: var(--gold-2); }
.copy { border-top: 1px solid var(--line); padding-top: 18px; font-size: 12px; }

/* ───────────── RESPONSIVE (static design) ───────────── */
@media (max-width: 980px) {
  .about-grid, .song-grid, .event, .footer-grid { grid-template-columns: 1fr; }
  .upcoming-body { grid-template-columns: 1fr; grid-template-rows: none; }
  .upcoming-body .meta { grid-row: auto; margin-bottom: 22px; }
  .event-media { max-width: 100%; }
  .song { grid-template-columns: 140px 1fr; }
  .song-art { width: 140px; height: 140px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .member { flex: 0 1 calc(50% - 10px); max-width: none; }
  .about-photos { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .ph.wide, .ph.tall { aspect-ratio: 4/5; }
}
@media (min-width: 721px) and (max-width: 980px) {
  .event { grid-template-columns: 110px 1fr 220px; gap: 20px; }
  .event.has-video, .event.has-video.vertical-video { grid-template-columns: 110px 1fr 300px; }
}
@media (max-width: 720px) {
  :root { --nav-h: 56px; }
  .nav { padding: 0 14px 0 18px; }
  .wrap, .hero-inner, .statement-stage, .timeline { width: min(var(--max), calc(100% - 36px)); }
  section { padding: 72px 0; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(16,14,12,0.97); padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 8px; border-top: 1px solid var(--line); }
  .nav-cta { margin: 12px 0 0; text-align: center; justify-content: center; }
  .hero-stage { min-height: 92vh; padding-bottom: 56px; }
  .hero h1 { font-size: 64px; }
  .upcoming-card { border-radius: 22px; }
  /* small screens: the photo is too small to carry type — headline sits on the card
     above it and the photo's top edge dissolves into the card */
  .gig-type { position: relative; left: auto; top: auto; max-width: none; padding: 26px 22px 0; }
  .gig-top { gap: 10px; flex-wrap: wrap; white-space: normal; }
  .gig-top .pill { font-size: 10px; }
  .gig-venue { font-size: 15px; }
  .gig-venue::before { width: 14px; margin-right: 8px; }
  .gig-title { margin-top: 14px; }
  .gig-name, :lang(ja) .gig-name, :lang(en) .gig-name, :lang(ko) .gig-name { font-size: clamp(22px, 7.4cqw, 34px); white-space: normal; }
  :lang(ja) .gig-name, :lang(ko) .gig-name { font-size: clamp(20px, 6.2cqw, 30px); }
  .gig-date { font-size: clamp(84px, 30cqw, 150px); }
  .upcoming-poster { display: flex; flex-direction: column-reverse; }
  .upcoming-photo { margin-top: -4px; aspect-ratio: 16 / 9; }
  .upcoming-photo img { object-position: 42% 0; }
  .upcoming-photo::after {
    background:
      linear-gradient(180deg, var(--ink-2) 0%, rgba(26,23,20,0) 7%),
      linear-gradient(180deg, rgba(26,23,20,0) 70%, rgba(26,23,20,0.62) 90%, var(--ink-2) 100%);
  }
  .upcoming-body { padding: 28px 22px 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .stat { padding-bottom: 8px; }
  .song { grid-template-columns: 1fr; padding: 0 0 16px; gap: 0; }
  .song-art { width: 100%; height: auto; aspect-ratio: 16/10; border-radius: 0; }
  .song-body { padding: 16px 16px 4px; }
  .event { gap: 10px; }
  .event-date { font-size: 18px; }
  .event.has-video, .event.has-video.vertical-video { grid-template-columns: 1fr; }
  .has-player.is-vertical { max-width: 360px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img.wide { grid-column: span 2; }
  .footer-grid { gap: 24px; }
  .platforms { gap: 8px 14px; }
  .wave { height: 44px; gap: 2px; margin-bottom: 28px; }
}
@media (max-width: 520px) {
  .about-photos { grid-template-columns: 1fr; }
  .ph.wide { aspect-ratio: 16/10; }
  .ph.tall { aspect-ratio: 4/5; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 54px; }
}

/* mobile hero: seamless one-direction marquee so the whole band is visible.
   hero-tile.webp = band photo + a ~9% bridge of synthesized wall slats that
   blends the right edge into the left edge, so copies join without a visible seam. */
.hero-track { display: none; }
@keyframes hero-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-33.3333%, 0, 0); }
}
@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .hero-img { display: none; }
  .hero-track {
    display: flex; position: absolute; top: 0; left: 0; height: 100%;
    width: max-content;
    animation: hero-marquee 36s linear infinite;
    will-change: transform;
  }
  .hero-track span {
    flex: none; display: block; height: 100%;
    aspect-ratio: 1686 / 1024;
    background: url("img/hero-tile.webp") center / 100% 100% no-repeat;
  }
  /* nothing to animate once the hero has scrolled away */
  .motion .hero:not(.is-live) .hero-track { animation-play-state: paused; }
}

/* ═══════════════════════════════════════════════════════════════
   2. SCROLL-STORY LAYOUT  (html.motion)
   ═══════════════════════════════════════════════════════════════ */
.motion .nav-progress { display: block; }

/* ambient light: three fixed full-viewport washes cross-fading by opacity only */
.motion .ambient { display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.motion .amb, .motion .amb > i { position: absolute; inset: 0; display: block; }
.motion .amb { opacity: 0; will-change: opacity; }
/* a wash whose section is nowhere near the screen is not drawn at all (class set by motion.js) */
.amb-gate .amb:not(.on) { visibility: hidden; will-change: auto; }
.motion .amb-warm > i {
  background:
    radial-gradient(95% 70% at 50% -8%, rgba(236,172,88,0.46) 0%, rgba(168,88,30,0.24) 38%, rgba(60,28,10,0) 72%),
    radial-gradient(60% 50% at 100% 100%, rgba(196,120,70,0.16), transparent 70%),
    linear-gradient(180deg, #20150c 0%, #150f0b 100%);
}
.motion .amb-dusk > i {
  background:
    radial-gradient(80% 60% at 88% 6%, rgba(206,140,140,0.30), transparent 66%),
    radial-gradient(70% 60% at 0% 100%, rgba(124,72,116,0.26), transparent 70%),
    linear-gradient(180deg, #1a1016 0%, #120d11 100%);
}
.motion .amb-blue > i {
  background:
    radial-gradient(95% 70% at 50% -5%, rgba(64,104,204,0.42) 0%, rgba(30,52,120,0.22) 42%, transparent 74%),
    radial-gradient(60% 50% at 0% 100%, rgba(40,90,150,0.18), transparent 70%),
    linear-gradient(180deg, #0a1126 0%, #070a18 100%);
}
.motion .upcoming, .motion .originals, .motion .members { background: none; }

/* cursor "stage light" (desktop only, enabled by JS) */
.cursor-glow {
  position: absolute; left: -320px; top: -320px; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240,205,140,0.13), rgba(240,205,140,0.05) 45%, transparent 72%);
  opacity: 0; transition: opacity 0.6s ease; will-change: transform;
}
.cursor-glow.on { opacity: 1; }

/* hero: pinned stage */
.motion .hero { height: calc(var(--lvh) * 1.6); }
.motion .hero-stage {
  position: sticky; top: 0; height: var(--lvh); min-height: 0;
  padding-bottom: calc(var(--lvh) - var(--svh) + 72px);
  transform-origin: 50% 100%;
}
.motion .hero-inner { transform-origin: 0 100%; }
.motion .hero-cue {
  display: block; position: absolute; z-index: 1; right: 28px;
  bottom: calc(var(--lvh) - var(--svh) + 30px);
}
@keyframes intro-up { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@keyframes intro-photo { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
/* fill backwards only: the end state is the natural state, so a finished intro leaves no layer behind */
.motion .hero-inner > * { animation: intro-up 1s var(--ease-out) backwards; }
.motion .hero-inner > :nth-child(1) { animation-delay: 0.15s; }
.motion .hero-inner > :nth-child(2) { animation-delay: 0.25s; }
.motion .hero-inner > :nth-child(3) { animation-delay: 0.4s; }
.motion .hero-inner > :nth-child(4) { animation-delay: 0.52s; }
.motion .hero-inner > :nth-child(5) { animation-delay: 0.64s; }
.motion .hero-bg { animation: intro-photo 1.6s var(--ease-out) backwards; }

/* statement: characters light up.
   Wide screens: pinned for a short 60vh (a few wheel notches).
   Phones: not pinned at all — the quote scrolls past normally and lights up while it is fully
   in view, so there is no sticky stage to fight the collapsing browser toolbar. */
.motion .statement { padding: clamp(96px, 20vw, 150px) 0; }
.motion .statement-text { text-align: left; transform-origin: 50% 60%; }
@media (min-width: 721px) {
  .motion .statement { height: calc(var(--lvh) * 1.6); padding: 0; }
  .motion .statement-stage {
    position: sticky; top: 0; height: var(--lvh);
    padding: var(--nav-h) 0 calc(var(--lvh) - var(--svh));
    display: flex; align-items: center; justify-content: center;
  }
}

/* upcoming */
.motion .upcoming { padding-top: 24px; }

/* about photos drift at different speeds */
.ph.wide { --par: 28px; }
.ph.tall { --par: 64px; }
@media (max-width: 980px) { .ph.wide { --par: 14px; } .ph.tall { --par: 26px; } }

@media (min-width: 981px) and (min-height: 800px) {
  .sda .about-copy { position: sticky; top: calc(var(--nav-h) + 48px); }
}

/* originals: sticky stacked cards */
.song:nth-child(1) { --i: 0; --next: --song2; }
.song:nth-child(2) { --i: 1; --next: --song3; }
.song:nth-child(3) { --i: 2; --next: --song4; }
.song:nth-child(4) { --i: 3; }
.motion .song-grid { display: block; perspective: 1400px; }
.motion .song {
  --stick: calc(var(--nav-h) + 22px + var(--i) * 14px);
  grid-template-columns: minmax(220px, 34%) 1fr; gap: clamp(22px, 4vw, 56px);
  padding: 22px; border-radius: 26px; margin: 0 0 28px;
  background: #1b1716; box-shadow: 0 -18px 50px rgba(0,0,0,0.35);
  transform-origin: 50% 0;
}
.motion .song:last-child { margin-bottom: 0; }
.motion .song-art { width: 100%; height: auto; aspect-ratio: 1; border-radius: 16px; }
.motion .song-body { padding: 8px 18px 8px 0; }
.motion .song-body h3 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.1; margin-bottom: 8px; }
.motion .song-body .sub { font-size: 12.5px; margin-bottom: 16px; }
.motion .song-body p { font-size: clamp(14.5px, 1.25vw, 17px); max-width: 34em; }
.motion .song::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: #0a0708; opacity: 0; pointer-events: none;
}
@media (max-width: 720px) {
  .motion .song { grid-template-columns: 1fr; gap: 0; padding: 0 0 18px; border-radius: 22px; margin-bottom: 20px; }
  .motion .song-art { aspect-ratio: 16/9; border-radius: 0; }
  .motion .song-body { padding: 16px 18px 2px; }
  .motion .song-body h3 { font-size: 28px; }
  .motion .song-body .sub { margin-bottom: 10px; }
  .motion .song-body p { font-size: 14px; line-height: 1.65; }
}
/* .vh-tall is set by motion.js from the *large* viewport height (>= 700px). A (min-height) media
   query would flip on phones every time the browser toolbar collapses and re-layout the page. */
.motion.vh-tall .song { position: sticky; top: var(--stick); }

/* events: a native horizontal carousel (no pinning, no scroll-jacking).
   The page scrolls past it vertically like any other section; the cards scroll sideways with
   touch swipe, trackpad, shift+wheel, drag, the arrow buttons or the keyboard. */
.motion #events { padding-bottom: 72px; }
.motion .hscroll {
  --w: min(80vw, 460px);
  --gap: clamp(16px, 2.4vw, 36px);
  --pad: calc(50% - var(--w) / 2);
}
.motion .hscroll-stage { position: relative; }
.motion .hscroll-stage::before { /* rail */
  content: ""; position: absolute; left: 0; right: 0; top: 98px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(224,195,138,0.05), rgba(224,195,138,0.42) 12%, rgba(224,195,138,0.42) 88%, rgba(224,195,138,0.05));
}
.motion .hscroll-head {
  display: flex; align-items: center; gap: 16px; height: 44px;
  width: min(var(--max), calc(100% - 56px)); margin: 0 auto;
  font-size: 12px; letter-spacing: 0.14em; color: var(--cream-mute);
}
.hs-count { display: inline-flex; align-items: baseline; gap: 6px; }
.hs-count b { font-family: var(--font-serif); font-weight: 500; font-size: 30px; line-height: 1; color: var(--cream); font-variant-numeric: tabular-nums lining-nums; letter-spacing: 0; min-width: 1.1em; }
.hs-count em { font-style: normal; }
.hs-label { color: var(--gold-2); white-space: nowrap; min-width: 6.5em; }
.hs-bar { flex: 1; height: 1.5px; background: rgba(243,234,217,0.16); border-radius: 2px; overflow: hidden; }
.hs-bar i {
  display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform-origin: 0 50%; transform: scaleX(0.0769);
}
@keyframes tick { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
.hs-count b.tick, .hs-label.tick { animation: tick 0.35s var(--ease-out) both; }
.hs-count b.tick2, .hs-label.tick2 { animation: tick2 0.35s var(--ease-out) both; }
@keyframes tick2 { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
.hs-nav { display: inline-flex; gap: 8px; flex: none; }
.hs-btn {
  width: 42px; height: 42px; padding: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.04); color: var(--cream);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.hs-btn svg { width: 18px; height: 18px; display: block; }
.hs-btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.hs-btn:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.hs-btn:disabled { opacity: 0.32; cursor: default; }

.motion .timeline {
  flex-direction: row; align-items: stretch; gap: var(--gap);
  width: 100%; margin: 0; min-height: 0;
  padding: 74px var(--pad) 64px;
  margin-bottom: -40px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  outline: none;
}
.motion .timeline::-webkit-scrollbar { display: none; }
.motion .timeline::after { content: ""; flex: none; width: 1px; margin-left: -1px; } /* keeps the end padding scrollable in every engine */
.motion .timeline:focus-visible { box-shadow: inset 0 0 0 2px rgba(224,195,138,0.5); border-radius: 12px; }
.motion .timeline.is-hinting { scroll-snap-type: none; } /* snap must not fight the one-time nudge */
.motion .timeline.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; -webkit-user-select: none; }
.motion .timeline.is-dragging .event { pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .motion .timeline { cursor: grab; } }
/* one-time "swipe sideways" chip: overlays the foot of the photo row, never takes part in layout */
.motion .hs-hint {
  position: absolute; z-index: 3; left: 50%;
  top: calc(118px + clamp(180px, 34vw, 300px) - 50px); /* head 44 + timeline padding 74 + media height */
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px 0 12px;
  border: 1px solid rgba(224,195,138,0.4); border-radius: 999px;
  background: rgba(8, 12, 26, 0.8); color: var(--cream);
  font-size: 12px; line-height: 1; letter-spacing: 0.14em; white-space: nowrap;
  pointer-events: none; user-select: none; -webkit-user-select: none;
  opacity: 0; visibility: hidden; transform: translate3d(-50%, 8px, 0);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
}
.motion .hs-hint.is-on { opacity: 1; visibility: visible; transform: translate3d(-50%, 0, 0); transition-delay: 0s; }
.motion .hs-hint[hidden] { display: none; }
.hs-hint svg { flex: none; width: 22px; height: 22px; display: block; color: var(--gold-2); }
@keyframes hs-hint-sway { 0%, 100% { transform: translate3d(-3px, 0, 0); } 50% { transform: translate3d(3px, 0, 0); } }
@media (prefers-reduced-motion: no-preference) {
  .motion .hs-hint.is-on svg { animation: hs-hint-sway 1.05s ease-in-out 3; }
}
.motion .event {
  flex: none; width: var(--w);
  scroll-snap-align: center;
  display: flex; flex-direction: column; gap: 0;
  padding: 0; border: 1px solid rgba(243,234,217,0.1); border-radius: 24px;
  background: rgba(14, 20, 40, 0.62);
  box-shadow: 0 18px 40px rgba(2, 5, 16, 0.42);
  transform-origin: 50% -19px;
  opacity: 0.46; transform: scale(0.94);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.motion .event.is-active { opacity: 1; transform: none; }
.motion .event::before { /* dot on the rail */
  content: ""; position: absolute; left: 2px; top: -24px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold-2); box-shadow: 0 0 0 5px rgba(224,195,138,0.14);
}
.motion .event-date {
  position: absolute; left: 0; top: -55px; padding: 0 0 0 24px; white-space: nowrap;
  font-size: 21px; line-height: 1;
}
.motion .event-date small { display: inline; margin: 0 0 0 10px; }
.motion .event-media {
  order: 1; flex: none; min-height: 0; height: clamp(180px, 34vw, 300px);
  border-radius: 23px 23px 0 0;
}
.motion .event-media img, .motion .event-media video { height: 100%; aspect-ratio: auto; }
.motion .has-player.is-vertical { max-width: none; }
.motion .has-player.is-vertical video { object-position: center 30%; }
.motion .event-copy { order: 2; padding: 18px 22px 22px; min-height: 0; }
.motion .event-copy h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.25; }
.motion .event-copy p { font-size: 14px; line-height: 1.65; margin-bottom: 12px; }
@media (hover: hover) { .motion .event-media:not(.is-video):not(.is-slideshow):hover img { transform: scale(1.04); } }
@media (max-width: 720px) {
  .motion .hscroll-head { width: min(var(--max), calc(100% - 36px)); gap: 12px; }
  .motion .hs-label { min-width: 0; }
  .motion .event-copy { padding: 14px 18px 18px; }
  .motion .event-copy p { font-size: 13.5px; line-height: 1.6; }
  .motion .event-date { font-size: 19px; }
}

/* members: tilt + glare on desktop hover */
@media (hover: hover) and (pointer: fine) {
  .motion .member {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.5s var(--ease-out), border-color 0.3s ease;
  }
  .motion .member.tilting { transition: transform 0.08s linear, border-color 0.3s ease; border-color: rgba(224,195,138,0.4); }
  .motion .member::after {
    content: ""; position: absolute; z-index: 2; left: -60%; top: -60%; width: 120%; height: 120%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255,236,200,0.2), transparent 70%);
    transform: translate3d(var(--gx, 0px), var(--gy, 0px), 0);
    opacity: 0; transition: opacity 0.35s ease; pointer-events: none;
  }
  .motion .member.tilting::after { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   3. SCRUB PLUMBING
   .sd    — driven by the element's own view timeline
   .sd-in — driven by the nearest .tl ancestor (pinned sections)
   .sd-x  — driven by a named timeline elsewhere in the page (ambient light)
   --s / --e  : start / end of the animation inside the chosen range (0…1)
   .rg-*      : which range (cover is the default)
   ═══════════════════════════════════════════════════════════════ */
.sd, .sd-in, .sd-x { --s: 0; --e: 1; --rn: cover; --q: var(--p, 0); }
.rg-entry   { --rn: entry;   --q: var(--pe, 0); }
.rg-contain { --rn: contain; --q: var(--pc, 0); }
.rg-exit    { --rn: exit;    --q: var(--px, 0); }

/* native: CSS scroll-driven animations (compositor-driven) */
.sda .tl { view-timeline: --sec block; }
.sda .sd, .sda .sd-in, .sda .sd-x {
  animation-timing-function: var(--ease, linear);
  animation-fill-mode: both;
  animation-range: var(--rn) calc(var(--s) * 100%) var(--rn) calc(var(--e) * 100%);
}
.sda .sd    { animation-timeline: view(block); }
.sda .sd-in { animation-timeline: --sec; }
.sda body { timeline-scope: --warm, --dusk, --blue; }
.sda #act-warm  { view-timeline: --warm block; }
.sda #originals { view-timeline: --dusk block; }
.sda #events    { view-timeline: --blue block; }
.sda .amb-warm, .sda .amb-warm > i { animation-timeline: --warm; }
.sda .amb-dusk, .sda .amb-dusk > i { animation-timeline: --dusk; }
.sda .amb-blue, .sda .amb-blue > i { animation-timeline: --blue; }
.sda .nav-progress { animation: grow-x linear both; animation-timeline: scroll(root block); }

/* fallback: same keyframes, paused, scrubbed through a negative delay.
   motion.js writes --p / --pe / --pc / --px (range progress) once per frame. */
.sdf .sd, .sdf .sd-in, .sdf .sd-x {
  animation-duration: 1s;
  animation-timing-function: var(--ease, linear);
  animation-fill-mode: both;
  animation-play-state: paused;
  animation-delay: calc((var(--q) - var(--s)) / (var(--e) - var(--s)) * -1s);
}
.sdf .nav-progress { transform: scaleX(var(--p, 0)); }

/* ═══════════════════════════════════════════════════════════════
   4. CHOREOGRAPHY
   ═══════════════════════════════════════════════════════════════ */
@keyframes grow-x     { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade-in    { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out   { from { opacity: 1; } to { opacity: 0; } }
@keyframes rv-up      { from { opacity: 0; transform: translate3d(0, 44px, 0); } to { opacity: 1; transform: none; } }
@keyframes rv-x       { from { opacity: 0; transform: translate3d(-28px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes rv-title   { from { opacity: 0; transform: translate3d(0, 60px, 0) scale(1.28); } to { opacity: 1; transform: none; } }
@keyframes zoom-out   { from { transform: scale(1.28); } to { transform: scale(1); } }
@keyframes parallax   { from { transform: translate3d(0, var(--par, 40px), 0); } to { transform: translate3d(0, calc(var(--par, 40px) * -1), 0); } }
@keyframes hero-zoom  { from { transform: scale(1); } to { transform: scale(1.16); } }
@keyframes hero-shade { from { opacity: 1; } to { opacity: 0.3; } }
@keyframes hero-text  { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate3d(0, -14vh, 0) scale(1.14); } }
@keyframes hero-exit  { from { transform: none; } to { transform: scale(0.95); } }
@keyframes hero-dim   { from { opacity: 1; } to { opacity: 0.15; } }
@keyframes date-in    { from { opacity: 0; transform: translate3d(0, 24%, 0) scale(1.7); } to { opacity: 1; transform: none; } }
@keyframes card-rise  { from { opacity: 0; translate: 0 110px; scale: 0.9; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes quote-in   { from { opacity: 0; transform: translate3d(0, 12vh, 0) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes ch-lit     { from { opacity: 0.14; } to { opacity: 1; } }
@keyframes bar-on     { from { opacity: 0.2; transform: scaleY(0.3); } to { opacity: 1; transform: scaleY(1); } }
@keyframes song-in    { from { opacity: 0; transform: translate3d(0, 110px, 0) rotateX(12deg); } to { opacity: 1; transform: none; } }
@keyframes song-under { from { scale: 1; } to { scale: 0.93; } }
@keyframes song-shade { from { opacity: 0; } to { opacity: 0.55; } }
@keyframes member-in  { from { opacity: 0; translate: 0 80px; scale: 0.88; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes g-in       { from { opacity: 0; transform: translate3d(0, 60px, 0) scale(0.9); } to { opacity: 1; transform: none; } }

/* ambient: fade in while a section enters, fade out while it leaves */
.motion .amb     { animation-name: fade-in;  --s: 0.05; --e: 0.8; }
.motion .amb > i { animation-name: fade-out; --s: 0.45; --e: 1; }

/* generic reveals */
.motion .rv       { animation-name: rv-up;    --e: 0.2;  --ease: var(--ease-out); }
.motion .rv-x     { animation-name: rv-x;     --s: 0.02; --e: 0.2; --ease: var(--ease-out); }
.motion .rv-title { animation-name: rv-title; --e: 0.3;  --ease: var(--ease-out); }
.motion .zoom     { animation-name: zoom-out; --e: 0.55; --ease: var(--ease-out); }
.motion .par      { animation-name: parallax; }
.motion .stat:nth-child(2) { --s: 0.03; --e: 0.24; }
.motion .stat:nth-child(3) { --s: 0.06; --e: 0.28; }
.motion .stat:nth-child(4) { --s: 0.09; --e: 0.32; }

/* hero: transform / opacity only, each on its own layer.
   .is-live (set by motion.js while the hero is on or near the screen) pins the raster scale of the
   three scaled layers, so scaling never re-rasters the photo or the text; it is dropped off-screen. */
.motion .hero-zoom  { animation-name: hero-zoom, hero-dim; }
.motion .hero-dim   { animation-name: hero-dim; --e: 0.9; }
.motion .hero-shade { animation-name: hero-shade; --s: 0.05; --e: 0.7; }
.motion .hero-inner { animation-name: hero-text; --s: 0.04; --e: 0.62; }
.motion .hero-cue   { animation-name: fade-out; --e: 0.18; }
.motion .hero-stage { animation-name: hero-exit; --e: 0.9; }
.motion .hero.is-live .hero-stage,
.motion .hero.is-live .hero-shade,
.motion .hero.is-live .hero-cue   { will-change: transform; }
.motion .hero.is-live .hero-zoom,
.motion .hero.is-live .hero-inner { will-change: transform, opacity; }
/* exit fade: the photo and the shade each fade on their own layer (text and cue are already at 0).
   Fading the whole stage instead is a group opacity, which makes the compositor draw the hero into
   an off-screen full-viewport surface on every frame for as long as the hero is pinned. */
.sda .hero-zoom { animation-range: contain 0% contain 100%, exit 0% exit 90%; }
/* fallback engine: motion.js writes the hero's transform / opacity itself (no scrubbed animations,
   no inherited custom properties, so no per-frame style recalc of the hero subtree) */
.sdf .hero .sd-in { animation: none; }

/* upcoming */
/* photo settles from the top-left corner so the people only ever move away from the headline */
.motion .upcoming-photo img.zoom { animation-name: gig-zoom; }
@keyframes gig-zoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.motion .upcoming-card { animation-name: card-rise; --e: 0.24; --ease: var(--ease-out); }
/* pin the raster scale while the card is near the screen (class set by motion.js): the card, its
   photo and the photo's gradient overlay are scaled by the compositor instead of re-rastered */
.motion .upcoming-card.is-live { will-change: transform, opacity; }
.motion .upcoming-card.is-live .upcoming-photo img,
.motion .upcoming-card.is-live .upcoming-photo::after { will-change: transform; }

/* statement */
.motion .statement-text { animation-name: quote-in; --s: 0.25; --e: 1; --ease: var(--ease-out); }
.motion .statement-text .ch { animation-name: ch-lit; }

/* wave */

/* songs (own animation list: enter on own timeline, shrink under the next card's timeline) */
.motion .song { animation-name: song-in; animation-timing-function: var(--ease-out); animation-fill-mode: both; }
.sda .song { animation-timeline: view(block); animation-range: cover 0% cover 26%; }
.sdf .song, .sdf .song::after {
  animation-duration: 1s; animation-play-state: paused; animation-fill-mode: both;
  animation-delay: calc(var(--p, 0) / 0.26 * -1s);
}
.motion.vh-tall .song:not(:last-child) { animation-name: song-in, song-under; animation-timing-function: var(--ease-out), linear; }
.motion.vh-tall .song:not(:last-child)::after { animation-name: song-shade; animation-timing-function: linear; animation-fill-mode: both; }
.sda.vh-tall .song-grid { timeline-scope: --song2, --song3, --song4; }
.sda.vh-tall .song:nth-child(2) { view-timeline: --song2 block; }
.sda.vh-tall .song:nth-child(3) { view-timeline: --song3 block; }
.sda.vh-tall .song:nth-child(4) { view-timeline: --song4 block; }
.sda.vh-tall .song:not(:last-child) {
  animation-timeline: view(block), var(--next);
  animation-range-start: cover 0%, cover 0px;
  animation-range-end: cover 26%, cover calc(100vh - var(--stick) - 14px);
}
.sda.vh-tall .song:not(:last-child)::after {
  animation-timeline: var(--next);
  animation-range: cover 0px cover calc(100vh - var(--stick) - 14px);
}
.sdf.vh-tall .song:not(:last-child) { animation-delay: calc(var(--p, 0) / 0.26 * -1s), calc(var(--pu, 0) * -1s); }
.sdf.vh-tall .song:not(:last-child)::after { animation-delay: calc(var(--pu, 0) * -1s); }

/* members: staggered by column */
.motion .member { animation-name: member-in; --ease: var(--ease-out); --c: 0; --s: calc(var(--c) * 0.035); --e: calc(0.2 + var(--c) * 0.06); }
.motion .member-photo { --e: 0.5; }
.motion .member-grid .member:nth-child(4n + 2) { --c: 1; }
.motion .member-grid .member:nth-child(4n + 3) { --c: 2; }
.motion .member-grid .member:nth-child(4n + 4) { --c: 3; }
.motion .guest-cards .member:nth-child(2) { --c: 1; }
.motion .g-in { animation-name: g-in; --ease: var(--ease-out); --c: 0; --s: calc(var(--c) * 0.03); --e: calc(0.16 + var(--c) * 0.035); }
.motion .gallery .g-in:nth-child(4n + 2) { --c: 1; }
.motion .gallery .g-in:nth-child(4n + 3) { --c: 2; }
.motion .gallery .g-in:nth-child(4n + 4) { --c: 3; }
@media (max-width: 980px) {
  .motion .member-grid .member:nth-child(n) { --c: 0; }
  .motion .member-grid .member:nth-child(2n) { --c: 1; }
  .motion .gallery .g-in:nth-child(n) { --c: 0; }
  .motion .gallery .g-in:nth-child(2n) { --c: 1; }
}

/* print / very old browsers keep everything visible */
@media print {
  .sd, .sd-in, .sd-x, .song { animation: none !important; opacity: 1 !important; transform: none !important; }
}


/* ── merge: fonts, globe, covers, duo, theater, subtitles ── */
.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;
}
.nav-tools {
  display: flex; align-items: center; gap: 2px;
  flex: none; position: relative; z-index: 51;
  margin-left: 8px;
}
@media (min-width: 721px) {
  .nav-links { margin-left: auto; }
  .nav-tools { margin-left: 8px; }
}
@media (max-width: 720px) {
  .nav-tools { margin-left: auto; }
}

/* Full artwork on original covers — never crop title text */
.song-art,
.motion .song-art {
  height: auto;
  aspect-ratio: auto;
  background: #000;
}
.song-art img,
.motion .song-art img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 980px) {
  .song-art { height: auto; }
}
@media (max-width: 720px) {
  .song-art,
  .motion .song-art { width: 100%; height: auto; aspect-ratio: auto; }
}

/* Slideshow sits in the media column (static grid) and in the pinned timeline */
.event.has-slideshow { grid-template-columns: 140px 1fr minmax(260px, 420px); }
@media (min-width: 721px) and (max-width: 980px) {
  .event.has-slideshow { grid-template-columns: 110px 1fr 300px; }
}
@media (max-width: 720px) {
  .event.has-slideshow { grid-template-columns: 1fr; }
}
.duo-show {
  position: relative;
  width: 100%;
  padding: 8px;
  background: var(--ink-3);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
  outline: none;
}
.duo-show:focus-visible { box-shadow: 0 0 0 2px var(--gold-2), var(--shadow); }
.duo-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2; /* fixed frame: portrait stills are letterboxed, the card never changes size */
  border-radius: 10px;
  overflow: hidden;
  background: #0d0b0a;
  contain: layout paint;
}
/* `.duo-show .duo-slide` on purpose: it must outrank `.event-media img { transition: transform }`,
   which silently cancelled the old opacity fade (that was the hard cut).
   cross-fade + slow Ken Burns. Only opacity / transform / translate are animated. */
.duo-show { --duo-dir: 1; --duo-fade: 1.1s; }
.duo-show .duo-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  translate: calc(var(--duo-dir) * 3.5%) 0;
  transition: opacity var(--duo-fade) cubic-bezier(0.4, 0, 0.2, 1), translate var(--duo-fade) cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
  backface-visibility: hidden;
}
.duo-show .duo-slide.is-prep { transition: none; }
.duo-show .duo-slide.is-current { opacity: 1; translate: 0 0; z-index: 2; }
.duo-show .duo-slide.is-leaving { translate: calc(var(--duo-dir) * -3.5%) 0; z-index: 1; }
.duo-show .duo-slide.is-current, .duo-show .duo-slide.is-leaving { will-change: opacity, transform; }
@keyframes duo-kb-a { from { transform: scale(1.02) translate3d(-0.6%, 0.4%, 0); } to { transform: scale(1.085) translate3d(0.9%, -0.7%, 0); } }
@keyframes duo-kb-b { from { transform: scale(1.085) translate3d(0.9%, 0.6%, 0); } to { transform: scale(1.02) translate3d(-0.5%, -0.3%, 0); } }
@keyframes duo-kb-c { from { transform: scale(1.02) translate3d(0.7%, -0.4%, 0); } to { transform: scale(1.085) translate3d(-0.9%, 0.6%, 0); } }
@media (prefers-reduced-motion: no-preference) {
  .duo-show .duo-slide.is-current, .duo-show .duo-slide.is-leaving { animation: duo-kb-a 7.5s cubic-bezier(0.33, 0, 0.45, 1) both; }
  .duo-show .duo-slide:nth-child(3n + 2).is-current, .duo-show .duo-slide:nth-child(3n + 2).is-leaving { animation-name: duo-kb-b; }
  .duo-show .duo-slide:nth-child(3n).is-current, .duo-show .duo-slide:nth-child(3n).is-leaving { animation-name: duo-kb-c; }
  .duo-show.is-paused .duo-slide { animation-play-state: paused; }
}
.duo-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 40px; height: 40px; padding: 0; border: 0;
  border-radius: 50%;
  background: rgba(16, 14, 12, 0.66);
  color: var(--cream);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.duo-btn svg { width: 18px; height: 18px; display: block; }
.duo-btn:hover, .duo-btn:focus-visible { background: var(--gold); color: var(--ink); }
.duo-btn:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.duo-prev { left: 14px; }
.duo-next { right: 14px; }
/* dots: fixed 13px pitch; a gold pill glides between them (transform only) */
.duo-dots {
  position: absolute; left: 50%; bottom: 16px;
  z-index: 3;
  display: flex; justify-content: flex-start; align-items: center;
  flex-wrap: nowrap; gap: 0;
  transform: translateX(-50%);
  padding: 5px 8px; border-radius: 999px;
  background: rgba(16, 14, 12, 0.42);
}
.duo-dots button {
  position: relative;
  width: 13px; height: 14px; padding: 0; border: 0; background: none;
  cursor: pointer; flex: none;
}
.duo-dots button::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%; background: rgba(243, 234, 217, 0.5);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}
.duo-dots button:hover::before { transform: scale(1.3); }
.duo-dots button.is-on::before { opacity: 0; transform: scale(0.4); }
.duo-dots button:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 1px; border-radius: 4px; }
.duo-dot-pill {
  position: absolute; left: 8px; top: 50%; width: 13px; height: 6px; margin-top: -3px;
  pointer-events: none;
  transform: translate3d(calc(var(--duo-i, 0) * 13px), 0, 0);
  transition: transform 0.7s cubic-bezier(0.3, 0.9, 0.3, 1);
}
.duo-dot-pill::before {
  content: ""; position: absolute; left: -2px; right: -2px; top: 0; bottom: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}
@media (prefers-reduced-motion: reduce) {
  .duo-show { --duo-fade: 0.3s; }
  .duo-show .duo-slide, .duo-show .duo-slide.is-leaving { translate: none; }
  .duo-dot-pill, .duo-dots button::before { transition: none; }
}
@media (max-width: 720px) {
  .duo-btn { width: 44px; height: 44px; }
}
.motion .event-media.is-slideshow { overflow: hidden; background: var(--ink-3); }
.motion .event-media.is-slideshow .duo-show {
  height: 100%;
  box-shadow: none;
  border-radius: 23px 23px 0 0;
  border: 0;
}
.motion .event-media.is-slideshow .duo-viewport {
  height: calc(100% - 16px);
  aspect-ratio: auto;
}

/* Desktop in-page theater */
.theater-home { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.has-player.is-vertical .theater-home { aspect-ratio: 3 / 4; }
.theater-home video { width: 100%; height: 100%; }
button.theater-open {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  width: 38px; height: 38px; padding: 0; border: 0;
  border-radius: 50%;
  background: rgba(16, 14, 12, 0.62);
  color: var(--cream);
  cursor: pointer;
  display: none;
  place-items: center;
}
.has-player.playing button.theater-open { display: grid; }
button.theater-open:hover, button.theater-open:focus-visible { background: var(--gold); color: var(--ink); }
button.theater-open:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
button.theater-open svg { width: 18px; height: 18px; display: block; }
@media (max-width: 720px) {
  button.theater-open { display: none !important; }
}
.theater {
  position: fixed; inset: 0; z-index: 80;
  display: none;
  align-items: center; justify-content: center;
  padding: 40px 32px;
}
.theater.is-open { display: flex; }
body.theater-active { overflow: hidden; }
.theater-backdrop {
  position: absolute; inset: 0;
  background: rgba(16, 14, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.theater-stage {
  position: relative; z-index: 1;
  flex: 0 0 auto;
  width: var(--theater-w, 960px);
  height: var(--theater-h, 540px);
  max-width: calc(100vw - 64px);
  max-height: calc(100vh - 80px);
}
.theater-stage video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 14px;
  box-shadow: var(--shadow);
  object-fit: contain;
}
.theater-close {
  position: absolute; top: -14px; right: -14px; z-index: 2;
  width: 40px; height: 40px; padding: 0; border: 0;
  border-radius: 50%;
  background: var(--ink-2);
  color: var(--cream);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.theater-close:hover, .theater-close:focus-visible { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.theater-close:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.theater-close svg { width: 16px; height: 16px; display: block; }
@media (max-width: 720px) {
  .theater { display: none !important; }
}
@media (min-width: 721px) {
  .has-player video::-webkit-media-controls-fullscreen-button,
  .theater-stage video::-webkit-media-controls-fullscreen-button {
    display: none !important;
  }
}

/* Lyric CC toggle — sit left of the theater expand button on desktop */
.has-player .cc-toggle {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  margin: 0;
  padding: 4px 9px;
  border: 1px solid rgba(243,234,217,0.45);
  border-radius: 999px;
  background: rgba(16,14,12,0.7);
  color: var(--cream);
  font: 600 11px/1.2 var(--font-sans);
  letter-spacing: 0.08em;
  cursor: pointer;
}
.has-player.playing .cc-toggle { display: inline-flex; align-items: center; justify-content: center; }
.has-player .cc-toggle:hover,
.has-player .cc-toggle:focus-visible { border-color: var(--gold); color: var(--gold-2); }
.has-player .cc-toggle.is-on {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.has-player .cc-toggle:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
video::cue {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.35;
  color: var(--cream);
  background: rgba(16,14,12,0.72);
  text-shadow: 0 1px 2px rgba(0,0,0,0.55);
}
@media (max-width: 720px) {
  video::cue { font-size: 13px; }
  .has-player .cc-toggle { top: 8px; right: 8px; padding: 5px 10px; }
}
@media (min-width: 721px) {
  .has-player .cc-toggle { right: 54px; }
}

/* LANGUAGE SWITCHER — globe icon + dropdown */
.lang-menu { position: static; }
.lang-btn {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  padding: 0; border: 0; background: none;
  color: var(--cream-dim);
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
}
.lang-btn:hover, .lang-menu.open .lang-btn {
  color: var(--gold-2);
  background: rgba(243, 234, 217, 0.08);
}
.lang-btn:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}
.lang-btn svg { width: 22px; height: 22px; display: block; }
.lang-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 188px;
  padding: 6px;
  background: rgba(16, 14, 12, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
}
.lang-menu.open .lang-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
  .lang-panel {
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
}
.lang-panel a {
  display: flex; align-items: center;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: 12px;
  border: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--cream-dim);
  white-space: nowrap;
}
.lang-panel a:hover { color: var(--gold-2); background: rgba(243, 234, 217, 0.06); }
.lang-panel a.active {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}
.lang-panel a:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 1px;
}

html[lang="ja"] {
  --font-serif: "Cormorant Garamond", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif SC", serif;
  --font-sans: "Lora", "LXGW WenKai", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", serif;
}
html[lang="ko"] {
  --font-serif: "Cormorant Garamond", "Noto Serif KR", "AppleMyungjo", "Noto Serif SC", serif;
  --font-sans: "Lora", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
html[lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
html[lang="ja"] body, html[lang="en"] body { overflow-wrap: break-word; }

/* ── Released-singles listen player ── */
.listen { margin: 10px 0 52px; }
.listen-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(240px, 1fr) minmax(240px, 1.15fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
  padding: 28px 32px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 18% 45%, rgba(201,163,106,0.07), transparent 58%),
    #1b1716;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  overflow: hidden;
}
/* the "pulse" is a pre-painted glow whose opacity follows the music — no box-shadow / gradient
   repaint and no layout while a song plays (listen.js writes opacity + transform only) */
.listen-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background:
    radial-gradient(ellipse at 18% 45%, rgba(201,163,106,0.26), transparent 60%),
    radial-gradient(ellipse at 50% 120%, rgba(201,163,106,0.16), transparent 60%);
  transition: opacity 0.2s linear;
}
.listen-stage > :not(.listen-glow) { position: relative; }
.listen-viz-wrap {
  position: relative;
  width: 100%;
  height: auto;
  align-self: center;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.listen-halo {
  position: absolute;
  inset: -5%;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(224,195,138,0.2);
  transition: transform 0.2s linear;
}
.listen-halo::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid rgba(224,195,138,0.1);
}
.listen-halo-glow {
  position: absolute; inset: -9%; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, transparent 78%, rgba(224,195,138,0.5) 90%, transparent 100%);
  transition: opacity 0.2s linear;
}
.listen-disc { width: 78%; aspect-ratio: 1; position: relative; z-index: 1; }
.vinyl {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 50% 50%,
      transparent 29.5%,
      #0b0908 30%,
      #0b0908 31.5%,
      transparent 32%),
    repeating-radial-gradient(circle at 50% 50%,
      #161310 0 1px,
      #0e0c0a 1.5px 3px);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(243,234,217,0.1),
    inset 0 0 24px rgba(0,0,0,0.35);
  transform-origin: 50% 50%;
}
.vinyl-art {
  position: absolute;
  inset: 30%;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px #0c0a09, 0 2px 8px rgba(0,0,0,0.4);
}
.vinyl::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 7%; height: 7%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--gold-2), var(--gold) 55%, #8a6a38);
  box-shadow: 0 0 0 1px rgba(16,14,12,0.6);
  z-index: 2;
}
.vinyl::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(125deg, rgba(243,234,217,0.22) 0%, transparent 36%, transparent 62%, rgba(0,0,0,0.28) 100%);
  pointer-events: none;
  z-index: 3;
}
.listen.is-playing:not(.is-reduced) .vinyl {
  animation: listen-spin 9s linear infinite;
}
@keyframes listen-spin { to { transform: rotate(360deg); } }

.listen-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.listen-now {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
}
.listen-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 4px;
}
.listen-sub {
  margin: 0 0 18px;
  color: var(--cream-mute);
  letter-spacing: 0.08em;
  font-size: 13px;
}
.listen-seek-wrap { margin: 2px 0 10px; }
.listen-seek {
  display: flex;
  align-items: center;
  width: 100%;
  height: 28px;
  cursor: pointer;
  touch-action: none;
  outline: none;
  border-radius: 999px;
  --listen-prog: 0;
}
.listen-seek:focus-visible { box-shadow: 0 0 0 2px var(--gold-2); }
.listen-seek-track {
  position: relative;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: rgba(243,234,217,0.22);
}
.listen-seek-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform-origin: 0 50%;
  transform: scaleX(var(--listen-prog, 0));
}
/* the handle is a full-width rail moved by translateX(%), so progress never touches layout */
.listen-seek-handle {
  position: absolute;
  left: 0; top: 50%; width: 100%; height: 0;
  pointer-events: none;
  transform: translate3d(calc(var(--listen-prog, 0) * 100%), 0, 0);
}
.listen-seek-handle::before {
  content: "";
  position: absolute; left: -6px; top: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow:
    0 0 0 3px #1b1716,
    0 1px 4px rgba(0,0,0,0.35),
    0 0 12px rgba(201,163,106,0.4);
  transition: transform 0.15s ease;
}
.listen-seek.is-seeking .listen-seek-handle::before,
.listen-seek:active .listen-seek-handle::before {
  transform: scale(1.18);
}
.listen-ctrl {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.listen-play {
  width: 56px; height: 56px; padding: 0; border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(201,163,106,0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}
.listen-play:hover { background: var(--gold-2); }
.listen-play:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.listen-play svg { width: 22px; height: 22px; display: block; fill: currentColor; }
.listen-play .icon-pause { display: none; }
.listen-play.is-playing .icon-play { display: none; }
.listen-play.is-playing .icon-pause { display: block; }
.listen-time {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  white-space: nowrap; line-height: 1.4;
  min-width: 7.5em;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
  font-size: 14px;
}
.listen-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.listen-track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(243,234,217,0.03);
  color: inherit;
  cursor: pointer;
  text-align: left;
  min-height: 56px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.listen-track:hover { border-color: var(--line-strong); background: rgba(243,234,217,0.06); }
.listen-track.is-current {
  border-color: var(--gold);
  background: rgba(201,163,106,0.1);
}
.listen-track:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.listen-track img {
  width: 40px; height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
  background: #000;
}
.listen-track > span { min-width: 0; }
.listen-track b {
  display: block;
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.3;
}
.listen-track small {
  display: block;
  color: var(--cream-mute);
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.song-play {
  margin-top: 16px;
  width: 42px; height: 42px; padding: 0; border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  display: inline-grid; place-items: center;
  vertical-align: middle;
  transition: background 0.2s ease, transform 0.2s ease;
}
.song-play:hover { background: var(--gold-2); }
.song-play:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.song-play svg { width: 16px; height: 16px; display: block; fill: currentColor; }
.song-play .icon-pause { display: none; }
.song-play.is-playing .icon-play { display: none; }
.song-play.is-playing .icon-pause { display: block; }


.listen-main { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.listen-lyrics {
  position: relative;
  min-width: 0;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}
.listen-lyrics-head { margin: 0 0 6px; }
.listen-lyrics-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.listen-lyrics-note {
  margin: 4px 0 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--cream-mute);
}
.listen-lyrics-view {
  position: relative;
  flex: none;
  height: 380px; /* fixed: the panel can never grow or shrink while a song plays */
  overflow: hidden;
  contain: layout paint;
  mask-image: linear-gradient(to bottom, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
  cursor: grab;
  touch-action: none; /* dragging the lyrics scrubs the song; it never scrolls the page */
  user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.listen-lyrics.is-scrubbing .listen-lyrics-view { cursor: grabbing; }
/* the list is moved with transform (never scrollTop / scrollIntoView) */
.listen-lyrics-list {
  position: absolute; left: 0; right: 0; top: 0;
  transform: translate3d(0, var(--ly, 0px), 0);
  transition: transform 0.6s cubic-bezier(0.25, 0.7, 0.25, 1);
  will-change: transform;
}
.listen-lyrics.is-scrubbing .listen-lyrics-list,
.listen-lyrics.is-instant .listen-lyrics-list,
.listen.is-reduced .listen-lyrics-list { transition: none; }
.listen-lyric-break { height: 18px; }
/* every line is laid out at its "active" size and scaled DOWN while inactive, so highlighting a
   line changes only colour + transform — line heights and wraps stay exactly the same */
.listen-lyric {
  display: block;
  width: 100%;
  margin: 0;
  padding: 6px 8px 6px 0;
  border: 0;
  background: none;
  color: rgba(243,234,217,0.30);
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.9vw, 25px);
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  white-space: pre-wrap;
  transform-origin: 0 50%;
  transform: scale(0.8);
  transition: color 0.35s ease, transform 0.45s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.listen-lyric .tx, .listen-lyric .tr { display: block; pointer-events: none; }
.listen-lyric .tr {
  margin-top: 2px;
  font-family: var(--font-sans);
  font-size: 0.66em;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.72;
  white-space: pre-wrap;
}
.listen-lyric.is-past { color: rgba(243,234,217,0.42); }
.listen-lyric.is-current { color: #f3ead9; transform: none; }
.listen-lyric.is-target { color: var(--gold-2); }
.listen-lyric:focus-visible { outline: 2px solid var(--gold-2); outline-offset: -2px; border-radius: 4px; }
/* credits shown during the instrumental intro */
.listen-lyric.is-credit {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.3vw, 17px);
  letter-spacing: 0.02em;
  padding: 4px 8px 4px 0;
  transform: scale(0.9);
}
.listen-lyric.is-credit.is-current { transform: none; }
.listen-lyric.is-credit .tx { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.7em; }
.listen-lyric.is-credit .pt { font-size: 0.82em; letter-spacing: 0.08em; opacity: 0.62; }
.listen-lyric.is-credit .pt::before { content: "—"; margin-right: 0.7em; opacity: 0.6; }
.listen-lyric.is-credit-head {
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(201,163,106,0.6);
  padding: 16px 8px 4px 0;
  transform: none;
}
.listen-lyric.is-credit-head:first-child { padding-top: 4px; }
.listen-lyric.is-credit-head.is-past { color: rgba(201,163,106,0.6); }
.listen-lyric.is-credit-head.is-current, .listen-lyric.is-credit-head.is-target { color: var(--gold-2); }
.listen-credit-end { height: 34px; position: relative; }
.listen-credit-end::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 34px; height: 1px; background: rgba(201,163,106,0.4);
}
.listen-lyrics-coming {
  margin: 48px 0;
  color: var(--cream-mute);
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.5;
}
.listen-lyrics-scrub {
  position: absolute;
  left: 0; right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.listen-lyrics-scrub time {
  flex: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: var(--gold-2);
  background: #1b1716;
  padding: 1px 0 1px 0;
  min-width: 2.6em;
}
.listen-lyrics-scrub::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(224,195,138,0.55), rgba(224,195,138,0));
}
.listen-lyrics.is-scrubbing .listen-lyrics-scrub { display: flex; }
.listen-lyrics-scrub[hidden] { display: none !important; }

@media (max-width: 1100px) {
  .listen-stage {
    grid-template-columns: minmax(180px, 220px) 1fr;
    align-items: center;
  }
  .listen-lyrics {
    grid-column: 1 / -1;
    min-height: 260px;
  }
  .listen-lyrics-view { height: 320px; }
}
@media (max-width: 720px) {
  .listen { margin: 4px 0 36px; }
  .listen-stage {
    grid-template-columns: 1fr;
    padding: 22px 18px 22px;
    gap: 8px;
    border-radius: 22px;
    justify-items: center;
  }
  .listen-viz-wrap { width: min(220px, 70vw); }
  .listen-main { width: 100%; }
  .listen-lyrics { width: 100%; min-height: 250px; }
  .listen-lyrics-view { height: 280px; }
  .listen-title { font-size: 28px; }
  .listen-tracks { grid-template-columns: 1fr; }
  .listen-lyric { font-size: 21px; }
  .listen-lyric.is-credit { font-size: 15px; }
  .listen-lyric.is-credit-head { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .listen.is-playing .vinyl { animation: none; }
  .listen-glow, .listen-halo-glow { display: none; }
  .listen-halo { transform: none !important; transition: none; }
  .listen-lyric, .listen-lyrics-list { transition: none; }
}

/* ── email contact ── */
.ico-mail { width: 16px; height: 16px; flex: none; display: block; }
/* phones: gig card actions = primary on its own row, the two contact buttons as equal halves */
@media (max-width: 560px) {
  .upcoming-body .btn-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: stretch; }
  .upcoming-body .btn-row .btn { justify-content: center; min-height: 46px; padding: 10px 12px; text-align: center; line-height: 1.25; }
  .upcoming-body .btn-row .btn-solid { grid-column: 1 / -1; }
}
/* wider screens: 中文 fits on one line and stays as it was; the longer en / ja / ko labels used to
   wrap the email button onto a row of its own, so they get the same two-row arrangement */
@media (min-width: 561px) {
  :lang(en) .upcoming-body .btn-row, :lang(ja) .upcoming-body .btn-row, :lang(ko) .upcoming-body .btn-row {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; max-width: 420px;
  }
  :lang(en) .upcoming-body .btn-row .btn, :lang(ja) .upcoming-body .btn-row .btn, :lang(ko) .upcoming-body .btn-row .btn { justify-content: center; text-align: center; }
  :lang(en) .upcoming-body .btn-row .btn-solid, :lang(ja) .upcoming-body .btn-row .btn-solid, :lang(ko) .upcoming-body .btn-row .btn-solid { grid-column: 1 / -1; }
}
.footer-mail, .footer-mail-link { display: inline-flex; align-items: center; gap: 8px; }
.footer-mail {
  margin-top: 4px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--cream); font-size: 14px; letter-spacing: 0.03em;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.footer-mail:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(201,163,106,0.08); }
.footer-mail .ico-mail, .footer-mail-link .ico-mail { color: var(--gold-2); }
.footer-mail span, .footer-mail-link span { overflow-wrap: anywhere; }
.footer-brand p { margin: 0 0 14px; }

/* ── originals wave: two layers instead of one animated layer per bar ── */
.wave { position: relative; }
.wave-dim, .wave-lit, .wave-lit > span { display: flex; align-items: center; gap: inherit; height: 100%; }
.wave-dim { width: 100%; opacity: 0.28; }
.wave-lit, .wave-lit > span { position: absolute; inset: 0; }
.wave-lit { overflow: hidden; display: none; }
.motion .wave-lit { display: flex; }
.wave .wave-dim i, .wave .wave-lit i { opacity: 1; }
:root:not(.motion) .wave-dim { opacity: 0.55; }
@keyframes wave-clip  { from { transform: translate3d(-100%, 0, 0); } to { transform: none; } }
@keyframes wave-unclip { from { transform: translate3d(100%, 0, 0); } to { transform: none; } }
.motion .wave-lit { animation-name: wave-clip; --s: 0.12; --e: 0.6; }
.motion .wave-lit > span { animation-name: wave-unclip; --s: 0.12; --e: 0.6; }

/* ── now-playing chip in the nav ── */
.np {
  display: inline-flex; align-items: center; gap: 9px;
  height: 34px; padding: 0 12px 0 11px; margin-right: 4px;
  border: 1px solid rgba(201,163,106,0.45); border-radius: 999px;
  background: rgba(201,163,106,0.08); color: var(--gold-2);
  font: 500 12px/1 var(--font-sans); letter-spacing: 0.04em;
  cursor: pointer; max-width: 220px;
  opacity: 0; transform: translate3d(0, -4px, 0) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out), background 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.np[hidden] { display: none; }
.np.is-on { opacity: 1; transform: none; }
.np:hover { background: rgba(201,163,106,0.18); border-color: var(--gold); }
.np:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.np-bars { display: inline-flex; align-items: center; gap: 2.5px; height: 14px; flex: none; }
.np-bars i {
  display: block; width: 2.5px; height: 100%; border-radius: 2px; background: currentColor;
  transform: scaleY(0.45); transform-origin: 50% 50%;
}
.np-bars i:nth-child(2) { transform: scaleY(0.85); }
.np-bars i:nth-child(3) { transform: scaleY(0.6); }
.np-bars i:nth-child(4) { transform: scaleY(1); }
.np-bars i:nth-child(5) { transform: scaleY(0.5); }
.np-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .np.is-on:not(.is-live) .np-bars i { animation: eq-bounce 0.9s ease-in-out infinite alternate; }
  .np.is-on:not(.is-live) .np-bars i:nth-child(2) { animation-duration: 0.7s; animation-delay: -0.3s; }
  .np.is-on:not(.is-live) .np-bars i:nth-child(3) { animation-duration: 1.1s; animation-delay: -0.6s; }
  .np.is-on:not(.is-live) .np-bars i:nth-child(4) { animation-duration: 0.8s; animation-delay: -0.2s; }
  .np.is-on:not(.is-live) .np-bars i:nth-child(5) { animation-duration: 1s; animation-delay: -0.5s; }
  .np.is-live .np-bars i { transition: transform 0.09s linear; }
}
@media (max-width: 980px) { .np { max-width: 170px; } }
@media (max-width: 560px) {
  .np { padding: 0 11px; margin-right: 0; }
  .np-label { display: none; }
}

/* landscape video cards: the media box hugs the 16:9 player (no black strip under it) */
.motion .event-media.has-player:not(.is-vertical) { height: auto; }

/* waveform reacting to the player */
.wave i { transform-origin: 50% 50%; transition: transform 0.5s ease; }
.wave.is-live i { transition: none; will-change: transform; }
.wave.is-live .wave-dim { opacity: 0.4; }
.timeline .event:not(.is-active) { cursor: pointer; }

/* coffee-shop videos: a two-up video column under the summer gallery (sibling of .gallery) */
.gallery + .cafe-title { margin-top: 72px; }
.cafe-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.cafe-card {
  display: flex; flex-direction: column; min-width: 0;
  border: 1px solid rgba(243,234,217,0.1); border-radius: 24px; overflow: hidden;
  background: rgba(14, 20, 40, 0.62);
  box-shadow: 0 18px 40px rgba(2, 5, 16, 0.42);
}
.cafe-card .event-media, .motion .cafe-card .event-media {
  flex: none; order: 0; height: auto; min-height: 0; border-radius: 0;
}
.cafe-copy { padding: 18px 22px 22px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.cafe-meta { font-family: var(--font-serif); font-size: 17px; line-height: 1; color: var(--gold-2); letter-spacing: 0.02em; margin: 0 0 10px; }
.cafe-meta small { font-family: var(--font-sans); font-size: 12px; color: var(--cream-mute); letter-spacing: 0.08em; margin-left: 10px; }
.cafe-copy h4 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(21px, 2vw, 26px); line-height: 1.25; margin: 0 0 8px; }
.cafe-copy p { margin: 0 0 14px; color: var(--cream-dim); font-size: 14px; line-height: 1.65; }
.cafe-copy .xhs-link { margin-top: auto; }
.motion .cafe-videos .g-in:nth-child(2) { --c: 1; }
@media (max-width: 720px) {
  .gallery + .cafe-title { margin-top: 52px; }
  .cafe-videos { grid-template-columns: 1fr; gap: 16px; }
  .cafe-copy { padding: 14px 18px 18px; }
  .cafe-copy p { font-size: 13.5px; line-height: 1.6; }
  .motion .cafe-videos .g-in:nth-child(n) { --c: 0; }
}
