:root {
  --ink: #211b2d;
  --paper: #fdfefe;
  --paper-warm: #f7f1e6;
  --paper-deep: #e7dec9;
  --violet: #2c1b4d;
  --violet-deep: #19102c;
  --vermilion: #c0392b;
  --bamboo: #1e8449;
  --bamboo-deep: #196f3d;
  --cyan: #00f5ff;
  --gold: #d4ad62;
  --line: rgba(44, 27, 77, .18);
  --display: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --body: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  --shadow: 0 24px 55px rgba(25, 16, 44, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--vermilion) var(--violet-deep); }
body { min-width: 320px; margin: 0; color: var(--ink); font-family: var(--body); line-height: 1.8; background: var(--paper-warm); }
body::before { content:""; position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .52; background-image: repeating-linear-gradient(0deg, rgba(44,27,77,.028) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, rgba(192,57,43,.018) 0 1px, transparent 1px 13px); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; z-index: 2000; top: -5rem; left: 1rem; padding: .65rem 1rem; color: #fff; background: var(--vermilion); }
.skip-link:focus { top: 1rem; }
.container { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; }
.section { position: relative; padding: clamp(4.5rem, 8vw, 8.5rem) 0; }
.section-heading { position: relative; max-width: 720px; margin-bottom: 2.75rem; padding-left: 4.7rem; }
.section-heading h2, h1, h2, h3 { font-family: var(--display); letter-spacing: .04em; }
.section-heading h2 { position: relative; z-index: 1; margin: 0; color: var(--violet); font-size: clamp(2.2rem, 4.2vw, 4.7rem); line-height: 1.14; }
.section-heading .lead { max-width: 660px; margin: 1rem 0 0; color: #5c536b; font-size: 1.04rem; }
.section-no { position: absolute; top: -.8rem; left: 0; color: rgba(192,57,43,.19); font-family: var(--display); font-size: clamp(4.6rem, 10vw, 8.8rem); font-weight: 800; line-height: 1; }
.eyebrow { margin: 0 0 .52rem; color: var(--vermilion); font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.lead { color: #4e465b; font-size: 1.08rem; }
.section-tight { margin-top: 2rem; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; color: var(--vermilion); font-weight: 800; }
.text-link::after { width: 28px; height: 1px; background: currentColor; content:""; transition: width .2s ease; }
.text-link:hover::after { width: 44px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(253,254,254,.12); background: rgba(25,16,44,.95); box-shadow: 0 10px 30px rgba(14,8,26,.19); backdrop-filter: blur(14px); }
.site-header::after { position: absolute; right: 0; bottom: -2px; left: 0; height: 2px; content:""; background: linear-gradient(90deg, var(--vermilion) 0 calc(var(--read-progress, 0%) * .72), var(--cyan) calc(var(--read-progress, 0%) * .72) var(--read-progress, 0%), transparent var(--read-progress, 0%)); }
.nav-shell { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto auto; align-items: center; width: min(1320px, calc(100% - 3rem)); min-height: 76px; margin: 0 auto; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: #fff; font-family: var(--display); font-size: 1.08rem; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.brand small { display: block; margin-bottom: .03rem; color: #a2d9ba; font-family: var(--body); font-size: .52rem; font-weight: 800; letter-spacing: .2em; }
.brand { order: 1; }
.brand-mark { display: grid; width: 37px; height: 37px; place-items: center; color: #fff; border: 1px solid var(--cyan); background: linear-gradient(135deg, var(--vermilion), #711c45); box-shadow: 0 0 0 4px rgba(0,245,255,.12); font-family: var(--display); font-size: 0; line-height: 1; transform: rotate(45deg); }
.brand-mark::after { content: "千"; font-size: .8rem; transform: rotate(-45deg); }
.site-nav { display: flex; align-items: center; gap: .15rem; order: 2; }
.site-nav a { position: relative; padding: .55rem .7rem; color: rgba(255,255,255,.77); font-size: .87rem; font-weight: 700; white-space: nowrap; }
.site-nav a::after { position: absolute; right: .7rem; bottom: .18rem; left: .7rem; height: 2px; content:""; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.nav-archive-link { padding: .48rem .72rem; color: #fff; border: 1px solid rgba(0,245,255,.55); background: rgba(0,245,255,.08); font-size: .76rem; font-weight: 800; white-space: nowrap; }
.nav-archive-link span { color: var(--cyan); }
.nav-archive-link { order: 4; }
.theme-toggle { order: 3; min-width: 4.2rem; padding: .46rem .6rem; color: var(--cyan); border: 1px solid rgba(0,245,255,.55); background: rgba(0,245,255,.07); font-size: .74rem; font-weight: 800; letter-spacing: .08em; }
.theme-toggle:hover, .theme-toggle:focus-visible { color: var(--violet-deep); background: var(--cyan); }
.nav-toggle { display: none; order: 5; width: 42px; height: 42px; padding: 0; color: #fff; border: 1px solid rgba(255,255,255,.3); background: transparent; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: block; width: 20px; height: 2px; margin: 4px auto; content:""; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; min-height: min(800px, 82vh); overflow: hidden; color: #fff; background: var(--violet-deep); isolation: isolate; }
.hero::before { position: absolute; z-index: 1; inset: 0; content:""; background: linear-gradient(90deg, rgba(25,16,44,.96) 0 31%, rgba(25,16,44,.7) 52%, rgba(25,16,44,.08) 100%), linear-gradient(0deg, rgba(25,16,44,.94), transparent 46%); }
.hero::after { position: absolute; z-index: 2; right: -9vw; bottom: -8rem; width: 52vw; height: 16rem; content:""; border: 1px solid rgba(0,245,255,.42); border-radius: 50%; box-shadow: 0 0 0 26px rgba(192,57,43,.16), 0 0 80px rgba(0,245,255,.3); transform: rotate(-12deg); }
.hero-art { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.9) contrast(1.08); }
.hero .container { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 620px) minmax(240px, 320px); align-items: center; justify-content: space-between; min-height: inherit; gap: 3rem; }
.hero-copy { padding: 8rem 0 7rem; }
.hero h1 { max-width: 600px; margin: .1rem 0 .7rem; color: #fff; font-size: clamp(4rem, 8vw, 8.5rem); font-weight: 800; line-height: .92; letter-spacing: .08em; text-shadow: 8px 8px 0 rgba(192,57,43,.42); }
.hero-summary { max-width: 540px; margin: 0; color: rgba(255,255,255,.83); font-size: clamp(1rem, 1.8vw, 1.18rem); }
.archive-stamp { display: inline-grid; grid-template-columns: auto auto; gap: .1rem 1rem; min-width: 155px; padding: .55rem .75rem; color: var(--cyan); border: 1px solid rgba(0,245,255,.6); background: rgba(0,245,255,.06); font-size: .62rem; font-weight: 800; letter-spacing: .14em; }
.archive-stamp strong { grid-column: 1 / -1; color: #fff; font-size: .76rem; letter-spacing: .22em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.75rem 0; }
.hero-meta span { padding: .35rem .6rem; border-left: 2px solid var(--bamboo); background: rgba(253,254,254,.09); color: rgba(255,255,255,.89); font-size: .8rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .75rem 1.15rem; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #fff; border: 1px solid var(--vermilion); background: var(--vermilion); box-shadow: 5px 5px 0 rgba(0,245,255,.62); }
.button-primary:hover { background: #a52f25; box-shadow: 8px 8px 0 rgba(0,245,255,.76); }
.button-ghost { color: #fff; border: 1px solid rgba(255,255,255,.56); background: rgba(255,255,255,.04); }
.hero-dossier { position: relative; align-self: center; padding: 1.25rem; border: 1px solid rgba(0,245,255,.48); background: rgba(25,16,44,.67); box-shadow: -14px 14px 0 rgba(192,57,43,.82); backdrop-filter: blur(10px); }
.hero-dossier::before { position: absolute; top: -1px; right: 1rem; width: 54px; height: 5px; content:""; background: var(--cyan); }
.dossier-kicker { margin: 0 0 .8rem; color: var(--cyan); font-size: .65rem; font-weight: 800; letter-spacing: .18em; }
.hero-dossier dl { margin: 0; }
.hero-dossier dl div { display: grid; grid-template-columns: 4.2rem 1fr; gap: .6rem; padding: .65rem 0; border-top: 1px solid rgba(255,255,255,.14); }
.hero-dossier dt { color: #9fd9af; font-size: .78rem; }
.hero-dossier dd { margin: 0; font-family: var(--display); font-size: .98rem; }
.hero-dossier a { display: flex; justify-content: space-between; margin-top: .7rem; padding-top: .8rem; color: #fff; border-top: 1px solid rgba(255,255,255,.14); font-weight: 800; }
.hero-dossier a span { color: var(--cyan); }

.info-strip { position: relative; z-index: 4; margin-top: -2rem; }
.info-strip-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--violet); background: var(--paper); box-shadow: var(--shadow); }
.info-chip { position: relative; min-height: 94px; padding: 1rem; border-right: 1px solid var(--line); }
.info-chip:last-child { border: 0; }
.info-chip::before { position: absolute; top: 0; left: 0; width: 100%; height: 4px; content:""; background: var(--vermilion); }
.info-chip:nth-child(2n)::before { background: var(--bamboo); }
.info-chip:nth-child(3n)::before { background: var(--cyan); }
.info-chip small { display: block; color: #7b7286; font-size: .72rem; letter-spacing: .1em; }
.info-chip strong { display: block; margin-top: .2rem; color: var(--violet); font-family: var(--display); font-size: .95rem; line-height: 1.42; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .88fr); align-items: center; gap: clamp(2.4rem, 7vw, 7rem); }
.two-col p:not(.eyebrow) { max-width: 680px; }
.story-section::before { position: absolute; top: 10%; bottom: 10%; left: 5vw; width: 1px; content:""; background: linear-gradient(var(--vermilion), transparent); }
.story-frame { --frame-offset: 1rem; position: relative; min-width: 0; margin: 0; padding: var(--frame-offset) 0 0 var(--frame-offset); }
.story-frame .feature-image { box-shadow: calc(0px - var(--frame-offset)) calc(0px - var(--frame-offset)) 0 var(--bamboo); }
.feature-image { position: relative; z-index: 1; overflow: hidden; background: var(--violet); }
.feature-image img { width: 100%; height: auto; }
.image-caption { position: relative; z-index: 1; margin: .85rem 0 0; color: #625a6c; font-size: .86rem; }
.image-caption span { display: block; margin-bottom: .15rem; color: var(--vermilion); font-size: .68rem; font-weight: 800; letter-spacing: .16em; }

.content-section { color: #fff; background: var(--violet); }
.content-section::before { position: absolute; inset: 0; content:""; pointer-events: none; opacity: .32; background: linear-gradient(120deg, transparent 0 44%, rgba(0,245,255,.15) 44.1% 44.3%, transparent 44.4%), linear-gradient(120deg, transparent 0 76%, rgba(192,57,43,.34) 76.1% 76.35%, transparent 76.45%); }
.content-section .section-heading h2, .content-section .lead { color: #fff; }
.content-section .section-no { color: rgba(0,245,255,.18); }
.content-section .eyebrow { color: #aee8bb; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { position: relative; min-height: 230px; padding: 2rem 1.6rem 1.5rem; overflow: hidden; border: 1px solid rgba(253,254,254,.19); background: rgba(253,254,254,.06); transition: transform .25s ease, background .25s ease; }
.card:hover { background: rgba(253,254,254,.12); transform: translateY(-8px); }
.card h3 { margin: .8rem 0 .7rem; color: #fff; font-size: 1.4rem; }
.card p { margin: 0; color: rgba(255,255,255,.72); font-size: .92rem; }
.card-index { color: var(--cyan); font-family: var(--display); font-size: 1.4rem; font-weight: 800; }
.content-section .section-tight { max-width: 880px; margin: 2.2rem auto 0; }
.content-section .feature-image { border: 1px solid rgba(0,245,255,.32); box-shadow: 14px 14px 0 rgba(192,57,43,.74); }
.content-section .image-caption { color: rgba(255,255,255,.7); }

.ema-section { overflow: hidden; background: linear-gradient(90deg, #efe5cf 0 64%, var(--bamboo) 64%); }
.ema-section .section-heading { margin-left: auto; }
.ema-scene { position: relative; min-height: 590px; overflow: hidden; border: 1px solid var(--violet); background: var(--paper); box-shadow: 18px 18px 0 var(--vermilion); }
.ema-scene::before { position: absolute; z-index: 1; inset: 0; content:""; background: linear-gradient(90deg, rgba(253,254,254,.9), rgba(253,254,254,.18) 58%, rgba(25,16,44,.35)); }
.ema-scene::after { position: absolute; z-index: 2; top: 0; bottom: 0; left: 50%; width: 1px; content:""; background: rgba(0,245,255,.6); }
.ema-scene-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(.95); }
.ema-grid { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); width: min(91%, 900px); margin: 0 auto; padding: 4rem 0; gap: 1rem; perspective: 1200px; }
.ema-card { position: relative; min-height: 185px; padding: 0; border: 0; background: transparent; transform-style: preserve-3d; transition: transform .52s cubic-bezier(.2,.75,.2,1); }
.ema-card:nth-child(2n) { transform: translateY(1.9rem); }
.ema-card:hover { transform: translateY(-.4rem) rotate(-1deg); }
.ema-card:nth-child(2n):hover { transform: translateY(1rem) rotate(1deg); }
.ema-card.is-turned { transform: rotateY(180deg) !important; }
.ema-string { position: absolute; z-index: 3; top: -27px; left: 50%; width: 1px; height: 35px; background: var(--vermilion); }
.ema-string::before { position: absolute; top: -4px; left: -4px; width: 9px; height: 9px; content:""; border-radius: 50%; background: var(--vermilion); }
.ema-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.25rem; border: 1px solid var(--violet); backface-visibility: hidden; clip-path: polygon(50% 0, 100% 11%, 92% 100%, 8% 100%, 0 11%); }
.ema-front { color: var(--violet); background: linear-gradient(135deg, #fffdf7, #e9dcbf); box-shadow: inset 0 0 0 8px rgba(253,254,254,.55); }
.ema-front small { color: var(--vermilion); font-size: .73rem; font-weight: 800; letter-spacing: .11em; }
.ema-front strong { margin: .45rem 0; font-size: 1.35rem; }
.ema-front em { color: var(--bamboo-deep); font-size: .82rem; font-style: normal; }
.ema-back { color: #fff; background: linear-gradient(145deg, var(--violet), #12563b); line-height: 1.8; text-align: center; transform: rotateY(180deg); }

.world-section { color: #fff; background: #122c35; }
.world-section .section-heading h2, .world-section .lead { color: #fff; }
.world-section .section-no { color: rgba(0,245,255,.16); }
.world-section .eyebrow { color: #9fd9af; }
.world-dial { --night: .18; position: relative; min-height: 540px; overflow: hidden; border: 1px solid rgba(0,245,255,.48); box-shadow: 16px 16px 0 var(--vermilion); isolation: isolate; }
.world-dial::before { position: absolute; z-index: 1; inset: 0; content:""; background: linear-gradient(180deg, rgba(25,16,44,.9), rgba(25,16,44,.38) 50%, rgba(25,16,44,.75)); opacity: var(--night); transition: opacity .2s linear; }
.world-dial img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(calc(1 - var(--night) * .25)) brightness(calc(1 - var(--night) * .28)); transition: filter .2s linear; }
.world-glow { position: absolute; z-index: 2; top: 9%; right: 11%; width: 130px; aspect-ratio: 1; border: 1px solid rgba(0,245,255,.3); border-radius: 50%; background: radial-gradient(circle, #fff 0 12%, rgba(0,245,255,.3) 27%, transparent 65%); opacity: var(--night); transition: opacity .2s linear; }
.world-lanterns { position: absolute; z-index: 2; top: 19%; left: 10%; color: #ffc766; font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: 1.25rem; opacity: var(--night); text-shadow: 0 0 18px rgba(255,199,102,.78); }
.world-panel { position: absolute; z-index: 4; right: 1.4rem; bottom: 1.4rem; left: 1.4rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: .9rem 1.2rem; border: 1px solid rgba(0,245,255,.55); background: rgba(25,16,44,.82); color: #fff; backdrop-filter: blur(10px); }
.world-panel input { width: 100%; accent-color: var(--cyan); }
.world-caption { max-width: 770px; margin: 1rem 0 0 auto; color: rgba(255,255,255,.73); text-align: right; }

.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--violet); border-left: 1px solid var(--violet); }
.route-card { min-height: 240px; padding: 1.6rem; border-right: 1px solid var(--violet); border-bottom: 1px solid var(--violet); background: var(--paper); transition: background .25s ease, color .25s ease; }
.route-card:nth-child(3n+2) { background: #ecf4ea; }.route-card:nth-child(3n) { background: #eee9f5; }.route-card:hover { color: #fff; background: var(--violet); }
.route-label { display: inline-block; padding: .23rem .44rem; color: #fff; background: var(--vermilion); font-size: .68rem; font-weight: 800; letter-spacing: .1em; }.route-card:nth-child(3n+2) .route-label { background: var(--bamboo); }.route-card:nth-child(3n) .route-label { color: var(--violet); background: var(--cyan); }
.route-card h3 { margin: .95rem 0 .55rem; font-size: 1.38rem; }.route-card p { margin: 0; color: #5f5869; font-size: .9rem; transition: color .25s ease; }.route-card:hover p { color: rgba(255,255,255,.78); }

.section-alt { background: var(--paper-deep); }.section-alt::before { position: absolute; top: 0; right: 0; width: 36%; height: 100%; content:""; background: var(--bamboo); }.section-alt .container { position: relative; z-index: 1; }.section-alt .cards { width: calc(100% - 5vw); }.section-alt .card { color: var(--violet); border-color: var(--violet); background: var(--paper); }.section-alt .card h3 { color: var(--violet); }.section-alt .card p { color: #5d5566; }.section-alt .card-index { color: var(--vermilion); }
.fragment-section { overflow: hidden; color: #fff; background: #121d2f; }.fragment-section .section-heading h2, .fragment-section .lead { color: #fff; }.fragment-section .eyebrow { color: #aee8bb; }.fragment-section .section-no { color: rgba(0,245,255,.18); }.fragment-grid { display: grid; grid-template-columns: 1.1fr .78fr 1fr; gap: .9rem; align-items: center; }.memory-fragment { position: relative; min-height: 335px; padding: 0; overflow: hidden; border: 1px solid rgba(0,245,255,.52); background: var(--violet); transition: transform .28s ease, border-color .28s ease; }.memory-fragment:nth-child(2) { min-height: 270px; transform: translateY(2rem); border-color: rgba(192,57,43,.75); }.memory-fragment:hover { z-index: 2; border-color: var(--cyan); transform: translateY(-.6rem); }.memory-fragment:nth-child(2):hover { transform: translateY(1rem); }.memory-fragment img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; opacity: .88; transition: transform .4s ease; }.memory-fragment:hover img { transform: scale(1.07); }.memory-fragment::after { position: absolute; inset: 0; content:""; background: linear-gradient(0deg, rgba(25,16,44,.95), transparent 62%); }.memory-fragment span { position: absolute; z-index: 1; bottom: 1rem; left: 1rem; color: #fff; font-family: var(--display); font-size: 1.23rem; font-weight: 800; }

.timeline { border-left: 1px solid var(--vermilion); }.timeline-item { position: relative; padding: 0 0 1.7rem 1.5rem; }.timeline-item::before { position: absolute; top: .48rem; left: -.43rem; width: .78rem; height: .78rem; content:""; border: 2px solid var(--paper-warm); background: var(--vermilion); transform: rotate(45deg); }.timeline-item time { color: var(--bamboo-deep); font-size: .79rem; font-weight: 800; letter-spacing: .06em; }.timeline-item p { margin: .35rem 0 0; color: #5b5364; }
.archive-index-section { color: #fff; background: var(--violet-deep); }.archive-index-section .section-heading h2, .archive-index-section .lead { color: #fff; }.archive-index-section .section-no { color: rgba(0,245,255,.18); }.archive-index-section .eyebrow { color: #9fd9af; }.resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid rgba(0,245,255,.36); background: rgba(0,245,255,.36); }.resource-card { position: relative; display: flex; min-height: 180px; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 1.35rem; overflow: hidden; background: #26184a; transition: background .25s ease, transform .25s ease; }.resource-card:hover { z-index: 1; background: var(--vermilion); transform: translateY(-7px); }.resource-card > span { position: absolute; top: 1rem; left: 1rem; color: var(--cyan); font-family: var(--display); font-size: 1.5rem; font-weight: 800; }.resource-card strong { color: #fff; font-family: var(--display); font-size: 1.35rem; }.resource-card small { margin-top: .35rem; color: rgba(255,255,255,.7); line-height: 1.55; }.resource-card b { position: absolute; right: 1rem; bottom: .8rem; color: var(--cyan); font-size: 1.2rem; }.resource-card:hover b, .resource-card:hover > span { color: #fff; }

.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }.faq-list details { padding: 1.15rem 1.25rem; border: 1px solid var(--violet); background: var(--paper); }.faq-list summary { color: var(--violet); cursor: pointer; font-family: var(--display); font-size: 1.1rem; font-weight: 800; }.faq-list p { margin: .75rem 0 0; color: #5f5868; }.final-section { padding-top: 2rem; }
.download-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; padding: clamp(1.7rem, 4vw, 3.1rem); overflow: hidden; color: #fff; border: 1px solid rgba(0,245,255,.55); background: linear-gradient(115deg, var(--vermilion), #671f46 55%, var(--violet)); box-shadow: 14px 14px 0 var(--bamboo); }.download-panel::after { position: absolute; top: -6rem; right: 5%; width: 16rem; height: 16rem; content:""; border: 1px solid rgba(0,245,255,.5); border-radius: 50%; }.download-panel h2 { position: relative; z-index: 1; margin: 0; font-size: clamp(1.8rem, 3.5vw, 3.2rem); }.download-panel p { position: relative; z-index: 1; max-width: 660px; margin: .5rem 0 0; color: rgba(255,255,255,.82); }.download-panel .button-row { position: relative; z-index: 1; }.download-panel .button-primary { color: var(--violet); background: #fff; box-shadow: 5px 5px 0 var(--cyan); }

.gallery-dialog { width: min(94vw, 1080px); max-width: none; padding: .7rem; color: #fff; border: 1px solid rgba(0,245,255,.55); background: var(--violet-deep); box-shadow: 0 30px 90px rgba(0,0,0,.72); }.gallery-dialog::backdrop { background: rgba(12,7,25,.82); backdrop-filter: blur(7px); }.gallery-dialog img { width: 100%; max-height: 78vh; object-fit: contain; }.gallery-dialog p { margin: .65rem .35rem .15rem; color: rgba(255,255,255,.75); }.gallery-close { position: absolute; z-index: 2; top: .85rem; right: .85rem; width: 38px; height: 38px; color: #fff; border: 1px solid rgba(0,245,255,.6); background: rgba(25,16,44,.86); font-size: 1.5rem; }
.site-footer { margin-top: 6rem; padding: 4.6rem 0 1.4rem; color: rgba(255,255,255,.72); background: #110a20; }.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 4rem; }.site-footer .brand { margin-bottom: .9rem; }.site-footer p { max-width: 600px; }.footer-grid h2 { color: #fff !important; }.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1rem; }.footer-links a { color: rgba(255,255,255,.74); font-size: .9rem; }.footer-links a:hover { color: var(--cyan); }.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.13); }.footer-bottom > .footer-links { display: flex; flex-wrap: wrap; margin-top: .6rem; }

.page-hero { position: relative; padding: clamp(5rem, 9vw, 8rem) 0 clamp(3rem, 5vw, 5rem); overflow: hidden; color: #fff; background: var(--violet-deep); }.page-hero::before { position: absolute; top: 0; right: -7rem; width: 45vw; height: 100%; content:""; background: linear-gradient(135deg, rgba(192,57,43,.9), transparent 60%); clip-path: polygon(28% 0,100% 0,100% 100%,0 100%); }.page-hero::after { position: absolute; right: 12%; bottom: -7rem; width: 19rem; height: 19rem; content:""; border: 1px solid rgba(0,245,255,.55); border-radius: 50%; box-shadow: 0 0 0 35px rgba(30,132,73,.2); }.page-hero .container { position: relative; z-index: 1; }.breadcrumbs { display: flex; gap: .55rem; margin-bottom: 1.35rem; color: rgba(255,255,255,.65); font-size: .84rem; }.breadcrumbs a { color: var(--cyan); }.page-hero h1 { max-width: 850px; margin: 0; color: #fff; font-size: clamp(3rem, 7vw, 6.7rem); line-height: .98; }.page-hero .lead { max-width: 750px; color: rgba(255,255,255,.8); }.page-date { display: inline-block; margin-top: 1.1rem; padding: .3rem .55rem; border-left: 2px solid var(--cyan); color: #aee8bb; font-size: .8rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: start; gap: clamp(2rem, 5vw, 5rem); }.article-main { min-width: 0; }.article-main h2 { position: relative; margin: 3.2rem 0 1.15rem; padding-left: 2.4rem; color: var(--violet); font-size: clamp(1.7rem, 3vw, 2.55rem); }.article-main h2::before { position: absolute; top: .2em; left: 0; width: 1.45rem; height: 1.45rem; content:""; background: var(--vermilion); clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); }.article-main p, .article-main li { color: #4f4859; }.article-main figure { margin: 2rem 0; }.article-main .feature-image { box-shadow: 12px 12px 0 var(--bamboo); }.article-main .download-panel { grid-template-columns: 1fr; margin-top: 3rem; }.article-aside { position: sticky; top: 105px; padding: 1.1rem 1.2rem; border-top: 4px solid var(--vermilion); background: var(--paper); box-shadow: 10px 10px 0 rgba(30,132,73,.28); }.article-aside h2 { margin: 0 0 .65rem; color: var(--violet); font-size: 1.12rem; }.article-aside ul { margin: 0; padding: 0; list-style: none; }.article-aside li { border-top: 1px solid var(--line); }.article-aside a { display: block; padding: .58rem 0; color: #5d5567; font-size: .87rem; }.article-aside a:hover { padding-left: .35rem; color: var(--vermilion); }.table-wrap { overflow-x: auto; border: 1px solid var(--violet); background: var(--paper); }table { width: 100%; border-collapse: collapse; }th, td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }th { width: 28%; color: #fff; background: var(--violet); font-weight: 800; }td { color: #514a59; }.callout { margin: 1.5rem 0; padding: 1.1rem 1.25rem; border-left: 5px solid var(--bamboo); background: #e9f2e8; }.not-found { display: grid; min-height: calc(100vh - 76px); place-items: center; padding: 2rem; }.not-found-card { max-width: 720px; padding: clamp(2rem, 7vw, 5rem); text-align: center; color: #fff; background: var(--violet); box-shadow: 16px 16px 0 var(--vermilion); }.not-found-card h1 { color: #fff; }.not-found-card .lead { color: rgba(255,255,255,.78); }.not-found-code { margin: 0; color: var(--cyan); font-family: var(--display); font-size: clamp(5rem,13vw,10rem); font-weight: 800; line-height: .8; }.not-found-card .button-row { justify-content: center; }

.blade-intro { display: none; position: fixed; z-index: 1000; inset: 0; overflow: hidden; color: #fff; background: radial-gradient(circle at 50% 73%, rgba(0,245,255,.18), transparent 20rem), linear-gradient(145deg, #0d0919, var(--violet) 56%, #11382b); opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility .55s ease; }.has-intro .blade-intro { display: block; }body.intro-active { overflow: hidden; }body.intro-active .blade-intro { opacity: 1; visibility: visible; }body.intro-active .site-header, body.intro-active main, body.intro-active .site-footer { filter: blur(10px); pointer-events: none; }.intro-mist { position: absolute; width: 78vw; height: 28vh; border-radius: 50%; filter: blur(42px); opacity: .48; animation: mist-drift 8s ease-in-out infinite alternate; }.intro-mist-one { top: 2%; left: -18%; background: rgba(253,254,254,.25); }.intro-mist-two { right: -17%; bottom: 9%; background: rgba(0,245,255,.17); }.intro-petals { position: absolute; top: 15%; width: 100%; color: rgba(255,214,220,.52); font-size: clamp(1.3rem,4vw,3rem); letter-spacing: 4rem; text-align: center; animation: petal-float 6s ease-in-out infinite alternate; }.intro-copy { position: absolute; z-index: 5; top: 11%; left: 50%; width: min(92%,660px); text-align: center; transform: translateX(-50%); }.intro-copy .eyebrow { color: #ffb2aa; }.intro-copy h2 { margin: 0; color: #fff; font-size: clamp(2.1rem,5vw,4.4rem); }.intro-copy p:last-child { color: rgba(255,255,255,.74); }.intro-stone { position: absolute; bottom: 7%; left: 50%; width: min(58vw,420px); height: 138px; border-radius: 52% 48% 18% 22%; background: linear-gradient(145deg,#687082,#24243a 62%,#10121c); box-shadow: inset 22px 19px 30px rgba(255,255,255,.15), inset -22px -24px 30px rgba(0,0,0,.47), 0 22px 45px rgba(0,0,0,.44); transform: translateX(-50%); }.intro-stone::after { position: absolute; top: 20%; left: 16%; width: 58%; height: 17%; content:""; border-radius: 50%; background: rgba(0,0,0,.3); filter: blur(7px); }.intro-katana { position: absolute; z-index: 4; top: 58%; left: 50%; width: 58px; height: min(69vh,640px); transform: translate(-50%,-50%); transform-origin: 50% 92%; transition: transform .1s linear, filter .3s ease; }.intro-blade { position: absolute; top: 78px; left: 22px; width: 16px; height: calc(100% - 105px); background: linear-gradient(90deg,#7dc4d4,#fff 38%,#a6e7f0 57%,#4b8ea7); box-shadow: 0 0 24px rgba(0,245,255,.5), inset 2px 0 5px rgba(255,255,255,.82); clip-path: polygon(49% 0,100% 2%,77% 100%,24% 100%,0 2%); }.intro-hilt { position: absolute; top: 0; left: 7px; width: 45px; height: 78px; border: 2px solid var(--gold); border-radius: 8px 8px 18px 18px; background: repeating-linear-gradient(135deg,#1b1d3a 0 6px,#e2d4b4 6px 9px,#2d1c3d 9px 14px); }.intro-guard { position: absolute; top: 73px; left: -2px; width: 62px; height: 16px; border: 2px solid var(--gold); border-radius: 50%; background: radial-gradient(circle,#f2db91 0 20%,#852b34 22% 48%,#432051 51%); }.intro-meter { position: absolute; z-index: 7; right: 50%; bottom: 4%; width: min(84vw,330px); height: 4px; overflow: hidden; background: rgba(255,255,255,.18); transform: translateX(50%); }.intro-meter span { display: block; width: var(--draw-progress,0%); height: 100%; background: linear-gradient(90deg,var(--vermilion),var(--gold),var(--cyan)); box-shadow: 0 0 12px var(--cyan); }.intro-hint { position: absolute; z-index: 7; right: 50%; bottom: calc(4% + 1.15rem); margin: 0; color: rgba(255,255,255,.65); font-size: .8rem; transform: translateX(50%); }.blade-intro.is-released .intro-katana { filter: drop-shadow(0 -14px 28px rgba(0,245,255,.75)); }
.custom-cursor { display: none; }
@media (hover:hover) and (pointer:fine) { body[data-pointer="petal"], body[data-pointer="petal"] *, body[data-pointer="blade"], body[data-pointer="blade"] * { cursor: none !important; }.custom-cursor { position: fixed; z-index: 3000; display: block; width: 42px; height: 42px; pointer-events: none; transform: translate(-50%,-50%); }.cursor-petal { position: absolute; inset: 0; display: grid; place-items: center; color: #e27b8e; font-size: 24px; text-shadow: 0 0 11px rgba(255,255,255,.8); }.cursor-sword { position: absolute; inset: 0; opacity: 0; transform: scale(.55) rotate(-45deg); }.cursor-sword::before { position: absolute; top: 6px; left: 19px; width: 4px; height: 30px; content:""; background: linear-gradient(90deg,#73d9e3,#fff,#5689aa); box-shadow: 0 0 8px rgba(0,245,255,.7); }.cursor-sword::after { position: absolute; top: 7px; left: 12px; width: 18px; height: 4px; content:""; border: 1px solid var(--gold); background: var(--vermilion); }.cursor-sword, .cursor-petal { transition: opacity .12s ease, transform .12s ease; }body[data-pointer="blade"] .cursor-petal { opacity: 0; transform: scale(.4) rotate(90deg); }body[data-pointer="blade"] .cursor-sword { opacity: 1; transform: scale(1) rotate(-45deg); }}

html[data-theme="night"] body { color: #e6dfef; background: #100b1d; }html[data-theme="night"] body::before { opacity: .14; }html[data-theme="night"] .info-strip-grid, html[data-theme="night"] .feature-image, html[data-theme="night"] .card, html[data-theme="night"] .route-card, html[data-theme="night"] .faq-list details, html[data-theme="night"] .article-aside, html[data-theme="night"] .table-wrap { background: #241b34; border-color: rgba(255,255,255,.2); }html[data-theme="night"] .info-chip { border-color: rgba(255,255,255,.17); }html[data-theme="night"] .info-chip strong, html[data-theme="night"] .section-heading h2, html[data-theme="night"] .article-main h2, html[data-theme="night"] .route-card h3, html[data-theme="night"] .faq-list summary { color: #fff; }html[data-theme="night"] .lead, html[data-theme="night"] .article-main p, html[data-theme="night"] .article-main li, html[data-theme="night"] .route-card p, html[data-theme="night"] .timeline-item p, html[data-theme="night"] .image-caption, html[data-theme="night"] td { color: #cfc7da; }html[data-theme="night"] .section-alt { background: #261b32; }html[data-theme="night"] .section-alt .card { background: #2b213c; }html[data-theme="night"] .section-alt .card h3 { color: #fff; }html[data-theme="night"] .section-alt .card p { color: #d2cadd; }html[data-theme="night"] th { background: #321d52; }html[data-theme="night"] .site-header { background: rgba(10,7,18,.96); }

@keyframes mist-drift { from { transform: translate3d(-2%,0,0) scale(.95); } to { transform: translate3d(4%,3%,0) scale(1.09); } }
@keyframes petal-float { from { transform: translateY(-9px) rotate(-2deg); } to { transform: translateY(16px) rotate(2deg); } }

@media (max-width: 1020px) { .nav-shell { grid-template-columns: 1fr auto auto; }.site-nav { display: none; }.nav-toggle { display: block; }.nav-archive-link { display: none; }.site-nav.is-open { position: absolute; top: 66px; right: 1.5rem; left: 1.5rem; z-index: 2; display: grid; grid-template-columns: repeat(3,1fr); padding: .7rem; border: 1px solid rgba(0,245,255,.3); background: var(--violet-deep); }.site-nav a { padding: .7rem; }.hero .container { grid-template-columns: minmax(0,1fr) 260px; }.cards { grid-template-columns: repeat(3,1fr); }.resource-grid { grid-template-columns: repeat(3,1fr); }.article-layout { grid-template-columns: 1fr; }.article-aside { display: none; }.info-strip-grid { grid-template-columns: repeat(5,1fr); }.info-chip { padding: .8rem; }.info-chip strong { font-size: .82rem; } }
@media (max-width: 760px) { .container { width: min(100% - 1.5rem,1180px); }.nav-shell { width: min(100% - 1.5rem,1320px); min-height: 64px; }.brand { font-size: .96rem; }.brand-mark { width: 31px; height: 31px; }.theme-toggle { min-width: 3.5rem; padding: .4rem .45rem; font-size: .68rem; }.site-nav.is-open { top: 56px; right: .75rem; left: .75rem; grid-template-columns: repeat(2,1fr); }.hero { min-height: auto; }.hero::before { background: linear-gradient(90deg, rgba(25,16,44,.9), rgba(25,16,44,.44)), linear-gradient(0deg, rgba(25,16,44,.95), transparent 62%); }.hero::after { right: -16rem; bottom: -9rem; width: 31rem; }.hero .container { grid-template-columns: 1fr; gap: 0; }.hero-copy { padding: 5.3rem 0 2.2rem; }.hero h1 { font-size: clamp(3.7rem,17vw,6rem); }.hero-dossier { width: min(100%,360px); margin: 0 0 4rem auto; }.info-strip { margin-top: 0; }.info-strip-grid { grid-template-columns: repeat(2,1fr); }.info-chip:nth-child(5) { grid-column: span 2; }.two-col { grid-template-columns: 1fr; gap: 2.3rem; }.story-section::before { display: none; }.section { padding: 4.5rem 0; }.section-heading { padding-left: 3.3rem; }.section-no { font-size: 5.4rem; }.section-heading h2 { font-size: clamp(2.1rem,10vw,3.5rem); }.story-frame { --frame-offset: .7rem; }.cards, .route-grid, .faq-list { grid-template-columns: 1fr; }.content-section .section-tight { max-width: none; }.ema-section { background: linear-gradient(180deg,#efe5cf 0 73%,var(--bamboo) 73%); }.ema-section .section-heading { margin-left: 0; }.ema-scene { min-height: 1040px; box-shadow: 10px 10px 0 var(--vermilion); }.ema-scene::after { top: 50%; left: 0; width: 100%; height: 1px; }.ema-scene-art { height: 32%; }.ema-grid { grid-template-columns: repeat(2,1fr); width: 88%; padding: 20rem 0 2.5rem; }.ema-card { min-height: 165px; }.ema-card:nth-child(2n) { transform: translateY(1rem); }.world-dial { min-height: 420px; box-shadow: 10px 10px 0 var(--vermilion); }.world-panel { right: .8rem; bottom: .8rem; left: .8rem; gap: .55rem; padding: .7rem; font-size: .76rem; }.world-caption { text-align: left; }.fragment-grid { grid-template-columns: 1fr; }.memory-fragment, .memory-fragment:nth-child(2) { min-height: 260px; transform: none; }.memory-fragment:nth-child(2):hover { transform: translateY(-.6rem); }.section-alt::before { width: 100%; height: 22%; }.section-alt .cards { width: 100%; }.resource-grid { grid-template-columns: repeat(2,1fr); }.resource-card { min-height: 150px; }.download-panel { grid-template-columns: 1fr; gap: 1rem; box-shadow: 8px 8px 0 var(--bamboo); }.footer-grid { grid-template-columns: 1fr; gap: 2rem; }.footer-links { grid-template-columns: 1fr 1fr; }.page-hero { padding: 5rem 0 3rem; }.page-hero h1 { font-size: clamp(2.7rem,13vw,4.4rem); }.article-main h2 { padding-left: 2rem; }.article-main h2::before { width: 1.2rem; height: 1.2rem; }.not-found { min-height: calc(100vh - 64px); } }
@media (max-width: 410px) { .brand small { display: none; }.hero-meta span { font-size: .72rem; }.button-row { display: grid; grid-template-columns: 1fr; }.button { width: 100%; }.ema-grid { grid-template-columns: 1fr; padding-top: 18rem; }.ema-scene { min-height: 1430px; }.resource-grid { grid-template-columns: 1fr; }.info-chip { min-height: 82px; }.footer-links { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }.blade-intro { display: none !important; } }


/* Whitehat news slots, styled to follow each site's existing visual system. */
.seo-news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.1rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: start; gap: clamp(1.5rem, 4vw, 4rem); }
.article-main { min-width: 0; }
.article-main.prose h2 { margin: 2.4rem 0 1rem; color: var(--ink); font-size: clamp(1.45rem, 2.5vw, 2.1rem); line-height: 1.35; }
.article-main.prose p, .article-main.prose li { color: var(--muted, #606778); }
.seo-news-card { min-width: 0; padding: 1.35rem 1.45rem; border: 1px solid var(--line); background: rgba(255,255,255,.78); }
.seo-news-card h2, .seo-news-card h3 { margin: .4rem 0 .6rem; color: var(--ink, var(--violet)); font-size: 1.28rem; line-height: 1.45; }
.seo-news-card p { margin: .5rem 0 1rem; color: var(--muted, #5d5566); }
.news-meta { display: block; color: var(--muted, #5d5566); font-size: .82rem; }
.seo-news-grid .card { min-height: 0; }
.seo-news-card .text-link { margin-top: .25rem; }
.news-generated-content { max-width: 78ch; margin: 0; color: var(--ink, #333); white-space: normal; overflow-wrap: anywhere; }
.article-main img { height: auto; }
.article-aside { min-width: 0; }
.download-dialog { width: min(440px, calc(100% - 2rem)); padding: 0; color: var(--ink, #211b2d); border: 1px solid var(--vermilion, #c0392b); background: var(--paper, #fdfefe); box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.download-dialog::backdrop { background: rgba(18,12,28,.68); backdrop-filter: blur(3px); }
.download-dialog form { padding: 1.5rem; }
.download-dialog-kicker { margin: 0; color: var(--vermilion, #c0392b); font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.download-dialog h2 { margin: .25rem 0 .6rem; font-size: 1.35rem; }
.download-dialog-host { overflow-wrap: anywhere; color: var(--muted, #5d5566); }
.download-dialog-actions { display: flex; justify-content: flex-end; gap: .65rem; margin-top: 1.4rem; }
.download-dialog-actions button { min-height: 42px; padding: .55rem .9rem; cursor: pointer; }
.download-dialog-cancel { color: var(--ink, #211b2d); border: 1px solid var(--line); background: transparent; }
.download-dialog-continue { color: #fff; border: 1px solid var(--vermilion, #c0392b); background: var(--vermilion, #c0392b); font-weight: 800; }
@media (max-width: 760px) { .seo-news-grid { grid-template-columns: 1fr; } .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }
