:root {
  --text: #d9e4ec;
  --muted: #90a2af;
  --dim: #5d707d;
  --line: #263641;
  --accent: #dbe8ef;
  --accent-soft: rgba(219, 232, 239, 0.1);
  --shell-frame: #11171c;
  --shell-rim: #26313a;
  --shell-surface: linear-gradient(180deg, rgba(8,13,18,.99), rgba(4,9,14,.98));
  --shell-inner-surface: linear-gradient(90deg, rgba(12,44,73,.05) 0 49.5%, rgba(69,16,15,.05) 50.5% 100%), rgba(3,7,11,.92);
  --nav-surface: rgba(6,11,16,.95);
  --panel-surface: rgba(5, 11, 17, 0.95);
  --panel-head: rgba(6, 13, 19, 1);
  --button-fill: rgba(5,11,17,.98);
  --alert: #f1453d;
  --max: 1920px;
  --mono: Consolas, "Segoe UI", monospace;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

html[data-side="neutral"] {
  --accent: #dbe8ef;
  --accent-soft: rgba(219, 232, 239, 0.1);
  --line: #2b3d4a;
}
html[data-side="aurelius"] {
  --accent: #24b9ff;
  --accent-soft: rgba(36, 185, 255, 0.18);
  --line: #1f5b83;
  --shell-frame: #09131c;
  --shell-rim: #1b3547;
  --shell-surface: linear-gradient(180deg, #091522, #08111b);
  --shell-inner-surface: linear-gradient(180deg, #081523, #07121d);
  --nav-surface: #0b1a2a;
  --panel-surface: #081725;
  --panel-head: #10273a;
  --button-fill: #0d2437;
}
html[data-side="ghostline"] {
  --accent: #f1453d;
  --accent-soft: rgba(241, 69, 61, 0.18);
  --line: #6b2624;
  --shell-frame: #13090c;
  --shell-rim: #331417;
  --shell-surface: linear-gradient(180deg, #130809, #0f0607);
  --shell-inner-surface: linear-gradient(180deg, #120809, #0d0607);
  --nav-surface: #16090c;
  --panel-surface: #11080a;
  --panel-head: #1b0c0f;
  --button-fill: #170a0d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(37, 175, 255, 0.09), transparent 28%),
    radial-gradient(circle at 77% 20%, rgba(241, 69, 61, 0.09), transparent 24%),
    linear-gradient(180deg, #05080d 0%, #030507 100%);
  color: var(--text);
  font-family: var(--mono);
  letter-spacing: 0.03em;
  min-height: 100vh;
  overflow: hidden;
}
a { color: inherit; }
button { font: inherit; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }
.shell-hidden { opacity: 0; pointer-events: none; }

.noise,.scanlines,.vignette { position: fixed; inset: 0; pointer-events: none; z-index: 1000; }
.noise {
  opacity: 0.03;
  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='.95'/%3E%3C/svg%3E");
}
.scanlines { opacity: 0.045; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.35) 4px); }
.vignette { background: radial-gradient(circle at center, transparent 42%, rgba(0,0,0,.58) 100%); }

.boot-screen,
.gate-screen {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(circle at 50% 45%, #0a1820 0, #020405 62%);
}
.boot-screen.hidden, .gate-screen.hidden { display: none !important; }
.boot-monitor,
.gate-panel {
  width: min(1280px, calc(100vw - 32px));
  min-height: min(780px, calc(100vh - 32px));
  border: 18px solid #15191b;
  border-radius: 22px;
  box-shadow: 0 0 0 2px #30383b, 0 30px 80px #000, inset 0 0 60px #000;
  background: #020608;
  position: relative;
  overflow: hidden;
}
.boot-monitor::after,
.gate-panel::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #2a3337;
  border-radius: 8px;
  pointer-events: none;
}
.boot-top { display:flex; justify-content:space-between; color:#52717e; font-size:12px; border-bottom:1px solid #15313b; padding:28px 34px 14px; }
.boot-terminal { white-space:pre-wrap; color:#82cbe8; line-height:1.8; margin:28px 34px 80px; font-size:clamp(13px,1.4vw,18px); text-shadow:0 0 12px #0aa5e866; }
.boot-terminal .alert { color:#e74b43; }
.boot-skip { position:absolute; bottom:28px; right:32px; background:none; border:0; color:#657f8b; letter-spacing:.18em; font:12px inherit; cursor:pointer; padding:14px; }

.gate-panel { background: linear-gradient(180deg, rgba(5, 10, 14, 0.99), rgba(4, 8, 12, 0.98)); }
.gate-copy { padding: 26px 28px 0; max-width: 1100px; }
.gate-copy h2 { font-family: var(--display); font-size: clamp(2.8rem, 5vw, 5.5rem); margin: 16px 0 10px; line-height: .95; text-transform: uppercase; }
.gate-copy p { color: var(--muted); line-height: 1.8; margin: 0; }
.gate-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; padding: 24px 28px 16px; }
.gate-card {
  text-align: left; background: #050b11; border: 1px solid #20323f; color: var(--text); cursor: pointer; padding: 0;
  overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
}
.gate-card--aurelius { border-color: #1d4d6f; }
.gate-card--ghostline { border-color: #662928; }
.gate-thumb { height: 270px; overflow: hidden; border-bottom: 1px solid #20323f; }
.gate-card--aurelius .gate-thumb { border-bottom-color: #1d4d6f; }
.gate-card--ghostline .gate-thumb { border-bottom-color: #662928; }
.gate-thumb img { width:100%; height:100%; object-fit:cover; }
.gate-card-copy { padding: 18px 20px 22px; }
.gate-card-copy span,
.section-kicker,
.micro-copy,
.feature-index { text-transform: uppercase; font-size: 12px; letter-spacing: .2em; }
.gate-card-copy span { color: var(--muted); }
.gate-card-copy strong {
  display: block; margin: 16px 0 12px; font-family: var(--display); font-size: clamp(2.1rem, 4vw, 3.4rem); text-transform: uppercase; line-height: .95;
}
.gate-card--aurelius strong { color: #24b9ff; }
.gate-card--ghostline strong { color: #f1453d; }
.gate-card-copy p { color: var(--muted); line-height: 1.8; margin: 0 0 16px; }
.gate-card-copy b { color: var(--text); letter-spacing: .1em; font-size: 12px; }
.gate-neutral {
  display: block; margin: 0 auto 28px; background: none; border: 0; color: #93a2ae; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; padding: 12px 18px;
}

.shell {
  width: 100vw;
  height: 100vh;
  margin: 0;
  background: var(--shell-surface);
  border: 18px solid var(--shell-frame);
  box-shadow: inset 0 0 0 2px var(--shell-rim), inset 0 0 0 10px rgba(255,255,255,0.02), 0 0 80px rgba(0,0,0,.55);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transition: opacity .4s ease, background .25s ease, border-color .25s ease;
}
.shell::before {
  content:""; position:absolute; inset:14px; border:1px solid color-mix(in srgb, var(--line) 70%, #1c2730); pointer-events:none;
}
.shell-top,.shell-bottom {
  display:flex; align-items:center; justify-content:space-between; gap:18px; padding:11px 18px; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--dim); background: var(--panel-head);
}
.shell-top{ border-bottom:1px solid var(--line);} .shell-bottom{ border-top:1px solid var(--line);} 
.shell-top__left,.shell-top__right,.shell-bottom__left,.shell-bottom__right { display:flex; flex-wrap:wrap; gap:16px; }
.shell-bottom__right,.shell-top__right { justify-content:flex-end; }
.shell-inner {
  overflow-y:auto; overflow-x:hidden; padding:16px;
  background: var(--shell-inner-surface);
}
.nav {
  display:flex; align-items:center; gap:24px; padding:12px 16px; margin-bottom:16px; border:1px solid var(--line); background: var(--nav-surface);
  position:sticky; top:0; z-index:25; backdrop-filter: blur(8px);
}
.brand { display:flex; align-items:center; text-decoration:none; min-width: 210px; }
.brand-logo { width: 220px; max-width: 100%; height: auto; }
.nav-links { display:flex; gap:24px; margin-left:auto; }
.nav-links a,.nav-button { text-decoration:none; color:var(--muted); font-size:11px; letter-spacing:.18em; text-transform:uppercase; }
.nav-links a:hover{ color:var(--accent);} 
.nav-button,.action,.close-button { background: var(--button-fill); border:1px solid var(--line); color:var(--text); cursor:pointer; }
.nav-button { padding:12px 18px; color:var(--accent); }
.main { display:grid; gap:16px; }
.panel { border:1px solid var(--line); background: var(--panel-surface); box-shadow: inset 0 0 0 1px rgba(255,255,255,.015); }
.panel-head { display:flex; justify-content:space-between; gap:16px; padding:12px 16px; border-bottom:1px solid var(--line); font-size:11px; text-transform:uppercase; letter-spacing:.12em; color:var(--dim); background: var(--panel-head); }
.split-head span:last-child { color: color-mix(in srgb, var(--accent) 68%, var(--text)); }

.hero-panel { padding-bottom:20px; }
.hero-logo-wrap { display:flex; justify-content:center; align-items:center; padding:34px 26px 0; }
.hero-logo { width:min(560px, 100%); filter: drop-shadow(0 0 32px rgba(255,255,255,.07)); }
.hero-grid { display:grid; grid-template-columns: minmax(0,1.15fr) minmax(340px,.85fr); gap:22px; padding: 12px 26px 26px; }
.hero-copy { display:flex; flex-direction:column; justify-content:center; max-width:900px; }
.micro-copy,.section-kicker { margin:0; color:var(--accent); }
.hero-copy h1,.section-title-block h2,.systems-copy h2,.dev-copy h2 {
  font-family:var(--display); letter-spacing:.03em; line-height:.94; margin:18px 0 22px; text-transform:uppercase;
}
.hero-copy h1 { font-size: clamp(3rem, 5.4vw, 6rem); max-width:10ch; }
.hero-text,.section-title-block p,.feature-card p,.shot-copy p,.role-card p,.info-stack p,.dev-copy p,.dev-item span,.about-panel p { color:var(--muted); line-height:1.8; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.action { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:12px 18px; text-decoration:none; letter-spacing:.12em; text-transform:uppercase; font-size:12px; }
.action.primary { color:var(--accent); box-shadow: inset 0 0 24px color-mix(in srgb, var(--accent) 10%, transparent); }
.action.secondary { color:var(--text); }
.signal-panel { display:grid; gap:12px; align-content:center; }
.mini-panel,.incident-card,.signal-quote,.feature-card,.shot-card,.role-card,.info-stack,.dev-item {
  background: color-mix(in srgb, var(--panel-surface) 90%, #000); border:1px solid var(--line);
}
.mini-panel { display:flex; justify-content:space-between; gap:14px; padding:14px 16px; background: var(--panel-head); }
.mini-label { color:var(--dim); font-size:11px; text-transform:uppercase; }
.mini-panel strong { color:var(--accent); letter-spacing:.12em; }
.incident-card { padding:16px; }
.incident-card__head { display:flex; justify-content:space-between; margin-bottom:18px; color:var(--dim); font-size:11px; letter-spacing:.15em; text-transform:uppercase; }
.status-dot { width:10px; height:10px; border-radius:999px; background:var(--alert); box-shadow:0 0 10px rgba(241,69,61,.5); }
.incident-code { font-family:var(--display); font-size:clamp(2rem, 4vw, 3.3rem); line-height:1; margin-bottom:18px; }
.incident-lines { display:grid; gap:14px; }
.incident-lines div { border-top:1px solid rgba(112,129,140,.18); padding-top:12px; }
.incident-lines span { display:block; color:var(--dim); text-transform:uppercase; letter-spacing:.14em; font-size:10px; margin-bottom:6px; }
.incident-lines strong { color:var(--text); font-size:13px; }
.signal-quote { padding:18px 16px; text-align:center; }
.signal-quote p { margin:0 0 8px; color:var(--muted); font-size:12px; letter-spacing:.18em; }
.signal-quote strong { color:var(--text); font-size:20px; letter-spacing:.08em; }

.section-panel { padding-bottom:20px; }
.section-title-block { max-width:900px; padding:26px 26px 0; }
.section-title-block.narrow { max-width:760px; }
.section-title-block h2,.systems-copy h2,.dev-copy h2 { font-size: clamp(2.3rem, 4vw, 4.5rem); }
.section-title-block p { margin-top:0; }
.feature-grid,.screenshot-grid,.development-grid,.systems-grid { padding:22px 26px 0; }
.feature-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:14px; }
.feature-card { padding:20px; min-height:240px; }
.feature-index { color:var(--accent); }
.feature-card h3,.shot-copy h3,.role-card h3,.info-stack h3,.dev-item strong,.about-panel h3 { margin:14px 0 12px; font-family:var(--display); letter-spacing:.04em; text-transform:uppercase; }
.feature-card h3 { font-size:1.75rem; }
.screenshot-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; }
.shot-card { overflow:hidden; } .shot-card.wide { grid-column:1 / -1; }
.shot-card img { width:100%; aspect-ratio:16/9; object-fit:cover; border-bottom:1px solid var(--line); }
.shot-card--contain { background: color-mix(in srgb, var(--panel-surface) 94%, #000); }
.shot-card--contain .shot-image--contain { aspect-ratio: 1800 / 940; object-fit: contain; background: #05080d; }
.shot-copy { padding:18px; }
.accent-aurelius { color:#24b9ff; } .accent-ghostline { color:#f1453d; }
.systems-grid { display:grid; grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); gap:18px; }
.role-cards { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; margin-top:22px; }
.role-card { padding:20px; }
.role-card span { color:var(--accent); text-transform:uppercase; letter-spacing:.16em; font-size:11px; }
.role-card--ghostline span { color:#f1453d; }
.info-stack { padding:20px; margin-bottom:14px; }
.info-stack ul { margin:0; padding-left:18px; color:var(--muted); line-height:1.8; }
.concept-strip { display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin-top:16px; }
.concept-strip figure { margin:0; border:1px solid rgba(112,129,140,.18); background: color-mix(in srgb, var(--panel-surface) 90%, #000); }
.concept-strip img { aspect-ratio:16/9; object-fit:cover; }
.concept-strip figcaption { padding:10px 12px; color:var(--dim); font-size:11px; text-transform:uppercase; letter-spacing:.1em; }
.development-grid { display:grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap:18px; }
.dev-list { display:grid; gap:12px; }
.dev-item { display:grid; grid-template-columns: 38px 1fr; gap:14px; padding:18px; }
.dev-item b { color:var(--muted); font-size:1.2rem; line-height:1; }
.dev-item.live b { color:var(--accent); }
.dev-item strong { display:block; margin:0 0 6px; color:var(--text); font-size:1.3rem; }
.about-panel { padding-bottom:28px; }
.about-panel blockquote { margin:30px 26px 22px; max-width:980px; font-size:clamp(1.6rem,3vw,3rem); line-height:1.4; color:var(--text); border-left:3px solid color-mix(in srgb, var(--accent) 50%, transparent); padding-left:20px; }
.about-footer { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:0 26px; }
.about-footer h3 { font-size:2rem; margin:0 0 8px; }
.wolf-lockup { display:flex; align-items:center; gap:14px; }
.wolf-lockup img { width:68px; height:68px; object-fit:contain; opacity:.74; }
.wolf-lockup strong { display:block; letter-spacing:.18em; }
.wolf-lockup span { display:block; color:var(--muted); font-size:12px; letter-spacing:.14em; }

@media (max-width: 1280px) {
  .hero-grid,.systems-grid,.development-grid { grid-template-columns:1fr; }
}
@media (max-width: 980px) {
  body { overflow:auto; }
  .shell { width:100%; height:auto; margin:0; border:none; box-shadow:none; }
  .shell::before, .shell-top, .shell-bottom { display:none; }
  .shell-inner { overflow:visible; padding:0; background: none; }
  .nav { flex-wrap:wrap; position:relative; margin:0 0 14px; border-left:none; border-right:none; border-top:none; }
  .nav-links { order:3; width:100%; justify-content:space-between; margin-left:0; flex-wrap:wrap; gap:12px 18px; }
  .feature-grid,.role-cards,.screenshot-grid,.concept-strip,.gate-grid { grid-template-columns:1fr; }
  .shot-card.wide { grid-column:auto; }
  .about-footer { flex-direction:column; align-items:flex-start; }
  .hero-logo-wrap { padding-top:20px; }
  .gate-panel, .boot-monitor { width: 100%; min-height: 100vh; border: none; border-radius: 0; box-shadow: none; }
  .gate-panel::after, .boot-monitor::after { display:none; }
  .gate-thumb { height: 220px; }
}
@media (max-width: 720px) {
  .brand { min-width: 150px; }
  .brand-logo { width: 180px; }
  .nav,.panel-head { padding-left:12px; padding-right:12px; }
  .hero-grid,.feature-grid,.screenshot-grid,.systems-grid,.development-grid,.section-title-block,.gate-copy,.gate-grid { padding-left:14px; padding-right:14px; }
  .hero-grid,.feature-grid,.screenshot-grid,.systems-grid,.development-grid { padding-top:16px; }
  .hero-copy h1,.section-title-block h2,.systems-copy h2,.dev-copy h2,.gate-copy h2 { font-size:clamp(2.1rem, 12vw, 3.2rem); }
  .incident-code,.signal-quote strong,.about-footer h3 { font-size:clamp(1.5rem, 8vw, 2.2rem); }
  .gate-card-copy strong { font-size: clamp(1.9rem, 10vw, 2.8rem); }
}

/* v0.5 corrections */
.nav {
  background: var(--nav-surface) !important;
  opacity: 1;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.brand {
  min-width: auto;
  gap: 12px;
}
.brand-mark-image {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-text {
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--text);
  white-space: nowrap;
}

/* Side picker rebuilt from the in-game choose-a-side artwork */
.gate-screen {
  background: #020406;
}
.gate-panel {
  width: min(1500px, calc(100vw - 36px));
  min-height: min(900px, calc(100vh - 36px));
  background: #030507;
  border: 14px solid #11171c;
  border-radius: 18px;
  box-shadow: 0 0 0 2px #26313a, 0 34px 100px rgba(0,0,0,.72);
  overflow: hidden;
}
.gate-panel::after {
  inset: 8px;
}
.gate-title {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: .12em;
  color: #f0f4f7;
  padding: 20px 18px 8px;
}
.gate-close {
  width: 36px;
  height: 36px;
  border: 1px solid #2a3b47;
  border-radius: 50%;
  background: #070c10;
  color: #c9d4dc;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.team-picker {
  display: grid;
  grid-template-columns: minmax(0,1fr) 80px minmax(0,1fr);
  gap: 0;
  align-items: stretch;
  padding: 8px 26px 8px;
  max-width: 1320px;
  margin: 0 auto;
}
.team-choice {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.team-art {
  width: min(100%, 510px);
  aspect-ratio: 1122 / 1402;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .2s ease, filter .2s ease;
}
.join-art {
  width: min(78%, 430px);
  height: auto;
  transition: transform .2s ease, filter .2s ease;
}
.team-choice:hover .team-art,
.team-choice:focus-visible .team-art {
  transform: translateY(-3px);
  filter: brightness(1.08);
}
.team-choice:hover .join-art,
.team-choice:focus-visible .join-art {
  transform: scale(1.02);
  filter: brightness(1.12);
}
.team-divider {
  width: 58px;
  max-height: 570px;
  justify-self: center;
  align-self: center;
  object-fit: cover;
  object-position: center;
}
.gate-neutral {
  margin: 4px auto 22px;
  color: #7f909c;
}

/* Prevent content appearing through the sticky header while scrolling. */
html[data-side="neutral"] .nav { background: #071018 !important; }
html[data-side="aurelius"] .nav { background: #0b1a2a !important; }
html[data-side="ghostline"] .nav { background: #16090c !important; }

@media (max-width: 980px) {
  .team-picker {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 10px 16px 16px;
  }
  .team-divider { display: none; }
  .team-art {
    width: min(100%, 560px);
    aspect-ratio: 1122 / 1402;
  }
  .join-art { width: min(80%, 430px); }
  .gate-panel {
    width: 100%;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    overflow-y: auto;
  }
}

@media (max-width: 720px) {
  .brand-mark-image { width: 36px; height: 36px; }
  .brand-text { font-size: 13px; }
}


/* v0.6 targeted fixes */
/* The site header is part of the page now, not a floating overlay. */
.nav {
  position: relative !important;
  top: auto !important;
  z-index: 5;
  box-shadow: none !important;
}

/* Larger, unmistakable OR treatment for the choose-side screen. */
.team-picker {
  grid-template-columns: minmax(0,1fr) 130px minmax(0,1fr);
}
.team-divider {
  width: 130px !important;
  max-height: none !important;
  align-self: center;
  justify-self: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  background: none !important;
}
.team-divider::before {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, #26baff 0%, #dbe8ef 48%, #f1453d 52%, #f1453d 100%);
  box-shadow: 0 0 14px rgba(255,255,255,.15);
}
.team-divider span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid #80909a;
  background: #05080b;
  color: #f2f6f8;
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: .08em;
  box-shadow: 0 0 0 8px #030507, 0 0 24px rgba(255,255,255,.08);
}

@media (max-width: 980px) {
  .team-picker { grid-template-columns: 1fr; }
  .team-divider {
    display: flex !important;
    min-height: 82px;
    width: 100% !important;
  }
  .team-divider::before {
    top: 50%;
    bottom: auto;
    left: 8%;
    right: 8%;
    width: auto;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(to right, #26baff 0%, #dbe8ef 48%, #f1453d 52%, #f1453d 100%);
  }
}

/* v0.7 polish: journal + legal links */
.journal-grid {
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);
  gap:18px;
  padding:26px;
  align-items:stretch;
}
.journal-copy h2 {
  font-family:var(--display);
  font-size:clamp(2.4rem,4vw,4.6rem);
  line-height:.95;
  letter-spacing:.03em;
  text-transform:uppercase;
  margin:18px 0 20px;
}
.journal-copy p { color:var(--muted); line-height:1.8; max-width:850px; }
.external-action { margin-top:18px; }
.journal-terminal {
  border:1px solid var(--line);
  background:color-mix(in srgb,var(--panel-surface) 88%,#000);
  min-height:100%;
}
.journal-terminal-head {
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:13px 16px;
  border-bottom:1px solid var(--line);
  background:var(--panel-head);
  color:var(--dim);
  font-size:11px;
  letter-spacing:.15em;
}
.journal-terminal-body { padding:22px; }
.journal-terminal-body>span:first-child {
  color:var(--accent);
  font-size:11px;
  letter-spacing:.18em;
}
.journal-terminal-body strong {
  display:block;
  font-family:var(--display);
  font-size:clamp(1.8rem,2.6vw,3rem);
  line-height:1;
  margin:18px 0;
}
.journal-terminal-body p { color:var(--muted); line-height:1.75; }
.journal-prompt {
  display:block;
  margin-top:28px;
  padding-top:14px;
  border-top:1px solid var(--line);
  color:var(--accent)!important;
  font-size:11px;
  letter-spacing:.1em!important;
}
.footer-link {
  color:var(--dim);
  text-decoration:none;
}
.footer-link:hover { color:var(--accent); }
@media(max-width:1280px){.journal-grid{grid-template-columns:1fr}}
@media(max-width:980px){.journal-grid{padding:18px 14px}}

/* Legal page */
.legal-content { max-width:1100px; padding:34px 30px 44px; }
.legal-content h1 { font-family:var(--display); font-size:clamp(3rem,5vw,5.8rem); line-height:.95; margin:18px 0 22px; }
.legal-intro { font-size:1.05rem; }
.legal-content h2 { margin:34px 0 10px; color:var(--text); font-size:1.15rem; letter-spacing:.12em; text-transform:uppercase; }
.legal-content p { color:var(--muted); line-height:1.8; }
.legal-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:38px; }
.legal-nav { justify-content:space-between; }
.legal-nav .nav-button { margin-left:auto; text-decoration:none; }
@media(max-width:980px){.legal-content{padding:26px 18px 36px}.legal-shell{height:auto}.legal-scroll{overflow:visible}}

/* =============================
   RC1 launch-prep polish
   ============================= */
:root { color-scheme: dark; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 5000;
  padding: 12px 16px;
  background: #f3f7fa;
  color: #061018;
  border: 2px solid #061018;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

/* Reduce layout shift and make image rendering predictable. */
img { height: auto; }
.shot-card img,
.concept-strip img,
.team-art,
.join-art { content-visibility: auto; }

/* Wolf Interactive signature uses the actual Wolf emblem. */
.wolf-lockup {
  color: inherit;
  text-decoration: none;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.wolf-lockup:hover {
  border-color: var(--line);
  background: color-mix(in srgb, var(--panel-surface) 85%, transparent);
}
.wolf-lockup img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: .95;
}

/* Make below-fold screenshots feel interactive without adding a heavy lightbox. */
.shot-card img,
.concept-strip img {
  transition: filter .18s ease, transform .18s ease;
}
.shot-card:hover img,
.concept-strip figure:hover img {
  filter: brightness(1.06) contrast(1.02);
}

/* Keep text legible on side-specific solid GUI surfaces. */
html[data-side="aurelius"] .section-kicker,
html[data-side="aurelius"] .micro-copy,
html[data-side="aurelius"] .feature-index { color: #35c1ff; }
html[data-side="ghostline"] .section-kicker,
html[data-side="ghostline"] .micro-copy,
html[data-side="ghostline"] .feature-index { color: #ff5b64; }

/* Legal / 404 pages use normal document scrolling on smaller screens. */
.legal-page .brand-mark-image { object-fit: contain; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .noise, .scanlines { opacity: .015; }
}

@media (max-width: 980px) {
  .wolf-lockup { padding-left: 0; }
  .wolf-lockup img { width: 60px; height: 60px; }
}

/* =============================
   RC1.1 mobile navigation
   Keep CHOOSE SIDE visible; collapse the six section links into a menu.
   ============================= */
.menu-toggle {
  display: none;
  width: 46px;
  height: 44px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--button-fill);
  color: var(--accent);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform .16s ease, opacity .16s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav {
    gap: 10px;
    align-items: center;
  }
  .brand { margin-right: auto; }
  .nav-button {
    margin-left: 0;
    white-space: nowrap;
  }
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    order: 4;
    width: 100%;
    margin: 2px 0 0;
    padding: 8px 0 2px;
    border-top: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    background: var(--nav-surface);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 10px;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
    font-size: 12px;
    letter-spacing: .16em;
  }
  .nav-links a:last-child { border-bottom: 0; }
}

@media (max-width: 440px) {
  .nav { padding: 10px; gap: 8px; }
  .brand-mark-image { width: 34px; height: 34px; }
  .brand-text { font-size: 12px; letter-spacing: .18em; }
  .nav-button { padding: 11px 13px; font-size: 10px; letter-spacing: .14em; }
  .menu-toggle { width: 42px; height: 42px; flex-basis: 42px; }
}
