/* 7th Sentinel official site. Dark tactical look, Seris orange as the accent. */
:root {
  --ink: #07090d;
  --ink-2: #0c1016;
  --panel: rgba(14, 18, 25, .78);
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .22);
  --text: #ece8e0;
  --muted: #959aa6;
  --accent: #f0962e;
  --accent-2: #ffc46b;
  --crimson: #c8323c;
  --r5: #f5b83d;
  --r4: #b07cff;
  --r3: #5aa8ff;
  --agent: #f0962e;
  --nav-h: 72px;
  --gutter: clamp(16px, 4vw, 64px);
  --display: "Cinzel", "Times New Roman", serif;
  --tech: "Rajdhani", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 16px/1.6 var(--body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #000; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 22px;
  background: radial-gradient(ellipse at center, #141a24 0%, var(--ink) 70%);
  transition: opacity .8s ease, visibility .8s;
}
.loader__logo { width: min(300px, 60vw); animation: pulse 2.4s ease-in-out infinite; }
.loader__bar { width: min(320px, 70vw); height: 2px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s ease; }
.loader__hint { font: 600 12px/1 var(--tech); letter-spacing: .4em; color: var(--muted); margin: 0; }
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { opacity: .55; filter: drop-shadow(0 0 18px rgba(240, 150, 46, .5)); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(7, 9, 13, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.nav__brand img { height: 44px; width: auto; }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 40px); margin-left: auto; }
.nav__links a { position: relative; display: grid; justify-items: center; font: 700 15px/1 var(--tech); letter-spacing: .18em; padding: 8px 2px; color: #cfcac0; transition: color .25s; }
.nav__links a small { font-size: 9px; letter-spacing: .1em; color: var(--muted); margin-top: 4px; opacity: .7; }
.nav__links a::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width .3s, left .3s; }
.nav__links a:hover, .nav__links a.is-on { color: #fff; }
.nav__links a.is-on::after, .nav__links a:hover::after { width: 100%; left: 0; }
.nav__tools { display: flex; align-items: center; gap: 12px; }
.bgm { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--line-2); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); font: 700 12px/1 var(--tech); letter-spacing: .2em; transition: border-color .25s, background .25s; }
.bgm:hover { background: rgba(255,255,255,.06); }
.bgm__bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.bgm__bars i { width: 2px; height: 3px; background: var(--accent); }
.bgm[aria-pressed="true"] .bgm__bars i { animation: eq .9s ease-in-out infinite; }
.bgm[aria-pressed="true"] .bgm__bars i:nth-child(2) { animation-delay: -.3s; }
.bgm[aria-pressed="true"] .bgm__bars i:nth-child(3) { animation-delay: -.6s; }
.bgm[aria-pressed="true"] .bgm__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 14px; } }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger i { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; transition: transform .3s, top .3s; }
.nav__burger i:first-child { top: 15px; } .nav__burger i:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] i:first-child { top: 19px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- shared ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 140px) var(--gutter); background: var(--ink); }
.sec::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(ellipse at 30% 0%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 30% 0%, #000 0%, transparent 65%); }
.sec__head { position: relative; margin-bottom: clamp(32px, 5vw, 56px); }
.sec__kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font: 700 13px/1 var(--tech); letter-spacing: .4em; color: var(--accent); }
.sec__kicker i { width: 28px; height: 2px; background: currentColor; }
.sec__title { margin: 0; font: 900 clamp(44px, 8vw, 104px)/.9 var(--display); letter-spacing: .04em; color: #fff;
  background: linear-gradient(180deg, #fff 30%, #9aa0aa 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 24px; font: 700 14px/1 var(--tech); letter-spacing: .2em;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: background .25s, color .25s; }
.btn svg { width: 16px; height: 16px; }
.btn--ghost { background: rgba(255,255,255,.08); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: var(--agent); color: #000; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
.hero__media, .hero__shade { position: absolute; inset: 0; }
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.hero__poster { animation: kenburns 30s ease-in-out infinite alternate; }
.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.07) translate(-.6%, -.4%); } }
.hero__shade { background:
  linear-gradient(180deg, rgba(7,9,13,.5) 0%, transparent 16%, transparent 52%, rgba(7,9,13,.55) 80%, var(--ink) 100%),
  linear-gradient(90deg, rgba(7,9,13,.62) 0%, rgba(7,9,13,.28) 30%, transparent 55%); }
