:root {
    --bg: #05060a;
    --bg-rgb: 5 6 10;
    --bg-2: #090b12;
    --ink: #eef1f7;
    --ink-2: #a5adbd;
    --ink-3: #6b7383;
    --line: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.035);
    --glass-hi: rgba(255, 255, 255, 0.07);
    --glass-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --glass-inset: rgba(255, 255, 255, 0.05);
    --cyan: #33e1ff;
    --cyan-dim: rgba(51, 225, 255, 0.18);
    --cyan-glow: rgba(51, 225, 255, 0.45);
    --hot: #ff4fd8;
    --hot-dim: rgba(255, 79, 216, 0.15);
    --btn-ink: #05060a;
    --imf1: #ff4fd8;
    --imf2: #a78bfa;
    --imf3: #22d3ee;
    --imf4: #a3e635;
    --imf5: #fbbf24;
    --imf6: #fb7185;
    --cursor-blend: screen;
    color-scheme: dark;
    --env-up: #4ade80;
    --env-lo: #f87171;
    --mean: #fbbf24;
    --stage-hue: 38;
    --stage-l: 62%;
    --stage: hsl(var(--stage-hue) 95% var(--stage-l));
    --font: 'Noto Sans TC', 'Space Grotesk', system-ui, sans-serif;
    --display: 'Space Grotesk', 'Noto Sans TC', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
    --r: 18px;
    --wrap: 1180px;
}

:root[data-theme="light"] {
    --bg: #f6f7fb;
    --bg-rgb: 246 247 251;
    --bg-2: #eceff5;
    --ink: #0f1424;
    --ink-2: #4b5468;
    --ink-3: #7c8496;
    --line: rgba(12, 18, 32, 0.1);
    --glass: rgba(255, 255, 255, 0.62);
    --glass-hi: rgba(12, 18, 32, 0.05);
    --glass-shadow: 0 16px 48px rgba(20, 30, 60, 0.1);
    --glass-inset: rgba(255, 255, 255, 0.9);
    --cyan: #0e7490;
    --cyan-dim: rgba(14, 116, 144, 0.12);
    --cyan-glow: rgba(14, 116, 144, 0.3);
    --hot: #c026d3;
    --hot-dim: rgba(192, 38, 211, 0.12);
    --btn-ink: #ffffff;
    --imf1: #db2777;
    --imf2: #6d28d9;
    --imf3: #0e7490;
    --imf4: #4d7c0f;
    --imf5: #b45309;
    --imf6: #e11d48;
    --cursor-blend: multiply;
    --stage-l: 44%;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body, .glass, .topbar, .stage-badge { transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
@media (pointer: fine) { body { cursor: none; } body a, body button, body input { cursor: none; } }
canvas { display: block; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
b { font-weight: 700; color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* grain + cursor */
.grain {
    position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.06;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    animation: grain 0.6s steps(2) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 50% { transform: translate(-2%, 1%); } 100% { transform: translate(1%, -2%); } }

.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; mix-blend-mode: var(--cursor-blend); display: none; }
@media (pointer: fine) { .cursor { display: block; } }
.cursor-dot { position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.cursor-ring { position: absolute; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 1px solid rgba(51, 225, 255, 0.6); transition: width 0.25s, height 0.25s, margin 0.25s, border-color 0.25s; }
.cursor.hot .cursor-ring { width: 60px; height: 60px; margin: -30px; border-color: var(--hot); }

/* topbar */
.topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 80;
    display: flex; align-items: center; gap: 24px; padding: 14px 24px;
    background: linear-gradient(to bottom, rgb(var(--bg-rgb) / 0.85), rgb(var(--bg-rgb) / 0));
}
.theme-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass-hi); color: var(--ink); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; transition: background 0.2s, border-color 0.2s; }
.theme-toggle:hover { border-color: var(--cyan); }
.tt-icon { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan-dim); color: var(--cyan); font-size: 0.85rem; }
@media (max-width: 480px) { .tt-text { display: none; } .theme-toggle { padding: 6px; } }
.brand { font-family: var(--display); font-weight: 700; letter-spacing: 0.12em; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-x { color: var(--cyan); margin: 0 4px; }
.brand-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--stage); box-shadow: 0 0 14px var(--stage); transition: background 0.4s, box-shadow 0.4s; }
.topnav { display: flex; gap: 4px; margin-left: auto; }
.topnav a { color: var(--ink-2); text-decoration: none; font-size: 0.85rem; padding: 6px 12px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.topnav a:hover { color: var(--ink); background: var(--glass-hi); }
@media (max-width: 800px) { .topnav { display: none; } }

.stage-badge {
    position: fixed; right: 20px; bottom: 20px; z-index: 80;
    display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
    background: rgb(var(--bg-rgb) / 0.75); border: 1px solid var(--line); backdrop-filter: blur(12px);
    font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--ink-2);
    opacity: 0; transform: translateY(10px); transition: opacity 0.4s, transform 0.4s;
}
.stage-badge.on { opacity: 1; transform: none; }
.stage-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--stage); box-shadow: 0 0 12px var(--stage); }
.stage-badge-text { color: var(--ink); }

