/* KIIC Kizuna Matsuri 2027 — sponsor microsite */
:root {
  --ai: #0e2655;
  --ai-2: #173a80;
  --ai-3: #2451a8;
  --shu: #d8282d;
  --shu-2: #b51d23;
  --kin: #c8963e;
  --kin-2: #e7c072;
  --washi: #f7f1e5;
  --washi-2: #ece2cf;
  --paper: #fffcf6;
  --ink: #121a2e;
  --ink-2: #434c63;
  --ink-3: #6b7287;
  --line: rgba(18, 26, 46, .13);
  --line-light: rgba(255, 255, 255, .18);
  --sakura: #f5b9c8;
  --font-d: "Shippori Mincho B1", "Noto Serif JP", Georgia, serif;
  --font-b: "Zen Kaku Gothic New", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(16px, 4.5vw, 56px);
  --max: 1200px;
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.7 var(--font-b);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-d); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--kin-2); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); position: relative; z-index: 2; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--shu); color: #fff; box-shadow: 0 10px 24px -10px rgba(216, 40, 45, .7); }
.btn-red:hover { background: var(--shu-2); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line-light { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn-line-light:hover { background: rgba(255, 255, 255, .1); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-text { color: var(--kin-2); font-weight: 700; text-underline-offset: 4px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .35s, box-shadow .35s, transform .35s var(--ease); }
.nav-in { max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 12px var(--gut); display: flex; align-items: center; gap: 24px; }
.nav-brand img { height: 40px; width: auto; transition: filter .3s; }
.nav-menu { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-menu a { display: block; padding: 8px 12px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 500; font-size: .92rem; transition: background-color .2s, color .2s; }
.nav-menu a:hover { background: rgba(255, 255, 255, .12); }
.nav-menu .nav-cta { background: var(--shu); color: #fff; font-weight: 700; padding: 8px 16px; margin-left: 6px; }
.nav-menu .nav-cta:hover { background: var(--shu-2); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid rgba(255, 255, 255, .6); color: #fff; border-radius: 999px; padding: 6px 16px; font-weight: 700; cursor: pointer; min-height: 40px; }
.nav-brand { order: 0; }
.nav-menu { order: 1; }
.nav-toggle { order: 3; }
.lang { order: 2; display: inline-flex; margin-left: 12px; padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(7, 16, 42, .25); flex: none; }
.lang button { min-width: 44px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .85); font-weight: 700; font-size: .82rem; cursor: pointer; transition: background-color .2s, color .2s; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ai); }
.lang button:hover:not([aria-pressed="true"]) { background: rgba(255, 255, 255, .14); color: #fff; }
.nav.solid { background: rgba(14, 38, 85, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .45); }
.nav.hide { transform: translateY(-100%); }

/* ---------- red thread ---------- */
main { position: relative; }
.thread { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.thread path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.thread-line { stroke: var(--shu); stroke-width: 2.5; }
.thread-shadow { stroke: rgba(120, 10, 20, .18); stroke-width: 6; filter: blur(2px); }
.knot {
  position: absolute; width: 18px; height: 18px; border-radius: 50%; z-index: 3;
  background: var(--paper); border: 2px solid var(--shu);
  transform: translate(-50%, -50%) scale(.7);
  transition: transform .5s var(--ease), background-color .4s, box-shadow .4s;
}
.knot.tied { background: var(--shu); transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 5px rgba(216, 40, 45, .16); }
.knot-hero { left: 50%; bottom: 36px; top: auto; border-color: #fff; background: transparent; }
.knot-hero.tied { background: var(--shu); border-color: #fff; }
.knot-rail { left: calc(var(--gut) * -0.5); top: .55em; }
.sec-head { position: relative; }
.knot-end { left: calc(var(--gut) * -0.5); top: 6px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; background: var(--ai); overflow: hidden; padding: 120px 0 140px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-tex { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 40%, rgba(14, 38, 85, .2), rgba(9, 22, 52, .75)); }
.hero-lanterns { position: absolute; top: 64px; right: -3vw; width: min(640px, 52vw); opacity: .92; z-index: 1; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); }
.hero-art { position: absolute; right: max(-4vw, -60px); bottom: 70px; width: min(52vw, 700px); aspect-ratio: 1 / .95; z-index: 1; }
.hero-sun { position: absolute; right: 6%; top: 0; width: 82%; opacity: .95; will-change: transform; }
.hero-pagoda {
  position: absolute; right: 0; bottom: 0; width: 86%; will-change: transform;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(0deg, transparent 0, #000 14%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(0deg, transparent 0, #000 14%);
  mask-composite: intersect;
}
.hero-fan { position: absolute; left: 2%; bottom: 14%; width: 22%; transform: rotate(-14deg); filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .4)); will-change: transform; }
.hero-vert { position: absolute; right: calc(var(--gut) * .6); top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; font-family: var(--font-d); font-weight: 800; letter-spacing: .4em; color: var(--kin-2); opacity: .75; font-size: 1.05rem; z-index: 2; }
.hero-in { z-index: 3; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--kin-2); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--shu); box-shadow: 0 0 0 4px rgba(216, 40, 45, .3); }
.hero-title { margin: 18px 0 6px; }
.hero-title img { width: min(560px, 82vw); filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .35)); }
.hero-tag { font-family: var(--font-d); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.55rem); color: #fff; opacity: .95; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.hero-meta li { display: flex; flex-direction: column; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); min-width: 140px; }
.hero-meta b { font-family: var(--font-d); font-size: 1.15rem; }
.hero-meta span { font-size: .82rem; opacity: .8; }
.hero-for { margin-top: 20px; font-size: 1rem; padding: 10px 16px; border-left: 3px solid var(--shu); background: rgba(255, 255, 255, .06); max-width: max-content; }
.hero-for strong { color: var(--kin-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.petals { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.petal { position: absolute; top: -20px; width: 12px; height: 10px; background: var(--sakura); border-radius: 12px 1px 12px 1px; opacity: .85; animation: fall linear infinite; }
@keyframes fall {
  0% { transform: translate3d(0, -20px, 0) rotate(0deg); }
  50% { transform: translate3d(40px, 50vh, 0) rotate(200deg); }
  100% { transform: translate3d(-20px, 105vh, 0) rotate(420deg); }
}

/* ---------- 3D story (prolog) ---------- */
.story { display: none; position: relative; height: 560svh; background: #040b20; color: #fff; }
.has-3d .story { display: block; }
.has-3d .hero { display: none; }
.story-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.story-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.story-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(4, 10, 30, .55) 0%, rgba(4, 10, 30, .18) 40%, rgba(4, 10, 30, 0) 62%), linear-gradient(0deg, rgba(4, 10, 30, .45), rgba(4, 10, 30, 0) 34%); }
.story-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); z-index: 3; }
.story-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--shu), var(--kin-2)); transform-origin: 0 50%; transform: scaleX(0); }
.story-chapters { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ch { position: absolute; left: max(var(--gut), calc((100% - var(--max)) / 2)); bottom: clamp(56px, 11vh, 120px); width: min(500px, calc(100% - var(--gut) * 2 - 56px)); opacity: 0; will-change: opacity, transform; pointer-events: none; }
.ch.on { pointer-events: auto; }
.ch-0 { opacity: 1; bottom: auto; top: clamp(96px, 17vh, 170px); width: min(560px, calc(100% - var(--gut) * 2 - 56px)); }
.ch0-title { margin: 16px 0 8px; }
.ch0-title img { width: min(520px, 78vw); filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .45)); }
.ch0-lead { font-family: var(--font-d); font-weight: 600; font-size: clamp(1.15rem, 2.1vw, 1.5rem); text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.ch-panel { background: rgba(7, 16, 42, .62); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: clamp(20px, 2.6vw, 30px); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.ch-panel h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.ch-panel p { color: rgba(255, 255, 255, .86); }
.ch-k { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--kin-2); margin-bottom: 10px; }
.ch-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; min-height: 44px; color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--shu); }
.ch-more::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
.ch-more:hover { color: var(--kin-2); }
.ch-bonds { display: grid; gap: 12px; margin-top: 6px; }
.ch-bonds li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: start; }
.ch-bonds b { display: block; font-size: 1.02rem; }
.ch-bonds span:not(.bd) { color: rgba(255, 255, 255, .8); font-size: .92rem; line-height: 1.5; }
.bd { width: 14px; height: 14px; border-radius: 50%; margin-top: 5px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); }
.bd-blue { background: #2f5fd0; } .bd-red { background: var(--shu); } .bd-gold { background: #e7b04f; }
.ch-last h2 .gold { color: var(--kin-2); }
.ch-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.story-dots { position: absolute; right: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); z-index: 3; display: grid; gap: 2px; }
.story-dots button { position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.story-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); transition: background-color .25s, transform .25s, border-color .25s; }
.story-dots button[aria-current="step"]::before { background: var(--shu); border-color: var(--shu); transform: scale(1.25); box-shadow: 0 0 0 5px rgba(216, 40, 45, .25); }
.story-dots button span { position: absolute; right: 46px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(7, 16, 42, .75); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.story-dots button:hover span, .story-dots button:focus-visible span, .story-dots button[aria-current="step"] span { opacity: 1; transform: translate(0, -50%); }
.story-skip { position: absolute; right: clamp(12px, 2vw, 28px); bottom: 18px; z-index: 3; font-size: .82rem; font-weight: 700; color: rgba(255, 255, 255, .85); text-decoration: none; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(7, 16, 42, .45); min-height: 44px; display: inline-flex; align-items: center; }
.story-skip:hover { background: rgba(7, 16, 42, .75); }
.story-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: grid; justify-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .8); pointer-events: none; }
.story-hint i { width: 2px; height: 38px; background: linear-gradient(var(--shu), transparent); animation: hint 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
section[id], article[id] { scroll-margin-top: 76px; }

/* seigaiha wave band */
.seigaiha {
  --b: var(--ai-2); --c: var(--washi);
  position: absolute; left: 0; right: 0; height: 64px; z-index: 0;
  background-color: var(--b);
  background-image:
    radial-gradient(circle at 100% 150%, var(--b) 24%, var(--c) 24%, var(--c) 28%, var(--b) 28%, var(--b) 36%, var(--c) 36%, var(--c) 40%, transparent 40%, transparent),
    radial-gradient(circle at 0 150%, var(--b) 24%, var(--c) 24%, var(--c) 28%, var(--b) 28%, var(--b) 36%, var(--c) 36%, var(--c) 40%, transparent 40%, transparent),
    radial-gradient(circle at 50% 100%, var(--c) 10%, var(--b) 10%, var(--b) 23%, var(--c) 23%, var(--c) 30%, var(--b) 30%, var(--b) 43%, var(--c) 43%, var(--c) 50%, var(--b) 50%, var(--b) 63%, var(--c) 63%, var(--c) 71%, transparent 71%, transparent),
    radial-gradient(circle at 100% 50%, var(--c) 5%, var(--b) 5%, var(--b) 15%, var(--c) 15%, var(--c) 20%, var(--b) 20%, var(--b) 29%, var(--c) 29%, var(--c) 34%, var(--b) 34%, var(--b) 44%, var(--c) 44%, var(--c) 49%, transparent 49%, transparent),
    radial-gradient(circle at 0 50%, var(--c) 5%, var(--b) 5%, var(--b) 15%, var(--c) 15%, var(--c) 20%, var(--b) 20%, var(--b) 29%, var(--c) 29%, var(--c) 34%, var(--b) 34%, var(--b) 44%, var(--c) 44%, var(--c) 49%, transparent 49%, transparent);
  background-size: 64px 32px;
}
.seigaiha-hero { --b: var(--ai-2); --c: var(--washi); bottom: 0; -webkit-mask: linear-gradient(transparent, #000 70%); mask: linear-gradient(transparent, #000 70%); }
.seigaiha-foot { --b: var(--ai-2); --c: var(--ai); top: 0; height: 48px; opacity: .9; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec-washi { background: var(--washi); }
.sec-paper { background: var(--paper); }
.sec-ai { background: var(--ai); color: #fff; }
.sec-ai .lead, .sec-night .lead { color: rgba(255, 255, 255, .82); }
.kicker { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--shu); margin-bottom: 14px; }
.kicker-gold { color: var(--kin-2); }
.sec h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-2); margin-top: 18px; max-width: 62ch; }
.sec-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.fine { font-size: .82rem; color: var(--ink-3); margin-top: 14px; line-height: 1.55; }
.sec-ai .fine, .sec-night .fine { color: rgba(255, 255, 255, .6); }
.sub-head { margin: clamp(64px, 8vw, 110px) 0 32px; max-width: 760px; }
.sub-head h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.h-sm { font-size: 1.35rem; margin-bottom: 18px; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- konsep ---------- */
.kz-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.kz-kanji { font-family: var(--font-d); font-weight: 800; font-size: clamp(7rem, 17vw, 13rem); line-height: .9; color: var(--shu); text-shadow: 6px 6px 0 rgba(200, 150, 62, .25); }
.bonds { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(56px, 7vw, 96px); align-items: start; }
.bond { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 44px 28px 30px; box-shadow: 0 18px 40px -28px rgba(14, 38, 85, .45); }
.bond:nth-child(2) { margin-top: 56px; }
.bond:nth-child(3) { margin-top: 112px; }
.bond .knot { left: 50%; top: 0; }
.bond-n { font-family: var(--font-d); font-weight: 800; font-size: 2.4rem; color: var(--kin); line-height: 1; margin-bottom: 14px; }
.bond h3 { font-size: 1.5rem; margin-bottom: 10px; }
.bond p:last-child { color: var(--ink-2); }
.knot-note { left: 50%; top: -30px; }
.split-media { position: relative; }
.split-media .knot-rail { top: 24px; }
.thread-note { position: relative; margin: clamp(64px, 7vw, 96px) auto 0; text-align: center; font-family: var(--font-d); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.7rem); max-width: 30ch; }
.thread-note em { font-style: normal; color: var(--shu); background: linear-gradient(transparent 62%, rgba(216, 40, 45, .16) 62%); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-rev .split-media { order: 2; }
.split-media { margin: 0; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(14, 38, 85, .5); }
.split-rev .split-media img { aspect-ratio: 16 / 11; }
.split-media figcaption { font-size: .78rem; color: var(--ink-3); margin-top: 10px; }
.split-text h2 { margin-bottom: 28px; }
.aud { counter-reset: a; }
.aud li { counter-increment: a; position: relative; padding: 18px 0 18px 64px; border-top: 1px solid var(--line); }
.aud li:last-child { border-bottom: 1px solid var(--line); }
.aud li::before { content: "0" counter(a); position: absolute; left: 0; top: 16px; font-family: var(--font-d); font-weight: 800; font-size: 1.6rem; color: var(--kin); }
.aud h3 { font-size: 1.2rem; margin-bottom: 4px; }
.aud p { color: var(--ink-2); }
.duo { display: grid; gap: 28px; }
.duo h3 { font-size: 1.35rem; margin-bottom: 8px; }
.duo p { color: var(--ink-2); }

/* ---------- program ---------- */
.nodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); margin-bottom: clamp(56px, 8vw, 110px); }
.node { padding: 28px 24px 28px 0; position: relative; }
.node + .node { padding-left: 24px; border-left: 1px solid var(--line-light); }
.node-t { font-size: .82rem; color: var(--kin-2); font-weight: 700; letter-spacing: .04em; min-height: 2.8em; }
.node h3 { font-size: 1.45rem; margin: 6px 0 4px; }
.node p:last-child { color: rgba(255, 255, 255, .72); font-size: .95rem; }

.chap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(64px, 9vw, 120px); }
.chap-flip .chap-media { order: 2; }
.chap-media { position: relative; }
.chap-media > img:first-child { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.chap-logo { position: absolute; left: -18px; bottom: -26px; width: 52%; background: rgba(255, 252, 246, .96); padding: 14px 18px; border-radius: 12px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.chap-flip .chap-logo { left: auto; right: -18px; width: 44%; }
.chap-n { color: var(--kin-2); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.chap h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 10px 0 6px; }
.chap-lead { font-family: var(--font-d); font-size: 1.15rem; color: rgba(255, 255, 255, .85); margin-bottom: 22px; }
.facts div, .agenda li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-light); }
.facts dt, .agenda b { font-weight: 700; color: var(--kin-2); }
.facts dd { margin: 0; color: rgba(255, 255, 255, .86); }
.agenda span { color: rgba(255, 255, 255, .86); }

