/* ==========================================================================
   Dharma Logic Records — pages.css
   Multi-page components: stage (home hero), page heroes, roster, talent pages,
   discography, movie/news pages, company/about/contact, transitions.
   Loaded after style.css.
   ========================================================================== */

/* ---------- Page transition curtain ---------- */
.transition {
  position: fixed; inset: 0; z-index: 10001; background: var(--purple); display: grid; place-items: center;
  transform: translateY(101%); pointer-events: none;
}
.transition img { width: 64px; opacity: 0; transform: translateY(10px); }
.transition.is-active { transform: translateY(0); transition: transform .6s var(--ease-in-out); pointer-events: all; }
.transition.is-active img { opacity: 1; transform: translateY(0); transition: opacity .35s .3s, transform .5s .3s var(--ease-out); }

/* ---------- Compact loader for sub pages ---------- */
.loader--compact .loader__logo { width: 56px; animation-duration: .6s; animation-delay: 0s; }
.loader--compact .loader__wave { width: 170px; }
.loader--compact .loader__wave path { animation-duration: .9s; animation-delay: .1s; }
.loader--compact .loader__text { display: none; }

/* ---------- Shared bits ---------- */
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-head--row .section-head__title { margin-top: .8rem; }
.crumb { display: flex; align-items: center; gap: .8rem; font-family: var(--f-display); font-size: .64rem; letter-spacing: .24em; font-weight: 500; opacity: .75; margin-bottom: 2.2rem; }
.crumb i { width: 1.2rem; height: 1px; background: currentColor; opacity: .5; }
.crumb a { transition: color .3s; }
.crumb a:hover { color: var(--gold); }
.footer__sns { display: flex; gap: .8rem; }
.footer__sns a { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: background .3s, transform .3s; }
.footer__sns a:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.footer__sns svg { width: 1rem; height: 1rem; fill: currentColor; }
.is-filtered-out { display: none !important; }

/* ==========================================================================
   STAGE — interactive home hero
   ========================================================================== */
