/* EchoesLab — night-indigo stage, paper-white pages. Each title brings its own colour (--tint); the rest stays quiet.
   The dark hero/footer + light reading surface mix is intentional. */
:root {
  color-scheme: light;
  --bg: #eef0f8;
  --surface: #ffffff;
  --ink: #0b1030;
  --ink-soft: #565e82;
  --line: #d9ddee;
  --accent: #14b8d8;
  --accent-deep: #0a7f99;
  --deep: #070b24;
  --deep-2: #0e1540;
  --deep-ink: #eef0fb;
  --deep-soft: #98a1cc;
  --adult: #c23868;
  --tint: #14b8d8;
  --radius: 4px;
  --shadow: 0 24px 50px -28px rgba(7, 11, 36, .6);
  --max: 1160px;
  --display: "Barlow Condensed", "Arial Narrow", "Zen Kaku Gothic New", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  font-feature-settings: "palt";
  word-break: auto-phrase;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.3; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

/* ---------- header (dark, over the stage) ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(7, 11, 36, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.head-row { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); display: flex; align-items: stretch; gap: clamp(.75rem, 3vw, 2.5rem); min-height: 62px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.tabs { display: flex; list-style: none; margin: 0 0 0 auto; padding: 0; }
.tabs a { position: relative; display: flex; align-items: center; height: 100%; padding: 0 clamp(.7rem, 1.6vw, 1.2rem); text-decoration: none; font-size: .86rem; font-weight: 700; color: var(--deep-soft); transition: color .15s; }
.tabs a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 3px; background: var(--accent); transition: left .2s, right .2s; }
.tabs a:hover, .tabs a[aria-current="page"] { color: #fff; }
.tabs a:hover::after, .tabs a[aria-current="page"]::after { left: 14%; right: 14%; }
.lang { display: flex; align-items: center; margin-left: .4rem; }
.lang button { background: none; border: 1px solid rgba(255, 255, 255, .22); padding: .15rem .65rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; cursor: pointer; color: var(--deep-soft); }
.lang button:first-child { border-radius: 99px 0 0 99px; }
.lang button:last-child { border-radius: 0 99px 99px 0; margin-left: -1px; }
.lang button[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--deep); }

/* ---------- ripples: the "echo" ---------- */
.ripples { position: absolute; pointer-events: none; width: 760px; height: 760px; border-radius: 50%; left: var(--cx, 74%); top: var(--cy, 50%); transform: translate(-50%, -50%); }
.ripples i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--tint) 70%, #fff 10%); opacity: 0; animation: ripple 9s cubic-bezier(.2, .6, .3, 1) infinite; }
.ripples i:nth-child(2) { animation-delay: 3s; }
.ripples i:nth-child(3) { animation-delay: 6s; }
@keyframes ripple { 0% { transform: scale(.28); opacity: .75; } 80% { opacity: .08; } 100% { transform: scale(1.15); opacity: 0; } }