/* glass */
.glass {
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: var(--r);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: inset 0 1px 0 var(--glass-inset), var(--glass-shadow);
}

/* buttons */
.btn { font-family: var(--font); font-size: 0.92rem; font-weight: 500; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass-hi); color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.1); }
.btn-glow { background: linear-gradient(135deg, var(--cyan), #6d8cff); color: var(--btn-ink); border-color: transparent; font-weight: 700; box-shadow: 0 0 0 rgba(51, 225, 255, 0); }
.btn-glow:hover { box-shadow: 0 0 32px var(--cyan-glow); background: linear-gradient(135deg, var(--cyan), #6d8cff); }
.btn-ghost { background: transparent; }
.btn[disabled] { opacity: 0.4; pointer-events: none; }
.chip { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); transition: all 0.2s; }
.chip:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.25); }
.chip.active { background: var(--cyan-dim); color: var(--cyan); border-color: rgba(51, 225, 255, 0.4); }
.tag { display: inline-block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; padding: 3px 9px; border-radius: 999px; background: var(--cyan-dim); color: var(--cyan); margin-right: 8px; vertical-align: middle; }
.pill { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; padding: 3px 9px; border-radius: 999px; }
.pill-dim { background: rgba(255, 255, 255, 0.06); color: var(--ink-2); }
.pill-hot { background: var(--hot-dim); color: var(--hot); }

/* type */
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.eyebrow-line { width: 36px; height: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.h2 { font-family: var(--display); font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 18px; }
.lead { color: var(--ink-2); font-size: 1.05rem; max-width: 760px; margin-bottom: 40px; }

.section { padding: 120px 0; position: relative; }
.section-dark { background: linear-gradient(to bottom, transparent, var(--bg-2) 20%, var(--bg-2) 80%, transparent); }

/* HERO */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 120px 16px 80px; }
.hero-inner .eyebrow { justify-content: center; }
.hero-title { font-family: var(--display); font-size: clamp(4rem, 15vw, 11rem); line-height: 0.95; font-weight: 900; letter-spacing: -0.03em; margin: 12px 0 28px; }
.hero-inner::before { content: ''; position: absolute; inset: -10% -20%; z-index: -1; background: radial-gradient(ellipse 60% 55% at 50% 50%, rgb(var(--bg-rgb) / 0.92), rgb(var(--bg-rgb) / 0.55) 55%, transparent 80%); }
.hero-title-line { display: block; opacity: 0; transform: translateY(40px); animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: 0.2s; }
.hero-title-line:nth-child(2) { animation-delay: 0.38s; }
.hero-title-accent { background: linear-gradient(90deg, var(--cyan), #8b9dff 50%, var(--hot)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(51, 225, 255, 0.35)); }
.hero-sub { color: var(--ink-2); font-size: clamp(1rem, 2vw, 1.25rem); margin-bottom: 40px; opacity: 0; animation: fadein 0.9s ease forwards 0.95s; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 28px; opacity: 0; animation: fadein 0.9s ease forwards 1.3s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fadein { to { opacity: 1; } }
@media (max-width: 600px) {
    .hero-inner .eyebrow { font-size: 0.62rem; letter-spacing: 0.12em; flex-wrap: wrap; text-align: center; }
    .hero-inner .eyebrow-line { display: none; }
}

.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }
.hero-hint { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-hint-mouse { width: 18px; height: 30px; border: 1px solid var(--ink-3); border-radius: 12px; position: relative; }
.hero-hint-mouse::after { content: ''; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
.hero-meta { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: flex; gap: 20px; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--ink-3); }

/* JOURNEY */
.journey { position: relative; }
.journey-stage { position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden; }
.journey-stage canvas#journey-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.journey-overlay { position: absolute; inset: 0; pointer-events: none; }
.journey-time { position: absolute; top: 84px; left: 24px; display: flex; flex-direction: column; gap: 2px; }
.journey-time-k { font-size: 0.65rem; letter-spacing: 0.16em; color: var(--ink-3); text-transform: uppercase; }
.journey-clock { font-size: clamp(2rem, 6vw, 4rem); font-weight: 600; letter-spacing: 0.04em; line-height: 1.05; color: var(--ink); text-shadow: 0 0 30px hsla(var(--stage-hue) 90% 60% / 0.5); }
.journey-time-v { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.journey-time-v #journey-stage-name { color: var(--stage); font-weight: 600; transition: color 0.4s; }
.journey-time-sep { color: var(--ink-3); }
.hypnogram { position: absolute; left: 24px; right: 24px; bottom: 28px; }
.hypnogram canvas { width: 100%; height: 70px; }
.hypno-labels { display: flex; justify-content: space-between; font-size: 0.65rem; letter-spacing: 0.1em; color: var(--ink-3); margin-top: 6px; }
.chapters { position: relative; z-index: 2; margin-top: -100vh; }
.chapter { min-height: 100vh; display: flex; align-items: center; padding: 0 5vw; }
.chapter-card { max-width: 480px; padding: 34px 34px 28px; opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.chapter-card.in { opacity: 1; transform: none; }
.chapter-card.right { margin-left: auto; }
.chapter-idx { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--stage); transition: color 0.4s; }
.chapter-card h2 { font-family: var(--display); font-size: 2.2rem; font-weight: 700; margin: 8px 0 14px; }
.chapter-card p { color: var(--ink-2); font-size: 0.98rem; margin-bottom: 12px; }
.chapter-emd { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 16px !important; font-size: 0.9rem !important; }

/* DUEL */
.duel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 800px) { .duel { grid-template-columns: 1fr; } }
.duel-panel { padding: 20px; }
.duel-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--ink-2); margin-bottom: 12px; }
.duel-canvas { width: 100%; height: 260px; }
.duel-note { color: var(--ink-2); font-size: 0.9rem; margin-top: 14px; }
.duel-signal { padding: 16px 20px; position: relative; }
.duel-signal canvas { width: 100%; height: 110px; }
.duel-signal-label { position: absolute; top: 12px; right: 20px; font-size: 0.68rem; letter-spacing: 0.1em; color: var(--ink-3); }

/* SIFT */
.sift-stage { padding: 20px; }
.sift-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.sift-status { margin-left: auto; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--cyan); }
#sift-canvas { width: 100%; height: 420px; }
.sift-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 16px; }
.sift-steps li { font-size: 0.8rem; color: var(--ink-3); padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; transition: all 0.3s; }
.sift-steps li b { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 4px; }
.sift-steps li.on { color: var(--ink); border-color: rgba(51, 225, 255, 0.35); background: var(--cyan-dim); }
.sift-steps li.on b { color: var(--cyan); }
.sift-steps li.done { color: var(--ink-2); }
@media (max-width: 800px) { .sift-steps { grid-template-columns: 1fr 1fr; } #sift-canvas { height: 320px; } }
.formula-strip { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; font-size: 0.85rem; color: var(--ink-2); }
.formula-sep { color: var(--cyan); }

/* LAB */
.lab { display: grid; grid-template-columns: 320px 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .lab { grid-template-columns: 1fr; } }
.lab-panel, .lab-view { min-width: 0; }
.lab-panel { padding: 22px; position: sticky; top: 90px; }
@media (max-width: 900px) { .lab-panel { position: static; } }
.lab-presets { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.slider { display: grid; grid-template-columns: 1fr 48px; gap: 4px 10px; align-items: center; margin-bottom: 12px; font-size: 0.85rem; }
.slider > span { grid-column: 1 / -1; color: var(--ink-2); display: flex; justify-content: space-between; }
.slider em { font-style: normal; font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); }
.slider output { font-family: var(--mono); font-size: 0.75rem; color: var(--cyan); text-align: right; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); border: 2px solid var(--bg); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--cyan); border: 2px solid var(--bg); }
.lab-actions { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.lab-hint { color: var(--ink-3); font-size: 0.75rem; margin-top: 12px; }
.lab-stats { margin-top: 12px; font-size: 0.72rem; color: var(--ink-2); display: grid; gap: 4px; }
.lab-stats span b { color: var(--ink); font-weight: 600; }
.lab-stats > span { flex-wrap: wrap; }
.lab-view { padding: 16px; position: relative; min-height: 520px; }
#lab-canvas { width: 100%; height: 620px; }
@media (max-width: 900px) { #lab-canvas { height: 520px; } }
.lab-tooltip { position: absolute; pointer-events: none; font-size: 0.7rem; padding: 6px 10px; border-radius: 8px; background: rgb(var(--bg-rgb) / 0.92); border: 1px solid var(--line); color: var(--ink); opacity: 0; transition: opacity 0.15s; white-space: nowrap; }

/* 3D */
.hht3d-stage { position: relative; padding: 0; overflow: hidden; }
.hht3d-mount { width: 100%; height: 560px; }
@media (max-width: 800px) { .hht3d-mount { height: 420px; } }
.hht3d-axes { position: absolute; left: 20px; bottom: 20px; display: flex; gap: 16px; font-size: 0.68rem; letter-spacing: 0.1em; color: var(--ink-3); pointer-events: none; }
.hht3d-toolbar { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; flex-wrap: wrap; }

/* IMF MAP */
.imf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.imf-card { padding: 24px; position: relative; overflow: hidden; }
.imf-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); box-shadow: 0 0 18px var(--c); }
.imf-k { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--c); }
.imf-card b { display: block; margin: 8px 0 8px; font-family: var(--display); font-size: 1.1rem; }
.imf-card p { color: var(--ink-2); font-size: 0.88rem; }