.stage {
  position: relative; min-height: 100svh; overflow: hidden; color: var(--white);
  background:
    radial-gradient(120% 70% at 50% 115%, #3A175A 0%, rgba(58,23,90,0) 60%),
    radial-gradient(60% 50% at 15% 20%, rgba(185,194,242,.16), transparent 60%),
    radial-gradient(60% 50% at 85% 20%, rgba(255,138,61,.16), transparent 60%),
    var(--purple-950);
  display: grid; grid-template-rows: 1fr auto; perspective: 1400px;
}
.stage__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.stage .blob { opacity: .45; }
.stage__deep {
  position: absolute; left: 0; width: 100%; text-align: center; font-family: var(--f-display); font-weight: 800;
  letter-spacing: -.04em; line-height: .9; white-space: nowrap; color: transparent; will-change: transform; pointer-events: none;
}
.stage__deep--1 { top: 22%; font-size: clamp(4.5rem, 15vw, 14rem); -webkit-text-stroke: 1px rgba(255,255,255,.08); }
.stage__deep--2 { top: 52%; font-size: clamp(5rem, 20vw, 19rem); -webkit-text-stroke: 1px rgba(228,172,92,.10); }
.stage__lines { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.stage__text {
  position: relative; z-index: 3; text-align: center; padding: calc(var(--nav-h) + 2.2rem) var(--gutter) 0;
  display: grid; justify-items: center; will-change: transform; pointer-events: none;
}
.stage__text a { pointer-events: auto; }
.stage__title {
  margin-top: 1rem; font-family: var(--f-display); font-weight: 800; letter-spacing: -.035em; line-height: .92;
  font-size: clamp(2.5rem, 6.4vw, 6rem); text-shadow: 0 20px 60px rgba(18,7,34,.7);
}
.stage__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.stage__title .line > span { display: inline-block; }
.stage__title .line:nth-child(2) > span { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.9); }
.stage .hero__tagline { margin-top: 1.2rem; font-size: clamp(1.15rem, 2vw, 1.7rem); }
.stage .hero__cta { margin-top: 1.6rem; }

.stage__lineup { position: relative; z-index: 2; height: min(60vh, 620px); margin-top: -4vh; }
/* intro is CSS-driven (opacity) + JS-driven rise, so it can never stall behind a slow frame */
.fig { position: absolute; bottom: 0; height: 100%; display: block; will-change: transform, opacity; transform-style: preserve-3d; opacity: 0; transition: opacity 1.1s var(--ease-out); }
.stage.is-in .fig { opacity: 1; }
.stage.is-in .fig--karakenda { transition-delay: .1s; }
.stage.is-in .fig--rago, .stage.is-in .fig--bima { transition-delay: .25s; }
.stage.is-in .fig--karen, .stage.is-in .fig--akari { transition-delay: .4s; }
.stage__lineup:hover .fig:not(:hover) { transition: opacity .5s, filter .5s; }
.fig picture { display: block; height: 100%; transition: transform .6s var(--ease-out); }
/* no per-frame filter on animated figures (drop-shadow re-rasterizes every frame) — grounding comes from .stage__floor */
.fig img { height: 100%; width: auto; max-width: none; }
.stage__deep, .stage__floor { opacity: 0; transition: opacity 1.8s var(--ease-out) .2s; }
.stage.is-in .stage__deep, .stage.is-in .stage__floor { opacity: 1; }
/* cutouts are trimmed to the body (no halo margins), so heights read as true relative height;
   front row slightly taller than back row for depth */
.fig--karen { left: 9%; height: 92%; z-index: 5; }
.fig--akari { right: 9%; height: 92%; z-index: 5; }
.fig--rago { left: 27%; height: 90%; z-index: 3; }
.fig--bima { right: 27%; height: 90%; z-index: 3; }
.fig--karakenda { left: 50%; height: 88%; z-index: 2; }
.stage__gen {
  display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.4rem; padding: .5rem 1rem .5rem .6rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); font-family: var(--f-jp); font-weight: 700; font-size: .8rem; letter-spacing: .1em;
}
.stage__gen i { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: var(--f-display); font-size: .6rem; font-weight: 800; color: var(--purple-950); font-style: normal; }
.stage__gen small { font-family: var(--f-display); font-size: .58rem; letter-spacing: .25em; opacity: .65; font-weight: 600; }
.gen-head { display: flex; align-items: center; gap: 1.4rem; max-width: 1500px; margin: 0 auto 2.2rem; padding: 0 var(--gutter); }
.gen-head + .roster { margin-bottom: 5rem; }
.gen-head__num { width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; color: var(--purple-950); flex: none; }
.gen-head__label { font-family: var(--f-jp); font-weight: 900; font-size: clamp(1.5rem, 2.4vw, 2.2rem); color: var(--ink); line-height: 1.1; }
.gen-head__en { display: block; font-family: var(--f-display); font-size: .62rem; letter-spacing: .3em; color: var(--coral); font-weight: 600; margin-top: .3rem; }
.gen-head__line { flex: 1; height: 1px; background: rgba(72,28,104,.15); }
.stage__lineup:hover .fig:not(:hover) { opacity: .42; filter: saturate(.6) blur(1px); }
.fig:hover picture { transform: translateY(-1.5%) scale(1.035); }
.fig__label {
  position: absolute; left: 50%; bottom: 7%; transform: translate(-50%, 12px); opacity: 0; transition: .4s var(--ease-out);
  background: rgba(18,7,34,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14); padding: .55rem 1rem; border-radius: 999px; white-space: nowrap; display: grid; text-align: center; line-height: 1.25;
}
.fig:hover .fig__label { opacity: 1; transform: translate(-50%, 0); }
.fig__label b { font-weight: 700; font-size: .86rem; }
.fig__label small { font-family: var(--f-display); font-size: .54rem; letter-spacing: .22em; opacity: .7; }
.stage__floor {
  position: absolute; left: 50%; bottom: -10vh; width: 96vw; height: 28vh; transform: translateX(-50%); z-index: 1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(224,116,92,.32), transparent 70%); filter: blur(30px);
}
.stage__floor::after { content: ""; position: absolute; left: 6%; right: 6%; top: 36%; height: 1px; filter: blur(0); background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent); }
.stage .hero__scroll, .stage .hero__meta { z-index: 4; }

/* ==========================================================================
   PAGE HERO
   ========================================================================== */
