/* ============================================================
   NOCTURNE — Official Site
   main.css : design tokens / typography / layout / animations
   ============================================================ */

/* ---- Fonts (Google Fonts loaded via <link> in HTML) ---- */

/* ---- Design tokens ---- */
:root {
  --bg-deep: #050810;
  --bg-1: #0a0f1c;
  --bg-2: #131a2b;
  --bg-3: #1a2238;
  --ink: #f0f4ff;
  --ink-2: #c5cee0;
  --ink-3: #6b7689;
  --line: rgba(240, 244, 255, 0.08);
  --line-2: rgba(240, 244, 255, 0.15);
  --moon-blue: #4eb8ff;
  --moon-gold: #c9b87a;
  --moon-white: #f0f4ff;
  --accent-warm: #ff4d8c;
  --glow-blue: rgba(78, 184, 255, 0.5);
  --glow-gold: rgba(201, 184, 122, 0.4);

  --font-serif: "Cinzel", serif;
  --font-mincho: "Shippori Mincho", serif;
  --font-sans: "Inter", sans-serif;
  --font-jp: "Noto Sans JP", sans-serif;
  --font-num: "Cormorant Garamond", serif;
  --font-script: "Italianno", cursive;

  --maxw: 1280px;
  --gut: clamp(1.25rem, 4vw, 4rem);
  --sec-pad: clamp(5rem, 12vw, 11rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-jp), var(--font-sans);
  background: var(--bg-deep);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--moon-blue); outline-offset: 3px; border-radius: 2px; }

/* ---- Layout helpers ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { position: relative; padding-block: var(--sec-pad); }
.section + .section { border-top: none; }
/* fancy moonlight divider with star marks */
.section + .section::before {
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--moon-blue), transparent);
  opacity: 0.5;
}
.section + .section::after {
  content: "\2726"; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  color: var(--moon-blue); font-size: 0.8rem; text-shadow: 0 0 10px var(--glow-blue);
  opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.section + .section.is-in::before { opacity: 0.7; }
.section + .section.is-in::after { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }

.sec-head { display: flex; align-items: baseline; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head .idx {
  font-family: var(--font-num); font-style: italic; font-size: 1.25rem;
  color: var(--moon-gold); letter-spacing: 0.05em;
}
.sec-head h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.75rem, 5vw, 3.25rem); letter-spacing: 0.12em;
  line-height: 1; text-transform: uppercase;
}
.sec-head .ja {
  font-family: var(--font-mincho); color: var(--ink-3);
  font-size: 0.9rem; letter-spacing: 0.3em; margin-left: auto; white-space: nowrap;
}

/* ---- Moon backdrop (parallax) ---- */
.moon-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.moon-bg::before {
  content: ""; position: absolute; top: 12%; left: 50%;
  width: min(60vw, 720px); aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(78,184,255,0.10) 0%, rgba(201,184,122,0.05) 35%, transparent 68%);
  filter: blur(8px);
}
/* moonlight light-band wipes down when a section scrolls into view */
.moon-bg::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 160px;
  background: linear-gradient(180deg, rgba(78,184,255,0.32), rgba(78,184,255,0.06) 55%, transparent);
  opacity: 0; transform: translateY(-100%); pointer-events: none; mix-blend-mode: screen;
}
.section.is-in .moon-bg::after { animation: sectionBand 0.95s var(--ease) forwards; }
@keyframes sectionBand {
  0%   { opacity: 0;    transform: translateY(-100%); }
  35%  { opacity: 0.85; }
  100% { opacity: 0;    transform: translateY(70vh); }
}
.section > .wrap { position: relative; z-index: 1; }

/* ============================================================
   ENTER SCREEN (index.html)
   ============================================================ */
.enter {
  position: fixed; inset: 0; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 40%, #0b1326 0%, var(--bg-deep) 60%, #02040a 100%);
  overflow: hidden; text-align: center;
}
.enter canvas#particles { position: absolute; inset: 0; z-index: 0; }
.enter .full-moon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(70vmin, 560px); aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 50% 50%,
    rgba(201,184,122,0.18) 0%, rgba(78,184,255,0.10) 30%, transparent 62%);
  animation: moonBreath 7s var(--ease) infinite;
}
@keyframes moonBreath { 0%,100% { opacity: 0.7; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.05); } }

.enter .ripple { position: absolute; top: 50%; left: 50%; z-index: 0; border-radius: 50%;
  border: 1px solid rgba(78,184,255,0.18); transform: translate(-50%,-50%);
  width: 200px; height: 200px; animation: rippleOut 6s linear infinite; }
.enter .ripple:nth-child(2) { animation-delay: 2s; }
.enter .ripple:nth-child(3) { animation-delay: 4s; }
@keyframes rippleOut { from { width: 120px; height: 120px; opacity: 0.6; }
  to { width: 90vmin; height: 90vmin; opacity: 0; } }

