/* ============================================================
   BLUEPRINT JAZZ ORCHESTRA — demo site
   Metaphor: the whole site is one live set (setlist M1–M6 + Encore)
   Palette: stage black / ivory paper / brass amber / vermilion(朱) 5%
   ============================================================ */

:root {
  --black: #0e0d0b;
  --black-2: #171410;
  --black-3: #201b14;
  --ivory: #f2ebdd;
  --ivory-dim: #c9c0ac;
  --brass: #d4a857;
  --brass-dim: #8a713f;
  --shu: #e4502e;
  --hairline: rgba(212, 168, 87, 0.22);
  --f-display: "Fraunces", serif;
  --f-mincho: "Shippori Mincho B1", serif;
  --f-body: "Zen Kaku Gothic New", sans-serif;
  --f-mono: "IBM Plex Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 200;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 3%); }
  40% { transform: translate(3%, -2%); }
  60% { transform: translate(-3%, -3%); }
  80% { transform: translate(2%, 2%); }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--brass); color: var(--black); }

/* ============ LOADER ============ */
.loader { position: fixed; inset: 0; z-index: 900; }
.loader-curtain { position: absolute; top: 0; bottom: 0; width: 50.5%; background: #0b0a08; }
.loader-curtain--l { left: 0; }
.loader-curtain--r { right: 0; }
.loader-inner {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
}
.loader-tuning { text-align: center; color: var(--brass); }
.loader-note { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.3em; display: block; }
.loader-wave { width: 180px; height: 36px; margin: 10px auto 6px; color: var(--brass); opacity: 0.8; }
#tuningWave { animation: tuningPulse 0.8s ease-in-out infinite; transform-origin: center; }
@keyframes tuningPulse { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
.loader-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.5em; color: var(--ivory-dim); }
.loader-count {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 900; font-style: italic;
  font-size: clamp(80px, 18vw, 200px); color: var(--ivory);
  visibility: hidden;
}

/* ============ FIXED CHROME ============ */
.demo-badge {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 300;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--brass);
  border: 1px solid var(--hairline);
  background: rgba(14, 13, 11, 0.72);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  white-space: nowrap;
}
.demo-badge-sub { color: var(--ivory-dim); margin-left: 0.8em; }

.staff-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 13px; z-index: 290;
  pointer-events: none; opacity: 0.9;
}
.staff-progress > span {
  display: block; height: 1px; background: var(--hairline);
  margin-top: 2px; opacity: 0.55;
}
.staff-note {
  position: absolute; top: -6px; left: 0;
  font-size: 17px; color: var(--brass); line-height: 1;
  transform: translateX(-50%);
  text-shadow: 0 0 8px rgba(212, 168, 87, 0.6);
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 280;
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 34px 0;
  mix-blend-mode: normal;
}
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand-mark {
  font-family: var(--f-display); font-weight: 900; font-style: italic;
  font-size: 22px; color: var(--brass);
  border: 1.5px solid var(--brass); padding: 1px 7px;
}
.brand-name { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.28em; color: var(--ivory-dim); }

.setlist-toggle { display: none; align-items: center; gap: 10px; padding: 8px 0; }
.setlist-toggle-line { width: 28px; height: 1px; background: var(--brass); display: block; position: relative; }
.setlist-toggle-line::after { content: ""; position: absolute; top: 6px; left: 0; width: 18px; height: 1px; background: var(--brass); }
.setlist-toggle-text { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.3em; color: var(--ivory-dim); }

.setlist-nav {
  position: fixed; right: 30px; top: 50%; transform: translateY(-50%);
  z-index: 270; display: flex; flex-direction: column; gap: 13px;
}
.setlist-nav-head { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.3em; color: var(--brass-dim); margin-bottom: 4px; }
.setlist-nav a {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--ivory-dim); display: flex; align-items: baseline; gap: 8px;
  opacity: 0.85; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
  transition: opacity 0.3s, color 0.3s, transform 0.3s;
}
.setlist-nav a em { font-style: normal; color: var(--brass-dim); font-size: 9px; width: 18px; transition: color 0.3s; }
.setlist-nav a:hover, .setlist-nav a.is-active { opacity: 1; color: var(--ivory); transform: translateX(-4px); }
.setlist-nav a.is-active em { color: var(--shu); }