.pagehero {
  position: relative; overflow: hidden; color: var(--white); min-height: 58vh; display: grid; align-items: end;
  padding: calc(var(--nav-h) + 6rem) 0 5rem;
  background: radial-gradient(70% 90% at 90% 0%, var(--purple-700), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(224,116,92,.25), transparent 60%), var(--purple-900);
}
.pagehero__kv { position: absolute; inset: 0; z-index: 0; }
.pagehero__kv img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; opacity: .32; filter: saturate(.85); }
.pagehero--kv::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(26,11,46,.25), var(--purple-900) 92%); }
.pagehero__big {
  position: absolute; right: -2vw; bottom: -5vw; z-index: 1; pointer-events: none; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(6rem, 22vw, 22rem); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08);
}
.pagehero__inner { position: relative; z-index: 2; max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.pagehero__title { font-family: var(--f-jp); font-weight: 900; font-size: clamp(2.6rem, 6.5vw, 6rem); line-height: 1.1; letter-spacing: -.01em; margin-top: 1rem; }
.pagehero__title em { font-family: var(--f-serif); font-style: italic; font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pagehero__lead { margin-top: 1.6rem; opacity: .8; max-width: 42em; line-height: 2; }

/* ==========================================================================
   ROSTER (artists list + home teaser)
   ========================================================================== */
.teaser--artists { background: var(--lavender); padding: 8rem 0 6rem; }
.rosterpage { background: var(--lavender); padding: 6rem 0 9rem; }
.roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); }
.roster--teaser { margin-top: 3.5rem; }
.rcard {
  position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 1.8rem; overflow: hidden; color: var(--white);
  background: linear-gradient(180deg, #2A1147, #481C68); transform-style: preserve-3d; will-change: transform;
  box-shadow: 0 30px 60px -30px rgba(72,28,104,.5); transition: box-shadow .6s;
}
.rcard:hover { box-shadow: 0 50px 90px -30px rgba(72,28,104,.65); }
.rcard--karen { background: radial-gradient(80% 60% at 50% 75%, rgba(185,194,242,.55), transparent 70%), linear-gradient(180deg, #2A1147, #481C68); }
.rcard--akari { background: radial-gradient(80% 60% at 50% 75%, rgba(255,138,61,.55), transparent 70%), linear-gradient(180deg, #2A1147, #481C68); }
.rcard--ashura { background: radial-gradient(80% 60% at 50% 85%, rgba(45,90,240,.5), transparent 70%), radial-gradient(60% 40% at 90% 100%, rgba(255,107,0,.35), transparent 70%), linear-gradient(180deg, #120722, #2A1147); }
.rcard__big { position: absolute; left: 50%; top: 7%; transform: translateX(-50%); font-family: var(--f-display); font-weight: 800; font-size: clamp(4rem, 8.5vw, 7.5rem); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); pointer-events: none; }
.rcard__visual { position: absolute; inset: 0; }
.rcard__visual > picture { position: absolute; left: 50%; bottom: -3%; height: 90%; transform: translateX(-50%); transition: transform .8s var(--ease-out); }
.rcard__visual img { height: 100%; width: auto; max-width: none; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.rcard:hover .rcard__visual > picture { transform: translateX(-50%) translateY(-1.5%) scale(1.04); }
.rcard__trio { position: absolute; inset: 0; }
.rcard__trio picture { position: absolute; bottom: -3%; height: 84%; transition: transform .8s var(--ease-out); }
.rcard__trio picture:nth-child(1) { left: 24%; transform: translateX(-50%); }
.rcard__trio picture:nth-child(2) { left: 50%; transform: translateX(-50%); height: 90%; z-index: 2; }
.rcard__trio picture:nth-child(3) { left: 76%; transform: translateX(-50%); }
/* all three members lift on hover (outer two a touch less, for depth) */
.rcard:hover .rcard__trio picture:nth-child(1), .rcard:hover .rcard__trio picture:nth-child(3) { transform: translateX(-50%) translateY(-1.2%) scale(1.025); }
.rcard:hover .rcard__trio picture:nth-child(2) { transform: translateX(-50%) translateY(-1.8%) scale(1.035); }
/* text and arrow always sit above the figures */
.rcard__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 4rem 5.2rem 1.8rem 1.8rem; background: linear-gradient(180deg, transparent 0%, rgba(18,7,34,.55) 35%, rgba(18,7,34,.92) 100%); display: grid; gap: .25rem; }
.rcard__arrow { z-index: 4; }
.rcard__no { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-size: .6rem; letter-spacing: .28em; font-weight: 600; color: var(--gold); }
.rcard__no i { width: 1.4rem; height: 1px; background: var(--grad); }
.rcard__name { font-family: var(--f-jp); font-weight: 900; font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height: 1.1; }
.rcard__romaji { font-family: var(--f-display); font-size: .64rem; letter-spacing: .3em; opacity: .7; }
.rcard__arrow { position: absolute; right: 1.6rem; bottom: 1.9rem; width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); transition: background .4s, border-color .4s, color .4s; color: var(--white); }
.rcard__arrow::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translate(-60%, -50%) rotate(45deg); }
.rcard:hover .rcard__arrow { background: var(--white); border-color: var(--white); color: var(--purple); }
.rcard--next { background: transparent; border: 1px dashed rgba(72,28,104,.3); box-shadow: none; display: grid; place-items: center; color: var(--ink); cursor: default; }
.rcard--next .rcard__big { -webkit-text-stroke-color: rgba(72,28,104,.12); top: 20%; }
.rcard--next .rcard__info { position: static; background: none; text-align: center; justify-items: center; padding: 0; }
.rcard--next .rcard__no { color: var(--coral); }
.rcard--next .rcard__romaji { color: var(--ink-3); }

/* ==========================================================================
   TALENT DETAIL
   ========================================================================== */
.thero {
  position: relative; min-height: 100svh; color: var(--white); overflow: hidden; display: grid; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem; background: var(--purple-950);
}
.thero--karen { background: radial-gradient(70% 80% at 75% 60%, rgba(185,194,242,.38), transparent 60%), radial-gradient(60% 60% at 5% 100%, rgba(72,28,104,.95), transparent 60%), var(--purple-950); }
.thero--akari { background: radial-gradient(70% 80% at 75% 60%, rgba(255,138,61,.42), transparent 60%), radial-gradient(60% 60% at 5% 100%, rgba(72,28,104,.95), transparent 60%), var(--purple-950); }
.thero--ashura { background: radial-gradient(80% 70% at 75% 50%, rgba(45,90,240,.38), transparent 60%), radial-gradient(50% 50% at 90% 100%, rgba(255,107,0,.35), transparent 60%), var(--purple-950); }
.thero__big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--f-display); font-weight: 800; font-size: clamp(8rem, 26vw, 30rem); letter-spacing: -.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06); pointer-events: none; white-space: nowrap; z-index: 0; }
.thero__inner { position: relative; z-index: 2; max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); width: 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; }
.crumb--light { color: var(--white); }
.thero__info { position: relative; z-index: 2; }
.thero .talent__no { color: var(--gold); }
.thero__name { margin-top: 1rem; font-family: var(--f-jp); font-weight: 900; font-size: clamp(3rem, 6.8vw, 6.8rem); line-height: 1.02; letter-spacing: -.02em; }
.thero__kana { display: block; margin-top: .9rem; font-family: var(--f-display); font-size: .78rem; letter-spacing: .28em; opacity: .7; }
.thero .talent__catch { color: var(--gold); margin-top: 2rem; }
.thero__copy { margin-top: 1.2rem; opacity: .85; line-height: 2; max-width: 34em; }
.talent__chips--light li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--white); }
.talent__chips--light small { color: var(--gold); }
.thero .hero__cta { margin-top: 2.4rem; }
.thero__visual { position: relative; height: min(84vh, 900px); display: grid; place-items: end center; transform-style: preserve-3d; will-change: transform; }
/* figures are anchored absolutely so `height:100%` resolves against the definite-height box
   (as a grid item it would resolve against an auto track and fall back to natural size) */