.enter__inner { position: relative; z-index: 2; padding-inline: 1.5rem; }
.enter__logo { width: min(78vw, 560px); margin-inline: auto; }
.enter__logo svg { width: 100%; height: auto; overflow: visible; }
.enter__logo .stroke {
  fill: none; stroke: var(--moon-white); stroke-width: 1.4;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 2.6s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.enter__sub {
  margin-top: 1.75rem; font-family: var(--font-num); font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.5rem); letter-spacing: 0.18em; color: var(--ink-2);
  min-height: 1.5em;
}
.enter__sub .caret { color: var(--moon-blue); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.enter__btnwrap { position: relative; display: inline-block; margin-top: 2.75rem; }
.enter__btnfx {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 280px; height: 160px; pointer-events: none; z-index: 0; mix-blend-mode: screen;
}
.enter__btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.95rem 2.4rem; border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--font-serif); letter-spacing: 0.28em; font-size: 0.82rem;
  text-transform: uppercase; color: var(--ink); position: relative; z-index: 1;
  transition: all 0.5s var(--ease); background: rgba(10,15,28,0.4); backdrop-filter: blur(4px);
  animation: enterNeon 3s ease-in-out infinite;
}
@keyframes enterNeon { 0%,100% { opacity: 1; } 45% { opacity: 0.72; } 55% { opacity: 0.78; } }
/* shimmer running left to right across the label */
.enter__btntext {
  background: linear-gradient(105deg, var(--ink) 42%, #ffffff 50%, var(--ink) 58%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: btnTextShimmer 3.2s linear infinite;
}
@keyframes btnTextShimmer { 0% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
.enter__btn:hover {
  border-color: var(--moon-blue); color: var(--moon-white);
  box-shadow: 0 0 0 1px var(--glow-blue), 0 0 40px var(--glow-blue);
  letter-spacing: 0.34em;
}
.enter__btn .m { font-size: 1.1rem; }
.enter__btn::before {
  content: ""; position: absolute; inset: -6px; border-radius: 999px; pointer-events: none;
  border: 1px solid rgba(78,184,255,0.35); opacity: 0.6;
  animation: enterBtnRing 2.6s ease-in-out infinite;
}
@keyframes enterBtnRing {
  0%,100% { transform: scale(1); opacity: 0.25; box-shadow: 0 0 0 0 rgba(78,184,255,0); }
  50%     { transform: scale(1.06); opacity: 0.7; box-shadow: 0 0 24px 2px rgba(78,184,255,0.35); }
}
.enter-stars { position: absolute; inset: -40% -10%; pointer-events: none; z-index: 3; }
.enter-star {
  position: absolute; color: var(--moon-white); opacity: 0; transform: scale(0) rotate(0deg);
  text-shadow: 0 0 8px var(--glow-blue), 0 0 14px rgba(201,184,122,0.6);
  animation: enterStarPop 2.4s ease-in-out infinite;
}
.enter-star:nth-child(even) { color: var(--moon-gold); }
@keyframes enterStarPop {
  0%   { opacity: 0; transform: scale(0) rotate(-30deg); }
  20%  { opacity: 1; transform: scale(1.15) rotate(0deg); }
  60%  { opacity: 0.5; transform: scale(0.8) rotate(20deg); }
  100% { opacity: 0; transform: scale(0) rotate(40deg); }
}
.enter.is-leaving { animation: enterLeave 0.8s var(--ease) forwards; }
@keyframes enterLeave {
  to { transform: scale(1.15); opacity: 0; filter: brightness(2.5) blur(6px); }
}
.enter__flash {
  position: fixed; inset: 0; z-index: 9; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 55%, rgba(240,244,255,0.9), transparent 60%);
}
.enter__flash.go { animation: flash 0.8s var(--ease) forwards; }
@keyframes flash { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }

/* ============================================================
   PAGE FADE-IN (home.html / member pages)
   ============================================================ */
.page-fade { animation: pageIn 0.9s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gut); transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
  /* readability scrim so nav clears the moon behind it */
  background: linear-gradient(180deg, rgba(5,8,16,0.85) 0%, rgba(5,8,16,0.35) 55%, transparent 100%);
}
.site-header.scrolled {
  background: rgba(5,8,16,0.82); backdrop-filter: blur(12px); border-bottom-color: var(--line);
}
.site-header .brand {
  font-family: var(--font-serif); letter-spacing: 0.34em; font-size: 1.05rem;
  font-weight: 600; text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav a {
  font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #ffffff; position: relative; padding-block: 0.3rem;
  text-shadow: 0 0 8px rgba(78,184,255,0.55), 0 1px 3px rgba(5,8,16,0.8);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--moon-blue); transition: width 0.35s var(--ease);
}
.nav a:hover { color: #ffffff; text-shadow: 0 0 12px rgba(78,184,255,0.9), 0 1px 3px rgba(5,8,16,0.8); }
.nav a:hover::after { width: 100%; }

.burger { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px; z-index: 60; }
.burger span { display: block; height: 1.5px; width: 100%; background: var(--ink); transition: transform 0.4s var(--ease), opacity 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
/* full-page colour ambient driven by hero card hover (JS sets --member-glow + [data-hover]) */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at center, transparent 50%, var(--member-glow, transparent) 100%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
body[data-hover]::before { opacity: 0.3; }

/* periodic shooting stars (JS-spawned, top-right → bottom-left) */
.shooting-layer { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.shooting-star { position: absolute; height: 2px; will-change: transform, opacity; }
.shooting-star .streak {
  display: block; width: 100%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(78,184,255,0.95));
  box-shadow: 0 0 6px rgba(78,184,255,0.8), 0 0 12px rgba(78,184,255,0.45);
}
.shooting-star .spark {
  position: absolute; top: 50%; width: 3px; height: 3px; border-radius: 50%;
  background: #cfe8ff; box-shadow: 0 0 6px rgba(78,184,255,0.9); transform: translateY(-50%);
}

.hero { position: relative; min-height: 100svh; display: grid; place-items: start center; overflow: hidden;
  animation: heroBreath 8s ease-in-out infinite; }
@keyframes heroBreath { 0%,100% { transform: scale(1); } 50% { transform: scale(1.02); } }
.hero canvas#hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero canvas#hero-confetti { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; mix-blend-mode: screen; }

/* central ambient glow */
.hero__moon {
  position: absolute; top: 38%; left: 50%; transform: translate(-50%,-50%); z-index: 0;
  width: min(80vmin, 700px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,184,122,0.14) 0%, rgba(78,184,255,0.08) 32%, transparent 64%);
}

/* giant full moon top-right with craters + parallax */
.hero__fullmoon {
  position: absolute; top: 2%; right: -3%; width: min(38vw, 480px); aspect-ratio: 1;
  z-index: 0; will-change: transform; pointer-events: none;
}
.hero__fullmoon .disc {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, #f4f1e6 0%, #d9d2bd 30%, #b9b59c 55%, #6f7385 80%, #2a3045 100%);
  box-shadow:
    0 0 60px 10px rgba(201,184,122,0.30),
    0 0 140px 40px rgba(78,184,255,0.18),
    inset -30px -20px 80px rgba(5,8,16,0.55);
  filter: blur(0.4px);
}
.hero__fullmoon .craters { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; opacity: 0.5; mix-blend-mode: multiply; }
.hero__fullmoon .glow {
  position: absolute; inset: -22%; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,184,122,0.25), rgba(78,184,255,0.10) 45%, transparent 70%);
  animation: moonAura 7s var(--ease) infinite;
}
@keyframes moonAura { 0%,100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
/* slow-rotating geometric pattern inside the moon */
.hero__fullmoon .geo {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  opacity: 0.7; mix-blend-mode: overlay; transform-origin: 50% 50%;
  animation: geoSpin 60s linear infinite;
}
@keyframes geoSpin { to { transform: rotate(360deg); } }
/* pulsing rim ring */
.hero__fullmoon .rim {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(240,244,255,0.35);
  box-shadow: 0 0 24px rgba(201,184,122,0.35), inset 0 0 30px rgba(78,184,255,0.18);
  animation: moonRim 4s var(--ease) infinite;
}
@keyframes moonRim { 0%,100% { transform: scale(0.98); opacity: 0.6; } 50% { transform: scale(1.02); opacity: 1; } }

/* 12 radial moonlight beams emanating from the moon centre */
.hero__rays { position: absolute; top: 15%; right: 16%; width: 0; height: 0; z-index: 0; pointer-events: none; mix-blend-mode: screen; }
.hero__rays span {
  position: absolute; left: -1px; top: 0; width: 2px; height: 70vh;
  background: linear-gradient(180deg, rgba(201,184,122,0.0), rgba(201,184,122,0.40) 24%, rgba(78,184,255,0.12) 70%, transparent);
  transform-origin: top center; filter: blur(1px); opacity: 0.5;
  animation: rayPulse 6s ease-in-out infinite;
}
.hero__rays span:nth-child(1)  { transform: rotate(8deg);   height: 64vh; animation-delay: 0s;   }
.hero__rays span:nth-child(2)  { transform: rotate(38deg);  height: 50vh; animation-delay: 0.5s; opacity: 0.35; }
.hero__rays span:nth-child(3)  { transform: rotate(68deg);  height: 72vh; animation-delay: 1.0s; }
.hero__rays span:nth-child(4)  { transform: rotate(98deg);  height: 44vh; animation-delay: 1.5s; opacity: 0.3; }
.hero__rays span:nth-child(5)  { transform: rotate(128deg); height: 60vh; animation-delay: 2.0s; }
.hero__rays span:nth-child(6)  { transform: rotate(158deg); height: 38vh; animation-delay: 2.5s; opacity: 0.4; }
.hero__rays span:nth-child(7)  { transform: rotate(188deg); height: 30vh; animation-delay: 3.0s; opacity: 0.25; }
.hero__rays span:nth-child(8)  { transform: rotate(218deg); height: 46vh; animation-delay: 3.5s; }
.hero__rays span:nth-child(9)  { transform: rotate(248deg); height: 36vh; animation-delay: 4.0s; opacity: 0.3; }
.hero__rays span:nth-child(10) { transform: rotate(278deg); height: 54vh; animation-delay: 4.5s; }
.hero__rays span:nth-child(11) { transform: rotate(308deg); height: 40vh; animation-delay: 5.0s; opacity: 0.35; }
.hero__rays span:nth-child(12) { transform: rotate(338deg); height: 58vh; animation-delay: 5.5s; }
@keyframes rayPulse { 0%,100% { opacity: 0.2; } 50% { opacity: 0.55; } }

/* LIVE stage laser beams across the top */
.lasers { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; mix-blend-mode: screen; }
.lasers span {
  position: absolute; top: -10%; left: 50%; height: 70%; transform-origin: top center;
  opacity: 0.4; filter: blur(0.6px);
}
/* 8 beams · 4 colours · variable width · periodic glow pulse */
.lasers span:nth-child(1) { width: 1px; color: #4eb8ff; background: linear-gradient(180deg, rgba(78,184,255,0.75), transparent);  animation: laser1 7s   ease-in-out infinite, laserGlow 0.8s ease-in-out infinite; }
.lasers span:nth-child(2) { width: 3px; color: #00d4ff; background: linear-gradient(180deg, rgba(0,212,255,0.65), transparent);   animation: laser2 9s   ease-in-out infinite, laserGlow 1.1s ease-in-out infinite; }
.lasers span:nth-child(3) { width: 2px; color: #ff4d8c; background: linear-gradient(180deg, rgba(255,77,140,0.65), transparent);  animation: laser3 8s   ease-in-out infinite, laserGlow 0.7s ease-in-out infinite; }
.lasers span:nth-child(4) { width: 4px; color: #c9b87a; background: linear-gradient(180deg, rgba(201,184,122,0.7), transparent);  animation: laser4 10s  ease-in-out infinite, laserGlow 1.3s ease-in-out infinite; }
.lasers span:nth-child(5) { width: 1px; color: #4eb8ff; background: linear-gradient(180deg, rgba(78,184,255,0.7), transparent);   animation: laser5 6.5s ease-in-out infinite, laserGlow 0.9s ease-in-out infinite; }
.lasers span:nth-child(6) { width: 2px; color: #00d4ff; background: linear-gradient(180deg, rgba(0,212,255,0.6), transparent);    animation: laser6 8.5s ease-in-out infinite, laserGlow 0.6s ease-in-out infinite; }
.lasers span:nth-child(7) { width: 3px; color: #ff4d8c; background: linear-gradient(180deg, rgba(255,77,140,0.6), transparent);   animation: laser7 7.5s ease-in-out infinite, laserGlow 1.2s ease-in-out infinite; }
.lasers span:nth-child(8) { width: 2px; color: #c9b87a; background: linear-gradient(180deg, rgba(201,184,122,0.65), transparent); animation: laser8 9.5s ease-in-out infinite, laserGlow 1.0s ease-in-out infinite; }
@keyframes laser1 { 0%,100% { transform: rotate(-32deg); } 50% { transform: rotate(-18deg); } }
@keyframes laser2 { 0%,100% { transform: rotate(24deg); }  50% { transform: rotate(8deg); } }
@keyframes laser3 { 0%,100% { transform: rotate(-12deg); } 50% { transform: rotate(-26deg); } }
@keyframes laser4 { 0%,100% { transform: rotate(16deg); }  50% { transform: rotate(30deg); } }
@keyframes laser5 { 0%,100% { transform: rotate(-6deg); }  50% { transform: rotate(6deg); } }
@keyframes laser6 { 0%,100% { transform: rotate(-20deg); } 50% { transform: rotate(-34deg); } }
@keyframes laser7 { 0%,100% { transform: rotate(12deg); }  50% { transform: rotate(26deg); } }
@keyframes laser8 { 0%,100% { transform: rotate(-2deg); }  50% { transform: rotate(14deg); } }
@keyframes laserGlow { 0%,100% { opacity: 0.25; filter: blur(0.6px); box-shadow: 0 0 3px currentColor; }
  50% { opacity: 0.6; filter: blur(1.4px); box-shadow: 0 0 14px currentColor, 0 0 28px currentColor; } }

.hero__inner { position: relative; z-index: 2; text-align: center; width: 100%; padding-inline: var(--gut); padding-top: 8vh; padding-bottom: clamp(3rem, 7vh, 5rem); }

.hero__title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(1.66rem, 7.8vw, 6.05rem); letter-spacing: 0.06em; line-height: 0.95;
  text-transform: uppercase; position: relative; display: inline-block;
  color: var(--ink);
  text-shadow:
    0 0 12px rgba(240,244,255,0.38),
    0 0 24px rgba(78,184,255,0.28),
    0 0 48px rgba(78,184,255,0.16);
  animation: titlePulse 2s var(--ease) infinite;
}
.hero__title::before, .hero__title::after { text-shadow: none; }
@keyframes titlePulse { 0%,100% { opacity: 0.85; text-shadow: 0 0 14px rgba(240,244,255,0.35), 0 0 30px rgba(78,184,255,0.25), 0 0 60px rgba(78,184,255,0.15); }
  50% { opacity: 1; text-shadow: 0 0 18px rgba(240,244,255,0.55), 0 0 44px rgba(78,184,255,0.45), 0 0 90px rgba(78,184,255,0.28); } }
.hero__titlewrap { position: relative; display: inline-block; z-index: 2; margin-top: clamp(0.5rem, 1.5vw, 1.5rem); margin-bottom: clamp(2.25rem, 5vh, 3.75rem); }
.hero__titlewrap::before {
  content: ""; position: absolute; inset: -30% -10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(78,184,255,0.18), transparent 65%);
  filter: blur(30px); animation: haloPulse 4s var(--ease) infinite;
}
@keyframes haloPulse { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }
/* ghost copy behind the main logo (delayed echo) */
.hero__ghost {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: -1;
  font-family: var(--font-serif); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.66rem, 7.8vw, 6.05rem); letter-spacing: 0.06em; line-height: 0.95;
  color: var(--moon-blue); opacity: 0; filter: blur(3px);
  animation: ghostEcho 5s var(--ease) infinite; animation-delay: 1.2s;
}
@keyframes ghostEcho {
  0%, 60%, 100% { opacity: 0; transform: translate(0,0); }
  70% { opacity: 0.18; transform: translate(6px,-3px); }
  80% { opacity: 0.10; transform: translate(-5px,2px); }
}
/* letters fly in on load */
.hero__fly { white-space: nowrap; }
.hero__fly span {
  display: inline-block; opacity: 0;
  animation: letterFly 0.6s var(--ease) forwards;
}
.hero__fly span:nth-child(1) { animation-delay: 0.05s; transform: translateY(-50px); }
.hero__fly span:nth-child(2) { animation-delay: 0.10s; transform: translateY(50px); }
.hero__fly span:nth-child(3) { animation-delay: 0.15s; transform: translateY(-45px); }
.hero__fly span:nth-child(4) { animation-delay: 0.20s; transform: translateY(48px); }
.hero__fly span:nth-child(5) { animation-delay: 0.25s; transform: translateY(-48px); }
.hero__fly span:nth-child(6) { animation-delay: 0.30s; transform: translateY(45px); }
.hero__fly span:nth-child(7) { animation-delay: 0.35s; transform: translateY(-50px); }
.hero__fly span:nth-child(8) { animation-delay: 0.40s; transform: translateY(50px); }
@keyframes letterFly { to { opacity: 1; transform: translateY(0); } }
.hero__tagline { margin-top: 0; margin-bottom: clamp(3rem, 7vh, 5rem); display: flex; flex-direction: column; gap: 12px; }
.hero__tagline .ja { font-family: var(--font-mincho); font-size: clamp(1.1rem, 3vw, 1.7rem); letter-spacing: 0.4em; color: var(--ink); }
.hero__tagline .en { font-family: var(--font-num); font-style: italic; font-size: clamp(0.95rem, 2vw, 1.3rem); letter-spacing: 0.2em; color: var(--ink-3); }

/* ---- member photos: the hero's main subject ---- */
.hero__cards {
  display: flex; flex-wrap: nowrap; justify-content: center; align-items: flex-start;
  gap: 16px; margin-top: clamp(0.5rem, 2vw, 1.6rem);
  position: relative; z-index: 10; width: 100%;
}
.hero__member {
  display: flex; flex-direction: column; align-items: center;
  flex: 0 1 240px; min-width: 0;
}
.hero__cards .silh {
  width: 100%; aspect-ratio: 7/10; border-radius: 120px 120px 14px 14px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-1) 80%);
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform 0.6s var(--ease), border-color 0.6s, box-shadow 0.6s;
  animation: silhFloat 4s ease-in-out infinite;
}
.hero__member:nth-child(2n) .silh { animation-delay: -1s; }
.hero__member:nth-child(3n) .silh { animation-delay: -2s; }
@keyframes silhFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
/* photo fills card; pushed up & over-scaled so the baked-in name label is cropped out of view */
.hero__cards .silh img { position: absolute; top: 0; left: 0; width: 100%; height: 118%; object-fit: cover; object-position: 50% 0; }
/* card-bottom info: number + name + reading (clean HTML, replaces the cropped baked label) */
.hmeta { margin-top: 0.55rem; text-align: center; line-height: 1.2; }
.hline { display: flex; align-items: baseline; justify-content: center; gap: 0.45em; }
.hno { font-family: var(--font-num); font-style: italic; font-size: 0.9rem; color: rgba(var(--mc, 78,184,255), 0.95); }
.hname { font-family: var(--font-serif); font-size: clamp(0.82rem, 1vw, 1.05rem); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  text-shadow: 0 0 14px rgba(var(--mc, 78,184,255), 0.4); }
.hread { font-family: var(--font-mincho); font-size: 13px; letter-spacing: 0.1em; color: rgba(var(--mc, 78,184,255), 0.85); margin-top: 0.18rem; }
/* inline SVG icon sprite (shared by detail pages / PARLOR) */
.hero__sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* rim light + colour halo behind each */
.hero__cards .silh::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 60% 22% at 50% 18%, rgba(240,244,255,0.22), transparent 70%),
    radial-gradient(ellipse 120% 40% at 50% 0%, rgba(78,184,255,0.30), transparent 60%);
}
.hero__cards .silh::after {
  content: ""; position: absolute; inset: -30% -20% -10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, var(--glow-blue), transparent 65%); filter: blur(20px); opacity: 0.5;
  transition: opacity 0.6s;
}
.hero__cards .silh:hover {
  transform: translateY(-16px) scale(1.04); border-color: var(--moon-blue);
  box-shadow: 0 0 0 1px var(--glow-blue), 0 16px 50px rgba(0,0,0,0.6), 0 0 50px var(--glow-blue);
}
.hero__cards .silh:hover::after { opacity: 1; }

/* each member's constellation, framing the photo behind/around the card */
.hero__member { position: relative; }
.hero__constellation {
  position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%);
  width: 175%; z-index: 0; pointer-events: none; opacity: 0.28;
  transition: opacity 0.6s var(--ease);
}
.hero__constellation img { width: 100%; height: auto; display: block; }
/* hover: spotlight the hovered member's constellation, sink the rest */
.hero__cards:hover .hero__constellation { opacity: 0.12; }
.hero__cards .hero__member:hover .hero__constellation { opacity: 0.65; }

