/* Fonts are self-hosted (SIL OFL 1.1, licences beside the files). Loading them
   from Google's servers sent every visitor's IP address to Google without consent. */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/barlow-condensed-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/barlow-condensed-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/barlow-condensed-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/inter-variable-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --ink: #06121d;
  --ink-soft: #0a2130;
  --paper: #effbff;
  --muted: #9eb7c4;
  --cyan: #2de3ff;
  --cyan-soft: #8cf1ff;
  --gold: #ffbd45;
  --orange: #ff7044;
  --violet: #885cff;
  --line: rgba(145, 211, 229, 0.2);
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: white; color: black; padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 0 clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(3,13,21,.88), rgba(3,13,21,.62));
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; width: fit-content; }
.brand-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(45,227,255,.32));
}
.brand strong, .brand small { display: block; line-height: 1.1; }
.brand strong { font: 700 1.12rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.brand small { margin-top: .28rem; color: var(--muted); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.site-header nav { display: flex; gap: 2rem; }
.site-header nav a { color: rgba(239,251,255,.8); font-size: .84rem; font-weight: 600; text-decoration: none; }
.site-header nav a:hover { color: var(--cyan); }
.status-chip { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 100px; color: var(--cyan-soft); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.status-chip span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(45,227,255,.11), 0 0 18px var(--cyan); }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: hero-drift 18s ease-in-out infinite alternate; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,12,19,.97) 0%, rgba(3,12,19,.72) 35%, rgba(3,12,19,.04) 67%), linear-gradient(0deg, #06121d 0%, transparent 40%, rgba(3,12,19,.25) 100%); }
.hero-grid { position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, black, transparent 65%); }
.hero-copy { position: relative; z-index: 2; width: min(680px, 85vw); margin: 0 0 clamp(4.5rem, 10vh, 7rem) clamp(1.2rem, 8vw, 8rem); }
.eyebrow { margin: 0 0 1rem; color: var(--cyan-soft); font-size: .75rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: var(--display); text-transform: uppercase; }
h1 { margin-bottom: 1.2rem; font-size: clamp(4rem, 9vw, 8.7rem); line-height: .78; letter-spacing: -.045em; text-shadow: 0 8px 60px rgba(0,0,0,.38); }
h1::first-line { color: var(--paper); }
.hero-lede { max-width: 630px; margin: 0 0 2rem; color: rgba(239,251,255,.82); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: .8rem 1.2rem; border: 1px solid rgba(255,255,255,.22); text-decoration: none; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.button-primary { border-color: var(--cyan); color: #03151f; background: var(--cyan); box-shadow: 0 10px 40px rgba(45,227,255,.18); }
.button-primary:hover { background: var(--cyan-soft); }
.button-quiet { background: rgba(4,18,28,.45); backdrop-filter: blur(12px); }
.wind-console { position: absolute; z-index: 3; top: 108px; right: clamp(1.2rem, 5vw, 5rem); min-width: 132px; padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.3); border-radius: 14px; text-align: center; background: rgba(6,31,47,.65); backdrop-filter: blur(12px); box-shadow: inset 0 0 25px rgba(45,227,255,.12); }
.wind-console span { display: block; color: var(--cyan-soft); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.wind-console strong { display: flex; align-items: center; justify-content: center; gap: .55rem; font: 700 1.35rem/1.3 var(--display); }
.wind-console i { display: inline-flex; width: 22px; height: 22px; color: var(--cyan); font-style: normal; transform-origin: center; transition: transform .5s ease; }
.wind-console svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.launch-card { position: absolute; z-index: 3; right: clamp(1.2rem, 5vw, 5rem); bottom: clamp(2rem, 7vh, 5rem); width: min(330px, 30vw); padding: 1.3rem; border: 1px solid rgba(255,255,255,.26); background: rgba(4,16,26,.78); backdrop-filter: blur(18px); box-shadow: 0 18px 70px rgba(0,0,0,.3); }
.launch-card .launch-label { color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.launch-card strong { display: block; margin-top: .35rem; font: 700 1.5rem/1.1 var(--display); text-transform: uppercase; }
.launch-card p { margin: .5rem 0 1rem; color: var(--muted); font-size: .84rem; }
.launch-card small { color: #b9cfda; font-size: .68rem; }
.progress-track { height: 5px; margin-bottom: .75rem; background: rgba(255,255,255,.12); overflow: hidden; }
.progress-track span { display: block; width: 22%; height: 100%; background: linear-gradient(90deg, var(--gold), var(--orange)); box-shadow: 0 0 18px var(--gold); }

.section-shell { width: min(1220px, calc(100% - 2.4rem)); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 0; }
.section-kicker { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; color: var(--cyan-soft); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-kicker::after { content: ""; width: 60px; height: 1px; background: var(--line); }
.section-kicker span { display: grid; place-items: center; width: 34px; aspect-ratio: 1; border: 1px solid var(--line); color: var(--gold); }
h2 { margin-bottom: 1.4rem; font-size: clamp(2.8rem, 6vw, 5.7rem); line-height: .9; letter-spacing: -.035em; }
.section-intro { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.22rem); }

.briefing { border-bottom: 1px solid var(--line); }
.briefing-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); }
.principles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.principles article { display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.principles article > span { grid-row: 1 / span 2; color: var(--gold); font: 700 1.2rem/1 var(--display); }
.principles h3 { margin: 0; font-size: 1.65rem; line-height: 1; }
.principles p { margin: .45rem 0 0; color: var(--muted); font-size: .9rem; }

.battle-window { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.battle-copy p { color: var(--muted); }
.battle-copy ul { padding: 0; margin: 2rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.battle-copy li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.battle-copy li span { color: var(--muted); }
.battle-copy li strong { color: var(--cyan-soft); }
.battle-window figure { margin: 0; transform: rotate(1deg); }
.battle-window figure img { border: 1px solid rgba(255,255,255,.24); box-shadow: 0 35px 90px rgba(0,0,0,.5); }
.battle-window figcaption { margin-top: .7rem; color: var(--muted); font-size: .7rem; letter-spacing: .1em; text-align: right; text-transform: uppercase; }

.modes { border-top: 1px solid var(--line); }
.modes-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.modes-heading > div:first-child { max-width: 760px; }
.mode-tabs { display: flex; padding: .3rem; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.mode-tabs button { min-width: 64px; min-height: 44px; padding: .65rem 1rem; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: .78rem; font-weight: 800; }
.mode-tabs button[aria-selected="true"] { color: var(--ink); background: var(--cyan); }
.mode-panel { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; margin-top: 3rem; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); background: linear-gradient(115deg, rgba(45,227,255,.1), rgba(136,92,255,.08)); }
.mode-number { color: transparent; -webkit-text-stroke: 1px rgba(140,241,255,.55); font: 800 clamp(5rem, 12vw, 10rem)/.8 var(--display); }
.mode-status { margin: 0 0 .3rem; color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.mode-panel h3 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; }
.mode-panel > div > p:last-child { max-width: 560px; color: var(--muted); }
.team-diagram { display: flex; align-items: center; gap: .65rem; }
.team-diagram .player { display: grid; place-items: center; width: 58px; aspect-ratio: 1; border: 2px solid; border-radius: 50%; background: rgba(4,18,29,.92); box-shadow: 0 0 0 5px rgba(255,255,255,.04); overflow: hidden; }
.team-diagram .player img { width: 90%; height: 90%; object-fit: contain; filter: drop-shadow(0 5px 9px rgba(0,0,0,.45)); }
.player.amber { border-color: #ef7547; box-shadow: 0 0 0 5px rgba(239,117,71,.1); }
.player.violet { border-color: #896bff; box-shadow: 0 0 0 5px rgba(137,107,255,.1); }
.team-diagram i { color: var(--muted); font: 700 .8rem/1 var(--display); }
.clan-callout { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; margin-top: 1rem; padding: 1.35rem 1.5rem; border: 1px solid rgba(255,183,74,.28); background: linear-gradient(100deg, rgba(255,183,74,.09), rgba(136,92,255,.08)); }
.clan-sigil { display: block; width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
.clan-callout small { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.clan-callout h3 { margin: .2rem 0 .35rem; font: 700 clamp(1.35rem, 2.5vw, 2rem)/1 var(--display); text-transform: uppercase; }
.clan-callout p { margin: 0; max-width: 720px; color: var(--muted); }
.clan-status { padding: .55rem .7rem; border: 1px solid rgba(45,227,255,.34); color: var(--cyan-soft); background: rgba(45,227,255,.07); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }

.economy { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.economy-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); }
.core-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-top: 2rem; }
.core-stat { display: flex; align-items: center; gap: .8rem; min-height: 74px; padding: .65rem .85rem; border-left: 2px solid var(--cyan); background: rgba(255,255,255,.035); }
.core-stat img { width: 52px; height: 52px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 6px 11px rgba(0,0,0,.42)); }
.core-stats b, .core-stats small { display: block; }
.core-stats b { font: 700 1.2rem/1 var(--display); text-transform: uppercase; }
.core-stats small { margin-top: .25rem; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.stat-note { max-width: 600px; margin-top: 1rem; color: var(--muted); font-size: .82rem; }
.shop-console { display: grid; gap: .8rem; }
.wallets { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.wallets > div { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; padding: 1rem 1.15rem; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.wallets small, .wallets strong { display: block; }
.wallets small { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wallets strong { font: 700 1.35rem/1 var(--display); text-transform: uppercase; }
.currency-icon { grid-row: 1 / span 2; width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 7px 16px rgba(0,0,0,.45)); }
.set-card { position: relative; display: grid; grid-template-columns: minmax(150px, 40%) 1fr; min-height: 315px; border: 1px solid rgba(255,189,69,.42); background: linear-gradient(115deg, rgba(255,189,69,.12), rgba(136,92,255,.09)); overflow: hidden; }
.set-art { width: 100%; height: 100%; min-height: 315px; object-fit: cover; object-position: center 24%; border-right: 1px solid rgba(255,189,69,.28); }
.set-copy { display: flex; flex-direction: column; justify-content: center; padding: 1.5rem; }
.set-card small { color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.set-card strong { display: block; margin-top: .3rem; font: 700 clamp(2rem, 4vw, 3.3rem)/.9 var(--display); text-transform: uppercase; }
.set-card p { margin: .8rem 0 0; color: var(--muted); font-size: .78rem; }
.set-card em { display: block; margin-top: .6rem; color: rgba(239,251,255,.55); font-size: .7rem; font-style: normal; text-transform: uppercase; letter-spacing: .06em; }
.item-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .45rem; margin-top: 1rem; }
.item-stats span { display: flex; align-items: center; gap: .45rem; padding: .45rem .55rem; border: 1px solid rgba(255,255,255,.1); background: rgba(3,15,24,.52); }
.item-stats img { width: 28px; height: 28px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 4px 7px rgba(0,0,0,.4)); }
.item-stats b { font-size: .72rem; letter-spacing: .03em; }
.set-offer { display: grid; gap: .25rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.set-offer span { color: var(--muted); font-size: .66rem; }
.set-offer b { color: var(--cyan-soft); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.economy-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; align-items: stretch; }
.economy-cards article { padding: 1.25rem; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.economy-cards article:nth-child(2) { border-color: rgba(45,227,255,.38); }
.economy-cards small { display: block; margin-bottom: .35rem; color: var(--gold); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.economy-cards strong { display: block; color: var(--cyan-soft); font: 700 1.25rem/1.05 var(--display); text-transform: uppercase; }
.economy-cards p { color: var(--muted); font-size: .82rem; }

.systems { border-bottom: 1px solid var(--line); }
.systems-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.systems-heading > div:first-child { max-width: 760px; }
.system-tabs { display: grid; grid-template-columns: repeat(2, 1fr); width: min(440px, 100%); padding: .35rem; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.system-tabs button { display: flex; align-items: center; gap: .65rem; min-height: 58px; padding: .55rem .7rem; border: 1px solid transparent; color: var(--muted); background: transparent; cursor: pointer; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-align: left; text-transform: uppercase; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.system-tabs button img { width: 40px; height: 40px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 5px 10px rgba(0,0,0,.38)); opacity: .68; transition: opacity .2s ease, transform .2s ease; }
.system-tabs button:hover { color: var(--paper); background: rgba(45,227,255,.045); }
.system-tabs button[aria-selected="true"] { color: var(--paper); border-color: rgba(255,189,69,.48); background: linear-gradient(120deg, rgba(255,189,69,.13), rgba(45,227,255,.07)); box-shadow: inset 0 0 24px rgba(255,189,69,.06); }
.system-tabs button[aria-selected="true"] img { opacity: 1; transform: scale(1.08); }
.system-tabs button:focus-visible, .skill-node:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.system-panel { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; min-height: 450px; margin-top: 2rem; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); background: radial-gradient(circle at 75% 50%, rgba(45,227,255,.1), transparent 40%), linear-gradient(120deg, rgba(255,189,69,.07), rgba(136,92,255,.08)); }
.system-icon { display: block; width: clamp(72px, 8vw, 108px); height: auto; margin: 0 0 .65rem; object-fit: contain; filter: drop-shadow(0 16px 28px rgba(0,0,0,.42)); }
.system-status { margin: 0 0 .45rem; color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.system-copy h3 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: .86; }
.system-copy > p:last-child { max-width: 520px; color: var(--muted); }
.system-visual { min-width: 0; }
.skill-tree { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, auto); gap: 1rem; align-items: center; min-height: 330px; }
.skill-tree::before, .skill-tree::after { content: ""; position: absolute; left: 18%; right: 18%; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(45,227,255,.65), transparent); }
.skill-tree::after { transform: rotate(90deg); }
.core-orb { position: relative; z-index: 2; grid-column: 2; grid-row: 2; display: grid; place-items: center; width: 118px; aspect-ratio: 1; justify-self: center; border: 1px solid rgba(45,227,255,.5); border-radius: 50%; background: radial-gradient(circle, rgba(45,227,255,.2), rgba(4,21,33,.95) 68%); box-shadow: 0 0 55px rgba(45,227,255,.13); }
.core-orb small, .core-orb span { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.core-orb b { font: 800 2.7rem/.9 var(--display); color: var(--cyan-soft); }
.skill-node { position: relative; z-index: 3; display: grid; place-items: center; min-height: 92px; padding: .65rem; border: 1px solid var(--line); color: var(--paper); background: rgba(5,22,34,.94); cursor: pointer; }
.skill-node.active { border-color: var(--gold); box-shadow: inset 0 0 30px rgba(255,189,69,.09), 0 8px 30px rgba(0,0,0,.25); }
.skill-node img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); transition: transform .2s ease; }
.skill-node.active img { transform: scale(1.08); }
.skill-node b { margin-top: .35rem; font: 700 1rem/1 var(--display); text-transform: uppercase; }
.skill-node small { color: var(--muted); font-size: .74rem; }
.skill-node.power { grid-column: 2; grid-row: 1; }
.skill-node.control { grid-column: 3; grid-row: 2; }
.skill-node.mobility { grid-column: 2; grid-row: 3; }
.skill-node.guard { grid-column: 1; grid-row: 2; }
.stat-detail { margin: 1rem 0 0; min-height: 48px; color: var(--muted); text-align: center; font-size: .78rem; }
.stat-detail b { color: var(--cyan-soft); }
.clan-ledger { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.ledger-card { padding: 1.25rem; border: 1px solid var(--line); background: rgba(4,20,31,.8); }
.ledger-card small, .ledger-card strong, .ledger-card span { display: block; }
.ledger-card small { color: var(--muted); font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; }
.ledger-card strong { margin: .35rem 0; color: var(--cyan-soft); font: 700 1.8rem/1 var(--display); text-transform: uppercase; }
.ledger-card span { color: var(--muted); font-size: .72rem; }
.ledger-card.prestige { border-color: rgba(255,189,69,.4); }
.ledger-card.prestige strong { color: var(--gold); }
.clan-perk { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.25rem; border: 1px solid rgba(45,227,255,.35); background: rgba(45,227,255,.06); }
.clan-perk span { color: var(--muted); font-size: .72rem; }
.clan-perk b { color: var(--paper); font: 700 1.1rem/1 var(--display); text-transform: uppercase; }
.war-cycle { display: grid; gap: 1rem; }
.cycle-track { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.cycle-track span { position: relative; padding: 1.2rem .5rem 0 0; color: var(--muted); font-size: .68rem; text-transform: uppercase; }
.cycle-track span::before { content: ""; position: absolute; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px rgba(45,227,255,.5); }
.cycle-track b { display: block; color: var(--paper); font: 700 1rem/1 var(--display); }
.rank-rewards { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.rank-rewards span { padding: .8rem; border: 1px solid var(--line); color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.rank-rewards b { display: block; margin-bottom: .25rem; color: var(--gold); font: 700 1.1rem/1 var(--display); }
.forge-chain { display: flex; align-items: center; justify-content: center; gap: .55rem; flex-wrap: wrap; }
.forge-item { display: grid; place-items: center; width: 98px; min-height: 118px; padding: .7rem; border: 1px solid rgba(255,189,69,.35); background: linear-gradient(145deg, rgba(255,189,69,.1), rgba(6,25,38,.92)); text-align: center; }
.forge-item img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 7px 12px rgba(0,0,0,.45)); }
.forge-item.upgraded { border-color: var(--cyan); box-shadow: inset 0 0 30px rgba(45,227,255,.08); }
.forge-item b { margin-top: .45rem; font: 700 1rem/1 var(--display); text-transform: uppercase; }
.forge-item small { color: var(--muted); font-size: .7rem; }
.forge-plus, .forge-arrow { color: var(--gold); font: 800 1.5rem/1 var(--display); }
.forge-note { margin: 1rem 0 0; color: var(--muted); text-align: center; font-size: .72rem; }

.roadmap-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.roadmap-heading h2 { max-width: 740px; }
.roadmap-heading p { max-width: 340px; color: var(--muted); }
.roadmap ol { display: grid; grid-template-columns: repeat(6, 1fr); padding: 0; margin: 3rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.roadmap li { position: relative; padding: 2rem 1.2rem 0 0; }
.roadmap li::before { content: ""; position: absolute; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: #3a5663; }
.roadmap li.active::before { background: var(--gold); box-shadow: 0 0 0 7px rgba(255,189,69,.1), 0 0 20px var(--gold); }
.roadmap li > span { display: block; color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.roadmap li strong { display: block; margin-top: .55rem; font: 700 1.24rem/1 var(--display); text-transform: uppercase; }
.roadmap li p { color: var(--muted); font-size: .78rem; }

.final-call { position: relative; min-height: 70vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.final-call::before { content: ""; position: absolute; width: min(580px, 92vw); height: min(580px, 92vw); /* a fixed 580px widened the whole page to 478px on a 375px phone */ border: 1px solid rgba(45,227,255,.15); border-radius: 50%; box-shadow: 0 0 100px rgba(45,227,255,.08), inset 0 0 100px rgba(45,227,255,.05); }
.final-call > * { position: relative; }
.final-call h2 { max-width: 800px; }
.final-call > p:not(.eyebrow) { margin: -0.5rem 0 2rem; color: var(--muted); }
footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem clamp(1.2rem, 5vw, 5rem); border-top: 1px solid var(--line); }
footer .brand-mark { width: 44px; height: 44px; }
footer p { color: var(--muted); font-size: .72rem; }
.footer-meta { display: grid; gap: .35rem; max-width: 560px; text-align: right; }
.footer-meta p { margin: 0; }
.footer-legal { font-size: .72rem; line-height: 1.7; color: var(--muted); }
.footer-legal strong { color: var(--paper); font-weight: 600; }
.footer-legal a { display: inline-block; padding-block: .8rem; color: var(--cyan-soft); text-decoration-color: rgba(140,241,255,.4); text-underline-offset: .2em; }

@keyframes hero-drift { from { transform: scale(1.02); } to { transform: scale(1.08) translate3d(-1%, -1%, 0); } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 68px; }
  .site-header nav { display: none; }
  .hero { min-height: 920px; align-items: flex-start; }
  .hero-art { height: 56%; object-position: 55% top; }
  .hero-shade { background: linear-gradient(0deg, #06121d 33%, rgba(6,18,29,.78) 52%, rgba(6,18,29,.2) 72%, rgba(3,12,19,.25) 100%); } /* the art carries baked-in UI tiles behind the lede */
  .hero-copy { align-self: flex-end; margin: 0 1.2rem 15rem; width: calc(100% - 2.4rem); text-shadow: 0 1px 2px rgba(3,12,19,.9), 0 2px 22px rgba(3,12,19,.95); }
  .hero-copy .button { text-shadow: none; }
  h1 { font-size: clamp(3.7rem, 17vw, 6.6rem); }
  .wind-console { top: 88px; right: 1rem; }
  .launch-card { right: 1.2rem; bottom: 2rem; width: calc(100% - 2.4rem); }
  .briefing-grid, .battle-window, .economy-grid { grid-template-columns: 1fr; }
  .battle-window figure { order: -1; transform: none; }
  .modes-heading, .roadmap-heading { align-items: flex-start; flex-direction: column; }
  .systems-heading { grid-template-columns: 1fr; align-items: start; }
  .system-tabs { width: 100%; }
  .system-panel { grid-template-columns: 1fr; }
  .mode-panel { grid-template-columns: 1fr; }
  .clan-callout { grid-template-columns: auto 1fr; }
  .clan-status { grid-column: 2; justify-self: start; }
  .mode-number { position: absolute; opacity: .13; }
  .team-diagram { justify-content: flex-start; flex-wrap: wrap; }
  .economy-cards { grid-template-columns: 1fr; }
  .set-card { grid-template-columns: minmax(150px, 42%) 1fr; }
  .roadmap ol { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); margin-left: .4rem; }
  .roadmap li { padding: 0 0 2rem 2rem; }
  .roadmap li::before { top: .45rem; left: -5px; }
  footer { align-items: flex-start; flex-direction: column; }
  .footer-meta { text-align: left; }
}

@media (max-width: 520px) {
  .brand strong { font-size: .95rem; }
  .status-chip { padding: .4rem .7rem; font-size: .7rem; }
  .hero { min-height: 850px; }
  .hero-copy { margin-bottom: 15.5rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .section-shell { width: min(100% - 2rem, 1220px); }
  .mode-tabs { width: 100%; }
  .mode-tabs button { flex: 1; min-width: 0; }
  .clan-callout { grid-template-columns: 1fr; }
  .clan-status { grid-column: 1; }
  .wallets { grid-template-columns: 1fr; }
  .set-card { grid-template-columns: 1fr; }
  .set-art { height: 420px; min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,189,69,.28); object-position: center 18%; }
  .system-tabs { grid-template-columns: 1fr 1fr; }
  .skill-tree { transform: scale(.92); transform-origin: center; }
  .clan-ledger, .rank-rewards { grid-template-columns: 1fr 1fr; }
  .clan-perk { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art { animation: none; }
  * { transition-duration: .01ms !important; }
}
