:root {
  --ink: #17211d;
  --paper: #f4f1e9;
  --paper-deep: #e9e5da;
  --pink: #e59aaa;
  --blue: #568da6;
  --green: #557a68;
  --gold: #d3a85f;
  --line: rgba(23, 33, 29, .18);
  --period: #d3a85f;
  --period-dark: #56442f;
  --needle-angle: 120deg;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif; overflow-x: hidden; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.visually-hidden { width: 1px; height: 1px; padding: 0; position: absolute; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
::selection { background: var(--pink); color: #fff; }

.memory-dust { position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .22; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"); }
.site-header { height: var(--header-h); padding: 0 4vw; position: fixed; inset: 0 0 auto; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #fff; transition: background .3s, color .3s, height .3s; }
.site-header.scrolled { height: 68px; color: var(--ink); background: rgba(244, 241, 233, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { justify-self: start; display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid currentColor; font-family: "STKaiti", "KaiTi", serif; font-size: 26px; transform: rotate(-4deg); }
.brand strong { display: block; font-size: 17px; letter-spacing: 0; }
.brand small { display: block; margin-top: 2px; font-size: 8px; letter-spacing: 2px; opacity: .7; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.site-nav a { position: relative; opacity: .82; }
.site-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -8px; height: 1px; background: currentColor; transition: .25s; }
.site-nav a:hover::after { left: 0; right: 0; }
.header-cta { justify-self: end; padding: 10px 18px; border: 1px solid currentColor; font-size: 12px; }
.menu-toggle { display: none; width: 38px; height: 38px; position: relative; border: 0; background: none; font-size: 0; }
.menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; left: 8px; right: 8px; height: 1px; background: currentColor; transition: transform .25s, top .25s; }
.menu-toggle::before { top: 13px; box-shadow: 0 6px currentColor; }
.menu-toggle::after { top: 25px; }
.menu-toggle[aria-expanded="true"]::before { top: 19px; transform: rotate(45deg); box-shadow: none; }
.menu-toggle[aria-expanded="true"]::after { top: 19px; transform: rotate(-45deg); }

.hero { min-height: 94svh; position: relative; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroSettle 2.2s ease-out forwards; image-rendering: auto; }
.hero-video { transform: none; animation: none; object-position: center; filter: contrast(1.08) saturate(1.06) brightness(1.03); background: #14231e; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,22,21,.5) 0%, rgba(12,25,23,.18) 48%, rgba(12,22,20,.04) 76%), linear-gradient(0deg, rgba(8,18,16,.46), transparent 48%); }
.hero-copy { position: relative; z-index: 2; width: min(820px, 88vw); margin-left: 8vw; padding-top: 19vh; }
.eyebrow { margin: 0 0 18px; font-size: 12px; letter-spacing: 4px; text-transform: uppercase; }
.ai-signal { width: max-content; margin: 0 0 22px; padding: 7px 11px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.48); font-size: 9px; letter-spacing: 2px; backdrop-filter: blur(8px); }
.ai-signal span { width: 6px; aspect-ratio: 1; border-radius: 50%; background: #8ad8ee; box-shadow: 0 0 12px #8ad8ee; animation: signalPulse 1.8s infinite; }
.hero h1 { width: max-content; margin: 0; display: flex; align-items: baseline; gap: .08em; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(82px, 10vw, 148px); line-height: .88; letter-spacing: -.07em; font-weight: 400; text-shadow: 0 6px 24px rgba(0,0,0,.36); }
.hero h1 > span { display: inline-flex; }
.hero h1 span:last-child { margin-left: 0; }
.hero h1 .title-character { display: inline-block; opacity: 0; transform: translateY(.28em) rotate(2deg); filter: blur(7px); transition: opacity .72s ease, transform .9s cubic-bezier(.18,.8,.24,1), filter .72s ease; transition-delay: calc(var(--char-index) * 90ms + var(--line-index) * 130ms + 180ms); }
.hero h1.title-visible .title-character { opacity: 1; transform: none; filter: none; }
.hero-slogan { margin: 40px 0 30px; font-size: clamp(16px, 1.6vw, 22px); letter-spacing: 5px; }
.hero-actions { display: flex; align-items: center; gap: 32px; }
.watch-button { height: 54px; padding: 0 28px; display: flex; align-items: center; gap: 14px; border: 1px solid rgba(255,255,255,.75); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; backdrop-filter: blur(8px); transition: .25s; }
.watch-button:hover { background: #fff; color: var(--ink); }
.play-icon { font-size: 10px; }
.text-link { font-size: 13px; letter-spacing: 2px; }
.text-link span { margin-left: 10px; }
.hero-meta { position: absolute; right: 4vw; bottom: 34px; z-index: 2; display: flex; align-items: center; gap: 14px; font-size: 9px; letter-spacing: 2px; }
.hero-meta i { width: 42px; height: 1px; background: rgba(255,255,255,.5); }
.scroll-note { position: absolute; z-index: 2; bottom: 28px; left: 4vw; display: flex; align-items: center; gap: 12px; font-size: 8px; letter-spacing: 3px; }
.scroll-note span { width: 1px; height: 48px; background: #fff; animation: scrollPulse 1.7s infinite; }

.section { position: relative; padding: 140px 8vw; }
.section-index { position: absolute; top: 78px; left: 4vw; writing-mode: vertical-rl; font-size: 10px; letter-spacing: 4px; text-transform: uppercase; }
.section-index span { font-size: 28px; letter-spacing: 0; margin-bottom: 14px; }
.section-index.light { color: rgba(255,255,255,.72); }
.story { min-height: 110vh; display: grid; grid-template-columns: 42% 52%; gap: 6%; align-items: center; background: var(--paper); }
.story::after { content: ""; position: absolute; width: 35vw; height: 35vw; right: -15vw; top: 5%; border: 1px solid var(--line); border-radius: 50%; }
.story-copy { padding-left: 5vw; align-self: start; margin-top: 8vh; }
.story h2, .feature-heading h2, .news-heading h2, .play-copy h2 { margin: 0; font-size: clamp(42px, 5.5vw, 82px); line-height: 1.25; font-weight: 500; letter-spacing: 0; }
.story-copy > p:last-child { max-width: 540px; margin-top: 36px; font-size: 15px; line-height: 2.2; color: #59635f; }
.story-visual { margin: 0; position: relative; z-index: 2; align-self: start; }
.story-visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: saturate(.85) contrast(1.04); box-shadow: 22px 26px 0 var(--paper-deep); }
.story-visual figcaption { display: flex; justify-content: space-between; padding-top: 16px; font-size: 10px; letter-spacing: 2px; color: #6c746f; }
.memory-quote { grid-column: 2; margin: -4vh 0 0 -14vw; padding: 32px 44px; position: relative; z-index: 3; width: max-content; background: rgba(244,241,233,.92); border-left: 2px solid var(--blue); font-size: clamp(24px, 3vw, 44px); line-height: 1.6; }

.ai-section { min-height: 110vh; display: grid; grid-template-columns: 36% 58%; gap: 6%; align-items: center; color: #eaf2ef; background: #172d29; overflow: hidden; }
.ai-section::before { content: ""; position: absolute; inset: 0; opacity: .25; background: linear-gradient(120deg, transparent 45%, rgba(104,169,177,.25)); }
.ai-heading { padding-left: 5vw; position: relative; z-index: 2; }
.ai-heading h2 { margin: 0; font-size: clamp(42px, 5.2vw, 76px); line-height: 1.3; font-weight: 500; }
.ai-heading > p:last-of-type { margin-top: 30px; color: rgba(234,242,239,.66); font-size: 14px; line-height: 2.1; }
.ai-principles { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.ai-principles span { padding: 18px 6px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 11px; }
.ai-principles b { color: #83bfc7; font-size: 9px; font-weight: 400; letter-spacing: 2px; }
.ai-demo { position: relative; z-index: 2; }
.ai-scene { min-height: 610px; position: relative; overflow: hidden; background: #0d1b18; box-shadow: 0 32px 80px rgba(0,0,0,.28); }
.ai-scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ai-scene-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,21,18,.5), rgba(9,21,18,.7)), linear-gradient(0deg, rgba(8,18,16,.9), rgba(8,18,16,.08) 68%); }
.ai-character { position: absolute; right: 1%; bottom: 0; width: 53%; height: 91%; overflow: hidden; }
.ai-character img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 20px 30px rgba(0,0,0,.24)); transition: opacity .18s, transform .38s; }
.ai-character img.changing { opacity: 0; transform: translateY(12px); }
.ai-live { position: absolute; top: 24px; left: 24px; padding: 8px 11px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.35); font-size: 8px; letter-spacing: 2px; }
.ai-live i { width: 5px; aspect-ratio: 1; border-radius: 50%; background: #84d6df; box-shadow: 0 0 10px #84d6df; }
.ai-chat-panel { position: absolute; z-index: 3; left: 5%; right: 5%; bottom: 5%; padding: 21px 24px; background: rgba(239,242,235,.94); color: #20332e; border-left: 2px solid #6eabb5; backdrop-filter: blur(18px); }
.ai-speaker { display: flex; align-items: baseline; gap: 12px; }
.ai-speaker span { font-size: 17px; font-weight: 600; }
.ai-speaker small { color: #71807a; font-size: 9px; letter-spacing: 1px; }
.ai-topic { margin: 12px 0 6px; display: flex; align-items: center; gap: 10px; }
.ai-topic span { padding: 4px 7px; color: #fff; background: #476e69; font-size: 8px; letter-spacing: 1px; }
.ai-topic strong { font-size: 12px; font-weight: 600; }
.ai-chat-panel > #ai-reply { min-height: 48px; margin: 0; font-size: 12px; line-height: 1.85; }
.npc-roster { margin-top: 12px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; }
.npc-roster button { min-width: 0; height: 88px; padding: 0; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.17); background: #263e38; color: #fff; cursor: pointer; transition: border-color .2s, transform .2s, background .2s; }
.npc-roster button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.58); }
.npc-roster button.active { border-color: #91d4da; background: #3e6864; box-shadow: 0 0 0 2px rgba(145,212,218,.2); }
.npc-roster img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.npc-roster span { position: absolute; inset: auto 0 0; padding: 5px 2px; background: rgba(8,20,18,.78); font-size: 8px; letter-spacing: 0; white-space: nowrap; }
.ai-caption { margin: 14px 0 0; display: flex; justify-content: space-between; color: rgba(255,255,255,.5); font-size: 9px; letter-spacing: 2px; }

.time-section { min-height: 100vh; display: grid; grid-template-columns: 38% 62%; grid-template-rows: 1fr auto; align-items: center; color: #fff; background: var(--period-dark); transition: background .6s; overflow: hidden; }
body[data-period="dawn"] { --period: #7da7bd; --period-dark: #263f4a; }
body[data-period="morning"] { --period: #b8c7c2; --period-dark: #3c5855; }
body[data-period="noon"] { --period: #d5bd62; --period-dark: #5b5330; }
body[data-period="afternoon"] { --period: #d3a85f; --period-dark: #56442f; }
body[data-period="sunset"] { --period: #c97752; --period-dark: #5a312d; }
body[data-period="night"] { --period: #6474a1; --period-dark: #20283f; }
.time-section::before { content: ""; position: absolute; inset: 0; opacity: .2; background: radial-gradient(circle at 70% 45%, var(--period), transparent 36%); transition: background .6s; }
.time-intro { padding-left: 5vw; position: relative; z-index: 2; }
.time-intro h2 { margin: 0; font-size: clamp(46px, 6vw, 88px); font-weight: 500; line-height: 1.25; }
.time-intro > p:last-child { max-width: 390px; margin-top: 30px; color: rgba(255,255,255,.68); line-height: 2; font-size: 14px; }
.time-stage { min-height: 600px; position: relative; display: grid; place-items: center; }
.time-halo { position: absolute; width: min(46vw, 600px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 100px color-mix(in srgb, var(--period) 35%, transparent); }
.time-halo::before, .time-halo::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; inset: 8%; }
.time-halo::after { inset: -8%; }
.wheel-image { position: relative; z-index: 1; width: min(43vw, 620px); aspect-ratio: 1; object-fit: contain; filter: saturate(.96) contrast(1.03); }
.wheel-pointer { position: absolute; z-index: 4; left: 50%; bottom: 50%; width: clamp(22px, 3.2vw, 50px); transform: translateX(-50%) rotate(var(--needle-angle)); transform-origin: 50% 100%; transition: transform .75s cubic-bezier(.22,.9,.28,1.15); filter: drop-shadow(0 2px 4px rgba(0,0,0,.55)); }
.wheel-pointer img { width: 100%; height: auto; }
.period-readout { position: absolute; z-index: 3; right: 3vw; bottom: 14%; display: flex; align-items: baseline; gap: 14px; }
.period-readout span { font-size: 54px; color: var(--period); }
.period-readout strong { font-size: 16px; letter-spacing: 3px; font-weight: 500; }
.period-tabs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.2); }
.period-tabs button { padding: 24px 10px; border: 0; border-right: 1px solid rgba(255,255,255,.16); background: transparent; color: rgba(255,255,255,.55); cursor: pointer; letter-spacing: 2px; transition: .25s; }
.period-tabs button.active { color: #fff; background: color-mix(in srgb, var(--period) 18%, transparent); box-shadow: inset 0 3px var(--period); }
.period-clips { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.08); }
.period-clip { aspect-ratio: 16/9; padding: 12px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.5); background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(0,0,0,.14)); transition: border-color .35s, color .35s, background .35s; }
.period-clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; }
.period-clip::before { content: ""; position: absolute; z-index: 2; inset: 50% auto auto 50%; width: 24px; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; transform: translate(-50%,-50%); }
.period-clip::after { content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; border-left: 5px solid currentColor; border-top: 3px solid transparent; border-bottom: 3px solid transparent; transform: translate(-35%,-50%); }
.period-clip span { position: absolute; z-index: 2; top: 10px; left: 12px; font-size: 9px; letter-spacing: 1px; }
.period-clip strong, .period-clip small { position: relative; z-index: 2; }
.period-clip strong { font-size: 12px; font-weight: 500; }
.period-clip small { margin-top: 3px; font-size: 7px; letter-spacing: 1px; }
.period-clip.active { color: #fff; border-color: var(--period); background: color-mix(in srgb, var(--period) 16%, rgba(0,0,0,.16)); box-shadow: inset 0 -3px var(--period); }
.period-clip.has-video::before { inset: 0; width: auto; aspect-ratio: auto; border: 0; border-radius: 0; transform: none; background: linear-gradient(0deg, rgba(8,18,16,.78), transparent 68%); pointer-events: none; }
.period-clip.has-video::after { display: none; }
.period-clip.has-video video { opacity: .82; filter: saturate(.82) brightness(.82); transition: opacity .35s, filter .35s, transform .7s; }
.period-clip.has-video:hover video, .period-clip.has-video.active video { opacity: 1; filter: saturate(1) brightness(1); transform: scale(1.025); }

.features { background: #f4f1e9; padding-bottom: 200px; }
.feature-heading { margin: 20px 0 100px 5vw; }
.feature { max-width: 1180px; margin: 0 auto 150px; display: grid; grid-template-columns: 60% 32%; gap: 8%; align-items: center; }
.feature:nth-of-type(even) { grid-template-columns: 32% 60%; }
.feature:nth-of-type(even) > :first-child { order: 2; }
.feature-media { overflow: hidden; }
.feature-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .7s; }
.feature:hover .feature-media img { transform: scale(1.035); }
.feature-copy > span { display: block; margin-bottom: 18px; color: var(--blue); font-size: 10px; letter-spacing: 3px; }
.feature-copy h3 { margin: 0 0 20px; font-size: clamp(28px, 3vw, 46px); font-weight: 500; }
.feature-copy p { margin: 0; color: #69716d; font-size: 14px; line-height: 2; }
.feature-art { min-height: 460px; position: relative; background: #d9e3e1; overflow: hidden; }
.feature-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px); background-size: 38px 38px; }
.memory-card { position: absolute; width: 280px; aspect-ratio: 3/4; left: 50%; top: 50%; border: 1px solid rgba(22,47,58,.3); }
.card-back { background: #557c8f; transform: translate(-65%,-55%) rotate(-10deg); }
.card-front { padding: 30px; display: flex; flex-direction: column; color: #243e49; background: #edf0e9; transform: translate(-38%,-43%) rotate(4deg); box-shadow: 0 25px 50px rgba(26,49,55,.2); }
.card-front small { letter-spacing: 3px; }
.card-front strong { margin-top: 55px; font-size: 24px; line-height: 1.6; font-weight: 500; }
.card-front i { width: 54px; height: 1px; margin-top: auto; background: #6e909d; }
.card-front span { margin-top: 12px; font-size: 10px; letter-spacing: 2px; }

.media { min-height: 94vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.media-backdrop { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,25,24,.78), rgba(12,25,24,.1)), url("assets/images/prologue-bg.png?v=4") center / cover; transform: scale(1.04); }
.media-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,23,21,.78), transparent 55%); }
.media-copy { position: relative; z-index: 2; padding: 0 0 5vh 5vw; }
.media-copy h2 { margin: 0; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(72px, 10vw, 150px); font-weight: 400; }
.media-copy > p:last-of-type { max-width: 480px; line-height: 2; color: rgba(255,255,255,.72); }
.round-play { width: 72px; aspect-ratio: 1; margin-top: 28px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; color: #fff; background: rgba(255,255,255,.05); cursor: pointer; transition: .25s; }
.round-play:hover { transform: scale(1.08); background: #fff; color: var(--ink); }
.media-status { position: absolute; right: 4vw; bottom: 5vh; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: 9px; letter-spacing: 3px; }

.announcements { min-height: 80vh; padding-left: 13vw; padding-right: 10vw; background: var(--paper); }
.news-heading { margin-bottom: 70px; }
.news-source { width: max-content; margin: 18px 0 0; padding: 7px 10px; border: 1px solid var(--line); color: #737b77; font-size: 9px; letter-spacing: 2px; }
.news-source[data-source="remote"] { color: var(--green); border-color: color-mix(in srgb, var(--green) 45%, transparent); }
.news-list { border-top: 1px solid var(--line); }
.news-item { width: 100%; padding: 28px 8px; display: grid; grid-template-columns: 130px 1fr auto; gap: 28px; align-items: center; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; transition: padding .25s, background .25s; }
.news-item:hover { padding-left: 22px; background: rgba(255,255,255,.5); }
.news-date { font-size: 11px; color: #7a817d; letter-spacing: 1px; }
.news-title strong { display: block; font-size: 18px; font-weight: 500; }
.news-title small { display: block; margin-top: 8px; color: #7a817d; font-size: 12px; }
.news-arrow { font-size: 22px; font-weight: 300; }
.pin { display: inline-block; margin-right: 8px; color: var(--pink); font-size: 10px; }
.loading-message { padding: 40px 8px; color: #757d78; }

.play-section { min-height: 80vh; padding: 130px 10vw; display: grid; grid-template-columns: 40% 60%; align-items: center; color: #fff; background: #263d36; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.25); }
.platforms button { min-height: 270px; padding: 28px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; border-right: 1px solid rgba(255,255,255,.25); color: #fff; background: transparent; opacity: .76; }
.platforms button:last-child { border-right: 0; }
.platforms span { font-size: 10px; letter-spacing: 3px; color: #afc5ba; }
.platforms strong { margin: 34px 0; font-size: 22px; font-weight: 500; }
.platforms small { padding: 7px 12px; border: 1px solid rgba(255,255,255,.3); font-size: 9px; letter-spacing: 2px; }
.site-footer { padding: 90px 5vw 35px; color: #dfe6e1; background: #14231e; text-align: center; }
.footer-title { font-family: "STKaiti", "KaiTi", serif; font-size: clamp(70px, 10vw, 130px); }
.site-footer > p { letter-spacing: 5px; font-size: 13px; opacity: .6; }
.footer-contact { max-width: 980px; margin: 70px auto 0; text-align: left; }
.contact-trigger { width: 100%; padding: 24px 4px; display: grid; grid-template-columns: 110px 1fr auto 32px; gap: 24px; align-items: center; border: 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); color: inherit; background: transparent; text-align: left; cursor: pointer; }
.contact-trigger span { color: #9cbcaf; font-size: 9px; letter-spacing: 3px; }
.contact-trigger strong { font-size: 24px; font-weight: 400; letter-spacing: 3px; }
.contact-trigger small { color: rgba(223,230,225,.48); font-size: 9px; letter-spacing: 2px; }
.contact-trigger i { font-size: 24px; font-style: normal; font-weight: 200; text-align: right; transition: transform .45s; }
.contact-panel { max-height: 0; padding: 0 44px; display: grid; grid-template-columns: 1fr 260px; gap: clamp(45px, 8vw, 100px); align-items: center; overflow: hidden; border-bottom: 1px solid transparent; opacity: 0; transform: translateY(-12px); visibility: hidden; pointer-events: none; transition: max-height .7s cubic-bezier(.18,.8,.24,1), padding .55s, opacity .35s, transform .55s, border-color .35s, visibility 0s .7s; }
@media (hover: hover) {
  .footer-contact:hover .contact-panel { max-height: 760px; padding-top: 44px; padding-bottom: 44px; border-color: rgba(255,255,255,.14); opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .footer-contact:hover .contact-trigger i { transform: rotate(45deg); }
}
.footer-contact.is-open .contact-panel { max-height: 760px; padding-top: 44px; padding-bottom: 44px; border-color: rgba(255,255,255,.14); opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.footer-contact.is-open .contact-trigger i { transform: rotate(45deg); }
.contact-copy .eyebrow { color: #9cbcaf; }
.contact-copy h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1.35; font-weight: 400; }
.contact-copy address { margin-top: 42px; display: grid; gap: 20px; font-style: normal; }
.contact-copy address a { width: max-content; max-width: 100%; display: flex; align-items: baseline; gap: 22px; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 10px; transition: border-color .25s, color .25s; }
.contact-copy address a:hover { color: #fff; border-color: #9cbcaf; }
.contact-copy address span { min-width: 64px; color: rgba(223,230,225,.52); font-size: 9px; letter-spacing: 2px; }
.contact-copy address strong { font-size: clamp(13px, 1.5vw, 17px); font-weight: 400; letter-spacing: 1px; overflow-wrap: anywhere; }
.contact-qr { margin: 0; padding: 12px; background: #fff; color: var(--ink); }
.contact-qr img { width: 100%; height: auto; }
.contact-qr figcaption { padding: 10px 4px 2px; font-size: 9px; letter-spacing: 2px; text-align: center; }
.footer-bottom { margin-top: 80px; padding-top: 25px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); font-size: 9px; letter-spacing: 1px; opacity: .55; }

dialog { padding: 0; border: 0; background: transparent; }
dialog::backdrop { background: rgba(8,19,16,.86); backdrop-filter: blur(12px); }
.video-dialog { width: min(1280px, 96vw); max-height: 92svh; color: #fff; }
.dialog-close { position: absolute; z-index: 3; top: 10px; right: 14px; width: 40px; aspect-ratio: 1; border: 0; color: currentColor; background: transparent; font-size: 30px; cursor: pointer; }
.video-player { width: 100%; height: auto; max-height: 92svh; display: block; object-fit: contain; background: #07110e; border: 1px solid rgba(255,255,255,.2); image-rendering: auto; }
.video-placeholder { aspect-ratio: 16/9; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; background: #152e2d; border: 1px solid rgba(255,255,255,.2); }
.video-placeholder::before { content: ""; position: absolute; inset: 0; background: url("assets/images/hero-campus.jpg?v=2") center / cover; opacity: .18; filter: grayscale(1); }
.video-placeholder p, .video-placeholder strong, .video-placeholder small { position: relative; z-index: 2; }
.video-placeholder p { letter-spacing: 6px; font-size: 11px; }
.video-placeholder strong { font-size: clamp(24px, 4vw, 50px); font-weight: 400; }
.video-placeholder small { margin-top: 16px; letter-spacing: 3px; opacity: .5; }
.placeholder-light { position: absolute; width: 8px; aspect-ratio: 1; border-radius: 50%; background: #88c8e1; box-shadow: 0 0 30px 12px rgba(99,184,218,.45); animation: floatLight 3s ease-in-out infinite; }
.news-dialog { width: min(720px, 90vw); max-height: 84vh; color: var(--ink); background: var(--paper); }
.news-dialog-content { padding: 64px clamp(28px, 6vw, 70px); }
.news-dialog-content .eyebrow { color: var(--blue); }
.news-dialog-content h2 { margin: 0 0 18px; font-size: clamp(28px, 4vw, 46px); font-weight: 500; }
.news-dialog-content time { color: #7b827e; font-size: 11px; }
.news-dialog-content .body { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.news-dialog-content .body p { line-height: 2; color: #525d57; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.motion-title:not(.letter-title) { --title-shift: -64px; opacity: 0; transform: translate3d(var(--title-shift), 0, 0); filter: blur(5px); transition: opacity .85s ease, transform 1s cubic-bezier(.18,.8,.24,1), filter .75s ease; }
.motion-title.title-from-right { --title-shift: 64px; }
.motion-title.title-visible { opacity: 1; transform: none; filter: none; }
@keyframes heroSettle { to { transform: scale(1); } }
@keyframes scrollPulse { 0%,100% { opacity: .25; transform: scaleY(.45); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }
@keyframes floatLight { 0%,100% { transform: translate(-180px, 70px); } 50% { transform: translate(180px, -60px); } }
@keyframes signalPulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .site-header { grid-template-columns: 1fr auto; padding: 0 20px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; justify-self: end; z-index: 3; color: inherit; border: 1px solid currentColor; border-radius: 50%; }
  .site-nav { position: absolute; top: 66px; left: 0; right: 0; padding: 28px; display: none; flex-direction: column; align-items: flex-start; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .hero-copy { margin-left: 8vw; }
  .hero h1 { font-size: clamp(72px, 13vw, 112px); }
  .hero h1 span:last-child { margin-left: 0; }
  .hero-slogan { letter-spacing: 2px; }
  .hero-meta { display: none; }
  .section { padding: 105px 7vw; }
  .section-index { position: static; writing-mode: initial; margin-bottom: 50px; }
  .section-index span { margin-right: 10px; }
  .story { display: block; }
  .story-copy { padding: 0; margin: 0 0 55px; }
  .story-visual img { box-shadow: 12px 14px 0 var(--paper-deep); }
  .memory-quote { margin: 50px 0 0 8vw; padding: 20px 24px; }
  .ai-section { display: block; }
  .ai-heading { padding: 0; margin-bottom: 60px; }
  .ai-demo { margin: 0 -1vw; }
  .ai-scene { min-height: 580px; }
  .time-section { display: block; }
  .time-intro { padding: 0; }
  .time-stage { min-height: 470px; }
  .time-halo { width: 76vw; }
  .wheel-image { width: 86vw; }
  .wheel-pointer { width: clamp(22px, 7vw, 40px); }
  .period-readout { right: 0; bottom: 10%; }
  .period-tabs { margin: 0 -7vw; overflow-x: auto; grid-template-columns: repeat(6, minmax(100px, 1fr)); }
  .period-clips { margin: 0 -7vw -105px; overflow-x: auto; grid-template-columns: repeat(6, minmax(100px, 1fr)); }
  .feature-heading { margin: 0 0 70px; }
  .feature, .feature:nth-of-type(even) { display: flex; flex-direction: column; gap: 32px; margin-bottom: 90px; }
  .feature:nth-of-type(even) > :first-child { order: 0; }
  .feature-media, .feature-art { width: 100%; }
  .media { min-height: 78vh; }
  .media-copy { padding: 0 0 10vh; }
  .media-status { bottom: 4vh; left: 7vw; right: auto; align-items: flex-start; }
  .announcements { padding-left: 7vw; padding-right: 7vw; }
  .news-item { grid-template-columns: 90px 1fr auto; gap: 12px; }
  .news-title small { display: none; }
  .play-section { display: block; padding: 100px 7vw; }
  .platforms { margin-top: 65px; }
  .platforms button { min-height: 210px; }
}

@media (max-width: 580px) {
  .brand small { display: none; }
  .hero { min-height: 92svh; }
  .hero-copy { width: 94vw; margin-left: 5vw; padding-top: 14vh; }
  .hero h1 { max-width: 90vw; gap: .06em; font-size: clamp(58px, 19vw, 76px); line-height: 1; letter-spacing: -.09em; }
  .hero-shade { background: linear-gradient(90deg, rgba(9,22,21,.46), rgba(9,22,21,.08)), linear-gradient(0deg, rgba(8,18,16,.55), transparent 62%); }
  .hero-slogan { margin: 28px 0 26px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .scroll-note { display: none; }
  .story h2, .feature-heading h2, .news-heading h2, .play-copy h2 { font-size: 40px; }
  .memory-quote { width: auto; margin-left: 0; }
  .ai-heading h2 { font-size: 40px; }
  .ai-principles { gap: 8px; }
  .ai-scene { min-height: 590px; }
  .ai-character { width: 76%; right: -12%; height: 76%; }
  .ai-chat-panel { left: 4%; right: 4%; bottom: 3%; padding: 20px; }
  .npc-roster { grid-template-columns: repeat(4, 1fr); }
  .npc-roster button { height: 92px; }
  .time-intro h2 { font-size: 42px; }
  .period-readout { bottom: 5%; }
  .period-readout span { font-size: 40px; }
  .period-readout strong { font-size: 13px; }
  .memory-card { width: 230px; }
  .news-item { grid-template-columns: 1fr auto; }
  .news-date { grid-column: 1 / -1; }
  .platforms { grid-template-columns: 1fr; }
  .platforms button { min-height: 145px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .platforms button:last-child { border-bottom: 0; }
  .platforms strong { margin: 15px 0; }
  .contact-trigger { padding: 22px 0; grid-template-columns: 1fr auto; gap: 8px 18px; }
  .contact-trigger span, .contact-trigger small { grid-column: 1; }
  .contact-trigger strong { grid-column: 1; grid-row: 2; font-size: 21px; }
  .contact-trigger i { grid-column: 2; grid-row: 1 / 3; }
  .contact-panel, .footer-contact.is-open .contact-panel { grid-template-columns: 1fr; gap: 38px; padding-left: 0; padding-right: 0; }
  .footer-contact.is-open .contact-panel { max-height: 1050px; padding-top: 34px; padding-bottom: 34px; }
  .contact-copy h2 { font-size: 36px; }
  .contact-copy address a { width: 100%; flex-direction: column; gap: 7px; }
  .contact-qr { width: min(250px, 82vw); justify-self: center; }
  .footer-bottom { flex-direction: column; gap: 14px; }
  .motion-title:not(.letter-title) { --title-shift: -34px; }
  .motion-title.title-from-right { --title-shift: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .motion-title, .hero h1 .title-character { opacity: 1 !important; transform: none !important; filter: none !important; }
}