.setlist-overlay {
  position: fixed; inset: 0; z-index: 350; background: rgba(11, 10, 8, 0.97);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 12vw; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.setlist-overlay.is-open { opacity: 1; visibility: visible; }
.setlist-overlay-head { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.5em; color: var(--brass); margin-bottom: 26px; }
.setlist-overlay a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 13px 0; border-bottom: 1px solid rgba(212, 168, 87, 0.14);
}
.setlist-overlay a em { font-family: var(--f-mono); font-style: normal; font-size: 11px; color: var(--shu); width: 26px; }
.setlist-overlay a span { font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 6vw, 34px); line-height: 1.2; color: var(--ivory); }
.setlist-overlay a span small { display: block; font-family: var(--f-body); font-size: 11px; color: var(--ivory-dim); letter-spacing: 0.1em; }

/* custom cursor */
.cursor, .cursor-spot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 950; }
.cursor {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brass);
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, opacity 0.25s;
}
.cursor.is-link { width: 40px; height: 40px; background: transparent; border: 1px solid var(--brass); opacity: 0.9; }
.cursor-spot {
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 87, 0.09) 0%, transparent 62%);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}
@media (hover: none), (max-width: 900px) { .cursor, .cursor-spot { display: none; } }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100svh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  transform: scale(1.18);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 13, 11, 0.55) 0%, rgba(14, 13, 11, 0.15) 40%, rgba(14, 13, 11, 0.82) 100%),
    linear-gradient(90deg, rgba(14, 13, 11, 0.62) 0%, transparent 55%);
}
.hero-dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero-frame {
  position: relative; z-index: 3;
  padding: max(21vh, 150px) 0 0 max(6vw, 34px);
}
.hero-overline {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.42em;
  color: var(--brass); margin-bottom: 3vh;
}
.hero-title { font-family: var(--f-display); font-weight: 900; line-height: 0.88; }
.hero-line { display: block; font-size: clamp(64px, 13.5vw, 176px); letter-spacing: -0.015em; }
.hero-line--indent { margin-left: clamp(40px, 8vw, 130px); color: var(--brass); font-style: italic; }
.hero-line--sub {
  font-size: clamp(20px, 3.4vw, 42px); font-weight: 600; font-style: italic;
  letter-spacing: 0.14em; margin-top: 2.4vh; color: var(--ivory);
}
.hero-copy { font-family: var(--f-mincho); font-size: clamp(15px, 1.7vw, 20px); font-weight: 700; margin-top: 4.5vh; letter-spacing: 0.08em; }
.hero-meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ivory-dim); margin-top: 1vh; }

.hero-vertical {
  position: absolute; z-index: 3; top: 17vh; right: clamp(240px, 22vw, 380px);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
  writing-mode: vertical-rl;
  font-family: var(--f-mincho); font-weight: 700;
  font-size: clamp(14px, 1.5vw, 19px); letter-spacing: 0.42em;
  color: var(--brass);
}
.hero-scroll {
  position: absolute; z-index: 3; bottom: 76px; left: auto; right: max(6vw, 34px);
  display: flex; align-items: flex-end; gap: 14px;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.32em; color: var(--ivory-dim);
}
.hero-scroll svg { width: 14px; height: 44px; color: var(--brass); animation: scrollBob 2.2s ease-in-out infinite; }
@keyframes scrollBob { 0%, 100% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(8px); opacity: 0.5; } }