/* in-flow: NEW SINGLE bar above the SCROLL cue */
.hero__release {
  display: inline-block; font-family: var(--font-sans);
  font-size: 0.94rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink);
  padding: 0.6rem clamp(1rem, 3vw, 2.4rem);
  margin-bottom: clamp(2.25rem, 5vh, 3.75rem);
  background: linear-gradient(90deg, transparent, rgba(78,184,255,0.15) 18%, rgba(78,184,255,0.15) 82%, transparent);
  border-block: 1px solid rgba(78,184,255,0.45);
}
.hero__release b { color: var(--moon-gold); font-weight: 700; letter-spacing: 0.16em; }
.hero__release .nlabel {
  color: #4eb8ff; font-weight: 700;
  text-shadow: 0 0 8px rgba(78,184,255,0.9), 0 0 16px rgba(78,184,255,0.5);
  animation: nlabelBlink 3s steps(1, end) infinite;
}
@keyframes nlabelBlink { 0%, 70%, 100% { opacity: 1; } 80% { opacity: 0.25; } 90% { opacity: 1; } }

.scroll-cue {
  z-index: 3;
  font-family: var(--font-sans); font-size: 0.95rem; letter-spacing: 0.32em; color: #f0f4ff;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  text-shadow: 0 0 10px rgba(78,184,255,0.7); animation: scrollBob 2s var(--ease) infinite;
}
.scroll-cue .bar { width: 1px; height: 34px; background: linear-gradient(var(--moon-blue), transparent); animation: cue 2s var(--ease) infinite; }
.scroll-cue__arrow { font-size: 1.1rem; line-height: 0.6; color: var(--moon-blue); filter: drop-shadow(0 0 8px rgba(78,184,255,0.8)); }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes scrollBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