/* ---------- stage (hero carousel) ---------- */
.stage { position: relative; background: var(--deep); color: var(--deep-ink); overflow: hidden; isolation: isolate; }
.slides { position: relative; min-height: 580px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.slide.is-on { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: -40px; background-size: cover; background-position: 50% 25%; filter: blur(34px) saturate(1.5) brightness(.5); transform: scale(1.1); opacity: .9; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7, 11, 36, .92) 0%, rgba(7, 11, 36, .55) 55%, rgba(7, 11, 36, .35) 100%), linear-gradient(0deg, var(--deep) 0%, transparent 35%); }
.slide .ripples { z-index: 1; }
.ghost { position: absolute; z-index: 1; left: -.04em; bottom: -.12em; font-family: var(--display); font-weight: 800; text-transform: uppercase; white-space: nowrap; line-height: .8; font-size: clamp(6rem, 17vw, 17rem); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .1); pointer-events: none; user-select: none; }
.slide-inner { position: relative; z-index: 2; max-width: var(--max); height: 100%; margin: 0 auto; padding: 2.4rem clamp(1rem, 4vw, 2rem) 4rem; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2rem; align-items: center; }
.slide-copy .chips { margin-bottom: 1.1rem; }
.kicker { font-family: var(--display); font-size: .95rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--tint); margin-bottom: .8rem; }
.slide-copy h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 900; line-height: 1.18; letter-spacing: .01em; text-shadow: 0 4px 30px rgba(0, 0, 0, .4); }
.slide-copy .sub { margin-top: .5rem; font-family: var(--display); font-size: 1.05rem; font-weight: 600; letter-spacing: .26em; color: var(--deep-soft); text-transform: uppercase; }
.slide-copy .lead { margin-top: 1.2rem; max-width: 30em; color: #d3d9f3; font-size: 1.02rem; }
.slide-copy .actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.slide-art { display: flex; align-items: center; justify-content: center; perspective: 1100px; }
.cover { position: relative; transform-style: preserve-3d; transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 3deg)); transition: transform .25s ease-out; will-change: transform; }
.cover img { max-height: 420px; width: auto; max-width: 100%; border-radius: 3px; box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .2); }
.cover img.wide { width: min(520px, 100%); max-height: none; }
.cover::after { content: ""; position: absolute; inset: 0; border-radius: 3px; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .26) 0%, transparent 38%); }
.stage-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 1.2rem; max-width: var(--max); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); display: flex; align-items: center; gap: 1.4rem; }
.counter { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .2em; color: var(--deep-soft); font-variant-numeric: tabular-nums; }
.counter b { color: #fff; font-size: 1.4rem; }
.dots { display: flex; gap: .5rem; flex: 1; max-width: 360px; }
.dots button { position: relative; flex: 1; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .22); cursor: pointer; overflow: hidden; }
.dots button::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.dots button[aria-current="true"]::after { transform: scaleX(1); }
.stage.playing .dots button[aria-current="true"]::after { animation: prog var(--dur, 6.5s) linear forwards; }
.stage.paused .dots button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* brand slide: covers fanned like a hand of cards */
.fan { position: relative; width: 100%; height: 400px; }
.fan a { position: absolute; left: 50%; top: 50%; width: 200px; aspect-ratio: 3 / 4.15; margin: -207px 0 0 -100px; border-radius: 3px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 34px 50px -22px rgba(0, 0, 0, .8); transform: translate(var(--x), var(--y)) rotate(var(--r)); transition: transform .35s cubic-bezier(.2, .8, .3, 1); z-index: var(--z); }
.fan a:hover, .fan a:focus-visible { transform: translate(var(--x), calc(var(--y) - 22px)) rotate(var(--r)) scale(1.05); z-index: 9; }
.fan img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.fan a::after { content: attr(data-nm); position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .6rem .5rem; font-size: .68rem; font-weight: 700; line-height: 1.35; color: #fff; background: linear-gradient(0deg, rgba(7, 11, 36, .9), transparent); }

/* ---------- chips & buttons ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-flex; align-items: center; font-size: .7rem; font-weight: 700; letter-spacing: .08em; padding: .1rem .65rem; border: 1px solid currentColor; border-radius: 99px; line-height: 1.7; white-space: nowrap; }
.chip.soon { color: var(--accent-deep); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.adult { color: var(--adult); }
.chip.plain { color: var(--ink-soft); }
.chip.allages { border-color: transparent; background: color-mix(in srgb, var(--accent) 16%, #fff); color: var(--accent-deep); }
.stage .chip.soon, .hero-t .chip.soon, .card .chip.soon { color: #6fe0f5; }
.stage .chip.adult, .hero-t .chip.adult, .card .chip.adult { color: #ff8fb0; }
.stage .chip.allages, .hero-t .chip.allages, .card .chip.allages { background: rgba(255, 255, 255, .18); color: #fff; }
.stage .chip.plain, .hero-t .chip.plain, .card .chip.plain { color: var(--deep-soft); }
.card .chip { background-color: rgba(7, 11, 36, .55); backdrop-filter: blur(4px); }
.card .chip.allages { background-color: rgba(255, 255, 255, .22); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .72rem 1.45rem; border-radius: 99px; font-size: .9rem; font-weight: 900; letter-spacing: .03em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .18s, background .18s, color .18s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: #fff; color: var(--deep); box-shadow: 0 12px 28px -12px rgba(255, 255, 255, .5); }
.btn.line { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn.line:hover { background: rgba(255, 255, 255, .12); }
.btn.is-off { opacity: .62; cursor: default; pointer-events: none; }
.btn .note { font-weight: 500; font-size: .75rem; opacity: .75; }
.arrow::after { content: "→"; font-family: var(--display); font-size: 1.1em; }

/* ---------- ticker ---------- */
.ticker { background: var(--accent); color: #04142b; overflow: hidden; white-space: nowrap; }
.ticker div { display: inline-flex; padding: .45rem 0; animation: tick 40s linear infinite; font-family: var(--display); font-weight: 800; letter-spacing: .2em; font-size: .95rem; text-transform: uppercase; }
.ticker span { padding: 0 1.4rem; }
.ticker span::after { content: "◎"; margin-left: 2.8rem; opacity: .7; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: 5rem 0 1rem; }
.sec-head { position: relative; margin: 0 0 2rem; }
.sec-head .bgword { position: absolute; left: -.04em; top: -.62em; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(4.5rem, 12vw, 9rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(11, 16, 48, .1); pointer-events: none; user-select: none; }
.sec-head .eyebrow { position: relative; display: block; font-family: var(--display); font-size: .95rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--accent-deep); }
.sec-head h2 { position: relative; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 900; letter-spacing: .03em; }
.sec-head h2::after { content: ""; display: block; width: 44px; height: 4px; margin-top: .6rem; background: var(--tint, var(--accent)); }

/* ---------- title cards (magazine grid) ---------- */
.mag { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.1rem; }
.mag .card:nth-child(1) { grid-column: span 7; }
.mag .card:nth-child(2) { grid-column: span 5; }
.mag .card:nth-child(n+3) { grid-column: span 4; }
.mag.small .card:nth-child(n) { grid-column: span 3; }
.card { position: relative; display: block; min-height: 320px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; background: var(--deep-2); isolation: isolate; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s; }
.mag .card:nth-child(-n+2) { min-height: 380px; }
.mag.small .card:nth-child(n) { min-height: 280px; }
.card:hover, .card:focus-visible { transform: translateY(-6px); box-shadow: 0 30px 60px -26px var(--tint); }
.card .art { position: absolute; inset: 0; z-index: -2; }
.card .art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform .8s cubic-bezier(.2, .8, .3, 1); }
.card:hover .art img { transform: scale(1.06); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 11, 36, .94) 0%, rgba(7, 11, 36, .55) 38%, transparent 68%); }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--tint); transform: scaleX(.18); transform-origin: left; transition: transform .45s cubic-bezier(.2, .8, .3, 1); }
.card:hover::after { transform: scaleX(1); }
.card .top { position: absolute; top: .9rem; left: .9rem; right: .9rem; display: flex; justify-content: space-between; gap: .5rem; }
.card .body { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.card .en { font-family: var(--display); font-weight: 700; letter-spacing: .22em; font-size: .82rem; text-transform: uppercase; color: color-mix(in srgb, var(--tint) 55%, #fff); }
.card .nm { font-size: 1.28rem; font-weight: 900; line-height: 1.3; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.mag .card:nth-child(-n+2) .nm { font-size: 1.55rem; }
.card .veil { position: absolute; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-weight: 900; color: #fff; background: rgba(90, 24, 70, .28); text-shadow: 0 2px 16px rgba(70, 10, 50, .7); }
.veil b { font-family: var(--display); font-size: 4.2rem; letter-spacing: .06em; line-height: 1; }
.veil span { font-size: .85rem; letter-spacing: .16em; }

/* ---------- news / stores ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.news { list-style: none; margin: 0; padding: 0; }
.news li > a, .news li > div { display: grid; grid-template-columns: 68px 1fr; gap: 1.1rem; align-items: center; padding: 1rem 1.1rem; text-decoration: none; border-bottom: 1px solid var(--line); transition: background .15s; }
.news li:last-child > a, .news li:last-child > div { border-bottom: 0; }
.news li > a:hover { background: color-mix(in srgb, var(--accent) 9%, #fff); }
.news .th { width: 68px; height: 68px; border-radius: 3px; overflow: hidden; background: var(--deep); display: flex; align-items: center; justify-content: center; }
.news .th img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.news .th img.logo { width: 72%; height: auto; object-fit: contain; }
.news .meta { display: flex; align-items: center; gap: .6rem; font-size: .78rem; color: var(--ink-soft); }
.news time { font-variant-numeric: tabular-nums; font-family: var(--display); font-weight: 600; letter-spacing: .1em; font-size: .95rem; }
.news .tag { font-size: .66rem; font-weight: 700; letter-spacing: .08em; border: 1px solid var(--line); padding: 0 .5rem; border-radius: 99px; color: var(--accent-deep); }
.news .ttl { margin-top: .15rem; font-size: .92rem; font-weight: 500; line-height: 1.6; color: var(--ink); }

.stores { display: flex; flex-direction: column; gap: 1.2rem; }
.store { overflow: hidden; }
.store h3 { display: flex; align-items: center; gap: .6rem; padding: .85rem 1.1rem; font-family: var(--display); letter-spacing: .2em; text-transform: uppercase; font-size: 1.05rem; font-weight: 800; color: #fff; background: var(--deep); }
.store h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(20, 184, 216, .25); }
.store ul { list-style: none; margin: 0; padding: 0 1.1rem; }
.store li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--line); font-size: .88rem; font-weight: 500; }
.store li:first-child { border-top: 0; }
.store li a { text-decoration: none; font-weight: 700; }
.store li a:hover { text-decoration: underline; }

/* ---------- about band ---------- */
.about { position: relative; margin-top: 5rem; background: var(--deep); color: var(--deep-ink); overflow: hidden; padding: 5rem 0; --tint: #14b8d8; }
.about .ripples { --cx: 88%; --cy: 50%; width: 900px; height: 900px; }
.about .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about .big { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(3rem, 8vw, 6.4rem); line-height: .92; }
.about .big em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--accent); }
.about .tagline { font-size: 1.2rem; font-weight: 900; margin-bottom: .8rem; }
.about p.txt { color: #c9d0ee; max-width: 36em; }

/* ---------- footer ---------- */
.site-foot { background: #04071a; color: var(--deep-ink); padding: 3.2rem 0 2.2rem; font-size: .82rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.foot-grid img { height: 34px; width: auto; margin-bottom: 1rem; }
.foot-grid p { color: var(--deep-soft); max-width: 26em; }
.foot-grid h4 { margin: 0 0 .8rem; font-family: var(--display); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; font-size: .9rem; color: var(--accent); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.site-foot a { color: var(--deep-ink); text-decoration: none; opacity: .85; }
.site-foot a:hover { text-decoration: underline; opacity: 1; }
.site-foot .legal { margin-top: 1.4rem; color: var(--deep-soft); line-height: 1.9; max-width: 72em; }
.totop { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 35; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--deep); color: #fff; font-family: var(--display); font-size: 1.2rem; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- title page ---------- */
.hero-t { position: relative; background: var(--deep); color: var(--deep-ink); overflow: hidden; isolation: isolate; }
.hero-t .slide-bg { filter: blur(40px) saturate(1.6) brightness(.46); }
.hero-t::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7, 11, 36, .9) 0%, rgba(7, 11, 36, .5) 60%, rgba(7, 11, 36, .3) 100%), linear-gradient(0deg, var(--deep) 0%, transparent 30%); }
.hero-t .ripples { z-index: 1; --cx: 76%; }
.hero-t .ghost { font-size: clamp(5rem, 14vw, 13rem); }
.hero-t .inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 1.2rem clamp(1rem, 4vw, 2rem) 4.2rem; }
.crumbs { padding: .4rem 0 1.4rem; font-size: .78rem; color: var(--deep-soft); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.hero-t .cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2.5rem; align-items: center; }
.hero-t h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 900; line-height: 1.16; text-shadow: 0 4px 30px rgba(0, 0, 0, .45); }
.hero-t .sub { margin-top: .5rem; font-family: var(--display); font-size: 1.05rem; font-weight: 600; letter-spacing: .26em; color: var(--deep-soft); text-transform: uppercase; }
.hero-t .chips { margin: 1.1rem 0 0; }
.hero-t .lead { margin-top: 1.2rem; color: #d3d9f3; max-width: 30em; font-size: 1.02rem; }
.hero-t .actions { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.art-blur { position: relative; width: 100%; max-width: 330px; aspect-ratio: 4 / 5; overflow: hidden; border: 3px solid #fff; border-radius: 3px; box-shadow: 0 40px 70px -26px rgba(0, 0, 0, .8); }
.art-blur img { width: 100%; height: 100%; object-fit: cover; }
.art-blur .veil { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-weight: 900; color: #fff; background: rgba(90, 24, 70, .28); text-shadow: 0 2px 16px rgba(70, 10, 50, .7); }

.facts { position: relative; z-index: 3; max-width: var(--max); margin: -2.4rem auto 0; padding: 0 clamp(1rem, 4vw, 2rem); }
.facts dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.facts div { padding: 1rem 1.2rem; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts dt { font-family: var(--display); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .8rem; color: var(--accent-deep); }
.facts dd { margin: .15rem 0 0; font-size: .92rem; font-weight: 700; line-height: 1.5; }

.body-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.body-grid .section { padding-top: 4rem; }
.lede-q { font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 900; line-height: 1.55; padding-left: 1.4rem; margin-bottom: 1.6rem; border-left: 5px solid var(--tint); max-width: 24em; }
.prose p { margin-bottom: 1.1em; max-width: 36em; }
.prose p:last-child { margin-bottom: 0; }
.note-box { margin-top: 1.6rem; padding: .95rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--tint); border-radius: var(--radius); font-size: .86rem; color: var(--ink-soft); }
.spec { margin: 0; padding: .6rem 1.2rem; }
.spec div { display: grid; grid-template-columns: 6rem 1fr; gap: .8rem; padding: .65rem 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.spec div:last-child { border-bottom: 0; }
.spec dt { font-weight: 700; color: var(--ink-soft); }
.spec dd { margin: 0; }
.cgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.cgs button { padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--deep); box-shadow: var(--shadow); }
.cgs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .3, 1); }
.cgs button:hover img { transform: scale(1.05); }
.cast-sec { padding: 4rem 0 1rem; }
.cast { position: relative; display: flex; justify-content: center; align-items: flex-end; padding: 2.2rem 0 0; overflow-x: auto; scroll-snap-type: x proximity; background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--tint) 34%, transparent), transparent 68%); border-bottom: 4px solid var(--tint); }
.cast figure { position: relative; flex: 0 0 auto; margin: 0 -12px; text-align: center; scroll-snap-align: center; transition: transform .35s cubic-bezier(.2, .8, .3, 1); }
.cast figure:hover { transform: translateY(-14px); z-index: 3; }
.cast img { width: auto; height: var(--cast-h, clamp(230px, 22.5vw, 285px)); filter: drop-shadow(0 16px 16px rgba(7, 11, 36, .35)); }
.cast figcaption { position: absolute; left: 50%; bottom: .7rem; transform: translateX(-50%); white-space: nowrap; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 900; padding: .15rem .7rem; border-radius: 2px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6); }
.cast figcaption span { display: block; font-size: .66rem; font-weight: 500; letter-spacing: .08em; opacity: .8; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.shots button { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--surface); box-shadow: var(--shadow); }
.shots img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .3, 1); }
.shots button:hover img { transform: scale(1.04); }
.shots span { display: block; padding: .55rem .9rem .65rem; text-align: left; font-size: .8rem; font-weight: 700; color: var(--ink); background: var(--surface); border-top: 3px solid var(--tint); }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 980px); width: 100%; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(4, 7, 26, .88); backdrop-filter: blur(4px); }
dialog.lightbox img { width: 100%; height: auto; border: 3px solid #fff; border-radius: 3px; }
dialog.lightbox .bar { display: flex; justify-content: space-between; align-items: center; color: #fff; padding: 0 0 .5rem; font-size: .85rem; }
dialog.lightbox button { background: #fff; color: var(--deep); border: 0; padding: .35rem 1rem; font-weight: 900; cursor: pointer; border-radius: 99px; }
dialog.lightbox .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0; font-family: var(--display); font-size: 1.4rem; }
dialog.lightbox .prev { left: -54px; }
dialog.lightbox .next { right: -54px; }

.cta-bar { display: none; }

/* age gate (adult title only) */
.gate { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1.2rem; background: rgba(4, 7, 26, .95); }
.gate-card { max-width: 440px; width: 100%; background: var(--surface); border-radius: var(--radius); padding: 2.2rem 1.8rem; text-align: center; }
.gate-card h2 { font-size: 1.3rem; font-weight: 900; margin-bottom: .8rem; }
.gate-card p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1.4rem; }
.gate-card .row { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.gate-card .btn.primary { background: var(--ink); color: #fff; box-shadow: none; }
.gate-card .btn.line { border-color: var(--ink); color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .mag .card:nth-child(n) { grid-column: span 6; }
  .mag .card:nth-child(1), .mag .card:nth-child(5) { grid-column: span 12; }
  .mag.small .card:nth-child(n) { grid-column: span 6; }
  .two-col, .body-grid, .about .wrap { grid-template-columns: minmax(0, 1fr); }
  .facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: span 2; }
}
@media (max-width: 760px) {
  .tabs { display: none; }
  .lang { margin-left: auto; }
  .slides { min-height: 790px; }
  .slide-inner { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 1.4rem; padding-top: 1.6rem; }
  .slide-art { order: -1; }
  .cover img { max-height: 250px; }
  .cover img.wide { width: min(360px, 100%); }
  .fan { height: 290px; }
  .fan a { width: 130px; margin: -135px 0 0 -65px; transform: translate(calc(var(--x) * .6), var(--y)) rotate(var(--r)); }
  .fan a:hover, .fan a:focus-visible { transform: translate(calc(var(--x) * .6), calc(var(--y) - 16px)) rotate(var(--r)) scale(1.05); }
  .ghost { font-size: 5.5rem; }
  .hero-t .cols { grid-template-columns: minmax(0, 1fr); }
  .hero-t .cols > .slide-art { order: -1; }
  .mag .card:nth-child(n), .mag.small .card:nth-child(n) { grid-column: span 12; min-height: 260px; }
  .facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { grid-template-columns: minmax(0, 1fr); }
  .cgs { grid-template-columns: minmax(0, 1fr); }
  .cast { justify-content: flex-start; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-grid > div:first-child { grid-column: auto; }
  dialog.lightbox .prev { left: 4px; }
  dialog.lightbox .next { right: 4px; }
  .cta-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 38; padding: .7rem 1rem; gap: .7rem; background: rgba(7, 11, 36, .96); border-top: 1px solid rgba(255, 255, 255, .12); }
  .cta-bar .btn { flex: 1; }
  .totop { bottom: 4.6rem; }
  .slide .ripples, .hero-t .ripples { left: 50%; top: 20%; width: 520px; height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .ripples i { opacity: .25 !important; }
  .ripples i:nth-child(1) { transform: scale(.5) !important; }
  .ripples i:nth-child(2) { transform: scale(.78) !important; }
  .ripples i:nth-child(3) { transform: scale(1) !important; }
}

/* official intro line, and character profile cards */
.intro { margin: 0 0 1.4rem; max-width: 36em; font-weight: 700; color: var(--ink-soft); }
.profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.prof { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 1rem; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--tint); border-radius: var(--radius); }
.prof:not(:has(.av)) { grid-template-columns: minmax(0, 1fr); }
.prof .av { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: color-mix(in srgb, var(--tint) 20%, var(--surface)); }
.prof .av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 5%; }
.prof h3 { font-size: 1.02rem; font-weight: 900; }
.prof .meta { margin-bottom: .35rem; font-size: .76rem; font-weight: 700; letter-spacing: .06em; color: var(--accent-deep); }
.prof .d { font-size: .86rem; color: var(--ink-soft); line-height: 1.75; }
@media (max-width: 760px) { .profiles { grid-template-columns: minmax(0, 1fr); } }