.thero__figure { position: relative; width: 100%; height: 100%; display: block; }
.thero__figure img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
/* costume switcher: stacked pictures crossfade */
.thero__figure-set { position: relative; width: 100%; height: 100%; }
.thero__figure-set picture { position: absolute; inset: 0; display: block; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); pointer-events: none; }
.thero__figure-set picture.is-active { opacity: 1; transform: none; pointer-events: auto; }
.thero__figure-set img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.costume { display: inline-flex; align-items: center; gap: .3rem; margin-top: 1.8rem; padding: .3rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
.costume__label { font-family: var(--f-display); font-size: .56rem; letter-spacing: .25em; opacity: .55; padding: 0 .8rem 0 .9rem; font-weight: 600; }
.costume button { display: grid; text-align: left; line-height: 1.15; padding: .55rem 1.1rem; border-radius: 999px; color: rgba(255,255,255,.72); transition: background .35s, color .35s; }
.costume button b { font-family: var(--f-jp); font-weight: 700; font-size: .8rem; letter-spacing: .06em; }
.costume button small { font-family: var(--f-display); font-size: .52rem; letter-spacing: .22em; opacity: .7; }
.costume button:hover { color: var(--white); }
.costume button.is-active { background: var(--grad); color: var(--purple-950); }
.costume button.is-active small { opacity: .8; }
.thero__trio { position: relative; width: 100%; height: 100%; }
.thero__trio picture { position: absolute; bottom: 0; height: 84%; }
.thero__trio picture:nth-child(1) { left: 6%; }
.thero__trio picture:nth-child(2) { left: 50%; transform: translateX(-50%); height: 94%; z-index: 2; }
.thero__trio picture:nth-child(3) { right: 6%; }
.thero__trio img { height: 100%; width: auto; max-width: none; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.thero .hero__scroll { z-index: 3; }

.tprofile { background: var(--lavender); padding: 8rem 0; }
.tprofile__inner { max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 6vw, 7rem); align-items: start; }
.tprofile .section-head { padding: 0; }
.tprofile__quotes { margin-top: 2rem; font-family: var(--f-serif); font-weight: 600; color: var(--purple); font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.9; }
.tprofile__main .profile__table { margin-top: 2rem; }
.tprofile__story p { margin-top: 1.2rem; color: var(--ink-2); line-height: 2.1; }
.origin { margin-top: 3rem; }
.origin__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.origin__item { padding: 1.5rem 1rem; border-radius: 1.2rem; background: var(--white); border: 1px solid rgba(72,28,104,.1); text-align: center; }
.origin__kanji { display: block; font-family: var(--f-serif); font-weight: 800; font-size: 2.6rem; color: var(--purple); line-height: 1; }
.origin__item p { font-size: .76rem; color: var(--ink-2); margin-top: .7rem; line-height: 1.7; }

.tmembers { background: var(--purple-950); color: var(--white); padding: 8rem 0 4rem; overflow: hidden; }
.mpanel { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; max-width: 1500px; margin: 0 auto; padding: 4rem var(--gutter); }
.mpanel--reverse .mpanel__visual { order: 2; }
.mpanel__visual { position: relative; display: grid; place-items: center; min-height: 60vh; }
.mpanel__visual::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 70%); filter: blur(60px); }
.mpanel__visual picture { position: relative; z-index: 1; height: 70vh; }
.mpanel__visual img { height: 100%; width: auto; max-width: none; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.mpanel .talent__no { color: var(--gold); }
.mpanel__name { margin-top: .8rem; font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.8rem); letter-spacing: .01em; line-height: 1.05; }
.mpanel__name small { font-size: .5em; font-weight: 400; opacity: .6; }
.mpanel .talent__romaji { color: rgba(255,255,255,.55); }
.mpanel .talent__catch { color: var(--gold); }
.mpanel .talent__copy { color: rgba(255,255,255,.8); }
.profile__table--dark { margin-top: 1.8rem; border-top-color: rgba(255,255,255,.15); }
.profile__table--dark > div { border-bottom-color: rgba(255,255,255,.1); }
.profile__table--dark dt { color: var(--gold); }
.profile__table--dark dd { color: rgba(255,255,255,.8); }