.hero__social {
  position: absolute; right: var(--gut); bottom: 1.8rem; z-index: 3;
  display: flex; gap: 1.1rem; align-items: center; color: var(--ink-3);
}
.hero__social a { display: inline-flex; transition: transform 0.3s var(--ease), color 0.3s; }
.hero__social a svg { width: 20px; height: 20px; }
.hero__social a:hover { color: var(--moon-blue); transform: scale(1.2); filter: drop-shadow(0 0 8px rgba(78,184,255,0.8)); }

/* ---- Glitch on hero title ---- */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; overflow: hidden;
}
.glitch::before { color: var(--moon-blue); transform: translate(-2px,0); clip-path: inset(0 0 55% 0); mix-blend-mode: screen; }
.glitch::after { color: var(--accent-warm); transform: translate(2px,0); clip-path: inset(55% 0 0 0); mix-blend-mode: screen; }
.glitch.is-glitch::before { animation: gl-a 0.5s steps(2) both; }
.glitch.is-glitch::after { animation: gl-b 0.5s steps(2) both; }
@keyframes gl-a { 0%{transform:translate(-2px,0)} 20%{transform:translate(-5px,2px)} 40%{transform:translate(3px,-2px)} 60%{transform:translate(-4px,1px)} 100%{transform:translate(-2px,0)} }
@keyframes gl-b { 0%{transform:translate(2px,0)} 20%{transform:translate(5px,-2px)} 40%{transform:translate(-3px,2px)} 60%{transform:translate(4px,-1px)} 100%{transform:translate(2px,0)} }

/* intense variant: 8px split + brief invert flash */
.glitch.is-glitch-x { animation: glInvert 0.5s steps(1) both; }
.glitch.is-glitch-x::before { animation: gl-ax 0.5s steps(2) both; }
.glitch.is-glitch-x::after { animation: gl-bx 0.5s steps(2) both; }
@keyframes gl-ax { 0%{transform:translate(-8px,0)} 20%{transform:translate(-12px,3px)} 40%{transform:translate(6px,-3px)} 60%{transform:translate(-9px,2px)} 100%{transform:translate(-2px,0)} }
@keyframes gl-bx { 0%{transform:translate(8px,0)} 20%{transform:translate(12px,-3px)} 40%{transform:translate(-6px,3px)} 60%{transform:translate(9px,-2px)} 100%{transform:translate(2px,0)} }
@keyframes glInvert { 0%{filter:none} 8%{filter:invert(1)} 16%{filter:none} 100%{filter:none} }

/* ============================================================
   NEWS
   ============================================================ */
.news-scroller { position: relative; }
.news-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3rem) / 3);
  gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.5rem 0.2rem 1.4rem; scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.news-track::-webkit-scrollbar { height: 4px; }
.news-track::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
.news-card {
  scroll-snap-align: start; position: relative; display: flex; flex-direction: column; gap: 0.9rem;
  padding: 1.8rem 1.6rem; min-height: 220px; border: 1px solid var(--line); border-radius: 8px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.news-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--moon-blue), transparent);
  transform: scaleX(0); transition: transform 0.5s var(--ease);
}
.news-card:hover { transform: translateY(-8px); border-color: var(--line-2); box-shadow: 0 16px 44px rgba(0,0,0,0.5), 0 0 36px rgba(78,184,255,0.18); }
.news-card:hover::before { transform: scaleX(1); }
/* left neon edge fades in (staggered) once the scroller reveals */
.news-card { box-shadow: inset 2px 0 0 rgba(78,184,255,0); transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.6s var(--ease); }
.news-scroller.is-in .news-track .news-card { box-shadow: inset 2px 0 0 rgba(78,184,255,0.55); }
.news-scroller.is-in .news-track .news-card:nth-child(1) { transition-delay: 0s, 0s, 0.1s; }
.news-scroller.is-in .news-track .news-card:nth-child(2) { transition-delay: 0s, 0s, 0.4s; }
.news-scroller.is-in .news-track .news-card:nth-child(3) { transition-delay: 0s, 0s, 0.7s; }
.news-scroller.is-in .news-track .news-card:nth-child(4) { transition-delay: 0s, 0s, 1.0s; }
.news-scroller.is-in .news-track .news-card:nth-child(5) { transition-delay: 0s, 0s, 1.3s; }
/* hover lights the row from the left with moonlight blue */
.news-card::after {
  content: ""; position: absolute; inset: 0; border-radius: 8px; pointer-events: none; z-index: 0;
  background: linear-gradient(90deg, rgba(78,184,255,0.22), transparent 62%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.news-card:hover::after { opacity: 1; }
.news-card > * { position: relative; z-index: 1; }
.news-card .date { font-family: var(--font-num); font-style: italic; font-size: 1.2rem; color: var(--ink-3); letter-spacing: 0.05em; }
.news-card .title { font-family: var(--font-jp); font-size: 1rem; color: var(--ink); line-height: 1.6; flex: 1; }
.news-card .more { font-family: var(--font-serif); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--moon-blue); }
.news-card .cat {
  align-self: flex-start; font-family: var(--font-sans); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); white-space: nowrap;
}
.news-card .cat[data-c="MUSIC"] { color: var(--moon-blue); border-color: rgba(78,184,255,0.35); }
.news-card .cat[data-c="LIVE"] { color: var(--moon-gold); border-color: rgba(201,184,122,0.35); }
.news-card .cat[data-c="GOODS"] { color: var(--accent-warm); border-color: rgba(255,77,140,0.35); }
.news-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(5,8,16,0.7); backdrop-filter: blur(6px); color: var(--ink);
  font-size: 1.4rem; line-height: 1; display: grid; place-items: center; transition: all 0.4s var(--ease);
}
.news-arrow.prev { left: -10px; } .news-arrow.next { right: -10px; }
.news-arrow:hover { border-color: var(--moon-blue); box-shadow: 0 0 24px var(--glow-blue); color: var(--moon-white); }
.view-all { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 2.2rem;
  font-family: var(--font-serif); font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); }