/* PAPERS */
.timeline { display: flex; gap: 16px; overflow-x: auto; padding: 8px max(16px, calc((100vw - var(--wrap)) / 2 + 16px)) 32px; scroll-snap-type: x mandatory; scroll-padding-left: max(16px, calc((100vw - var(--wrap)) / 2 + 16px)); scrollbar-width: thin; scrollbar-color: var(--cyan-dim) transparent; }
.paper { flex: 0 0 340px; scroll-snap-align: start; padding: 26px; position: relative; display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.8s ease; }
.paper:hover { transform: translateY(-4px); border-color: var(--cyan); }
.paper:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.paper-open { position: absolute; top: 22px; right: 22px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--ink-3); transition: color 0.25s; }
.paper:hover .paper-open { color: var(--cyan); }
.paper-src { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--ink-3); margin-top: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.paper:hover .paper-src { color: var(--ink-2); }
.paper-year { font-size: 2rem; font-weight: 600; color: var(--cyan); letter-spacing: -0.02em; line-height: 1; margin-bottom: 14px; }
.paper h3 { font-size: 1rem; font-weight: 600; line-height: 1.5; margin-bottom: 12px; }
.paper-auth { color: var(--ink-2); font-size: 0.8rem; margin-bottom: 4px; }
.paper-j { color: var(--ink-3); font-size: 0.78rem; font-style: italic; margin-bottom: 14px; flex: 1; }