.tsongs { background: var(--white); padding: 8rem 0; }
.tsongs__inner { max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); }
.tsongs .section-head { padding: 0; }
.tracklist { list-style: none; margin-top: 2.5rem; border-top: 1px solid rgba(28,22,38,.12); }
.tracklist li { display: grid; grid-template-columns: 3.5rem 1fr auto; align-items: center; gap: 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(28,22,38,.1); transition: padding-left .4s var(--ease-out); }
.tracklist li:hover { padding-left: .8rem; }
.tracklist__no { font-family: var(--f-display); font-weight: 500; letter-spacing: .1em; color: var(--purple-400); }
.tracklist__title { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.tracklist__status { font-family: var(--f-display); font-size: .56rem; font-weight: 700; letter-spacing: .22em; padding: .38rem .75rem; border-radius: 999px; border: 1px solid var(--coral); color: var(--coral); white-space: nowrap; }
.tracklist--compact li { padding: .85rem 0; }
.tracklist--compact .tracklist__title { font-size: .98rem; }
.tmovies { background: var(--lavender); padding: 7rem 0 8rem; }
.tmovies .movie__grid { margin-top: 3rem; }

.tnav { display: grid; grid-template-columns: 1fr auto 1fr; background: var(--purple-950); color: var(--white); border-top: 1px solid rgba(255,255,255,.08); }
.tnav__item { padding: 3rem var(--gutter); display: grid; gap: .4rem; transition: background .4s; }
.tnav__item:hover { background: rgba(255,255,255,.05); }
.tnav__item small { font-family: var(--f-display); font-size: .6rem; letter-spacing: .3em; opacity: .6; }
.tnav__item span { font-family: var(--f-jp); font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 2.4rem); }
.tnav__item--next { text-align: right; justify-items: end; }
.tnav__item--all { border-left: 1px solid rgba(255,255,255,.1); border-right: 1px solid rgba(255,255,255,.1); place-items: center; padding: 3rem 3rem; }
.tnav__item--all span { font-family: var(--f-display); font-size: .74rem; letter-spacing: .25em; font-weight: 600; }

/* ==========================================================================
   MUSIC PAGE
   ========================================================================== */