.view-all:hover { color: var(--moon-blue); }
.view-all .arr { transition: transform 0.4s var(--ease); }
.view-all:hover .arr { transform: translateX(6px); }

/* ============================================================
   SCHEDULE
   ============================================================ */
.sched-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.sched-card {
  position: relative; padding: 2rem 1.6rem; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.5s;
}
.sched-card::after {
  content: ""; position: absolute; top: -40%; right: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(78,184,255,0.2); transition: transform 0.6s var(--ease), opacity 0.6s; opacity: 0; transform: scale(0.4);
}
.sched-card:hover { transform: translateY(-8px); border-color: var(--line-2); }
.sched-card:hover::after { opacity: 1; transform: scale(1.4); }
.sched-card .phase { position: absolute; top: 1.1rem; right: 1.3rem; font-size: 0; z-index: 2; }
.sched-card .phase::before {
  content: "\1F311"; font-size: 1.6rem; display: inline-block; line-height: 1;
  filter: drop-shadow(0 0 8px rgba(78,184,255,0.45));
  animation: moonPhase 20s steps(1, end) infinite;
}
.sched-card:nth-child(1) .phase::before { content: "\1F311"; animation-delay: 0s; }
.sched-card:nth-child(2) .phase::before { content: "\1F312"; animation-delay: -3.33s; }
.sched-card:nth-child(3) .phase::before { content: "\1F313"; animation-delay: -6.66s; }
.sched-card:nth-child(4) .phase::before { content: "\1F314"; animation-delay: -10s; }
.sched-card:nth-child(5) .phase::before { content: "\1F315"; animation-delay: -13.33s; }
.sched-card:nth-child(6) .phase::before { content: "\1F316"; animation-delay: -16.66s; }
@keyframes moonPhase {
  0%   { content: "\1F311"; }
  16%  { content: "\1F312"; }
  33%  { content: "\1F313"; }
  50%  { content: "\1F314"; }
  66%  { content: "\1F315"; }
  83%  { content: "\1F316"; }
}
.sched-card .day { font-family: var(--font-num); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--ink); margin-top: 0.5rem; }
.sched-card .month { font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--ink-3); text-transform: uppercase; }
.sched-card .venue { margin-top: 1.2rem; font-family: var(--font-mincho); font-size: 1rem; color: var(--ink); }
.sched-card .addr { font-size: 0.78rem; color: var(--ink-3); margin-top: 0.2rem; }
.sched-card .ticket {
  margin-top: 1.4rem; display: inline-block; padding: 0.5rem 1.3rem; border: 1px solid var(--moon-blue);
  border-radius: 999px; font-family: var(--font-serif); font-size: 0.68rem; letter-spacing: 0.18em; color: var(--moon-blue); transition: all 0.4s;
}
.sched-card .ticket:hover { background: var(--moon-blue); color: var(--bg-deep); }
.sched-card .soldout { margin-top: 1.4rem; display: inline-block; font-family: var(--font-serif); font-size: 0.68rem; letter-spacing: 0.18em; color: var(--ink-3); }
.sched-card.is-sold { opacity: 0.66; }

/* ============================================================
   MEMBERS / PROFILE
   ============================================================ */
.mem-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(0.8rem, 1.4vw, 1.4rem); }
.mem-card {
  position: relative; aspect-ratio: 7/10; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2); display: block;
  transition: transform 0.55s var(--ease), border-color 0.55s, box-shadow 0.55s, opacity 0.45s, filter 0.45s;
}
.mem-card .silh { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  transition: transform 0.7s var(--ease), filter 0.6s var(--ease); }
/* member-colour aura: light halo top + colour wash bottom */
.mem-card .glow {
  position: absolute; inset: 0; opacity: 0.4; transition: opacity 0.6s var(--ease); z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 42% at 50% 0%, rgba(var(--mc, 78,184,255), 0.55), transparent 62%),
    radial-gradient(ellipse 110% 45% at 50% 100%, rgba(var(--mc, 78,184,255), 0.28), transparent 72%);
}
.mem-card .meta { position: absolute; left: 0; bottom: 0; width: 100%; padding: 1.2rem 1.1rem; z-index: 3;
  background: linear-gradient(transparent, rgba(5,8,16,0.55) 45%, rgba(5,8,16,0.92)); }
.mem-card .mem-no {
  position: absolute; top: 0.7rem; left: 0.85rem; z-index: 3;
  font-family: var(--font-num); font-style: italic; font-size: 1.2rem; letter-spacing: 0.05em;
  color: rgba(var(--mc, 78,184,255), 0.95); text-shadow: 0 0 12px rgba(var(--mc, 78,184,255), 0.6);
}
.mem-card .name { font-family: var(--font-serif); font-size: clamp(1.05rem, 1.5vw, 1.5rem); letter-spacing: 0.12em; text-transform: uppercase;
  text-shadow: 0 0 18px rgba(var(--mc, 78,184,255), 0.45); }
.mem-card .reading { font-family: var(--font-mincho); font-size: 0.74rem; letter-spacing: 0.2em; margin-top: 0.15rem;
  color: rgba(var(--mc, 200,210,230), 0.92); }
.mem-card .role { font-family: var(--font-num); font-style: italic; font-size: 0.85rem; color: var(--ink-3); letter-spacing: 0.06em; margin-top: 0.1rem; }
.mem-card .detail {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem;
  font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--moon-blue); opacity: 0; transform: translateY(-10px); transition: all 0.5s var(--ease);
}
/* constant faint glow halo, gently pulsing */
.mem-card::after {
  content: ""; position: absolute; inset: 0; border-radius: 8px; pointer-events: none; z-index: 2;
  box-shadow: inset 0 0 34px rgba(var(--mc, 78,184,255), 0.16);
  animation: memHalo 4.2s ease-in-out infinite;
}
.mem-card:nth-child(2)::after { animation-delay: 0.6s; }
.mem-card:nth-child(3)::after { animation-delay: 1.2s; }
.mem-card:nth-child(4)::after { animation-delay: 1.8s; }
.mem-card:nth-child(5)::after { animation-delay: 2.4s; }
.mem-card:nth-child(6)::after { animation-delay: 3.0s; }
/* cards fall in sequence on reveal */
.mem-grid .mem-card.reveal { transform: translateY(-30px); }
.mem-grid .mem-card.reveal.is-in { transform: none; }
.mem-grid .mem-card:nth-child(1) { transition-delay: 0.05s; }
.mem-grid .mem-card:nth-child(2) { transition-delay: 0.15s; }
.mem-grid .mem-card:nth-child(3) { transition-delay: 0.25s; }
.mem-grid .mem-card:nth-child(4) { transition-delay: 0.35s; }
.mem-grid .mem-card:nth-child(5) { transition-delay: 0.45s; }
.mem-grid .mem-card:nth-child(6) { transition-delay: 0.55s; }
.mem-card:hover {
  transform: translateY(-14px) scale(1.05); border-color: rgba(var(--mc, 78,184,255), 0.9); z-index: 6;
  box-shadow: 0 0 0 1px rgba(var(--mc, 78,184,255), 0.85), 0 22px 55px rgba(0,0,0,0.65),
              0 0 50px rgba(var(--mc, 78,184,255), 0.45), 0 0 110px rgba(var(--mc, 78,184,255), 0.35),
              0 0 180px rgba(var(--mc, 78,184,255), 0.2);
}
.mem-card:hover .silh { transform: scale(1.08); filter: brightness(1.1) saturate(1.08); }
.mem-card:hover .glow { opacity: 1; }
.mem-card:hover .detail { opacity: 1; transform: none; }
@keyframes memHalo { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.95; } }

/* ---- hover: focus the hovered card, recede the rest ---- */
.mem-grid:hover .mem-card:not(:hover) { opacity: 0.4; filter: blur(2px) saturate(0.7); }
/* neon frame pulses while hovered */
.mem-card:hover::after {
  animation: memPulse 1.05s ease-in-out infinite;
  box-shadow: inset 0 0 0 1px rgba(var(--mc, 78,184,255), 0.9),
              inset 0 0 48px rgba(var(--mc, 78,184,255), 0.4);
}
@keyframes memPulse {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(var(--mc, 78,184,255), 0.65), inset 0 0 30px rgba(var(--mc, 78,184,255), 0.3); }
  50%      { box-shadow: inset 0 0 0 2px rgba(var(--mc, 78,184,255), 1),    inset 0 0 60px rgba(var(--mc, 78,184,255), 0.55); }
}
/* each card flashes its own colour as it drops in */
.mem-grid .mem-card.reveal.is-in .glow { animation: memFlash 0.7s var(--ease) both; }
.mem-grid .mem-card:nth-child(1).is-in .glow { animation-delay: 0.25s; }
.mem-grid .mem-card:nth-child(2).is-in .glow { animation-delay: 0.35s; }
.mem-grid .mem-card:nth-child(3).is-in .glow { animation-delay: 0.45s; }
.mem-grid .mem-card:nth-child(4).is-in .glow { animation-delay: 0.55s; }
.mem-grid .mem-card:nth-child(5).is-in .glow { animation-delay: 0.65s; }
.mem-grid .mem-card:nth-child(6).is-in .glow { animation-delay: 0.75s; }
@keyframes memFlash { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0.4; } }