.outcome { background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--line-light); border-radius: calc(var(--r) + 6px); padding: clamp(28px, 4vw, 48px); }
.outcome h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 26px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 2px solid var(--shu); }
.steps li::before { content: counter(s); font-family: var(--font-d); font-weight: 800; font-size: 1.1rem; color: var(--shu); }
.steps b { font-size: 1.05rem; }
.steps span { color: rgba(255, 255, 255, .8); font-size: .95rem; }

/* ---------- festival ---------- */
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.zone { position: relative; border-radius: var(--r); overflow: hidden; background: var(--ai); color: #fff; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.zone > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.zone::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 22, 52, 0) 30%, rgba(9, 22, 52, .88) 100%); }
.zone:hover > img { transform: scale(1.04); }
.zone-wide { grid-column: span 2; min-height: 420px; }
.zone-text { padding: 26px; }
.zone-k { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--kin-2); font-weight: 700; }
.zone h3 { font-size: 1.6rem; margin: 6px 0 8px; }
.zone p:last-child { color: rgba(255, 255, 255, .86); max-width: 46ch; }
.zone-illu { background: #fbe9ec; color: var(--ink); justify-content: space-between; }
.zone-illu::after { display: none; }
.zone-illu .illu { position: static; width: 58%; margin: 22px auto 0; object-fit: contain; height: auto; z-index: 0; }
.zone-illu .zone-k { color: var(--shu); }
.zone-illu p:last-child { color: var(--ink-2); }

.acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.act { background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.act img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.act h4 { font-size: 1.2rem; padding: 18px 20px 6px; }
.act p { padding: 0 20px 22px; color: var(--ink-2); font-size: .95rem; }
.act-type { background: var(--shu); color: #fff; border-color: transparent; }
.act-type p { color: rgba(255, 255, 255, .9); }
.cup { aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--kin-2); background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .2), transparent 62%); }
.trophy { width: 76px; filter: drop-shadow(0 8px 14px rgba(120, 10, 20, .45)); }
.cup-pts { display: flex; gap: 8px; }
.cup-pts li { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); color: #fff; font-weight: 700; font-size: .8rem; }
.cup-pts li + li::before { content: "+ "; color: var(--kin-2); }