.musicpage { padding: 4rem 0 5rem; }
.music__stats--wide { grid-template-columns: repeat(4, 1fr); }
.musicpage .music__inner { grid-template-columns: 1fr; }
.discography { background: var(--lavender); padding: 7rem 0 8rem; }
.discography__list { display: grid; gap: 2rem; max-width: 1500px; margin: 3rem auto 0; padding: 0 var(--gutter); }
.discog { background: var(--white); border-radius: 1.6rem; padding: 2rem 2.4rem 1.6rem; border: 1px solid rgba(72,28,104,.08); }
.discog__head { display: grid; grid-template-columns: 5rem 1fr auto; gap: 1.6rem; align-items: center; color: var(--ink); }
.discog__thumb { width: 5rem; height: 5rem; border-radius: 50%; overflow: hidden; background: linear-gradient(180deg, #2A1147, #481C68); position: relative; }
.discog__thumb picture { position: absolute; left: 50%; top: 8%; height: 190%; transform: translateX(-50%); }
.discog__thumb img { height: 100%; width: auto; max-width: none; }
.discog__head .talent__no { color: var(--coral); }
.discog__name { font-family: var(--f-jp); font-weight: 900; font-size: 1.7rem; margin-top: .3rem; line-height: 1.2; }
.discog__head .talent__romaji { margin-top: .2rem; }
.discog__count { font-family: var(--f-display); text-align: center; display: grid; font-size: .56rem; letter-spacing: .22em; color: var(--ink-3); }
.discog__count b { font-size: 2.2rem; font-weight: 300; color: var(--purple); line-height: 1; }
.discog .tracklist { margin-top: 1.4rem; }

.cta-band { background: var(--purple); color: var(--white); padding: 7rem 0; }
.cta-band--music { background: radial-gradient(70% 90% at 90% 50%, rgba(224,116,92,.35), transparent 60%), var(--purple-900); }
.cta-band__inner { max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--f-jp); font-weight: 900; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.2; }
.cta-band .btn--primary { color: var(--purple-950); }

/* ==========================================================================
   MOVIE PAGE
   ========================================================================== */
.moviepage { background: var(--lavender); padding: 5rem 0 6rem; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 1500px; margin: 0 auto 3rem; padding: 0 var(--gutter); }
.filter { font-family: var(--f-display); font-size: .66rem; letter-spacing: .2em; font-weight: 600; padding: .75rem 1.25rem; border-radius: 999px; border: 1px solid rgba(72,28,104,.25); color: var(--purple); transition: .3s; }
.filter:hover, .filter.is-active { background: var(--purple); color: var(--white); border-color: var(--purple); }
.movie__grid--flow { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); max-width: 1500px; gap: 3rem 2rem; margin-top: 0; align-items: start; }
.movie__grid--flow .phone--lift { transform: none; }
.phone { display: block; color: inherit; }
.phone__ui { display: flex; align-items: center; gap: .6rem; }
.phone__ui time { font-family: var(--f-display); font-size: .56rem; letter-spacing: .15em; color: rgba(255,255,255,.85); }
.phone__credit { font-size: .74rem; color: var(--ink-3); margin-top: .1rem; }
.phone__play { position: absolute; left: 50%; top: 50%; width: 4.2rem; height: 4.2rem; border-radius: 50%; transform: translate(-50%, -50%) scale(.8); background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.35); opacity: 0; transition: .4s var(--ease-out); }
.phone__play::after { content: ""; position: absolute; left: 55%; top: 50%; transform: translate(-50%, -50%); border-left: 14px solid var(--white); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.phone:hover .phone__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.phone__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, #2A1147, #481C68); font-family: var(--f-display); letter-spacing: .3em; text-align: center; color: rgba(255,255,255,.6); font-size: .8rem; line-height: 1.8; }
.mvsection { background: var(--purple-900); color: var(--white); padding: 7rem 0 8rem; }
.mvsection .section-head__title em { font-family: var(--f-serif); font-style: italic; font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mvsection__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 1500px; margin: 3rem auto 0; padding: 0 var(--gutter); }
.mvcard { border-radius: 1.6rem; overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: transform .6s var(--ease-out), border-color .6s; }
.mvcard:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.25); }
.mvcard__thumb { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(60% 80% at 70% 60%, rgba(185,194,242,.25), transparent 60%), linear-gradient(135deg, #2A1147, #481C68); overflow: hidden; }
.mvcard__thumb picture { position: absolute; left: 62%; top: 6%; height: 150%; transform: translateX(-50%); }
.mvcard__thumb img { height: 100%; width: auto; max-width: none; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.mvcard__badge { position: absolute; left: 1.1rem; top: 1.1rem; font-family: var(--f-display); font-size: .56rem; font-weight: 700; letter-spacing: .22em; padding: .45rem .8rem; border-radius: 999px; background: var(--grad); color: var(--purple-950); }
.mvcard__info { padding: 1.6rem 1.8rem 1.9rem; }
.mvcard__info .talent__no { color: var(--gold); }
.mvcard__info h3 { font-family: var(--f-jp); font-weight: 900; font-size: 1.6rem; margin-top: .5rem; }
.mvcard__info p { margin-top: .6rem; opacity: .7; font-size: .9rem; line-height: 1.9; }
.mvsection .movie__more { margin-top: 3.5rem; }

/* ==========================================================================
   NEWS PAGE
   ========================================================================== */
.newspage { background: var(--lavender); padding: 5rem 0 9rem; }
.newspage .filters { padding: 0; margin-bottom: 2.5rem; }
.newslist { list-style: none; border-top: 1px solid rgba(28,22,38,.12); }
.newsitem { border-bottom: 1px solid rgba(28,22,38,.12); }
.newsitem__head { width: 100%; display: grid; grid-template-columns: 8rem 6rem 1fr 2.6rem; gap: 1.5rem; align-items: center; padding: 1.8rem 0; text-align: left; transition: padding-left .45s var(--ease-out); color: var(--ink); }
.newsitem__head:hover { padding-left: 1rem; }
.newsitem__head time { font-family: var(--f-display); font-weight: 500; letter-spacing: .1em; color: var(--ink-3); font-size: .85rem; }
.newsitem__title { font-weight: 600; line-height: 1.7; }
.newsitem__toggle { position: relative; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(28,22,38,.15); transition: background .4s, border-color .4s; }
.newsitem__toggle::before, .newsitem__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: .9rem; height: 1px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .4s, background .4s, opacity .4s; }
.newsitem__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.newsitem.is-open .newsitem__toggle { background: var(--purple); border-color: var(--purple); }
.newsitem.is-open .newsitem__toggle::before, .newsitem.is-open .newsitem__toggle::after { background: var(--white); }
.newsitem.is-open .newsitem__toggle::after { opacity: 0; transform: translate(-50%, -50%) rotate(0); }
.newsitem__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.newsitem__body > p { overflow: hidden; min-height: 0; margin-left: calc(8rem + 6rem + 3rem); color: var(--ink-2); line-height: 2.1; padding-bottom: 0; transition: padding .55s var(--ease-out); }
.newsitem.is-open .newsitem__body { grid-template-rows: 1fr; }
.newsitem.is-open .newsitem__body > p { padding-bottom: 2rem; }
.news__list--links .news__item { cursor: pointer; }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.wordmark { background: var(--white); padding: 8rem 0; }
.wordmark__inner { max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.wordmark__en { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 5.5rem); letter-spacing: -.03em; color: var(--purple); line-height: 1; }
.wordmark__jp { display: block; margin-top: .4rem; font-family: var(--f-serif); font-weight: 600; font-size: clamp(2rem, 4vw, 3.4rem); color: var(--coral); line-height: 1.2; }
.wordmark__item p { margin-top: 1.4rem; color: var(--ink-2); line-height: 2; max-width: 26em; }
.wordmark__x { font-family: var(--f-display); font-weight: 300; font-size: clamp(3rem, 8vw, 7rem); color: var(--purple-200); line-height: 1; padding-top: .3em; }
.pillars { background: var(--lavender); padding: 8rem 0 9rem; }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: 1500px; margin: 3rem auto 0; padding: 0 var(--gutter); }
.pillar { position: relative; background: var(--white); border-radius: 1.6rem; padding: 2.6rem 2.4rem; border: 1px solid rgba(72,28,104,.08); overflow: hidden; }
.pillar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.pillar:hover::after { transform: scaleX(1); }
.pillar__num { font-family: var(--f-display); font-weight: 300; font-size: 3rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pillar__title { margin-top: 1rem; font-family: var(--f-jp); font-weight: 900; font-size: 1.9rem; line-height: 1.3; color: var(--ink); }
.pillar p { margin-top: 1.2rem; color: var(--ink-2); line-height: 2; }
.process { background: var(--purple-900); color: var(--white); padding: 8rem 0 9rem; }
.process__inner { max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); }
.process .section-head { padding: 0; }
.process__steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 3.5rem; }
.step { position: relative; padding: 2.2rem 1.9rem 2.4rem; border-radius: 1.4rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.step:not(:last-child)::after { content: ""; position: absolute; right: -1.4rem; top: 3.1rem; width: 1.4rem; height: 1px; background: linear-gradient(90deg, var(--coral), var(--gold)); }
.step__num { font-family: var(--f-display); font-weight: 300; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.step__title { margin-top: .8rem; font-family: var(--f-jp); font-weight: 900; font-size: 1.3rem; }
.step p { margin-top: 1rem; opacity: .75; font-size: .9rem; line-height: 1.95; }

/* ==========================================================================
   COMPANY / CONTACT
   ========================================================================== */
.companypage { padding: 7rem 0 8rem; }
.brand { background: var(--purple-950); color: var(--white); padding: 7rem 0 9rem; }
.brand__inner { max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); }
.brand .section-head { padding: 0; }
.brand__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; align-items: center; }
.brand__logo img { width: 10rem; }
.brand__logo p { margin-top: 2rem; opacity: .8; line-height: 2; max-width: 28em; }
.swatches { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.swatches li { padding: 1.3rem; border-radius: 1.2rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); display: grid; gap: .6rem; }
.swatches span { display: block; height: 4rem; border-radius: .8rem; background: var(--c); border: 1px solid rgba(255,255,255,.15); }
.swatches b { font-family: var(--f-display); font-size: .68rem; letter-spacing: .22em; }
.swatches small { font-family: var(--f-display); font-size: .62rem; opacity: .5; letter-spacing: .1em; }
.contactpage { background: var(--purple-900); color: var(--white); padding: 1rem 0 7rem; }
.contactpage .contact__sns { margin-top: 1rem; }
.contactpage .contact__text { margin-top: 3rem; text-align: center; }
/* SNS buttons carry each service's own identity */
.snsbtn { --brand: #fff; justify-items: center; gap: .5rem; padding: 1.8rem 1rem 1.6rem; }
.snsbtn__icon { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; margin-bottom: .4rem; box-shadow: 0 12px 30px -12px rgba(0,0,0,.7); transition: transform .5s var(--ease-out); }
.snsbtn__icon svg { width: 1.5rem; height: 1.5rem; fill: #fff; }
.snsbtn:hover .snsbtn__icon { transform: translateY(-3px) scale(1.06); }
.snsbtn:hover { border-color: var(--brand); box-shadow: 0 20px 40px -24px var(--brand); }
.snsbtn--x { --brand: #E7E9EA; } .snsbtn--x .snsbtn__icon { background: #000; border: 1px solid rgba(255,255,255,.25); }
.snsbtn--instagram { --brand: #EE2A7B; } .snsbtn--instagram .snsbtn__icon { background: linear-gradient(45deg, #F9CE34 0%, #EE2A7B 50%, #6228D7 100%); }
.snsbtn--threads { --brand: #E7E9EA; } .snsbtn--threads .snsbtn__icon { background: #000; border: 1px solid rgba(255,255,255,.25); }
.snsbtn--youtube { --brand: #FF0033; } .snsbtn--youtube .snsbtn__icon { background: #FF0033; }
.snsbtn--youtube .snsbtn__icon svg { width: 1.7rem; height: 1.7rem; }
/* representative */
.rep { background: var(--white); padding: 7rem 0; }
.rep__inner { max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.rep__avatar { width: clamp(11rem, 18vw, 16rem); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: radial-gradient(70% 70% at 50% 40%, var(--purple-700), var(--purple-950)); display: grid; place-items: center; box-shadow: 0 30px 60px -30px rgba(72,28,104,.6); border: 4px solid var(--white); outline: 1px solid rgba(72,28,104,.15); }
.rep__avatar img { width: 100%; height: 100%; object-fit: cover; }
.rep__avatar img.is-mark { width: 44%; height: auto; object-fit: contain; opacity: .9; }
.rep__role { font-family: var(--f-display); font-size: .66rem; letter-spacing: .3em; color: var(--coral); font-weight: 600; }
.rep__name { margin-top: .6rem; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.rep__name small { display: block; margin-top: .5rem; font-family: var(--f-jp); font-weight: 700; font-size: .9rem; letter-spacing: .1em; color: var(--ink-3); }
.rep__msg { margin-top: 1.6rem; color: var(--ink-2); line-height: 2.1; max-width: 40em; }
.rep__msg strong { font-family: var(--f-serif); font-weight: 600; color: var(--purple); font-size: 1.15em; }
.guide { background: var(--lavender); padding: 7rem 0 9rem; }
.guide__inner { max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.guide__col { background: var(--white); border-radius: 1.6rem; padding: 2.6rem 2.4rem; border: 1px solid rgba(72,28,104,.08); }
.guide__mark { display: inline-block; font-family: var(--f-display); font-weight: 800; font-size: .68rem; letter-spacing: .3em; padding: .5rem .95rem; border-radius: 999px; }
.guide__mark--ok { background: var(--purple); color: var(--white); }
.guide__mark--ng { border: 1px solid var(--coral); color: var(--coral); }
.guide__col h3 { margin-top: 1.2rem; font-family: var(--f-jp); font-weight: 900; font-size: 1.4rem; color: var(--ink); }
.guide__col ul { list-style: none; margin-top: 1rem; }
.guide__col li { padding: .75rem 0; border-bottom: 1px solid rgba(28,22,38,.1); color: var(--ink-2); }
.guide__note { margin-top: 1.2rem; font-size: .8rem; color: var(--ink-3); line-height: 1.8; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .thero__inner { grid-template-columns: 1fr; }
  .thero__visual { order: -1; height: 56vh; }
  .roster { grid-template-columns: repeat(2, 1fr); }
  .mpanel, .mpanel--reverse { grid-template-columns: 1fr; }
  .mpanel--reverse .mpanel__visual { order: 0; }
  .mpanel__visual { min-height: auto; }
  .mpanel__visual picture { height: 56vh; }
  .tprofile__inner { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .brand__grid, .mvsection__grid { grid-template-columns: 1fr; }
  .music__stats--wide { grid-template-columns: repeat(2, 1fr); }
  .stage__lineup { height: min(52vh, 560px); }
  .fig--rago { left: 22%; }
  .fig--bima { right: 22%; }
  .fig--karen { left: 4%; }
  .fig--akari { right: 4%; }
}
@media (max-width: 860px) {
  .roster, .pillars__grid, .process__steps, .guide__inner, .wordmark__inner { grid-template-columns: 1fr; }
  .roster { max-width: 480px; }
  .wordmark__x { display: none; }
  .tnav { grid-template-columns: 1fr; }
  .tnav__item--all { border-left: 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
  .tnav__item--next { text-align: left; justify-items: start; }
  .newsitem__head { grid-template-columns: 1fr 2.6rem; gap: .6rem 1rem; }
  .newsitem__head time { grid-column: 1; }
  .newsitem__head .news__tag { grid-column: 1; justify-self: start; }
  .newsitem__head .newsitem__title { grid-column: 1; }
  .newsitem__head .newsitem__toggle { grid-column: 2; grid-row: 1 / span 3; }
  .newsitem__body > p { margin-left: 0; }
  .tracklist li { grid-template-columns: 2.5rem 1fr auto; gap: .8rem; }
  .discog__head { grid-template-columns: 4rem 1fr; }
  .discog__count { display: none; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .rep__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .rep__msg { text-align: left; }
  .pagehero { min-height: 48vh; padding-top: calc(var(--nav-h) + 4rem); }
  .thero__trio picture { height: 78%; }
  .thero__trio picture:nth-child(1) { left: -4%; }
  .thero__trio picture:nth-child(3) { right: -4%; }
  /* stage: 3 figures on mobile */
  .stage__lineup { height: min(46vh, 480px); margin-top: 0; }
  .fig--rago, .fig--bima { display: none; }
  .fig--karen { left: -2%; height: 90%; }
  .fig--akari { right: -2%; height: 90%; }
  .fig--karakenda { height: 90%; }
  .stage__gen { font-size: .72rem; }
  .gen-head { flex-wrap: wrap; }
  .stage__title { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .stage__deep--1 { top: 16%; }
  .stage__deep--2 { top: 46%; }
  .fig__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fig, .stage__deep, .stage__lines, .stage__text { transform: none !important; }
  .fig, .stage__deep, .stage__floor { opacity: 1 !important; transition: none !important; }
}
html:not(.js) .fig, html:not(.js) .stage__deep, html:not(.js) .stage__floor { opacity: 1; }