.marquee { overflow: hidden; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.marquee-track {
  display: flex; white-space: nowrap; width: max-content;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.24em; color: var(--brass);
  padding: 11px 0;
  animation: marquee 28s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.hero-marquee { position: absolute; z-index: 4; bottom: 0; left: 0; right: 0; background: rgba(14, 13, 11, 0.55); backdrop-filter: blur(4px); }

/* ============ SECTIONS (shared) ============ */
.section { position: relative; padding: clamp(90px, 13vh, 150px) max(6vw, 34px); }
.sec-head {
  display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 26px; margin-bottom: clamp(44px, 6vh, 70px);
  max-width: 1280px; margin-left: auto; margin-right: auto;
}
.sec-no {
  font-family: var(--f-mono); font-size: 13px; color: var(--brass);
  border: 1px solid var(--brass); padding: 3px 9px;
}
.sec-title {
  font-family: var(--f-display); font-weight: 700; font-style: italic;
  font-size: clamp(38px, 6vw, 72px); line-height: 1; letter-spacing: -0.01em;
}
.sec-ja { font-family: var(--f-mincho); font-size: 13px; color: var(--ivory-dim); letter-spacing: 0.22em; }

/* split reveal primitives */
.char { display: inline-block; }
.line-mask { display: block; overflow: hidden; }
.line-mask > span { display: block; }

.reveal-mask { position: relative; overflow: hidden; }
.reveal-mask img { transform: scale(1.12); }
.reveal-mask::after { content: ""; position: absolute; inset: 0; background: var(--black); transform-origin: right; }

/* ============ M1 ============ */
.m1-grid {
  display: grid; grid-template-columns: 6.5fr 5.5fr; gap: clamp(40px, 6vw, 90px);
  max-width: 1280px; margin: 0 auto; align-items: start;
}
.m1-lead {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: clamp(22px, 3vw, 34px); line-height: 2; letter-spacing: 0.05em;
  margin-bottom: 4vh;
}
.m1-body { max-width: 34em; color: var(--ivory-dim); margin-bottom: 5vh; }
.m1-quote { border-left: 2px solid var(--brass); padding-left: 26px; }
.m1-quote p {
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: clamp(18px, 2.2vw, 26px); line-height: 1.7; color: var(--brass);
}
.m1-photo { margin-top: 1vh; }
.m1-photo figcaption { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--ivory-dim); margin-top: 12px; }

.m1-history { max-width: 1280px; margin: clamp(70px, 10vh, 110px) auto 0; }
.m1-history-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.3em; color: var(--brass-dim); margin-bottom: 30px; }
.marks {
  list-style: none; display: grid;
  grid-template-columns: repeat(6, 1fr); gap: 18px;
  position: relative;
}
.marks::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 1px; background: var(--hairline); }
.marks li { position: relative; padding-top: 46px; }
.marks li em {
  position: absolute; top: 0; left: 0;
  font-family: var(--f-mono); font-style: normal; font-size: 13px;
  color: var(--brass); background: var(--black);
  border: 1px solid var(--brass); width: 30px; height: 30px;
  display: grid; place-items: center;
}
.marks li strong { font-family: var(--f-display); font-weight: 700; font-size: 21px; display: block; line-height: 1.3; }
.marks li span { font-size: 12px; color: var(--ivory-dim); line-height: 1.7; display: block; margin-top: 4px; }

/* ============ M2 ============ */
.m2 { background: var(--black-2); }
.m2-next { max-width: 1280px; margin: 0 auto; }
.m2-next-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.3em; color: var(--shu); margin-bottom: 24px; }
.ticket {
  display: flex; max-width: 780px;
  background: var(--ivory); color: var(--black);
  transform: rotate(-1.4deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}
.ticket:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 34px 80px -18px rgba(212, 168, 87, 0.28); }
.ticket-main { flex: 1; padding: clamp(26px, 4vw, 44px); }
.ticket-date { font-family: var(--f-mono); display: flex; align-items: baseline; gap: 12px; }
.ticket-date strong { font-size: clamp(24px, 3vw, 34px); letter-spacing: 0.04em; }
.ticket-date span { font-size: 11px; letter-spacing: 0.2em; color: var(--shu); }
.ticket-title {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(22px, 3.4vw, 38px); line-height: 1.15; margin: 12px 0 8px;
}
.ticket-venue { font-family: var(--f-mincho); font-size: 13px; letter-spacing: 0.1em; margin-bottom: 20px; }
.ticket-info { display: flex; gap: 34px; border-top: 1px solid rgba(14, 13, 11, 0.25); padding-top: 16px; }
.ticket-info dt { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.24em; color: rgba(14, 13, 11, 0.55); }
.ticket-info dd { font-family: var(--f-mono); font-size: 15px; font-weight: 500; }
.ticket-stub {
  width: 110px; border-left: 2px dashed rgba(14, 13, 11, 0.4);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 20px 0; position: relative;
}
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; left: -8px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--black-2);
}
.ticket-stub::before { top: -7px; }
.ticket-stub::after { bottom: -7px; }
.ticket-stub-no { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.2em; }
.ticket-stub-adm { writing-mode: vertical-rl; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.4em; color: var(--shu); }
.ticket-barcode {
  width: 54px; height: 34px;
  background: repeating-linear-gradient(90deg, var(--black) 0 2px, transparent 2px 4px, var(--black) 4px 5px, transparent 5px 8px);
}
.m2-upcoming { list-style: none; max-width: 1280px; margin: clamp(50px, 7vh, 80px) auto 0; }
.m2-upcoming li {
  display: grid; grid-template-columns: 180px 1fr auto; gap: 20px; align-items: baseline;
  border-bottom: 1px solid var(--hairline); padding: 22px 6px;
  transition: background 0.3s, padding-left 0.3s;
}
.m2-upcoming li:first-child { border-top: 1px solid var(--hairline); }
.m2-upcoming li:hover { background: rgba(212, 168, 87, 0.05); padding-left: 18px; }
.m2-date { font-family: var(--f-mono); font-size: 13px; color: var(--brass); letter-spacing: 0.08em; }
.m2-name { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(15px, 1.8vw, 19px); letter-spacing: 0.05em; }
.m2-place { font-family: var(--f-mono); font-size: 11px; color: var(--ivory-dim); letter-spacing: 0.1em; }

