:root {
  color-scheme: dark;
  --ink: #090909;
  --panel: #111;
  --paper: #f3f0e7;
  --muted: #969187;
  --line: #323232;
  --red: #ed1c24;
  --blue: #9ad8ee;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: Arial, Helvetica, sans-serif; }
body.is-booting { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }

.boot {
  position: fixed;
  z-index: 99;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  background: var(--ink);
  transition: opacity .45s ease, visibility .45s ease;
}
body:not(.is-booting) .boot { opacity: 0; visibility: hidden; }
.boot p, .boot small { margin: 0; color: var(--muted); font: 700 11px/1.4 Consolas, monospace; letter-spacing: .16em; }
.boot strong { display: grid; justify-items: center; gap: 4px; color: var(--paper); font: 800 clamp(24px, 5.2vw, 50px)/.92 Arial, sans-serif; letter-spacing: -.05em; text-align: center; }
.boot strong > span:first-child { color: var(--paper); font: 700 .32em/1 Consolas, monospace; letter-spacing: .16em; }
.boot strong i { display: inline-block; margin-right: .08em; color: var(--red); font: 700 .34em/1 Consolas, monospace; letter-spacing: 0; vertical-align: top; transform: translateY(.18em); }
.boot-track { width: min(300px, 70vw); height: 2px; overflow: hidden; background: #282828; }
.boot-track span { display: block; width: 0; height: 100%; background: var(--red); animation: boot 720ms cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes boot { to { width: 100%; } }

.site-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 4.4vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(9,9,9,.9);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: baseline; gap: 9px; text-decoration: none; font: 800 14px/1 Consolas, monospace; letter-spacing: .08em; }
.brand b { color: var(--red); font-size: 10px; }
.site-nav nav { display: flex; gap: clamp(16px, 3vw, 42px); }
.site-nav nav a { color: var(--muted); text-decoration: none; font: 700 10px/1 Consolas, monospace; letter-spacing: .09em; transition: color .2s; }
.site-nav nav a:hover, .site-nav nav a:focus-visible { color: var(--paper); }

.hero {
  min-height: calc(100svh - 66px);
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  grid-template-rows: 1fr auto;
  background-image: linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-copy { align-self: center; padding: clamp(70px, 8vw, 128px) clamp(24px, 5vw, 84px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--red); font: 700 11px/1.3 Consolas, monospace; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow i { width: 26px; height: 1px; background: currentColor; }
.hero h1, .section-head h2, .bridge-intro h2, .identity h2 { margin: 0; font-weight: 800; line-height: .84; letter-spacing: -.075em; text-transform: uppercase; }
.hero h1 { font-size: clamp(58px, 7.6vw, 130px); }
.hero h1 span, .section-head h2 span, .bridge-intro h2 span { color: transparent; -webkit-text-stroke: 1px var(--paper); }
.hero-jp { margin: 26px 0 0; color: var(--red); font: 700 13px/1.4 Consolas, monospace; letter-spacing: .14em; }
.lede { max-width: 650px; margin: 20px 0 30px; color: #b8b3aa; font-size: clamp(16px, 1.35vw, 21px); line-height: 1.65; }
.text-link { display: inline-flex; justify-content: space-between; gap: 38px; min-width: 260px; padding: 15px 0; border-bottom: 1px solid var(--paper); text-decoration: none; font: 700 11px/1 Consolas, monospace; letter-spacing: .1em; }
.text-link b { color: var(--red); }

.anime-frame { position: relative; min-width: 0; margin: 0; overflow: hidden; border-left: 1px solid var(--line); background: #15110f; }
.anime-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(9,9,9,.6), transparent 35%), linear-gradient(0deg, rgba(9,9,9,.85), transparent 38%); }
.anime-frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 54% center; filter: saturate(.72) contrast(1.1); }
.anime-frame figcaption { position: absolute; z-index: 2; left: clamp(22px, 4vw, 58px); right: clamp(22px, 4vw, 58px); bottom: 34px; display: flex; justify-content: space-between; gap: 20px; color: #ddd8ce; font: 700 9px/1.4 Consolas, monospace; letter-spacing: .12em; }
.anime-frame figcaption a { text-decoration: none; }

.hero-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-block: 1px solid var(--line); }
.hero-stats div { padding: 20px clamp(18px, 3vw, 48px); border-right: 1px solid var(--line); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats dt { color: var(--red); font: 700 9px/1 Consolas, monospace; letter-spacing: .13em; }
.hero-stats dd { margin: 9px 0 0; font: 700 clamp(13px, 1.15vw, 17px)/1.2 Arial, sans-serif; }

.origin { padding: clamp(90px, 10vw, 160px) clamp(22px, 6vw, 100px); background: var(--paper); color: var(--ink); }
.origin .eyebrow { color: var(--red); }
.section-head { display: grid; grid-template-columns: .55fr 1.2fr .65fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(60px, 8vw, 120px); }
.section-head h2, .bridge-intro h2 { font-size: clamp(54px, 7vw, 118px); }
.section-head h2 span { -webkit-text-stroke-color: var(--ink); }
.section-head > p:last-child { margin: 0; color: #5f5b54; font-size: 16px; line-height: 1.75; }
.lore-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #bdb8ae; }
.lore-card { min-height: 340px; padding: 28px clamp(18px, 2.8vw, 46px) 42px 0; border-right: 1px solid #bdb8ae; }
.lore-card + .lore-card { padding-left: clamp(18px, 2.8vw, 46px); }
.lore-card:last-child { border-right: 0; }
.lore-card span { color: var(--red); font: 700 10px/1 Consolas, monospace; letter-spacing: .12em; }
.lore-card h3 { max-width: 330px; margin: 90px 0 18px; font-size: clamp(28px, 3vw, 48px); line-height: .95; letter-spacing: -.055em; }
.lore-card p { max-width: 430px; margin: 0; color: #656159; font-size: 14px; line-height: 1.7; }
.origin-anime-frame { position: relative; margin: clamp(34px, 5vw, 72px) 0 0; overflow: hidden; border: 1px solid var(--ink); background: #17110f; }
.origin-anime-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(9,9,9,.78)); }
.origin-anime-frame img { width: 100%; max-height: 680px; display: block; object-fit: cover; object-position: center; filter: saturate(.8) contrast(1.06); }
.origin-anime-frame figcaption { position: absolute; z-index: 1; left: clamp(18px, 3vw, 40px); right: clamp(18px, 3vw, 40px); bottom: clamp(18px, 3vw, 34px); display: flex; justify-content: space-between; gap: 20px; color: var(--paper); font: 700 9px/1.4 Consolas, monospace; letter-spacing: .12em; }
.origin-anime-frame figcaption a { text-decoration: none; }
.behavior-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(34px, 5vw, 72px); border-block: 1px solid var(--ink); }
.behavior-card { min-height: 330px; padding: clamp(28px, 4vw, 54px); border-right: 1px solid var(--ink); }
.behavior-card:last-child { border-right: 0; }
.behavior-card span { color: var(--red); font: 700 10px/1 Consolas, monospace; letter-spacing: .12em; }
.behavior-card h3 { max-width: 360px; margin: 74px 0 18px; font-size: clamp(28px, 3vw, 46px); line-height: .95; letter-spacing: -.055em; }
.behavior-card p { margin: 0; color: #656159; font-size: 14px; line-height: 1.7; }
.lore-line { margin: clamp(70px, 9vw, 140px) 0 0; padding: clamp(38px, 6vw, 86px); border: 1px solid var(--ink); }
.lore-line p { margin: 0; font-size: clamp(34px, 5vw, 80px); line-height: .98; letter-spacing: -.055em; }
.lore-line strong { color: var(--red); }
.lore-line span { display: block; margin-top: 30px; font: 700 10px/1.4 Consolas, monospace; letter-spacing: .13em; }
.soundtrack { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(34px, 6vw, 90px); align-items: center; padding: clamp(70px, 9vw, 130px) 0 0; }
.soundtrack h3 { margin: 34px 0 20px; color: var(--ink); font-size: clamp(36px, 4.6vw, 74px); line-height: .9; letter-spacing: -.06em; }
.soundtrack > div > p:last-child { max-width: 460px; margin: 0; color: #716d65; font-size: 15px; line-height: 1.7; }
.soundtrack iframe { display: block; min-width: 0; border: 0; border-radius: 12px; background: #121212; }

.bridge { padding: clamp(90px, 10vw, 160px) clamp(22px, 6vw, 100px); overflow: hidden; background: var(--ink); }
.bridge-intro { display: grid; grid-template-columns: .5fr 1.22fr .68fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(50px, 7vw, 100px); }
.bridge-intro .eyebrow { align-self: start; }
.bridge-intro > p:last-child { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.player-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: clamp(520px, 62vw, 920px); border-block: 1px solid var(--line); }
.player-gallery figure { position: relative; min-width: 0; margin: 0; overflow: hidden; border-right: 1px solid var(--ink); background: #151515; }
.player-gallery figure:last-child { border-right: 0; }
.player-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.88) contrast(1.06); transition: transform .7s cubic-bezier(.2,.75,.2,1), filter .5s; }
.player-gallery figure:nth-child(1) img { object-position: 50% 45%; }
.player-gallery figure:nth-child(2) img { object-position: 50% 50%; }
.player-gallery figure:nth-child(3) img { object-position: 50% 43%; }
.player-gallery figure:hover img { transform: scale(1.025); filter: saturate(1) contrast(1.07); }
.player-gallery figure::after { content: attr(data-slot); position: absolute; left: 16px; bottom: 16px; padding: 7px 9px; background: rgba(9,9,9,.82); color: #fff; font: 700 9px/1 Consolas, monospace; letter-spacing: .1em; }

.sync-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(40px, 7vw, 110px); padding: clamp(70px, 9vw, 140px) 0; border-bottom: 1px solid var(--line); }
.sync-title p { margin: 0 0 18px; color: var(--red); font: 700 10px/1 Consolas, monospace; letter-spacing: .13em; }
.sync-title strong { display: block; font-size: clamp(80px, 12vw, 190px); line-height: .8; letter-spacing: -.09em; }
.sync-title > div { height: 3px; margin-top: 34px; overflow: hidden; background: #292929; }
.sync-title > div span { display: block; width: 93%; height: 100%; background: var(--red); }
.sync-grid dl { margin: 0; border-top: 1px solid var(--line); }
.sync-grid dl div { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sync-grid dt { color: var(--red); font: 700 9px/1 Consolas, monospace; letter-spacing: .1em; }
.sync-grid dd { margin: 0; color: var(--muted); font-size: 14px; }
.sync-grid dd.irl { color: var(--paper); font-weight: 700; }
.sync-grid dd.irl::before { content: "→ "; color: var(--red); }

.identity { position: relative; padding: clamp(100px, 12vw, 190px) 0 30px; }
.identity h2 { font-size: clamp(92px, 19vw, 310px); white-space: nowrap; }
.identity h2 small { display: inline-block; margin-right: .03em; color: var(--red); font: 700 .26em/1 Consolas, monospace; text-transform: lowercase; transform: rotate(-7deg); vertical-align: top; }
.identity > p:not(.eyebrow) { max-width: 720px; margin: 35px 0 46px auto; color: var(--muted); font-size: clamp(17px, 1.6vw, 23px); line-height: 1.65; }
.identity-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-left: auto; max-width: 960px; }
.identity-actions a { display: flex; justify-content: space-between; gap: 20px; padding: 22px; border: 1px solid var(--line); text-decoration: none; font: 700 11px/1.3 Consolas, monospace; letter-spacing: .08em; }
.identity-actions a + a { border-left: 0; }
.identity-actions .primary { color: #fff; border-color: var(--red); background: var(--red); }

.footer { display: grid; grid-template-columns: 1fr 2fr auto; gap: 30px; align-items: center; padding: 34px clamp(22px, 6vw, 100px); border-top: 1px solid var(--line); color: #77736c; font: 700 9px/1.6 Consolas, monospace; letter-spacing: .08em; }
.footer p { margin: 0; }
.footer a { color: var(--paper); text-decoration: none; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-nav nav a:not(:last-child) { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .hero-copy { padding-block: 90px 62px; }
  .anime-frame { min-height: 68vw; border-top: 1px solid var(--line); border-left: 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div:nth-child(2) { border-right: 0; }
  .hero-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head, .bridge-intro { grid-template-columns: 1fr; }
  .section-head > p:last-child, .bridge-intro > p:last-child { max-width: 650px; }
  .lore-grid { grid-template-columns: 1fr; }
  .lore-card, .lore-card + .lore-card { min-height: auto; padding: 28px 0 42px; border-right: 0; border-bottom: 1px solid #bdb8ae; }
  .lore-card h3 { margin-top: 50px; }
  .origin-anime-frame img { max-height: none; }
  .behavior-grid { grid-template-columns: 1fr; }
  .behavior-card { min-height: auto; padding: 36px 0; border-right: 0; border-bottom: 1px solid #bdb8ae; }
  .behavior-card:last-child { border-bottom: 0; }
  .behavior-card h3 { margin-top: 42px; }
  .soundtrack { grid-template-columns: 1fr; }
  .sync-grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-nav { min-height: 58px; }
  .brand b { display: none; }
  .site-nav nav a { font-size: 9px; }
  .hero { min-height: calc(100svh - 58px); }
  .hero-copy { padding: 72px 20px 48px; }
  .hero h1 { font-size: clamp(51px, 17vw, 88px); }
  .lede { font-size: 15px; }
  .anime-frame { min-height: 75vw; }
  .anime-frame figcaption { bottom: 18px; flex-direction: column; gap: 7px; }
  .hero-stats div { padding: 18px; }
  .hero-stats dd { font-size: 11px; }
  .section-head h2, .bridge-intro h2 { font-size: 15vw; }
  .lore-line { padding: 28px 22px; }
  .origin-anime-frame figcaption { flex-direction: column; gap: 7px; }
  .lore-line p { font-size: 9vw; }
  .soundtrack { padding-top: 56px; }
  .soundtrack h3 { margin-top: 24px; font-size: 12vw; }
  .soundtrack iframe { height: 152px; }
  .player-gallery { height: clamp(300px, 82vw, 470px); }
  .player-gallery figure::after { left: 7px; bottom: 7px; padding: 5px 6px; font-size: 7px; }
  .sync-grid dl div { grid-template-columns: 55px 1fr; }
  .sync-grid dd.irl { grid-column: 2; }
  .identity h2 { max-width: 100%; font-size: clamp(52px, 15.5vw, 88px); letter-spacing: -.085em; }
  .identity > p:not(.eyebrow) { margin-top: 24px; }
  .identity-actions { grid-template-columns: 1fr; }
  .identity-actions a + a { border-left: 1px solid var(--line); border-top: 0; }
}

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