/* per-member accent colour (used by photo overlay + glow) */
/* hero members carry --mc inline (see home.html); these set the MEMBERS grid colours */
.mem-card:nth-child(1) { --mc: 78,184,255; }   /* VEGA    #4eb8ff royal blue */
.mem-card:nth-child(2) { --mc: 0,212,255; }    /* LYRA    #00d4ff turquoise */
.mem-card:nth-child(3) { --mc: 179,71,255; }   /* ALTAIR  #b347ff magenta */
.mem-card:nth-child(4) { --mc: 197,232,255; }  /* RIGEL   #c5e8ff ice blue */
.mem-card:nth-child(5) { --mc: 212,212,216; }  /* SIRIUS  #d4d4d8 silver */
.mem-card:nth-child(6) { --mc: 201,184,122; }  /* POLARIS #c9b87a gold */

/* ---- photo-swapped avatars (graceful upgrade from SVG) ---- */
.mem-card.has-photo { border-color: rgba(var(--mc, 78,184,255), 0.5);
  box-shadow: inset 0 0 0 1px rgba(var(--mc, 78,184,255), 0.4), 0 0 26px rgba(var(--mc, 78,184,255), 0.18); }
.mem-card.has-photo .silh { transition: transform 0.7s var(--ease), filter 0.6s var(--ease); }
.mem-card.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: 8px;
  background: radial-gradient(ellipse 110% 50% at 50% 100%, rgba(var(--mc, 78,184,255), 0.28), transparent 68%);
  mix-blend-mode: screen;
}
.mem-card.has-photo:hover {
  box-shadow: 0 0 0 1px rgba(var(--mc, 78,184,255), 0.85), 0 22px 55px rgba(0,0,0,0.65),
              0 0 50px rgba(var(--mc, 78,184,255), 0.45), 0 0 110px rgba(var(--mc, 78,184,255), 0.35),
              0 0 180px rgba(var(--mc, 78,184,255), 0.2);
}
.mem-card.has-photo:hover .silh { transform: scale(1.08); filter: brightness(1.12) saturate(1.1); }

.hero__cards .silh.has-photo { border-color: rgba(var(--mc, 78,184,255), 0.6);
  box-shadow: 0 0 0 1px rgba(var(--mc, 78,184,255), 0.45), 0 0 34px rgba(var(--mc, 78,184,255), 0.3); }
.hero__cards .silh.has-photo img { transition: transform 0.6s var(--ease), filter 0.6s var(--ease); }
.hero__cards .silh.has-photo:hover img { transform: scale(1.07); filter: brightness(1.12) saturate(1.08); }

/* ============================================================
   MUSIC
   ============================================================ */