/* ============ M3 ============ */
.m3-hint { font-family: var(--f-mono); font-size: 11px; color: var(--ivory-dim); letter-spacing: 0.14em; max-width: 1280px; margin: -30px auto 40px; }
.m3 { overflow: hidden; }
.m3 .sec-head { margin-bottom: 50px; }
.stage-chart, .member-card { max-width: 1280px; margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) {
  .m3-wrap { display: grid; }
  .stage-chart { width: 100%; }
}
.stage-chart {
  position: relative;
  padding: 30px clamp(10px, 4vw, 60px) 0;
}
.stage-row {
  display: flex; justify-content: center; gap: clamp(10px, 2vw, 26px);
  margin-bottom: clamp(18px, 3vh, 30px); position: relative;
}
.stage-row--tp { padding-right: clamp(60px, 10vw, 160px); }
.stage-row--tb { padding-right: clamp(30px, 5vw, 80px); }
.stage-row--rhythm { justify-content: flex-start; padding-left: clamp(10px, 6vw, 120px); margin-top: -8px; }
.stage-row-label {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.3em; color: var(--brass-dim);
}
.stage-row--rhythm .stage-row-label { position: static; transform: none; align-self: center; margin-right: 18px; }
.seat {
  width: clamp(46px, 6vw, 62px); height: clamp(46px, 6vw, 62px);
  border: 1px solid var(--brass-dim); border-radius: 50%;
  font-family: var(--f-mono); font-size: clamp(10px, 1.2vw, 12px); color: var(--ivory-dim);
  display: grid; place-items: center;
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.seat:hover, .seat.is-active {
  background: var(--brass); color: var(--black); border-color: var(--brass);
  box-shadow: 0 0 34px rgba(212, 168, 87, 0.45);
  transform: translateY(-3px);
}
.stage-edge {
  margin-top: 30px; border-top: 1px solid var(--hairline);
  border-radius: 50% 50% 0 0 / 26px 26px 0 0;
  padding-top: 14px; text-align: center;
}
.stage-edge span { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.4em; color: var(--brass-dim); }
.member-card {
  margin-top: 44px;
  border: 1px solid var(--hairline);
  padding: 30px 36px;
  max-width: 560px;
  min-height: 150px;
  background: linear-gradient(135deg, rgba(212, 168, 87, 0.05), transparent 60%);
}
.member-card-part { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.3em; color: var(--brass); }
.member-card-name { font-family: var(--f-mincho); font-weight: 800; font-size: clamp(21px, 2.6vw, 28px); letter-spacing: 0.06em; margin: 8px 0 6px; }
.member-card-note { font-size: 13px; color: var(--ivory-dim); }

/* ============ M4 (cream liner-notes band) ============ */
.m4 { background: var(--ivory); color: var(--black); padding-left: 0; padding-right: 0; }
.m4-inner { padding: 0 max(6vw, 34px); }
.m4 .sec-head { border-bottom-color: rgba(14, 13, 11, 0.2); }
.m4 .sec-no { color: var(--shu); border-color: var(--shu); }
.m4 .sec-ja { color: rgba(14, 13, 11, 0.55); }
.m4-track {
  display: flex; gap: clamp(30px, 4vw, 60px);
  width: max-content; padding-right: 10vw;
}
.disc {
  display: flex; gap: clamp(20px, 2.5vw, 40px);
  width: min(620px, 84vw); flex-shrink: 0; align-items: flex-start;
}
.disc-art { position: relative; width: clamp(150px, 16vw, 220px); flex-shrink: 0; }
.disc-art img { aspect-ratio: 1; object-fit: cover; filter: contrast(1.02); }
.disc-spin {
  position: absolute; inset: -10px; border: 1px dashed rgba(14, 13, 11, 0.3); border-radius: 50%;
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.disc-cat { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.26em; color: var(--shu); }
.disc-title { font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.05; margin: 8px 0 10px; }
.disc-desc { font-size: 13px; line-height: 2; color: rgba(14, 13, 11, 0.72); max-width: 24em; }
.disc-player { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.disc-play {
  width: 44px; height: 44px; border: 1px solid var(--black); border-radius: 50%;
  display: grid; place-items: center; transition: background 0.3s;
}
.disc-play svg { width: 16px; height: 16px; fill: var(--black); transition: fill 0.3s; }
.disc-play:hover { background: var(--black); }
.disc-play:hover svg { fill: var(--ivory); }
.disc-wave { display: flex; align-items: center; gap: 3px; height: 30px; }
.disc-wave span { width: 2px; height: 6px; background: rgba(14, 13, 11, 0.45); transition: height 0.2s; }
.disc.is-playing .disc-wave span { animation: wave 0.8s ease-in-out infinite; }
.disc.is-playing .disc-wave span:nth-child(2n) { animation-delay: 0.15s; }
.disc.is-playing .disc-wave span:nth-child(3n) { animation-delay: 0.3s; }
.disc.is-playing .disc-wave span:nth-child(5n) { animation-delay: 0.45s; }
@keyframes wave { 0%, 100% { height: 5px; } 50% { height: 26px; } }
.disc-time { font-family: var(--f-mono); font-size: 11px; }
.disc-demo-note { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em; color: rgba(14, 13, 11, 0.45); margin-top: 10px; }
.m4-scroll-hint { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.3em; color: rgba(14, 13, 11, 0.5); margin-top: 40px; }

/* fixed chrome over the cream section */
body.nav-on-light .setlist-nav a { color: rgba(14, 13, 11, 0.55); }
body.nav-on-light .setlist-nav a em { color: rgba(14, 13, 11, 0.4); }
body.nav-on-light .setlist-nav a.is-active { color: var(--black); }
body.nav-on-light .setlist-nav a.is-active em { color: var(--shu); }
body.nav-on-light .setlist-nav-head { color: rgba(14, 13, 11, 0.4); }
body.nav-on-light .brand-name { color: rgba(14, 13, 11, 0.6); }
body.nav-on-light .setlist-toggle-text { color: rgba(14, 13, 11, 0.6); }
body.nav-on-light .setlist-toggle-line,
body.nav-on-light .setlist-toggle-line::after { background: var(--black); }
body.nav-on-light .staff-progress > span { background: rgba(14, 13, 11, 0.18); }

/* ============ M5 gallery ============ */
.gallery {
  display: grid; max-width: 1280px; margin: 0 auto;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 2vw, 26px);
}
.g-item { grid-column: span 2; }
.g-item.g-wide { grid-column: span 4; }
.g-item.g-tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.5s; }
.g-item:hover img { filter: brightness(1.12); }
.g-item figcaption {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em;
  color: var(--ivory-dim); padding-top: 10px;
}

/* ============ M6 ============ */
.m6 { background: var(--black-2); }
.m6 .sec-no { color: var(--shu); border-color: var(--shu); }
.m6-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px);
  max-width: 1280px; margin: 0 auto;
}
.m6-status-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.3em; color: var(--brass-dim); margin-bottom: 22px; }
.parts { list-style: none; }
.parts li {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--hairline); padding: 15px 4px;
}
.parts li:first-child { border-top: 1px solid var(--hairline); }
.part-name { font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: 0.02em; }
.part-state { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ivory-dim); }
.part-state.is-open {
  color: var(--shu); border: 1px solid var(--shu);
  padding: 4px 12px; transform: rotate(-2deg);
  font-weight: 500;
}
.m6-info dl div {
  display: grid; grid-template-columns: 90px 1fr; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid rgba(212, 168, 87, 0.1);
}
.m6-info dt { font-family: var(--f-mincho); font-weight: 700; font-size: 13px; color: var(--brass); letter-spacing: 0.14em; }
.m6-info dd { font-size: 14px; color: var(--ivory); }
.btn {
  display: inline-block; margin-top: 34px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.28em;
  border: 1px solid var(--brass); color: var(--brass);
  padding: 17px 44px;
  transition: background 0.35s, color 0.35s;
}
.btn:hover { background: var(--brass); color: var(--black); }
.btn--accent { border-color: var(--shu); color: var(--shu); }
.btn--accent:hover { background: var(--shu); color: var(--ivory); }

