:root {
  --ink: #03060d;
  --navy: #07111f;
  --panel: #0a1728;
  --ice: #eefaff;
  --muted: #9ab0c4;
  --cyan: #5eeaff;
  --blue: #2584ff;
  --violet: #7558ff;
  --line: rgba(158, 222, 255, .18);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ice);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .13;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .7rem 1rem;
  color: #001018;
  background: var(--cyan);
  border-radius: .25rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  min-height: 78px;
  padding: 0 max(5vw, 1.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(to bottom, rgba(2, 7, 14, .92), rgba(2, 7, 14, .3));
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.site-header.scrolled { background: rgba(3, 8, 16, .94); border-color: var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; letter-spacing: .16em; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.brand strong { color: var(--cyan); }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.5rem); }
nav a { color: #bfd1df; text-decoration: none; text-transform: uppercase; letter-spacing: .13em; font-size: .7rem; font-weight: 700; }
nav a:hover { color: #fff; }
.nav-cta { padding: .7rem 1.15rem; border: 1px solid rgba(94, 234, 255, .55); }
.menu-button { display: none; color: #fff; border: 1px solid var(--line); background: rgba(5, 14, 25, .8); padding: .65rem .8rem; text-transform: uppercase; letter-spacing: .12em; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; filter: saturate(.88) contrast(1.08); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1, 5, 12, .98) 2%, rgba(2, 7, 16, .8) 38%, rgba(3, 9, 18, .22) 67%), linear-gradient(0deg, #03060d 0%, transparent 26%); }
.hero-content { position: relative; z-index: 2; width: min(92%, var(--max)); margin: 5rem auto 0; padding: 7rem 0; }
.eyebrow { margin: 0 0 1rem; color: var(--cyan); text-transform: uppercase; letter-spacing: .3em; font-size: .68rem; font-weight: 800; }
h1, h2, h3 { margin-top: 0; line-height: 1.04; }
h1 { max-width: 790px; margin-bottom: 1.5rem; font-size: clamp(3.6rem, 8.5vw, 8.3rem); text-transform: uppercase; letter-spacing: -.055em; }
h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(190, 238, 255, .8); text-shadow: 0 0 35px rgba(76, 189, 255, .12); }
.hero-copy { max-width: 590px; margin: 0 0 2.2rem; color: #b6c8d5; font-size: clamp(1rem, 1.5vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-width: 190px; padding: .95rem 1.35rem; border: 1px solid var(--line); text-decoration: none; text-transform: uppercase; letter-spacing: .13em; font-size: .7rem; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); border-color: var(--cyan); }
.button-primary { color: #001018; background: linear-gradient(135deg, var(--cyan), #8ebeff); border-color: transparent; }
.button-quiet { background: rgba(5, 15, 28, .55); backdrop-filter: blur(8px); }
.scroll-cue { position: absolute; z-index: 2; left: 5vw; bottom: 2.3rem; display: flex; align-items: center; gap: .75rem; color: #7892a6; text-transform: uppercase; letter-spacing: .16em; font-size: .58rem; }
.scroll-cue span { display: block; width: 45px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }

.section { padding: clamp(5rem, 10vw, 9rem) max(5vw, 1.25rem); }
.section-heading { width: min(100%, 760px); margin: 0 auto clamp(3rem, 7vw, 5.5rem); text-align: center; }
.section-heading h2, .about h2 { margin-bottom: 1.2rem; font-size: clamp(2.5rem, 5.6vw, 5rem); letter-spacing: -.04em; text-transform: uppercase; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.story { background: radial-gradient(circle at 70% 45%, rgba(30, 104, 170, .15), transparent 32%), var(--ink); }
.story-grid { width: min(100%, var(--max)); margin: auto; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.story-art { position: relative; margin: 0; border: 1px solid var(--line); background: #06101b; box-shadow: 0 35px 90px rgba(0, 0, 0, .5); }
.story-art::before { content: ""; position: absolute; inset: -1px; pointer-events: none; background: linear-gradient(135deg, rgba(94, 234, 255, .2), transparent 35%); }
.story-art img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.story-art figcaption { padding: .8rem 1rem; color: #84a0b4; text-transform: uppercase; letter-spacing: .16em; font: 600 .6rem ui-monospace, monospace; }
.story-copy p { color: var(--muted); }
.story-copy .lead { color: #fff; font-size: 1.55rem; line-height: 1.35; }
.stats { margin-top: 2.2rem; padding-top: 1.6rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--line); }
.stats div { display: grid; gap: .2rem; }
.stats strong { color: var(--cyan); font-size: 2rem; line-height: 1; }
.stats span { color: #7590a3; text-transform: uppercase; letter-spacing: .1em; font-size: .58rem; }

.choice-section { background: linear-gradient(180deg, #050a12, #071321 50%, #03060d); }
.choice-console { width: min(100%, 980px); margin: 0 auto 4rem; border: 1px solid rgba(94, 234, 255, .26); background: rgba(2, 9, 17, .86); box-shadow: 0 0 80px rgba(27, 126, 211, .12), inset 0 0 60px rgba(12, 61, 100, .12); }
.console-topline { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1.1rem; color: #7391a6; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .14em; font: 600 .6rem ui-monospace, monospace; }
.console-topline span:first-child { color: var(--cyan); }
.console-topline i { display: inline-block; width: 7px; height: 7px; margin-right: .45rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.5s infinite; }
.console-screen { padding: clamp(2rem, 6vw, 5.5rem); text-align: center; }
.scene-kicker { margin: 0 0 1rem; color: #7e96a9; text-transform: uppercase; letter-spacing: .22em; font-size: .62rem; }
.console-screen h3 { max-width: 750px; margin: 0 auto 1rem; font-size: clamp(2rem, 4.7vw, 4.2rem); letter-spacing: -.04em; }
.console-screen > p:not(.scene-kicker) { max-width: 640px; margin: 0 auto 2.2rem; color: var(--muted); }
.choices { display: grid; gap: .8rem; max-width: 720px; margin: auto; }
.choice-button { position: relative; width: 100%; padding: 1.05rem 1.2rem 1.05rem 4.5rem; color: #dff8ff; border: 1px solid var(--line); background: rgba(12, 32, 52, .48); text-align: left; font: 700 .78rem/1.4 inherit; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.choice-button:hover, .choice-button:focus-visible { transform: translateX(4px); border-color: var(--cyan); background: rgba(31, 113, 170, .2); outline: none; }
.choice-key { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 2.35rem; height: 2.35rem; color: var(--cyan); border: 1px solid rgba(94, 234, 255, .35); font-family: ui-monospace, monospace; }
.restart { margin: 2rem auto 0; padding: .8rem; color: #9eb7c9; border: 0; border-bottom: 1px solid #456075; background: transparent; cursor: pointer; text-transform: uppercase; letter-spacing: .12em; font-size: .65rem; }
.path-grid { width: min(100%, var(--max)); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.path-card { min-height: 250px; padding: 1.7rem; display: flex; flex-direction: column; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(14, 34, 55, .65), rgba(5, 13, 23, .5)); }
.path-number { color: var(--cyan); font: 600 .65rem ui-monospace, monospace; letter-spacing: .16em; }
.path-card h3 { margin: auto 0 1rem; font-size: 1.5rem; text-transform: uppercase; letter-spacing: -.02em; }
.path-card p { margin: 0; color: #829aac; font-size: .9rem; }

.about { position: relative; width: min(100%, var(--max)); margin: auto; display: grid; grid-template-columns: .45fr 1fr; align-items: center; gap: clamp(3rem, 9vw, 9rem); overflow: hidden; }
.about-mark { width: 100%; max-width: 390px; margin: auto; border-radius: 50%; filter: drop-shadow(0 0 45px rgba(61, 178, 255, .17)); }
.about-copy > p:not(.eyebrow):not(.coming-soon) { max-width: 650px; color: var(--muted); font-size: 1.05rem; }
.coming-soon { margin-top: 2rem; color: var(--cyan); text-transform: uppercase; letter-spacing: .18em; font: 700 .68rem ui-monospace, monospace; }

footer { padding: 4rem max(5vw, 1.25rem) 2rem; display: grid; justify-items: center; gap: 1rem; color: #7890a2; text-align: center; border-top: 1px solid var(--line); background: #02050a; }
.footer-brand { color: #fff; }
footer p { margin: .4rem 0; font-size: .9rem; }
.socials { display: flex; gap: 1.5rem; }
.socials a { color: #b6d1e1; text-decoration: none; text-transform: uppercase; letter-spacing: .13em; font-size: .65rem; }
.socials a:hover { color: var(--cyan); }
footer small { margin-top: 1.5rem; color: #536777; font-size: .65rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes pulse { 50% { opacity: .35; } }

@media (max-width: 780px) {
  .site-header { min-height: 68px; }
  .brand img { width: 42px; height: 42px; }
  .menu-button { display: block; }
  nav { position: absolute; top: 68px; left: 0; right: 0; display: none; padding: 1.5rem; flex-direction: column; align-items: stretch; background: rgba(3, 8, 16, .98); border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  nav a { padding: .45rem 0; }
  .hero-image { object-position: 67% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(1, 5, 12, .95), rgba(2, 7, 16, .5)), linear-gradient(0deg, #03060d 0%, transparent 45%); }
  .hero-content { padding-top: 9rem; align-self: end; }
  h1 { font-size: clamp(3.2rem, 18vw, 5.4rem); }
  .scroll-cue { display: none; }
  .story-grid, .about { grid-template-columns: 1fr; }
  .story-copy { order: -1; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 210px; }
  .about-mark { max-width: 270px; }
}

@media (max-width: 500px) {
  .brand span { font-size: .64rem; }
  .hero-actions, .button { width: 100%; }
  .stats { gap: .5rem; }
  .stats strong { font-size: 1.6rem; }
  .console-screen { padding: 2rem 1rem; }
  .choice-button { padding-left: 4rem; }
}

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