.music { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
/* jacket stage: counter-rotating rings + pulsing centre light */
.lp-stage {
  position: relative; width: 100%; max-width: 360px; aspect-ratio: 1;
  justify-self: center; display: grid; place-items: center;
}
.lp-ring {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
.lp-ring--1 {
  inset: -5%; border: 1px solid rgba(78,184,255,0.4);
  border-top-color: transparent; border-bottom-color: transparent;
  box-shadow: 0 0 18px rgba(78,184,255,0.2);
  animation: spin 9s linear infinite;
}
.lp-ring--2 {
  inset: -11%; border: 1px solid rgba(201,184,122,0.35);
  border-left-color: transparent; border-right-color: transparent;
  box-shadow: 0 0 18px rgba(201,184,122,0.18);
  animation: spinRev 14s linear infinite;
}
.lp-pulse {
  position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(78,184,255,0.55), rgba(201,184,122,0.2) 50%, transparent 72%);
  animation: lpPulse 2.6s ease-in-out infinite;
}
@keyframes spinRev { to { transform: rotate(-360deg); } }
@keyframes lpPulse { 0%, 100% { transform: scale(0.85); opacity: 0.45; } 50% { transform: scale(1.18); opacity: 0.85; } }
.lp {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; z-index: 1; max-width: 360px;
  background:
    repeating-radial-gradient(circle, #0c1120 0 2px, #0a0e1a 2px 4px),
    radial-gradient(circle, #16203a 0 30%, transparent 31%);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 60px rgba(201,184,122,0.25), 0 0 120px rgba(78,184,255,0.18);
  animation: spin 18s linear infinite;
}
.lp::before { content: ""; position: absolute; inset: 0; margin: auto; width: 36%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--moon-gold) 0%, #8a7b48 60%, #3a3420 100%); }
.lp::after { content: ""; position: absolute; inset: 0; margin: auto; width: 6%; aspect-ratio: 1; border-radius: 50%; background: var(--bg-deep); }
.lp.paused { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
.music__info .label { font-family: var(--font-num); font-style: italic; color: var(--moon-gold); letter-spacing: 0.1em; }
.music__info h3 { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: 0.08em; margin: 0.4rem 0 1.6rem; }
.track-list { border-top: 1px solid var(--line); margin-bottom: 1.8rem; }
.track-list li { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.track-list .no { font-family: var(--font-num); font-style: italic; color: var(--ink-3); width: 2rem; }
.track-list .tname { font-family: var(--font-jp); }
.track-list .dur { margin-left: auto; font-family: var(--font-num); color: var(--ink-3); }
.streams { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.streams a { padding: 0.6rem 1.4rem; border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--ink-2); transition: all 0.4s; }
.streams a:hover { border-color: var(--moon-blue); color: var(--moon-white); box-shadow: 0 0 24px var(--glow-blue); }

/* ============================================================
   MOVIE
   ============================================================ */
.movie-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.movie-card { position: relative; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(135deg, #0c1322, #070b15); display: grid; place-items: center;
  transition: border-color 0.5s, box-shadow 0.5s var(--ease); }
.movie-card::before { content: ""; position: absolute; inset: 0; transition: transform 0.6s var(--ease), background 0.5s;
  background: radial-gradient(ellipse at 50% 50%, rgba(78,184,255,0.08), transparent 70%); }
.movie-card:hover { border-color: var(--moon-blue); box-shadow: 0 18px 50px rgba(0,0,0,0.5), 0 0 40px var(--glow-blue); }
.movie-card:hover::before { transform: scale(1.18); background: radial-gradient(ellipse at 50% 50%, rgba(78,184,255,0.18), transparent 72%); }
.movie-card .play { width: 64px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; position: relative; z-index: 2; transition: all 0.5s var(--ease); background: rgba(5,8,16,0.4); }
.movie-card .play::after { content: ""; width: 0; height: 0; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.movie-card .ripple-ring { position: absolute; width: 64px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--moon-blue); opacity: 0; }
.movie-card:hover .play { border-color: var(--moon-blue); box-shadow: 0 0 30px var(--glow-blue); transform: scale(1.08); }
.movie-card:hover .ripple-ring { animation: ring 1.4s var(--ease) infinite; }
@keyframes ring { from { opacity: 0.6; transform: scale(1); } to { opacity: 0; transform: scale(2.4); } }
.movie-card .cap { position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2; font-family: var(--font-sans);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }

/* ============================================================
   DISCOGRAPHY
   ============================================================ */
.disco-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.4rem; }
.disco-card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--bg-2); transition: transform 0.5s var(--ease), border-color 0.5s; }
.disco-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.disco-card .cover { aspect-ratio: 1; background:
  radial-gradient(circle at 50% 38%, rgba(201,184,122,0.35), transparent 55%),
  linear-gradient(135deg, #16203a, #070b15); position: relative; }
.disco-card .cover::before { content: ""; position: absolute; inset: 0; margin: auto; width: 34%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(240,244,255,0.2); }
.disco-card .info { padding: 1rem 1.1rem; }
.disco-card .t { font-family: var(--font-serif); font-size: 0.95rem; letter-spacing: 0.06em; }
.disco-card .d { font-family: var(--font-num); font-style: italic; color: var(--ink-3); font-size: 0.85rem; }

/* ============================================================
   PARLOR (SNS)
   ============================================================ */
#parlor .sec-head { margin-bottom: 0.7rem; }
.parlor-sub { font-family: var(--font-num); font-style: italic; font-size: 0.82rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.parlor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
/* dark card with brand-coloured gradient border (padding-box keeps the fill dark) */
.parlor-card { text-align: center; padding: 2.2rem 1rem; border: 1px solid transparent; border-radius: 6px;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
              var(--brand, linear-gradient(var(--line), var(--line))) border-box;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.parlor-card.x  { --brand: linear-gradient(135deg, #ffffff, #9aa0a6); --bc: 255,255,255; }
.parlor-card.ig { --brand: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); --bc: 238,42,123; }
.parlor-card.tt { --brand: linear-gradient(135deg, #25f4ee, #fe2c55); --bc: 254,44,85; }
.parlor-card.yt { --brand: linear-gradient(135deg, #ff0000, #cc0000); --bc: 255,0,0; }
.parlor-card:hover { transform: translateY(-6px); animation: parlorPulse 1.6s var(--ease) infinite; }
@keyframes parlorPulse {
  0%,100% { box-shadow: 0 14px 40px rgba(0,0,0,0.45), 0 0 20px rgba(var(--bc, 78,184,255), 0.3); }
  50%     { box-shadow: 0 14px 40px rgba(0,0,0,0.45), 0 0 42px rgba(var(--bc, 78,184,255), 0.7); }
}
.parlor-card .brand-ic { width: 48px; height: 48px; display: block; margin: 0 auto 1.1rem; color: var(--ink);
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease); }
.parlor-card.x  .brand-ic { color: #ffffff; }
.parlor-card.tt .brand-ic { color: #25f4ee; filter: drop-shadow(1.6px 1.6px 0 rgba(254,44,85,0.85)); }
.parlor-card.yt .brand-ic { color: #ff0000; }
.parlor-card:hover .brand-ic { transform: scale(1.1); filter: brightness(1.2); }
.parlor-card.tt:hover .brand-ic { transform: scale(1.1); filter: drop-shadow(1.6px 1.6px 0 rgba(254,44,85,0.95)) brightness(1.12); }
.parlor-card .plat { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.parlor-card .count { font-family: var(--font-num); font-style: italic; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; color: var(--ink); margin: 0.6rem 0; }
.parlor-card .count.is-counting { animation: countFlicker 0.16s steps(2, end) infinite; }
@keyframes countFlicker { 0% { opacity: 1; } 50% { opacity: 0.55; } 100% { opacity: 1; } }
.parlor-card .go { font-family: var(--font-serif); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(var(--bc, 78,184,255)); }

/* ============================================================
   GOODS
   ============================================================ */
.goods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 2.4rem; }
.goods-card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--bg-2); transition: transform 0.5s var(--ease), border-color 0.5s; }
.goods-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.goods-card .ph { aspect-ratio: 1; background: linear-gradient(135deg, #131a2b, #080c16); position: relative; }
.goods-card .ph::before { content: "🌙"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; opacity: 0.25; }
.goods-card .gi { padding: 0.9rem 1rem; }
.goods-card .gn { font-family: var(--font-jp); font-size: 0.85rem; }
.goods-card .gp { font-family: var(--font-num); font-style: italic; color: var(--moon-gold); }
.btn-line {
  display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.9rem 2.2rem; border: 1px solid var(--line-2);
  border-radius: 999px; font-family: var(--font-serif); font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink); transition: all 0.5s var(--ease); position: relative; overflow: hidden;
}
.btn-line:hover { border-color: var(--moon-blue); box-shadow: 0 0 30px var(--glow-blue); letter-spacing: 0.3em; }

/* cross-shine sweep on button hover */
.btn-line::after, .btn-join::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(240,244,255,0.45), transparent);
  transform: skewX(-18deg); transition: none;
}
.btn-line:hover::after, .btn-join:hover::after { animation: btnShine 0.7s var(--ease) forwards; }
@keyframes btnShine { to { left: 140%; } }

/* ============================================================
   FANCLUB
   ============================================================ */
.fanclub { text-align: center; }
.fanclub__bg { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(78,184,255,0.06), transparent 60%); }
.fanclub h2 { font-family: var(--font-mincho); font-size: clamp(1.8rem, 6vw, 3.4rem); letter-spacing: 0.3em; }
.fanclub .en { font-family: var(--font-num); font-style: italic; color: var(--ink-3); letter-spacing: 0.16em; margin-top: 0.6rem; }
.fanclub p { max-width: 540px; margin: 1.8rem auto; color: var(--ink-2); font-size: 0.95rem; }
.btn-join {
  display: inline-flex; align-items: center; gap: 0.8rem; padding: 1.1rem 3rem; border-radius: 999px;
  border: 1px solid var(--accent-warm); color: var(--ink); font-family: var(--font-serif);
  font-size: 0.8rem; letter-spacing: 0.26em; text-transform: uppercase; position: relative; overflow: hidden;
  animation: joinPulse 3s var(--ease) infinite;
}
@keyframes joinPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,77,140,0.0); } 50% { box-shadow: 0 0 36px 2px rgba(255,77,140,0.4); } }
.btn-join:hover { background: var(--accent-warm); color: var(--bg-deep); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { padding: clamp(3.5rem, 8vw, 6rem) 0 2.5rem; border-top: 1px solid var(--line); position: relative; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; }
.footer-brand { font-family: var(--font-serif); font-size: 1.6rem; letter-spacing: 0.3em; text-transform: uppercase; }
.footer-brand .tag { display: block; font-family: var(--font-num); font-style: italic; font-size: 0.95rem; letter-spacing: 0.1em; color: var(--ink-3); margin-top: 0.4rem; text-transform: none; }
.footer-cols { display: flex; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.footer-cols h4 { font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.footer-cols a { display: block; font-size: 0.85rem; color: var(--ink-2); padding: 0.3rem 0; }
.footer-cols a:hover { color: var(--moon-blue); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.footer-bottom .copy { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--ink-3); }
.footer-bottom .composed { font-family: var(--font-script); font-size: 1.5rem; color: var(--moon-gold); }
.sample-credit { margin-top: 1.4rem; text-align: center; }
.sample-credit a { font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--ink-3); }
.sample-credit a:hover { color: var(--moon-blue); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }

/* ============================================================
   CUSTOM CURSOR (moon glow)
   ============================================================ */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 200px; height: 200px; border-radius: 50%; pointer-events: none;
  z-index: 100; transform: translate(-50%,-50%); mix-blend-mode: screen; transition: width 0.3s, height 0.3s, opacity 0.3s;
  background: radial-gradient(circle, rgba(78,184,255,0.16), transparent 65%); opacity: 0;
}
.cursor-glow.active { opacity: 1; }
.cursor-glow.shrink { width: 90px; height: 90px; background: radial-gradient(circle, rgba(78,184,255,0.35), transparent 60%); }

/* ============================================================
   SPARKLE BURST (card / button hover)
   ============================================================ */
.sparkle {
  position: absolute; pointer-events: none; z-index: 6;
  color: var(--moon-blue); mix-blend-mode: screen;
  text-shadow: 0 0 6px var(--glow-blue), 0 0 12px rgba(78,184,255,0.6);
  transform: translate(-50%,-50%) scale(0.4); opacity: 0;
  animation: sparkleBurst 0.65s cubic-bezier(.2,.7,.3,1) forwards;
}
.sparkle:nth-child(odd) { color: var(--moon-gold); text-shadow: 0 0 6px rgba(201,184,122,0.8), 0 0 12px rgba(201,184,122,0.5); }
@keyframes sparkleBurst {
  0%   { transform: translate(-50%,-50%) translate(0,0) scale(0.3) rotate(0deg); opacity: 0; }
  25%  { opacity: 1; }
  100% { transform: translate(-50%,-50%) translate(var(--dx,0), var(--dy,0)) scale(1.1) rotate(90deg); opacity: 0; }
}

/* ============================================================
   SCROLL PROGRESS — top bar + moon % indicator
   ============================================================ */
.scroll-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  transform-origin: left center; transform: scaleX(0);
  background: linear-gradient(90deg, var(--moon-blue), var(--moon-gold) 60%, #fff);
  box-shadow: 0 0 10px var(--glow-blue);
}
.scroll-moon {
  position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 120;
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  width: 54px; height: 54px; border-radius: 50%;
  justify-content: center; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(20,28,46,0.9), rgba(8,12,22,0.85));
  border: 1px solid rgba(78,184,255,0.35);
  box-shadow: 0 0 18px rgba(78,184,255,0.35), inset 0 0 12px rgba(78,184,255,0.18);
  opacity: 0; transform: translateY(12px) scale(0.85);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.scroll-moon.show { opacity: 1; transform: translateY(0) scale(1); }
.scroll-moon .m { font-size: 1rem; line-height: 1; }
.scroll-moon .p { font-family: var(--font-num); font-size: 0.62rem; letter-spacing: 0.04em; color: var(--moon-blue); }

/* ============================================================
   MEMBER DETAIL PAGE
   ============================================================ */
.mdetail { padding-top: clamp(6rem, 12vw, 9rem); position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(var(--mc, 78,184,255), 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(var(--mc, 78,184,255), 0.08) 0%, transparent 50%); }
.mdetail > .wrap { position: relative; z-index: 3; }
.mdetail__starfield { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.mdetail__constellation { position: absolute; top: 0; left: 0; width: 100%; height: min(100vh, 940px); opacity: 0.4; pointer-events: none; z-index: 1; }
.mdetail__constellation img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-serif);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 2.5rem; }
.back-link:hover { color: var(--moon-blue); }
.mdetail__top { display: grid; grid-template-columns: 35% 60%; gap: 5%; align-items: center; }
/* framed photo box; img is over-scaled so the baked-in name label (image bottom) is cropped out */
.mdetail__photo { aspect-ratio: 5/7; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--bg-3), #060a13 92%); position: relative;
  width: 100%; max-width: 450px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 60px var(--glow-blue);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), filter 0.55s var(--ease); }
.mdetail__silh { position: absolute; top: 0; left: 0; width: 100%; height: 117%; object-fit: cover; object-position: 50% 0; }
/* real photo: member-colour neon frame + aura + hover bloom */
.mdetail__photo.has-photo {
  border-color: rgba(var(--mc, 78,184,255), 0.85);
  box-shadow: 0 0 0 1px rgba(var(--mc, 78,184,255), 0.6), 0 24px 70px rgba(0,0,0,0.6),
              0 0 60px rgba(var(--mc, 78,184,255), 0.4), 0 0 130px rgba(var(--mc, 78,184,255), 0.22);
}
.mdetail__photo.has-photo:hover {
  transform: scale(1.02); filter: brightness(1.08) saturate(1.08);
  box-shadow: 0 0 0 2px rgba(var(--mc, 78,184,255), 0.95), 0 26px 80px rgba(0,0,0,0.65),
              0 0 80px rgba(var(--mc, 78,184,255), 0.5), 0 0 170px rgba(var(--mc, 78,184,255), 0.3);
}
.mdetail__name { font-family: var(--font-serif); font-size: clamp(2.6rem, 8vw, 5rem); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; }
.mdetail__reading { font-family: var(--font-mincho); color: var(--ink-2); letter-spacing: 0.3em; margin-top: 0.6rem; }
.mdetail__role { font-family: var(--font-num); font-style: italic; color: var(--moon-gold); font-size: 1.3rem; margin-top: 0.4rem; letter-spacing: 0.06em; }
.mdetail__bio { margin-top: 1.8rem; color: var(--ink-2); max-width: 46ch; }

/*担当星座 info card (glass, member-colour) */
.star-card { margin-top: 1.8rem; max-width: 360px; padding: 1rem 1.2rem; border-radius: 12px;
  border: 1px solid rgba(var(--mc, 78,184,255), 0.4);
  background: rgba(10, 14, 24, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 24px rgba(var(--mc, 78,184,255), 0.08); }
.star-card .sc-name { font-family: var(--font-serif); font-size: 1.05rem; letter-spacing: 0.08em; color: var(--ink); }
.star-card .sc-name i { font-family: var(--font-num); font-style: italic; color: rgba(var(--mc, 78,184,255), 0.95); margin-left: 0.45em; }
.star-card .sc-desc { margin-top: 0.45rem; color: var(--ink-2); font-size: 0.9rem; }
.star-card .sc-meta { display: flex; gap: 1.4rem; margin-top: 0.7rem; font-family: var(--font-num); font-style: italic;
  font-size: 0.82rem; letter-spacing: 0.05em; color: rgba(var(--mc, 78,184,255), 0.85); }
.prof-table { margin-top: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); }
.prof-table .row { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; padding: 1.1rem 0.4rem; border-bottom: 1px solid var(--line); }
.prof-table .k { font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.prof-table .v { font-family: var(--font-jp); color: var(--ink); }

/* detail-page SNS icons (member-colour tint) */
.mdetail__sns { display: flex; gap: 1rem; margin-top: 1.8rem; }
.mdetail__sns a { display: inline-flex; color: rgba(var(--mc, 78,184,255), 0.7);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease), filter 0.3s var(--ease); }
.mdetail__sns svg { width: 32px; height: 32px; display: block; }
.mdetail__sns a:hover { color: rgb(var(--mc, 78,184,255)); transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(var(--mc, 78,184,255), 0.9)); }

/* "other members" thumbnail nav */
.mdetail__others { margin-top: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); padding-top: clamp(2rem, 5vw, 3rem); }
.mdetail__others h2 { font-family: var(--font-serif); font-size: 0.8rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.6rem; }
.others-grid { display: flex; flex-wrap: wrap; gap: clamp(0.9rem, 2.4vw, 1.6rem); }
.others-grid a { display: flex; flex-direction: column; align-items: center; gap: 0.55rem; text-decoration: none; }
.others-grid .thumb { width: 80px; height: 100px; border-radius: 8px; overflow: hidden; position: relative;
  border: 1px solid var(--line-2); background: var(--bg-3);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; }
.others-grid .thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 117%; object-fit: cover; object-position: 50% 0; }
.others-grid a:hover .thumb { transform: translateY(-5px); border-color: rgba(var(--mc, 78,184,255), 0.85);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 26px rgba(var(--mc, 78,184,255), 0.45); }
.others-grid .oname { font-family: var(--font-serif); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); transition: color 0.3s var(--ease); }
.others-grid a:hover .oname { color: rgb(var(--mc, 78,184,255)); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1279px) {
  .mem-grid { grid-template-columns: repeat(3, 1fr); }
  .sched-grid { grid-template-columns: repeat(2, 1fr); }
  .parlor-grid { grid-template-columns: repeat(2, 1fr); }
  .goods-grid { grid-template-columns: repeat(2, 1fr); }
  .news-track { grid-auto-columns: calc((100% - 1.5rem) / 2); }
  .hero__member { flex-basis: 200px; }
}
/* tablet: 6 photos wrap to 3 x 2 */
@media (max-width: 1023px) {
  .hero__cards { flex-wrap: wrap; gap: 14px; }
  .hero__member { flex: 0 0 calc((100% - 28px) / 3); max-width: 240px; }
}
@media (max-width: 767px) {
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 2rem;
    background: rgba(5,8,16,0.96); backdrop-filter: blur(14px); transform: translateY(-100%);
    transition: transform 0.5s var(--ease); z-index: 55;
  }
  .nav.open { transform: none; }
  .nav a { font-size: 1rem; }
  .burger { display: flex; }
  .music { grid-template-columns: 1fr; }
  .movie-grid { grid-template-columns: 1fr; }
  .mem-grid { grid-template-columns: repeat(2, 1fr); }
  .sched-grid { grid-template-columns: 1fr; }
  .parlor-grid { grid-template-columns: 1fr; }
  .goods-grid { grid-template-columns: repeat(2, 1fr); }
  .news-track { grid-auto-columns: calc(100% - 0.5rem); }
  .mdetail__top { grid-template-columns: 1fr; }
  .prof-table .row { grid-template-columns: 110px 1fr; }
  .hero__social { display: none; }
  .cursor-glow { display: none; }
  /* mobile: 6 photos in 2 x 3 */
  .hero__member { flex: 0 0 calc((100% - 14px) / 2); max-width: 220px; }
  .hero__cards { gap: 14px; }
  .hero__constellation { display: none; }
}
@media (max-width: 420px) {
  .mem-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .enter__logo .stroke { stroke-dashoffset: 0; }
  .hero__fly span { opacity: 1; transform: none; }
  .hero__ghost { display: none; }
  .enter__btntext { -webkit-text-fill-color: var(--ink); color: var(--ink); }
}