/* ============ ENCORE ============ */
.encore { padding-bottom: clamp(110px, 16vh, 180px); }
.encore-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px);
  max-width: 1280px; margin: 0 auto;
}
.encore-lead {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: clamp(24px, 3.2vw, 38px); line-height: 1.9; letter-spacing: 0.05em;
  margin-bottom: 3.5vh;
}
.encore-body { color: var(--ivory-dim); max-width: 30em; margin-bottom: 3vh; }
.encore-facts { list-style: none; }
.encore-facts li {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--ivory); padding: 10px 0 10px 22px; position: relative;
}
.encore-facts li::before { content: "\266A"; position: absolute; left: 0; color: var(--brass); }
.encore-form label { display: block; margin-bottom: 26px; }
.encore-form label span {
  display: block; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.26em; color: var(--brass); margin-bottom: 8px;
}
.encore-form input, .encore-form textarea {
  width: 100%; background: transparent; border: 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ivory); font-family: var(--f-body); font-size: 15px;
  padding: 10px 2px; outline: none; resize: vertical;
  transition: border-color 0.3s;
}
.encore-form input:focus, .encore-form textarea:focus { border-bottom-color: var(--brass); }
.encore-form ::placeholder { color: rgba(242, 235, 221, 0.25); }
.form-demo-note { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ivory-dim); margin-top: 16px; transition: color 0.3s; }
.form-demo-note.is-flash { color: var(--shu); }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid var(--hairline); }
.footer-marquee { border-top: 0; }
.footer-inner { text-align: center; padding: clamp(60px, 9vh, 100px) 24px; }
.footer-brand { font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: clamp(22px, 3.4vw, 34px); color: var(--brass); }
.footer-demo { font-size: 12px; line-height: 2.2; color: var(--ivory-dim); margin: 26px 0; }
.footer-credit { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--ivory-dim); }
.footer-credit strong { color: var(--ivory); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .setlist-nav { display: none; }
  .setlist-toggle { display: flex; }
}
@media (max-width: 900px) {
  body { font-size: 15px; }
  .demo-badge { top: auto; bottom: 58px; font-size: 9px; padding: 5px 10px; }
  .demo-badge-sub { display: none; }
  .brand-name { display: none; }
  .hero-frame { padding-top: max(18vh, 120px); }
  .hero-overline { padding-right: 18vw; }
  .hero-vertical { right: 6vw; top: 25vh; font-size: 13px; }
  .hero-scroll { bottom: 76px; }
  .m1-grid, .m6-grid, .encore-grid { grid-template-columns: 1fr; }
  .marks { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
  .marks::before { display: none; }
  .ticket { flex-direction: column; transform: rotate(-1deg); }
  .ticket-stub {
    width: auto; border-left: 0; border-top: 2px dashed rgba(14, 13, 11, 0.4);
    flex-direction: row; padding: 14px 20px;
  }
  .ticket-stub::before { top: auto; bottom: auto; left: -7px; top: -7px; }
  .ticket-stub::after { right: -7px; left: auto; top: -7px; bottom: auto; }
  .ticket-stub-adm { writing-mode: horizontal-tb; letter-spacing: 0.3em; }
  .m2-upcoming li { grid-template-columns: 1fr; gap: 4px; }
  .stage-row-label { position: static; transform: none; align-self: center; margin-right: 8px; }
  .stage-row { flex-wrap: wrap; padding-right: 0 !important; padding-left: 0 !important; justify-content: center; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g-item, .g-item.g-wide { grid-column: span 2; }
  .g-item.g-tall { grid-row: auto; }
  .m4-track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .m4-track::-webkit-scrollbar { display: none; }
  .disc { scroll-snap-align: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