.hero__content { position: relative; z-index: 2; width: 100%; padding: 0 var(--gutter) clamp(56px, 9vh, 96px); }
.hero__logo { width: clamp(200px, 21vw, 330px); filter: drop-shadow(0 6px 30px rgba(0,0,0,.6)); margin-bottom: 18px; }
.hero__tag { margin: 0; font: 700 clamp(18px, 2.2vw, 28px)/1.2 var(--tech); letter-spacing: .32em; color: #e6e1d6; }
.hero__tag b { color: var(--accent); }
.hero__sub { max-width: 560px; margin: 14px 0 30px; color: #c3c0b8; font-size: clamp(14px, 1.2vw, 16px); }
.hero__note { margin: 16px 0 0; font: 500 13px/1.4 var(--tech); letter-spacing: .08em; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(240,150,46,.7); animation: ping 2s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(240,150,46,0); } 100% { box-shadow: 0 0 0 0 rgba(240,150,46,0); } }
.hero__rail { position: absolute; z-index: 2; right: calc(var(--gutter) - 8px); top: 50%; transform: translateY(-50%); writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 14px; font: 600 11px/1 var(--tech); letter-spacing: .45em; color: rgba(255,255,255,.55); }
.hero__rail i { width: 1px; height: 80px; background: var(--line-2); }
.hero__play { position: absolute; z-index: 3; right: calc(var(--gutter) + 40px); bottom: clamp(60px, 10vh, 100px); display: flex; align-items: center; gap: 14px;
  font: 700 14px/1 var(--tech); letter-spacing: .25em; }
.hero__play-ring { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); }
.hero__play-ring::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed rgba(240,150,46,.7); animation: spin 14s linear infinite; }
.hero__play-ring svg { width: 26px; height: 26px; margin-left: 3px; color: #fff; }
.hero__play[hidden] { display: none; }
.hero__play:hover .hero__play-ring { background: var(--accent); border-color: var(--accent); }
.hero__play:hover .hero__play-ring svg { color: #000; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px;
  font: 600 10px/1 var(--tech); letter-spacing: .4em; color: rgba(255,255,255,.6); }
.hero__scroll i { width: 1px; height: 36px; background: linear-gradient(var(--accent), transparent); animation: drip 2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store { position: relative; display: flex; align-items: center; gap: 12px; height: 60px; min-width: 210px; padding: 0 20px 0 16px;
  background: rgba(0,0,0,.72); border: 1px solid rgba(255,255,255,.28); border-radius: 10px; text-align: left; }
.store svg { width: 28px; height: 28px; flex: none; }
.store__txt { display: grid; line-height: 1.05; }
.store__txt small { font: 600 10px/1.2 var(--body); letter-spacing: .06em; color: #cfcfcf; }
.store__txt b { font: 600 21px/1.1 var(--body); letter-spacing: -.01em; }
.store[disabled] { cursor: not-allowed; }
.store[disabled] svg, .store[disabled] .store__txt { opacity: .45; filter: grayscale(.85); }
.store__soon { position: absolute; top: -10px; right: -8px; padding: 4px 8px; background: var(--accent); color: #111;
  font: 700 10px/1 var(--tech); letter-spacing: .14em; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.stores--sm .store { height: 54px; min-width: 190px; }

/* ---------- news ---------- */
.news__grid { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.carousel { position: relative; width: 100%; align-self: start; aspect-ratio: 2200 / 943; overflow: hidden; background: #000;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.carousel__track, .slide { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; transition: opacity .9s ease; }
.slide.is-on { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease-out; }
.slide.is-on img { transform: scale(1); }
.slide figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 40px 28px 22px; background: linear-gradient(transparent, rgba(0,0,0,.85));
  display: grid; gap: 4px; }
.slide figcaption b { font: 700 12px/1 var(--tech); letter-spacing: .3em; color: var(--accent); }
.slide figcaption span { font: 700 clamp(18px, 2vw, 26px)/1.2 var(--display); }
.carousel__nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; font-size: 32px; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .3s, background .3s; }
.carousel:hover .carousel__nav, .carousel__nav:focus-visible { opacity: 1; }
.carousel__nav:hover { background: var(--accent); color: #000; }
.carousel__nav.prev { left: 0; } .carousel__nav.next { right: 0; }
.carousel__dots { position: absolute; z-index: 2; right: 40px; bottom: 26px; display: flex; gap: 8px; }
.carousel__dots button { width: 26px; height: 3px; background: rgba(255,255,255,.35); transition: background .3s, width .3s; }
.carousel__dots button.is-on { background: var(--accent); width: 44px; }
.board { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); padding: 8px 24px 16px; }
.board__tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); }
.board__tabs button { position: relative; padding: 16px 0; font: 700 14px/1 var(--tech); letter-spacing: .2em; color: var(--muted); }
.board__tabs button.is-on { color: #fff; }
.board__tabs button.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.board__list { list-style: none; margin: 0; padding: 0; }
.board__list li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px dashed var(--line); transition: padding .25s, background .25s; }
.board__list li:hover { padding-left: 8px; }
.board__list li[hidden] { display: none; }
.board__list p { margin: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board__list time { font: 500 13px/1 var(--tech); color: var(--muted); letter-spacing: .06em; }
.tag { font: 700 10px/1 var(--tech); letter-spacing: .14em; padding: 5px 8px; border: 1px solid currentColor; }
.tag.notice { color: #9ec3ff; } .tag.news { color: var(--accent); } .tag.event { color: #ff7a8a; }

/* ---------- agents ---------- */
.agents { position: relative; min-height: 100vh; overflow: hidden; background: #05070a; padding: clamp(80px, 10vw, 120px) 0 0; isolation: isolate; }
.agents__bg { position: absolute; inset: -40px; z-index: -3; background-size: cover; background-position: center; filter: blur(22px) brightness(.38) saturate(1.2); transform: scale(1.1); transition: background-image .6s; }
.agents__glow { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(ellipse 50% 70% at 70% 55%, color-mix(in srgb, var(--agent) 32%, transparent), transparent 70%),
  linear-gradient(90deg, #05070a 0%, rgba(5,7,10,.75) 35%, transparent 60%),
  linear-gradient(0deg, #05070a 0%, transparent 30%); transition: background .6s; }
.agents__ghost { position: absolute; z-index: -1; right: -2vw; top: 14%; font: 900 clamp(120px, 20vw, 300px)/.8 var(--display); color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.08); white-space: nowrap; pointer-events: none; text-transform: uppercase; }
.agents__inner { position: relative; padding: 0 var(--gutter); }
.agents__stage { position: relative; display: grid; grid-template-columns: minmax(320px, 520px) 1fr; min-height: 640px; }
.dossier { position: relative; z-index: 2; padding-bottom: 40px; }
.dossier > * { animation: dossierIn .7s both cubic-bezier(.2,.7,.2,1); }
.dossier > *:nth-child(2) { animation-delay: .05s; } .dossier > *:nth-child(3) { animation-delay: .1s; } .dossier > *:nth-child(4) { animation-delay: .15s; }
.dossier > *:nth-child(5) { animation-delay: .2s; } .dossier > *:nth-child(6) { animation-delay: .25s; } .dossier > *:nth-child(7) { animation-delay: .3s; }
.dossier.swap > * { animation: none; }
@keyframes dossierIn { from { opacity: 0; transform: translateX(-24px); } }
.dossier__meta { display: flex; align-items: center; gap: 14px; }
.dossier__stars { color: var(--r5); letter-spacing: 2px; font-size: 18px; text-shadow: 0 0 12px currentColor; }
.dossier__cls { font: 700 12px/1 var(--tech); letter-spacing: .3em; padding: 6px 10px; background: var(--agent); color: #000; }
.dossier__name { margin: 10px 0 0; font: 900 clamp(48px, 6.4vw, 92px)/.95 var(--display); letter-spacing: .02em; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.dossier__epithet { margin: 6px 0 0; font: 700 18px/1.2 var(--tech); letter-spacing: .3em; color: var(--agent); text-transform: uppercase; }
.dossier__bio { margin: 16px 0 0; max-width: 460px; color: #cfccc4; }
.voice { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; max-width: 480px; background: rgba(0,0,0,.4); border-left: 2px solid var(--agent); }
.voice[hidden] { display: none; }
.voice__btn { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .25s, color .25s; }
.voice__btn svg { width: 20px; height: 20px; }
.voice__btn:hover, .voice__btn.is-playing { background: var(--agent); color: #000; border-color: var(--agent); }
.voice__btn.is-playing { animation: beat 1s ease-in-out infinite; }
@keyframes beat { 50% { transform: scale(1.08); } }
.voice__ja { margin: 0; font: 500 15px/1.6 "Noto Sans JP", sans-serif; }
.voice__en { margin: 4px 0 0; font-size: 13px; color: var(--muted); font-style: italic; }
.kit { display: grid; gap: 14px; margin: 22px 0 26px; max-width: 480px; }
.kit__row { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.kit__row img { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--line-2); background: #000; }
.kit__lbl { margin: 0; font: 700 11px/1 var(--tech); letter-spacing: .26em; color: var(--muted); }
.kit__lbl span { color: var(--agent); margin-left: 6px; }
.kit__name { margin: 4px 0 2px; font: 700 18px/1.2 var(--tech); letter-spacing: .06em; }
.kit__text { margin: 0; font-size: 14px; line-height: 1.5; color: #bdb9b1; }
.portrait { position: absolute; z-index: 1; right: 2%; top: -8%; bottom: 0; width: min(56vw, 760px); display: flex; justify-content: center; pointer-events: none; }
.portrait img { height: 108%; width: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6));
  animation: artIn .9s both cubic-bezier(.2,.7,.2,1), float 7s ease-in-out .9s infinite; }
.portrait.swap img { animation: none; opacity: 0; }
@keyframes artIn { from { opacity: 0; transform: translateX(60px) scale(.97); filter: blur(6px) drop-shadow(0 30px 60px rgba(0,0,0,.6)); } }
@keyframes float { 50% { transform: translateY(-12px); } }
.agents__arrows { position: absolute; z-index: 3; right: 0; bottom: 40px; display: flex; align-items: center; gap: 16px; font: 700 15px/1 var(--tech); letter-spacing: .2em; }
.agents__arrows button { width: 52px; height: 52px; font-size: 30px; border: 1px solid var(--line-2); background: rgba(0,0,0,.4); transition: background .25s, color .25s; }
.agents__arrows button:hover { background: var(--agent); color: #000; }
.roster { position: relative; z-index: 3; padding: 22px 0 56px; border-top: 1px solid var(--line); }
.roster__filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.roster__filters button { padding: 8px 14px; font: 700 12px/1 var(--tech); letter-spacing: .18em; color: var(--muted); border: 1px solid var(--line); transition: color .2s, border-color .2s, background .2s; }
.roster__filters button.is-on, .roster__filters button:hover { color: #000; background: var(--text); border-color: var(--text); }
.roster__list { display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 10px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.chip { position: relative; flex: none; width: 84px; height: 84px; scroll-snap-align: start; background: #000; border: 1px solid var(--line); overflow: hidden; transition: transform .25s, border-color .25s, opacity .3s; }
.chip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rc); }
.chip[data-r="5"] { --rc: var(--r5); } .chip[data-r="4"] { --rc: var(--r4); } .chip[data-r="3"] { --rc: var(--r3); }
.chip:hover img { transform: scale(1.08); }
.chip.is-on { border-color: var(--agent); transform: translateY(-4px); box-shadow: 0 0 0 1px var(--agent), 0 10px 30px color-mix(in srgb, var(--agent) 40%, transparent); }
.chip[hidden] { display: none; }
.chip span { position: absolute; left: 0; right: 0; bottom: 3px; padding: 12px 4px 3px; text-align: center; font: 700 11px/1 var(--tech); letter-spacing: .08em; background: linear-gradient(transparent, rgba(0,0,0,.85)); }

/* ---------- world ---------- */
.world { position: relative; min-height: 100vh; overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.world__bgs { position: absolute; inset: 0; z-index: -2; }
.world__bgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.2s ease, transform 8s ease-out; }
.world__bgs img.is-on { opacity: 1; transform: scale(1); }
.world__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,7,10,.92) 0%, rgba(5,7,10,.6) 45%, rgba(5,7,10,.2) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 25%, transparent 80%, var(--ink) 100%); }
.world__inner { width: 100%; padding: clamp(80px, 10vw, 120px) var(--gutter); }
.world__body { display: grid; grid-template-columns: minmax(0, 620px) auto; justify-content: space-between; gap: 40px; align-items: end; }
.world__text { min-height: 260px; }
.world__tag { margin: 0; font: 700 13px/1 var(--tech); letter-spacing: .32em; color: var(--accent); }
.world__name { margin: 10px 0 16px; font: 900 clamp(40px, 5.5vw, 76px)/1 var(--display); }
.world__desc { margin: 0; font-size: clamp(15px, 1.25vw, 17px); color: #d5d1c8; }
.world__text.swap > * { animation: dossierIn .7s both cubic-bezier(.2,.7,.2,1); }
.world__text.swap > *:nth-child(2) { animation-delay: .06s; } .world__text.swap > *:nth-child(3) { animation-delay: .12s; }
.world__tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: w; }
.world__tabs button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 18px 12px 0; text-align: left; font: 700 15px/1 var(--tech); letter-spacing: .2em; color: var(--muted); transition: color .25s, padding .25s; }
.world__tabs button::before { counter-increment: w; content: counter(w, decimal-leading-zero); font-size: 11px; color: var(--muted); width: 22px; }
.world__tabs button::after { content: ""; height: 1px; width: 24px; background: currentColor; transition: width .3s; }
.world__tabs button.is-on, .world__tabs button:hover { color: #fff; padding-left: 8px; }
.world__tabs button.is-on::after { width: 56px; background: var(--accent); }
.world__quote { margin: clamp(48px, 7vw, 90px) 0 0; max-width: 760px; padding-left: 22px; border-left: 2px solid var(--crimson); }
.world__quote p { margin: 0; font: 500 clamp(18px, 1.8vw, 24px)/1.5 var(--display); font-style: italic; color: #e9e3d6; }
.world__quote cite { display: block; margin-top: 10px; font: 700 12px/1 var(--tech); letter-spacing: .28em; font-style: normal; color: var(--muted); }

/* ---------- gameplay ---------- */
.gp { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.gp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.gp__list li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 18px 18px 0; cursor: pointer; border-top: 1px solid var(--line); transition: background .3s; }
.gp__list li:last-child { border-bottom: 1px solid var(--line); }
.gp__n { font: 700 28px/1 var(--display); color: var(--muted); transition: color .3s; }
.gp__list h3 { margin: 2px 0 0; font: 700 clamp(18px, 1.6vw, 22px)/1.25 var(--tech); letter-spacing: .06em; color: #cfcac0; transition: color .3s; }
.gp__list p { margin: 0; max-height: 0; overflow: hidden; color: #b9b5ad; font-size: 15px; transition: max-height .5s ease, margin .5s; }
.gp__list li.is-on .gp__n { color: var(--accent); }
.gp__list li.is-on h3 { color: #fff; }
.gp__list li.is-on p { max-height: 200px; margin-top: 8px; }
.gp__frame { position: relative; aspect-ratio: 20 / 9; background: #000; border: 1px solid var(--line-2); padding: 10px; }
.gp__frame img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.gp__frame img.is-on { opacity: 1; }
.gp__corner { position: absolute; width: 28px; height: 28px; border: 2px solid var(--accent); }
.gp__corner.tl { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.gp__corner.br { right: -6px; bottom: -6px; border-left: 0; border-top: 0; }
.gp__cap { margin: 14px 0 0; font: 600 11px/1 var(--tech); letter-spacing: .3em; color: var(--muted); text-align: right; }

/* ---------- media ---------- */
.media { background: var(--ink-2); }
.media__tabs { position: relative; display: flex; gap: 8px; margin-bottom: 24px; }
.media__tabs button { padding: 10px 18px; font: 700 13px/1 var(--tech); letter-spacing: .2em; border: 1px solid var(--line); color: var(--muted); }
.media__tabs button.is-on { background: var(--accent); color: #000; border-color: var(--accent); }
.media__grid { position: relative; display: none; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 290px); gap: 12px; }
#mWalls .tile:nth-child(1), #mWalls .tile:nth-child(3) { grid-column: span 3; }
#mWalls .tile:nth-child(2) { grid-column: 4; grid-row: 1 / span 2; }
#mWalls .tile:nth-child(4) { grid-column: span 4; }
.media__grid.is-on { display: grid; }
.tile { position: relative; overflow: hidden; background: #000; border: 1px solid var(--line); }
.tile--wide { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .4s; filter: brightness(.85); }
.tile:hover img { transform: scale(1.05); filter: brightness(1); }
.tile span { position: absolute; left: 12px; bottom: 10px; font: 700 12px/1 var(--tech); letter-spacing: .24em; text-shadow: 0 2px 8px #000; }
.tile--mem::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7);
  background: rgba(0,0,0,.4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6v12l9-6z' fill='white'/%3E%3C/svg%3E") center/22px no-repeat; transition: background-color .25s; }
.tile--mem:hover::before { background-color: var(--accent); }
#mMems { grid-auto-rows: auto; }
#mMems .tile { aspect-ratio: 7 / 3; }

/* ---------- cta ---------- */
.cta { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.cta__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #040507 0%, rgba(4,5,7,.88) 22%, rgba(4,5,7,.2) 55%, transparent 75%, var(--ink) 100%); }
.cta__inner { width: 100%; padding: 120px var(--gutter) 72px; text-align: center; }
.cta__inner .sec__kicker { justify-content: center; }
.cta__inner .stores { justify-content: center; }
.cta__title { margin: 8px 0 12px; font: 900 clamp(34px, 5vw, 72px)/1.05 var(--display); text-shadow: 0 4px 30px rgba(0,0,0,.8); }
.cta__title span { color: var(--accent); text-shadow: 0 0 40px rgba(240,150,46,.4); }
.cta__sub { margin: 0 0 26px; color: #cfcbc2; }

/* ---------- footer ---------- */
.foot { background: #040507; border-top: 1px solid var(--line); padding: 48px var(--gutter) 40px; }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.foot__logo { height: 54px; width: auto; }
.foot__links { display: flex; flex-wrap: wrap; gap: 26px; font: 700 13px/1 var(--tech); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.foot__links a:hover { color: #fff; }
.foot__bottom { display: flex; align-items: center; gap: 24px; padding-top: 24px; }
.foot__rnd { height: 34px; width: auto; opacity: .8; }
.foot__bottom p { margin: 0; font-size: 12px; color: #6f7480; line-height: 1.7; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__back { position: absolute; inset: 0; background: rgba(0,0,0,.88); backdrop-filter: blur(6px); animation: fade .3s; }
.modal__box { position: relative; width: min(1200px, 100%); animation: pop .35s cubic-bezier(.2,.7,.2,1); }
.modal__body video, .modal__body img { width: 100%; max-height: 80vh; object-fit: contain; background: #000; }
.modal__x { position: absolute; right: 0; top: -46px; width: 40px; height: 40px; font-size: 20px; border: 1px solid var(--line-2); }
.modal__x:hover { background: var(--accent); color: #000; }
.modal__cap { margin: 12px 0 0; text-align: center; color: #d6d2ca; font-size: 15px; }
.modal__cap small { display: block; font: 700 11px/1.6 var(--tech); letter-spacing: .3em; color: var(--accent); }
.modal__cap a { color: var(--accent); text-decoration: underline; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .news__grid { grid-template-columns: 1fr; }
  .gp { grid-template-columns: 1fr; }
  .gp__screen { order: -1; }
  .agents__stage { grid-template-columns: minmax(300px, 460px) 1fr; }
}
@media (max-width: 900px) {
  :root { --nav-h: 60px; }
  .nav__brand img { height: 36px; }
  .nav__burger { display: block; }
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 20px; background: rgba(7,9,13,.97);
    border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .4s ease; z-index: -1; }
  .nav__links.is-open { transform: none; }
  .nav__links a { justify-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav__links a::after { display: none; }
  .nav__links a small { display: none; }
  .nav__tools { margin-left: auto; }
  .hero__rail { display: none; }
  .agents__stage { display: flex; flex-direction: column; min-height: 0; }
  .portrait { position: relative; inset: auto; width: 100%; height: 62vh; max-height: 560px; order: -1; margin-bottom: -40px; }
  .portrait img { height: 100%; }
  .agents__arrows { position: relative; bottom: auto; justify-content: center; margin: 0 0 18px; order: -1; }
  .agents__glow { background: radial-gradient(ellipse 80% 40% at 50% 25%, color-mix(in srgb, var(--agent) 32%, transparent), transparent 70%), linear-gradient(0deg, #05070a 0%, rgba(5,7,10,.6) 60%, transparent 100%); }
  .agents__ghost { top: 120px; font-size: 26vw; }
  .world__body { grid-template-columns: 1fr; }
  .world__tabs { grid-template-columns: repeat(2, 1fr); }
  .world__shade { background: linear-gradient(0deg, rgba(5,7,10,.95) 0%, rgba(5,7,10,.7) 55%, rgba(5,7,10,.35) 100%); }
  .media__grid { grid-template-columns: repeat(2, 1fr); }
  #mWalls .tile:nth-child(n) { grid-column: span 2; grid-row: auto; }
  #mWalls .tile:nth-child(2) { grid-column: 1 / span 2; grid-row: span 3; }
  .cta__bg { object-position: 30% 50%; }
}
@media (max-width: 760px) {
  .hero { min-height: 560px; }
  .hero__poster { object-position: 50% 30%; }
  .hero__shade { background: linear-gradient(180deg, rgba(7,9,13,.75) 0%, rgba(7,9,13,.3) 22%, transparent 32%, transparent 40%, rgba(7,9,13,.85) 72%, var(--ink) 100%); }
  .hero__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; text-align: center; padding-bottom: 40px; }
  .hero__logo { position: absolute; left: 16px; top: calc(var(--nav-h) + 6px); margin: 0; width: min(150px, 38vw); }
  .hero__tag { letter-spacing: .18em; font-size: 15px; }
  .hero__sub { margin: 10px auto 20px; font-size: 13px; }
  .hero__sub br { display: none; }
  .stores { justify-content: center; gap: 12px; }
  .store { min-width: 0; flex: 1 1 150px; max-width: 220px; height: 54px; padding: 0 12px; gap: 10px; }
  .store__txt b { font-size: 17px; }
  .store__txt small { font-size: 8.5px; white-space: nowrap; letter-spacing: .02em; }
  .world__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
  .world__tabs button { width: auto; padding: 9px 12px; border: 1px solid var(--line); font-size: 12px; letter-spacing: .14em; }
  .world__tabs button::before, .world__tabs button::after { display: none; }
  .world__tabs button.is-on, .world__tabs button:hover { padding-left: 12px; border-color: var(--accent); background: rgba(240,150,46,.12); }
  .world__text { min-height: 0; }
  .hero__note { justify-content: center; font-size: 12px; }
  .hero__play { right: 16px; top: calc(var(--nav-h) + 16px); bottom: auto; }
  .hero__play > span:last-child { display: none; }
  .hero__play-ring { width: 52px; height: 52px; }
  .hero__scroll { display: none; }
  .board { padding: 4px 16px 10px; }
  .board__list li { grid-template-columns: auto 1fr; }
  .board__list time { grid-column: 2; font-size: 12px; margin-top: -8px; }
  .carousel__nav { opacity: 1; width: 34px; height: 48px; font-size: 24px; }
  .carousel__dots { right: 16px; bottom: 14px; }
  .slide figcaption { padding: 30px 16px 14px; }
  .chip { width: 68px; height: 68px; }
  .dossier__name { font-size: 48px; }
  .media__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .tile--wide { grid-column: span 2; }
  #mMems { grid-template-columns: 1fr; }
  #mMems .tile { grid-column: auto; }
  .foot__bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* hero text over the bright sunrise sky */
.hero__tag, .hero__sub, .hero__note { text-shadow: 0 2px 14px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.6); }
.hero__tag b { color: #ffad42; }
.hero__rail { text-shadow: 0 1px 6px rgba(0,0,0,.8); }