/* ---------- night ---------- */
.sec-night { background: #070f24; color: #fff; overflow: hidden; }
.night-bg { position: absolute; inset: 0; z-index: 0; }
.night-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(1.15); }
.night-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 15, 36, .95) 20%, rgba(7, 15, 36, .55)), linear-gradient(0deg, #070f24, transparent 40%); }
.night { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: n; }
.night li { counter-increment: n; padding: 28px 24px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.night-t { font-family: var(--font-d); font-weight: 800; font-size: 1.35rem; color: var(--kin-2); margin-bottom: 10px; }
.night-t::before { content: "0" counter(n) "  "; color: var(--shu); white-space: pre; }
.night li p:last-child { color: rgba(255, 255, 255, .85); }

/* ---------- jadwal ---------- */
.flow { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper); margin-bottom: 40px; }
.flow-row { display: grid; grid-template-columns: 120px 1fr 1fr; }
.flow-row > span { padding: 14px 18px; border-top: 1px solid var(--line); }
.flow-row > span + span { border-left: 1px solid var(--line); }
.flow-h > span { border-top: 0; background: var(--ai); color: #fff; font-weight: 700; font-size: .9rem; }
.flow-row > span:first-child { font-weight: 700; color: var(--shu); }
.flow-h > span:first-child { color: var(--kin-2); }

.tablist { display: inline-flex; gap: 6px; padding: 6px; background: var(--washi-2); border-radius: 999px; margin-bottom: 22px; }
.tablist button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; min-height: 44px; color: var(--ink-2); }
.tablist button[aria-selected="true"] { background: var(--ai); color: #fff; box-shadow: 0 6px 16px -8px rgba(14, 38, 85, .7); }
.tracks { display: grid; gap: 12px; }
.track { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.track summary { list-style: none; cursor: pointer; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; padding: 18px 22px; font-family: var(--font-d); font-weight: 800; font-size: 1.15rem; position: relative; padding-right: 54px; }
.track summary::-webkit-details-marker { display: none; }
.track summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-family: var(--font-b); font-size: 1.5rem; color: var(--shu); transition: transform .3s; }
.track[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.track summary small { font-family: var(--font-b); font-weight: 500; font-size: .85rem; color: var(--ink-3); width: 100%; padding-left: 0; }
.track-tag { font-family: var(--font-b); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: #fff; }
.t-golf { background: #2f8a4a; }
.t-summit { background: #3e9a6a; }
.t-matsuri { background: var(--shu); }
.t-run { background: var(--ai-3); }
.t-night { background: var(--kin); }
.rd { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rd td { padding: 10px 22px; border-top: 1px solid var(--line); vertical-align: top; }
.rd td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ai-2); width: 132px; }
.rd td:last-child { color: var(--ink-3); }
.rd tr.hl td { background: rgba(216, 40, 45, .06); }
.rd tr.hl td:nth-child(2) { font-weight: 700; color: var(--shu-2); }
.track .fine { padding: 0 22px 18px; }

/* ---------- area ---------- */
.plan { display: grid; grid-template-columns: 1fr 140px; gap: 14px; }
.plan-view { margin: 0; border-radius: var(--r); overflow: hidden; background: #2b3a1e; }
.plan-view img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity .35s; }
.plan-thumbs { display: grid; gap: 10px; align-content: start; }
.plan-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; opacity: .65; transition: opacity .2s, border-color .2s; }
.plan-thumbs button[aria-pressed="true"] { border-color: var(--shu); opacity: 1; }
.plan-thumbs button:hover { opacity: 1; }
.plan-thumbs img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.zt { margin-top: 40px; border-top: 2px solid var(--ink); }
.zt-row { display: grid; grid-template-columns: 1fr 1.2fr 1.4fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.zt-row > span:first-child { font-weight: 700; }
.zt-row > span:last-child { color: var(--ink-2); }
.zt-h { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.zt-h > span:first-child { font-weight: 700; }

/* ---------- eksposur / try-on ---------- */
.tryon { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 30px; }
.drop { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 18px 26px 18px 18px; border: 2px dashed rgba(216, 40, 45, .55); border-radius: var(--r); background: var(--paper); cursor: pointer; transition: background-color .2s, border-color .2s; min-width: min(100%, 420px); }
.drop:hover, .drop.over { background: #fff3f1; border-color: var(--shu); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop:focus-within { outline: 3px solid var(--kin-2); outline-offset: 3px; }
.drop-ic { grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--shu); color: #fff; font-size: 1.5rem; font-weight: 700; }
.drop-t { font-weight: 700; }
.drop-s { font-size: .85rem; color: var(--ink-3); }

.mocks { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 20px; align-items: end; }
.mock { margin: 0; }
.mock figcaption { margin-top: 12px; font-size: .88rem; color: var(--ink-2); font-weight: 500; }
.slot { display: grid; place-items: center; min-height: 40px; border-radius: 8px; border: 1.5px dashed rgba(18, 26, 46, .35); background: rgba(255, 255, 255, .6); padding: 4px 8px; }
.slot.has { border-style: solid; border-color: transparent; background: transparent; }
.slot img { max-height: 100%; max-width: 100%; object-fit: contain; }
.slot-ph { font-size: .66rem; font-weight: 700; letter-spacing: .12em; color: rgba(18, 26, 46, .55); text-align: center; line-height: 1.2; }
.slot.has .slot-ph { display: none; }
.slot.pop { animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(.8); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }

.m-stage { border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(14, 38, 85, .55); border: 8px solid #20232b; }
.m-stage-kv { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.m-stage-band { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; flex-wrap: nowrap; }
.m-label { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; white-space: nowrap; }
.slot-lg { width: 150px; height: 54px; flex: none; }
.m-sep { width: 1px; align-self: stretch; background: var(--line); }
.m-pill { height: 22px; flex: 1; max-width: 70px; border-radius: 6px; background: #e9e6df; }

.m-bib { position: relative; background: #fff; border-radius: 14px; padding: 0 0 14px; box-shadow: 0 24px 50px -28px rgba(14, 38, 85, .6); overflow: hidden; transform: rotate(-2deg); }
.pin { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #c9cdd6; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3); }
.p1 { left: 10px; top: 10px; } .p2 { right: 10px; top: 10px; } .p3 { left: 10px; bottom: 10px; } .p4 { right: 10px; bottom: 10px; }
.m-bib-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 26px; background: var(--shu); color: #fff; font-weight: 700; letter-spacing: .12em; font-size: .78rem; }
.m-bib-top b { font-family: var(--font-d); font-size: 1.3rem; letter-spacing: 0; }
.m-bib-no { font-family: var(--font-d); font-weight: 800; font-size: clamp(3.2rem, 6vw, 4.6rem); text-align: center; line-height: 1.1; color: var(--ai); padding: 10px 0 4px; font-variant-numeric: tabular-nums; }
.m-bib-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; padding: 0 24px; }
.m-bib-foot > img { height: 44px; width: auto; object-fit: contain; }
.m-bib-foot .slot { height: 46px; }

.m-id { position: relative; padding-top: 60px; display: grid; justify-items: center; }
.m-strap { position: absolute; top: 0; left: 50%; width: 46px; height: 82px; transform: translateX(-50%); background: repeating-linear-gradient(135deg, var(--ai-2) 0 10px, var(--shu) 10px 13px, var(--ai-2) 13px 22px); clip-path: polygon(0 0, 100% 0, 78% 100%, 22% 100%); }
.m-card { position: relative; width: min(100%, 230px); background: #fff; border-radius: 14px; padding: 20px 18px 16px; box-shadow: 0 24px 50px -28px rgba(14, 38, 85, .6); text-align: center; border-top: 6px solid var(--ai-2); transform: rotate(2deg); }
.m-card::before { content: ""; position: absolute; top: 8px; left: 50%; width: 36px; height: 6px; transform: translateX(-50%); border-radius: 4px; background: #d9dce4; }
.m-card-logo { width: 78%; margin: 10px auto 12px; }
.m-role { display: inline-block; background: #2f8a4a; color: #fff; font-weight: 700; letter-spacing: .16em; font-size: .7rem; padding: 4px 12px; border-radius: 999px; }
.m-name { font-family: var(--font-d); font-weight: 800; font-size: 1.15rem; margin-top: 10px; }
.m-co { font-size: .8rem; color: var(--ink-3); }
.m-card-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.m-card-foot span { font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.m-card-foot .slot { height: 42px; }

.media-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--kin) transparent; }
.media-rail figure { margin: 0; scroll-snap-align: start; }
.media-rail img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.media-rail .tall img { object-fit: contain; background: var(--washi-2); }
.media-rail figcaption { font-size: .85rem; margin-top: 8px; color: var(--ink-2); font-weight: 500; }

/* ---------- kemitraan ---------- */
.tiers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tiers > .tier { grid-column: span 2; }
.tiers > .tier:nth-child(5), .tiers > .tier:nth-child(6) { grid-column: span 3; }
.tiers > .tier:nth-child(5) > img, .tiers > .tier:nth-child(6) > img { aspect-ratio: 21 / 9; }
.tier { position: relative; border-radius: var(--r); overflow: hidden; background: var(--ai-2); border: 1px solid var(--line-light); display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.tier:hover { transform: translateY(-4px); border-color: rgba(231, 192, 114, .6); }
.tier.picked { border-color: var(--kin-2); box-shadow: 0 0 0 3px rgba(231, 192, 114, .45); }
.tier > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tier-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tier h3 { font-size: 1.35rem; }
.tier-s { font-size: .85rem; color: var(--kin-2); font-weight: 500; }
.tier-b { color: rgba(255, 255, 255, .88); margin-bottom: 14px; }
.tier .btn { margin-top: auto; align-self: flex-start; min-height: 42px; font-size: .88rem; }
.tiers > .tier-main { grid-column: 1 / -1; }
.tier-main { display: grid; grid-template-columns: 1.3fr 1fr; background: linear-gradient(120deg, #142f6a, #0e2655); border-color: rgba(231, 192, 114, .45); }
.tier-main > img { height: 100%; aspect-ratio: auto; min-height: 300px; }
.tier-main .tier-body { padding: clamp(24px, 4vw, 44px); justify-content: center; }
.tier-main h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.tier-k { display: inline-block; align-self: flex-start; background: var(--kin); color: var(--ai); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 6px; }
.tier-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tier-tags li { font-size: .8rem; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); }
.forms-of { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; }
.forms-of .kicker { margin: 0; }
.forms-of ul { display: flex; flex-wrap: wrap; gap: 10px; }
.forms-of li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-weight: 500; }

/* ---------- dampak ---------- */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; margin-bottom: clamp(56px, 7vw, 96px); }
.journey li { padding: 34px 28px 0 0; position: relative; border-top: 2px solid var(--ink); }
.journey li + li { padding-left: 28px; }
.journey li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--shu); }
.journey li + li::before { left: 28px; }
.j-k { font-family: var(--font-d); font-weight: 800; font-size: 1.4rem; margin-bottom: 10px; }
.journey p:last-child { color: var(--ink-2); }
mark { background: linear-gradient(transparent 55%, rgba(231, 192, 114, .55) 55%); color: inherit; font-weight: 700; }
.two { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); }
.ticks li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 14px; height: 8px; border-left: 2.5px solid var(--shu); border-bottom: 2.5px solid var(--shu); transform: translateY(-70%) rotate(-45deg); }
.ops div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ops dt { font-weight: 700; }
.ops dd { margin: 0; color: var(--ink-2); }

/* ---------- persiapan ---------- */
.tl { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--washi-2); }
.tl li { position: relative; padding: 34px 14px 0 0; }
.tl li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--washi); border: 2px solid var(--ink-3); }
.tl li.done::before { background: var(--ink-3); }
.tl li.now::before { background: var(--shu); border-color: var(--shu); box-shadow: 0 0 0 6px rgba(216, 40, 45, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(216, 40, 45, 0); } }
.tl-h { font-weight: 700; font-size: .8rem; color: var(--shu); letter-spacing: .04em; }
.tl-d { font-size: .78rem; color: var(--ink-3); margin-bottom: 8px; min-height: 2.4em; }
.tl h3 { font-family: var(--font-b); font-weight: 700; font-size: 1rem; line-height: 1.35; margin-bottom: 4px; }
.tl li p:last-child { font-size: .88rem; color: var(--ink-2); }
.tl li.tl-key h3 { color: var(--shu-2); }
.tl li.now .tl-h::after { content: " · sekarang"; color: var(--ink); }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(56px, 7vw, 88px); }
.roles > div { background: var(--paper); border-radius: var(--r); padding: 24px; border: 1px solid var(--line); }
.role-k { font-family: var(--font-d); font-weight: 800; font-size: 1.25rem; color: var(--ai-2); margin-bottom: 6px; }
.roles p:last-child { color: var(--ink-2); }

/* ---------- rekam jejak ---------- */
.past { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); }
.past figure { margin: 0; }
.past img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; border-radius: 10px; box-shadow: 0 26px 50px -30px rgba(14, 38, 85, .7); transition: transform .5s var(--ease); }
.past figure:nth-child(2) img { transform: translateY(28px); }
.past figcaption { margin-top: 18px; display: flex; flex-direction: column; }
.past figure:nth-child(2) figcaption { margin-top: 46px; }
.past b { font-family: var(--font-d); font-size: 1.2rem; }
.past span { color: var(--ink-3); font-size: .9rem; }

/* ---------- kontak ---------- */
.sec-end { overflow: hidden; }
.end-bg { position: absolute; inset: 0; z-index: 0; }
.end-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.end-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ai), rgba(14, 38, 85, .7) 40%, var(--ai)); }
.end { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.end-copy { position: relative; }
.end-copy h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.end-copy h2 span { color: var(--kin-2); }
.compose { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-light); border-radius: calc(var(--r) + 4px); padding: clamp(20px, 3vw, 32px); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.compose label { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: rgba(255, 255, 255, .85); }
.compose .full { grid-column: 1 / -1; }
.compose input, .compose select, .compose textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(5, 14, 36, .45); color: #fff; font-weight: 400; min-height: 46px; }
.compose select option { color: var(--ink); }
.compose input::placeholder, .compose textarea::placeholder { color: rgba(255, 255, 255, .45); }
.compose input:focus, .compose select:focus, .compose textarea:focus { outline: 2px solid var(--kin-2); outline-offset: 1px; border-color: transparent; }
.compose-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.compose-msg { font-size: .85rem; color: var(--kin-2); min-height: 1.2em; }

/* ---------- footer ---------- */
.foot { position: relative; background: var(--ai); color: rgba(255, 255, 255, .85); padding: 96px 0 48px; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.foot-logo { width: 150px; background: #fff; border-radius: 12px; padding: 10px 14px; }
.foot-meta p + p { margin-top: 4px; }
.foot .fine { color: rgba(255, 255, 255, .55); max-width: 64ch; }
.foot-by { display: grid; gap: 8px; justify-items: end; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.foot-by img { width: 170px; background: #fff; border-radius: 10px; padding: 8px 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .acts { grid-template-columns: repeat(2, 1fr); }
  .mocks { grid-template-columns: 1fr 1fr; }
  .mock-stage { grid-column: 1 / -1; }
  .tl { grid-template-columns: 1fr; gap: 0; }
  .tl::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl li { padding: 0 0 26px 40px; }
  .tl-d { min-height: 0; }
  .hero-art { width: 60vw; opacity: .5; }
  .hero-fan { display: none; }
  .hero-lanterns { opacity: .45; }
}

/* ---------- 日本語 typography ---------- */
html[lang="ja"] body { line-height: 1.85; line-break: strict; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] h4 { letter-spacing: .02em; line-height: 1.38; word-break: auto-phrase; }
html[lang="ja"] .lead, html[lang="ja"] .ch-panel p, html[lang="ja"] .thread-note { word-break: auto-phrase; }
html[lang="ja"] .kicker, html[lang="ja"] .ch-k, html[lang="ja"] .eyebrow, html[lang="ja"] .chap-n { letter-spacing: .08em; }
html[lang="ja"] .tl li.now .tl-h::after { content: " · 現在"; }
html[lang="ja"] .sec h2 { font-size: clamp(1.8rem, 4vw, 3.1rem); }

@media (max-width: 1180px) and (min-width: 861px) {
  .nav-menu a { padding: 8px 9px; font-size: .86rem; }
}

@media (max-width: 860px) {
  .lang { margin-left: auto; }
  .nav-toggle { margin-left: 8px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-menu { position: fixed; inset: 64px 12px auto 12px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; background: rgba(14, 38, 85, .98); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav-menu.open { opacity: 1; transform: none; visibility: visible; }
  .nav-menu a { padding: 12px 16px; font-size: 1rem; }
  .nav-menu .nav-cta { margin: 6px 0 0; text-align: center; }
  .nav-brand img { height: 34px; }

  .hero { align-items: flex-end; padding: 110px 0 120px; }
  .hero-art { right: -18vw; top: 90px; bottom: auto; width: 92vw; opacity: .35; }
  .hero-vert { display: none; }
  .hero-meta li { min-width: 0; flex: 1 1 calc(50% - 10px); }
  .hero-meta li:last-child { flex-basis: 100%; }

  .kz-head { grid-template-columns: 1fr; gap: 0; }
  .kz-kanji { font-size: 6.5rem; }
  .bonds { grid-template-columns: 1fr; gap: 34px; }
  .bond:nth-child(2), .bond:nth-child(3) { margin-top: 0; }
  .bond .knot { left: 28px; }

  .split, .chap, .end, .two { grid-template-columns: 1fr; }
  .split-rev .split-media, .chap-flip .chap-media { order: 0; }
  .split-media img { aspect-ratio: 16 / 11; }
  .chap { gap: 44px; }
  .chap-logo, .chap-flip .chap-logo { left: 12px; right: auto; bottom: -24px; width: 46%; padding: 10px 12px; }
  .nodes { grid-template-columns: 1fr; }
  .node, .node + .node { padding: 20px 0; border-left: 0; }
  .node + .node { border-top: 1px solid var(--line-light); }
  .node-t { min-height: 0; }
  .facts div, .agenda li { grid-template-columns: 1fr; gap: 2px; }
  .steps, .night, .journey, .roles, .past { grid-template-columns: 1fr; }
  .journey li, .journey li + li { padding: 30px 0 22px; border-top: 0; border-left: 2px solid var(--ink); padding-left: 26px; }
  .journey li::before, .journey li + li::before { left: -8px; top: 30px; }
  .past { max-width: 340px; }
  .past figure:nth-child(2) img { transform: none; }
  .past figure:nth-child(2) figcaption { margin-top: 18px; }

  .zones { grid-template-columns: 1fr; }
  .zone-wide { grid-column: auto; min-height: 360px; }
  .zone { min-height: 320px; }
  .acts { grid-template-columns: 1fr; }

  .flow-row { grid-template-columns: 76px 1fr 1fr; font-size: .9rem; }
  .flow-row > span { padding: 12px 10px; }
  .rd td { padding: 10px 14px; display: block; border-top: 0; }
  .rd tr { display: block; border-top: 1px solid var(--line); padding: 6px 0; }
  .rd td:first-child { width: auto; padding-bottom: 0; }
  .rd td:nth-child(2) { padding-top: 2px; padding-bottom: 0; font-weight: 500; }
  .rd td:last-child { padding-top: 0; font-size: .85rem; }
  .track summary { padding: 16px 48px 16px 16px; }
  .track .fine { padding: 0 16px 16px; }

  .plan { grid-template-columns: 1fr; }
  .plan-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .zt-row { grid-template-columns: 1fr; gap: 2px; }
  .zt-h { display: none; }

  .mocks { grid-template-columns: 1fr; gap: 40px; }
  .m-stage-band { flex-wrap: wrap; gap: 8px 10px; }
  .m-sep { display: none; }
  .slot-lg { width: 130px; height: 48px; }
  .media-rail { grid-auto-columns: 78%; }

  .tiers { grid-template-columns: 1fr; }
  .tiers > .tier, .tiers > .tier:nth-child(5), .tiers > .tier:nth-child(6), .tiers > .tier-main { grid-column: auto; }
  .tiers > .tier:nth-child(5) > img, .tiers > .tier:nth-child(6) > img { aspect-ratio: 16 / 9; }
  .tier-main { grid-template-columns: 1fr; }
  .tier-main > img { min-height: 0; aspect-ratio: 16 / 9; }

  .compose { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; justify-items: start; }

  .story { height: 500svh; }
  .story-scrim { background: linear-gradient(0deg, rgba(4, 10, 30, .78) 0%, rgba(4, 10, 30, .3) 46%, rgba(4, 10, 30, 0) 70%); }
  .ch { left: var(--gut); bottom: 84px; width: calc(100% - var(--gut) - 58px); }
  .ch-0 { top: 88px; bottom: auto; }
  .ch-0 .hero-meta li { padding: 8px 10px; }
  .ch-0 .hero-meta b { font-size: .9rem; white-space: nowrap; }
  .ch-0 .hero-meta span { font-size: .76rem; }
  .ch-0 .hero-meta li:last-child { flex-basis: auto; }
  .ch-panel { padding: 18px; }
  .ch-panel p { font-size: .95rem; }
  .ch-bonds span:not(.bd) { font-size: .86rem; }
  .story-dots { right: 4px; }
  .story-dots button span { display: none; }
  .story-skip { left: var(--gut); right: auto; bottom: 22px; }
  .story-hint { display: none; }
  .foot-by { justify-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .petal { display: none; }
  .tl li.now::before { animation: none; }
  .btn:hover, .tier:hover { transform: none; }
}