/* ABOUT + LIMITS */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.about-text { padding: 30px; }
.about-text p { color: var(--ink-2); margin-bottom: 14px; }
.about-text p:last-child { margin-bottom: 0; }
.about-facts { display: grid; gap: 12px; }
.fact { padding: 20px 22px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.fact-k { font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--cyan); line-height: 1; min-width: 72px; }
.fact-v { color: var(--ink-2); font-size: 0.9rem; }
.fact-v b { display: block; color: var(--ink); margin-bottom: 2px; }
.limits { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.limit { padding: 24px; }
.limit-k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--hot); }
.limit b { display: block; font-family: var(--display); font-size: 1.1rem; margin: 8px 0; }
.limit p { color: var(--ink-2); font-size: 0.9rem; }
.limit .fix { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.85rem; }
.limit .fix b { display: inline; font-size: 0.85rem; color: var(--cyan); margin: 0 6px 0 0; }
.journey-note { position: absolute; right: 24px; top: 84px; font-size: 0.65rem; letter-spacing: 0.1em; color: var(--ink-3); text-align: right; line-height: 1.6; }

/* FOOTER */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.footer-title { font-family: var(--display); font-weight: 700; }
.footer-sub { color: var(--ink-3); font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--cyan); }

@media (prefers-reduced-motion: reduce) {
    .grain { animation: none; }
    .hero-hint-mouse::after { animation: none; }
    .hero-title-line, .hero-sub, .hero-cta { animation: none; opacity: 1; transform: none; }
    .rv, .chapter-card { transition: none; opacity: 1; transform: none; }
}
