@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
  --ink: #101411;
  --ink-2: #171d19;
  --ink-3: #222a24;
  --paper: #e0e1d3;
  --paper-2: #c8c9ba;
  --muted: #9ea494;
  --fog: #cfd0c0;
  --acid: #b6c99a;
  --rust: #d56840;
  --rust-bright: #ed8055;
  --gold: #dfb75e;
  --line: rgba(224, 225, 211, .18);
  --line-dark: rgba(16, 20, 17, .2);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--paper); font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif; line-height: 1.7; }
body, button, a { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure { margin-top: 0; }
h1, h2, h3, .display-type { max-width: 100%; overflow-wrap: anywhere; font-family: 'Barlow Condensed', 'Noto Sans SC', sans-serif; letter-spacing: 0; }
[id] { scroll-margin-top: 88px; }
.shell { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 50; top: -60px; left: 16px; padding: 8px 14px; background: var(--gold); color: var(--ink); }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; z-index: 30; inset: 0 0 auto; background: rgba(10, 14, 11, .89); border-bottom: 1px solid transparent; transition: background .2s, border-color .2s; }
.site-header.scrolled, .site-header.inner-header { background: rgba(10, 14, 11, .98); border-color: var(--line); }
.nav-wrap { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.brand { position: relative; display: flex; align-items: center; width: 184px; height: 78px; flex: 0 0 184px; }
.brand img { width: 118px; height: auto; object-fit: contain; }
.brand-caption { position: absolute; left: 122px; bottom: 17px; color: var(--muted); font: 600 10px/1 'Barlow Condensed', sans-serif; letter-spacing: 2px; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; color: var(--muted); font-size: 13px; }
.main-nav a { position: relative; padding: 28px 0 24px; white-space: nowrap; }
.main-nav a::after { position: absolute; right: 0; bottom: 19px; left: 0; height: 2px; background: var(--rust); content: ''; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a.active { color: var(--paper); }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav .nav-status { padding: 9px 14px; border: 1px solid var(--rust); color: var(--paper); }
.main-nav .nav-status::after { display: none; }
.main-nav .nav-status:hover, .main-nav .nav-status.active { background: var(--rust); color: var(--ink); }
.phase-indicator { display: flex; align-items: center; gap: 8px; margin-left: 4px; color: var(--acid); font: 600 10px/1 'Barlow Condensed', sans-serif; letter-spacing: 1.2px; white-space: nowrap; }
.phase-indicator i { width: 6px; height: 6px; background: var(--gold); box-shadow: 0 0 0 4px rgba(223, 183, 94, .12); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; margin-left: auto; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 1px; margin: 5px 0; background: var(--paper); }

.hero { position: relative; display: flex; align-items: center; min-height: min(720px, calc(100vh - 36px)); overflow: hidden; background: #08100b url('assets/hero-bg.png') center top / cover no-repeat; }
.hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 11, 8, .91) 0%, rgba(6, 11, 8, .58) 44%, rgba(6, 11, 8, .2) 73%), rgba(4, 8, 5, .16); content: ''; }
.hero-content { position: relative; z-index: 1; padding: 125px 0 84px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 19px; color: var(--acid); font: 600 12px/1.1 'Barlow Condensed', sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 25px; height: 2px; background: var(--rust); }
.hero h1 { max-width: 650px; margin-bottom: 22px; color: #f0f1e4; font-size: clamp(60px, 8vw, 106px); line-height: .94; }
h1 em, h2 em { color: var(--rust); font-style: normal; }
.hero-copy { max-width: 430px; margin-bottom: 30px; color: var(--paper-2); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 20px; border: 1px solid transparent; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s, border-color .2s, color .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--rust); color: var(--ink); }
.button-primary:hover, .button-primary:focus-visible { background: var(--rust-bright); }
.button-download { min-height: 52px; padding-right: 24px; padding-left: 24px; font-size: 16px; }
.button-ghost { border-color: rgba(224, 225, 211, .48); color: var(--paper); }
.button-ghost:hover, .button-ghost:focus-visible { border-color: var(--paper); background: rgba(224, 225, 211, .08); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 86px; }
.hero-facts div { display: flex; flex-direction: column; min-width: 110px; padding-left: 12px; border-left: 1px solid var(--rust); }
.hero-facts strong { color: var(--paper); font: 600 16px/1.2 'Barlow Condensed', 'Noto Sans SC', sans-serif; }
.hero-facts span { color: var(--muted); font-size: 11px; }
.hero-bottom { position: absolute; z-index: 2; right: 0; bottom: 21px; left: 0; display: flex; justify-content: space-between; color: rgba(224, 225, 211, .55); font: 500 10px 'Barlow Condensed', sans-serif; letter-spacing: 2px; }
.hero-bottom .scroll-cue { display: flex; align-items: center; gap: 8px; letter-spacing: 1px; }
.scroll-cue i { display: block; width: 22px; height: 1px; background: var(--rust); }

.release-strip { background: var(--rust); color: var(--ink); }
.release-inner { display: flex; align-items: center; gap: 18px; min-height: 54px; font-size: 13px; }
.release-label { font: 700 11px 'Barlow Condensed', sans-serif; letter-spacing: 1.5px; }
.release-title { font-weight: 700; }
.release-inner a { margin-left: auto; font-weight: 700; }
.release-inner a:hover { text-decoration: underline; }

.home-section, .content-section { padding: 110px 0; }
.section-light { background: var(--fog); color: var(--ink); }
.section-dark { background: var(--ink-2); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 46px; }
.section-head > div, .page-hero-content, .content-heading, .prose { min-width: 0; }
.section-head h2, .content-heading h2 { margin-bottom: 10px; color: #eff0e2; font-size: clamp(45px, 5.5vw, 70px); line-height: .98; }
.section-light .section-head h2, .section-light .content-heading h2 { color: var(--ink); }
.section-light .eyebrow { color: #576052; }
.section-lede { max-width: 590px; margin: 0; color: var(--muted); font-size: 16px; }
.section-light .section-lede { color: #5a6257; }
.more-link, .inline-link { display: inline-flex; align-items: center; gap: 11px; color: var(--rust); font-size: 13px; font-weight: 700; white-space: nowrap; }
.more-link:hover, .inline-link:hover { color: var(--gold); }
.more-link::after, .inline-link::after { content: '→'; }

.world-preview { display: grid; grid-template-columns: 1.45fr .55fr; min-height: 470px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.world-visual { position: relative; min-height: 470px; overflow: hidden; }
.world-visual img { width: 100%; height: 100%; object-fit: cover; }
.world-visual::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(6, 10, 8, .84)); content: ''; }
.world-caption { position: absolute; z-index: 1; right: 25px; bottom: 23px; left: 25px; }
.world-caption span { color: var(--acid); font: 600 11px 'Barlow Condensed', sans-serif; letter-spacing: 1.7px; }
.world-caption strong { display: block; margin-top: 3px; color: var(--paper); font: 700 31px/1.1 'Barlow Condensed', 'Noto Sans SC', sans-serif; }
.route-list { display: grid; align-content: center; padding: 28px 0 28px 35px; }
.route-list article { position: relative; padding: 19px 0 19px 28px; border-left: 1px solid var(--line); }
.route-list article::before { position: absolute; top: 29px; left: -4px; width: 7px; height: 7px; background: var(--rust); content: ''; }
.route-list small { color: var(--acid); font: 600 10px 'Barlow Condensed', sans-serif; letter-spacing: 1px; }
.route-list h3 { margin: 3px 0 5px; font-size: 23px; line-height: 1.1; }
.route-list p { margin: 0; color: var(--muted); font-size: 12px; }

.mechanic-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.mechanic-item { min-height: 210px; padding: 29px 28px 25px 0; border-right: 1px solid var(--line-dark); }
.mechanic-item + .mechanic-item { padding-left: 28px; }
.mechanic-item:last-child { border-right: 0; }
.mechanic-item .number { color: var(--rust); font: 700 12px 'Barlow Condensed', sans-serif; letter-spacing: 1px; }
.mechanic-item h3 { margin: 30px 0 9px; font-size: 29px; line-height: 1; }
.mechanic-item p { margin: 0; color: #5e665a; font-size: 13px; }

.guide-preview { display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); border-top: 1px solid var(--line); }
.guide-lead { position: relative; min-height: 340px; overflow: hidden; border-right: 1px solid var(--line); }
.guide-lead img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.65); }
.guide-lead div { position: absolute; right: 27px; bottom: 27px; left: 27px; }
.guide-lead small, .guide-card small { color: var(--acid); font: 600 10px 'Barlow Condensed', sans-serif; letter-spacing: 1.2px; }
.guide-lead h3 { max-width: 330px; margin: 7px 0 0; color: var(--paper); font-size: 34px; line-height: 1.06; }
.guide-card { display: flex; min-height: 340px; flex-direction: column; padding: 28px 23px; border-right: 1px solid var(--line); }
.guide-card:last-child { border-right: 0; }
.guide-card h3 { margin: 44px 0 11px; color: var(--paper); font-size: 25px; line-height: 1.15; }
.guide-card p { color: var(--muted); font-size: 12px; }
.guide-card .inline-link { margin-top: auto; }

.news-list { border-top: 1px solid var(--line-dark); }
.news-row { display: grid; grid-template-columns: 140px 1fr auto; align-items: center; gap: 30px; min-height: 116px; border-bottom: 1px solid var(--line-dark); }
.news-row time { color: #657064; font: 600 12px 'Barlow Condensed', sans-serif; letter-spacing: 1px; }
.news-row h3 { margin: 0 0 5px; color: var(--ink); font-size: 24px; line-height: 1.2; }
.news-row p { margin: 0; color: #62695e; font-size: 12px; }
.news-tag { padding: 4px 8px; border: 1px solid #8c927f; color: #555d52; font-size: 10px; }
.news-row:hover h3 { color: var(--rust); }

.archive-preview { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 12px; }
.archive-figure { position: relative; min-height: 360px; margin: 0; overflow: hidden; border: 1px solid var(--line); background: #090d0a; }
.archive-figure img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; transition: transform .35s; }
.archive-figure:first-child img { object-fit: contain; }
.archive-figure:hover img { transform: scale(1.025); }
.archive-figure::after { position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(5, 8, 6, .88)); content: ''; }
.archive-figure figcaption { position: absolute; z-index: 1; right: 20px; bottom: 20px; left: 20px; }
.archive-figure small { color: var(--acid); font: 600 10px 'Barlow Condensed', sans-serif; letter-spacing: 1.3px; }
.archive-figure strong { display: block; color: var(--paper); font: 700 27px/1.1 'Barlow Condensed', 'Noto Sans SC', sans-serif; }

.status-preview { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--line); background: var(--ink-3); }
.status-copy { padding: 42px; }
.status-copy h3 { margin: 4px 0 13px; color: var(--paper); font-size: 38px; line-height: 1; }
.status-copy p { color: var(--muted); font-size: 13px; }
.status-kicker { color: var(--gold); font: 600 11px 'Barlow Condensed', sans-serif; letter-spacing: 1.4px; }
.status-lines { border-left: 1px solid var(--line); }
.status-line { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; min-height: 89px; padding: 19px 28px; border-bottom: 1px solid var(--line); }
.status-line:last-child { border-bottom: 0; }
.status-line strong { display: block; font-size: 14px; }
.status-line span { color: var(--muted); font-size: 11px; }
.status-badge { padding: 5px 9px; border: 1px solid var(--gold); color: var(--gold) !important; font-size: 10px !important; white-space: nowrap; }

.page-hero { position: relative; display: flex; align-items: end; min-height: 510px; padding: 150px 0 72px; overflow: hidden; background-color: #0b100d; background-position: center; background-size: cover; }
.page-hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 11, 8, .92), rgba(7, 11, 8, .45) 65%, rgba(7, 11, 8, .62)), linear-gradient(0deg, rgba(7, 11, 8, .8), transparent 60%); content: ''; }
.page-hero--world { background-image: url('assets/game/world-map-cold-furnace.png'); }
.page-hero--gameplay { background-image: url('assets/game/frontline.png'); }
.page-hero--guides { background-image: url('assets/game/cold-furnace.png'); }
.page-hero--news { background-image: url('assets/game/frontline.png'); }
.page-hero--archive { background-image: url('assets/tank-duel.png'); }
.page-hero--status { background-image: url('assets/hero-bg.png'); }
.page-hero-content { position: relative; z-index: 1; }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 11px; }
.breadcrumbs a:hover { color: var(--paper); }
.page-hero h1 { max-width: 760px; margin: 0 0 16px; color: #f0f1e4; font-size: clamp(62px, 8vw, 100px); line-height: .92; }
.page-hero-copy { max-width: 650px; margin: 0; color: var(--paper-2); font-size: 16px; }

.intro-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; }
.content-heading h2 { font-size: clamp(42px, 5vw, 62px); }
.prose { color: var(--paper-2); font-size: 14px; }
.prose p { margin-bottom: 18px; }
.prose strong { color: var(--paper); }
.section-light .prose { color: #525a50; }
.section-light .prose strong { color: var(--ink); }
.callout { margin-top: 28px; padding: 22px 0 0 22px; border-top: 1px solid var(--line); border-left: 3px solid var(--rust); }
.section-light .callout { border-top-color: var(--line-dark); }
.callout strong { display: block; margin-bottom: 5px; }
.callout p { margin: 0; color: var(--muted); font-size: 12px; }

.location-list { border-top: 1px solid var(--line); }
.location-item { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(280px, .7fr); min-height: 250px; border-bottom: 1px solid var(--line); }
.location-number { padding-top: 31px; color: var(--rust); font: 700 13px 'Barlow Condensed', sans-serif; }
.location-copy { align-self: center; padding: 28px 45px 28px 0; }
.location-copy small { color: var(--acid); font: 600 10px 'Barlow Condensed', sans-serif; letter-spacing: 1.2px; }
.location-copy h3 { margin: 7px 0 10px; color: var(--paper); font-size: 35px; line-height: 1; }
.location-copy p { margin: 0; color: var(--muted); font-size: 13px; }
.location-image { min-height: 250px; overflow: hidden; }
.location-image img { width: 100%; height: 100%; object-fit: cover; }

.feature-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); }
.feature-detail { min-height: 245px; padding: 31px 38px 31px 0; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.feature-detail:nth-child(even) { padding-left: 38px; border-right: 0; }
.feature-detail .number { color: var(--rust); font: 700 12px 'Barlow Condensed', sans-serif; }
.feature-detail h3 { margin: 28px 0 9px; color: var(--ink); font-size: 29px; line-height: 1.05; }
.feature-detail p { margin: 0; color: #596157; font-size: 13px; }

.combat-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 450px; background: #080b09; }
.combat-band-image { min-height: 450px; }
.combat-band-image img { width: 100%; height: 100%; object-fit: contain; }
.combat-band-copy { align-self: center; max-width: 560px; padding: 55px; }
.combat-band-copy h2 { margin-bottom: 15px; color: var(--paper); font-size: 52px; line-height: .98; }
.combat-band-copy p { color: var(--muted); font-size: 13px; }

.guide-list { border-top: 1px solid var(--line); }
.guide-entry { display: grid; grid-template-columns: 120px minmax(0, 1fr) 210px; align-items: center; gap: 30px; min-height: 154px; border-bottom: 1px solid var(--line); }
.guide-entry .number { color: var(--rust); font: 700 13px 'Barlow Condensed', sans-serif; }
.guide-entry h2 { margin: 0 0 7px; color: var(--paper); font-size: 30px; line-height: 1.1; }
.guide-entry p { margin: 0; color: var(--muted); font-size: 12px; }
.guide-meta { display: flex; justify-content: flex-end; gap: 8px; }
.guide-meta span { padding: 5px 8px; border: 1px solid var(--line); color: var(--acid); font-size: 10px; }

.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.step { padding: 28px 25px 12px 0; border-right: 1px solid var(--line-dark); }
.step + .step { padding-left: 25px; }
.step:last-child { border-right: 0; }
.step strong { display: block; margin: 18px 0 8px; color: var(--ink); font-size: 18px; }
.step p { color: #5c6459; font-size: 12px; }
.step .number { color: var(--rust); font: 700 12px 'Barlow Condensed', sans-serif; }

.news-filter { display: flex; gap: 7px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.news-filter button { padding: 10px 15px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; }
.news-filter button:hover, .news-filter button.active { border-color: var(--rust); color: var(--paper); }
.report-list { border-top: 1px solid var(--line); }
.report-item { display: grid; grid-template-columns: 150px minmax(0, 1fr) 110px; gap: 32px; min-height: 180px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.report-item.is-hidden { display: none; }
.report-date { color: var(--acid); font: 600 12px 'Barlow Condensed', sans-serif; letter-spacing: 1px; }
.report-item h2 { margin: 0 0 10px; color: var(--paper); font-size: 31px; line-height: 1.1; }
.report-item p { margin: 0; color: var(--muted); font-size: 13px; }
.report-type { justify-self: end; align-self: start; padding: 5px 8px; border: 1px solid var(--line); color: var(--muted); font-size: 10px; }

.tank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.tank-card { display: flex; min-width: 0; min-height: 480px; flex-direction: column; border: 1px solid var(--line); background: var(--ink-3); }
.tank-image { display: grid; place-items: center; height: 220px; overflow: hidden; background: #0a0e0b; }
.tank-image img { width: 100%; height: 100%; object-fit: contain; }
.tank-image--pixel img { width: 74%; height: 74%; image-rendering: pixelated; }
.tank-card-body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.tank-card small { color: var(--acid); font: 600 10px 'Barlow Condensed', sans-serif; letter-spacing: 1.3px; }
.tank-card h2 { margin: 8px 0 12px; color: var(--paper); font-size: 31px; line-height: 1; }
.tank-card p { color: var(--muted); font-size: 12px; }
.tank-traits { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.tank-traits span { color: var(--paper-2); font-size: 11px; }
.tank-traits span::before { margin-right: 8px; color: var(--rust); content: '◆'; font-size: 7px; }
.acquire { margin-top: 17px; color: var(--gold) !important; }

.record-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.record-card { position: relative; min-height: 400px; overflow: hidden; border: 1px solid var(--line); background: #090d0a; }
.record-card img { width: 100%; height: 400px; object-fit: cover; }
.record-card--pixel img { object-fit: contain; image-rendering: pixelated; }
.record-card::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(5, 8, 6, .94)); content: ''; }
.record-card div { position: absolute; z-index: 1; right: 24px; bottom: 22px; left: 24px; }
.record-card small { color: var(--acid); font: 600 10px 'Barlow Condensed', sans-serif; letter-spacing: 1.3px; }
.record-card h2 { margin: 7px 0 8px; color: var(--paper); font-size: 30px; line-height: 1; }
.record-card p { margin: 0; color: var(--paper-2); font-size: 11px; }

.status-board { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.status-block { min-height: 230px; padding: 33px 34px 30px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.status-block:nth-child(even) { padding-left: 34px; border-right: 0; }
.status-block small { color: var(--acid); font: 600 10px 'Barlow Condensed', sans-serif; letter-spacing: 1.3px; }
.status-block h2 { margin: 27px 0 10px; color: var(--paper); font-size: 33px; line-height: 1; }
.status-block p { margin: 0; color: var(--muted); font-size: 13px; }
.state-pill { display: inline-block; margin-top: 20px; padding: 5px 9px; border: 1px solid var(--gold); color: var(--gold); font-size: 10px; }
.release-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.release-actions .state-pill { margin-top: 0; }
.release-hash { margin-top: 18px !important; }
.release-hash strong { display: block; margin-bottom: 5px; color: var(--paper-2); font-size: 10px; letter-spacing: 1px; }
.release-hash code { display: block; max-width: 100%; color: var(--muted); font: 10px/1.55 Consolas, monospace; overflow-wrap: anywhere; }
.known-list { margin: 25px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.known-list li { display: grid; grid-template-columns: 100px 1fr; gap: 25px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); font-size: 13px; }
.known-list strong { color: var(--rust); }
.known-list span { color: #50584e; }

.closing-band { padding: 58px 0; background: var(--rust); color: var(--ink); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.closing-band .eyebrow { margin-bottom: 9px; color: var(--ink); }
.closing-band .eyebrow span { background: var(--ink); }
.closing-band h2 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: .95; }
.closing-band h2 em { color: var(--paper); }
.closing-band .button-primary { background: var(--ink); color: var(--paper); }
.closing-band .button-primary:hover { background: #27302a; }

.site-footer { padding: 43px 0 48px; background: #0a0e0b; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: .8fr 1.4fr .8fr; align-items: end; gap: 30px; }
.footer-brand img { width: 106px; height: auto; margin-bottom: 7px; }
.footer-brand p { margin: 0; font: 600 10px 'Barlow Condensed', sans-serif; letter-spacing: 1.5px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; font-size: 11px; }
.footer-links a:hover { color: var(--paper); }
.footer-meta { display: flex; flex-direction: column; align-items: end; gap: 4px; font-size: 10px; }

@media (max-width: 980px) {
  .shell { width: min(var(--max), calc(100% - 40px)); }
  .nav-wrap { min-height: 68px; }
  .brand { width: 155px; height: 68px; flex-basis: 155px; }
  .brand img { width: 103px; }
  .brand-caption { left: 107px; bottom: 14px; font-size: 8px; }
  .phase-indicator { display: none; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 68px; right: 20px; left: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; border: 1px solid var(--line); background: #101612; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; }
  .main-nav a::after { bottom: 6px; }
  .main-nav .nav-status { margin-top: 6px; padding: 11px 13px; text-align: center; }
  .world-preview { grid-template-columns: 1fr; }
  .route-list { grid-template-columns: repeat(3, 1fr); padding: 25px 0 0; }
  .route-list article { padding-right: 18px; }
  .guide-preview { grid-template-columns: 1fr 1fr; }
  .guide-lead { grid-row: span 2; }
  .guide-card:nth-child(3) { border-right: 0; }
  .guide-card:last-child { grid-column: 2; border-top: 1px solid var(--line); }
  .archive-preview { grid-template-columns: 1fr 1fr; }
  .archive-figure:first-child { grid-column: span 2; }
  .intro-grid { grid-template-columns: .8fr 1.2fr; gap: 55px; }
  .tank-grid { grid-template-columns: repeat(2, 1fr); }
  .record-grid { grid-template-columns: repeat(2, 1fr); }
  .record-card:last-child { grid-column: span 2; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .step:nth-child(3) { padding-left: 0; }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 32px); }
  .hero { min-height: 710px; background-position: 59% 16%; }
  .hero::after { background: rgba(6, 11, 8, .66); }
  .hero-content { padding-top: 112px; }
  .hero h1 { font-size: 63px; }
  .hero-copy { max-width: 310px; font-size: 14px; }
  .hero-facts { gap: 17px; margin-top: 60px; }
  .hero-facts div { min-width: 85px; padding-left: 8px; }
  .hero-bottom { font-size: 8px; }
  .hero-bottom > span:last-child { display: none; }
  .release-inner { flex-wrap: wrap; gap: 2px 12px; padding: 11px 0; font-size: 12px; }
  .release-inner a { width: 100%; margin-left: 0; }
  .home-section, .content-section { padding: 76px 0; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 30px; }
  .section-head h2, .content-heading h2 { font-size: 49px; }
  .world-visual, .world-preview { min-height: 340px; }
  .route-list { grid-template-columns: 1fr; padding-top: 18px; }
  .route-list article { padding: 15px 0 15px 24px; }
  .mechanic-grid { grid-template-columns: 1fr; }
  .mechanic-item, .mechanic-item + .mechanic-item { min-height: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .mechanic-item h3 { margin-top: 18px; }
  .guide-preview { grid-template-columns: 1fr; }
  .guide-lead { grid-row: auto; min-height: 290px; border-right: 0; }
  .guide-card, .guide-card:last-child { grid-column: auto; min-height: 245px; border-top: 1px solid var(--line); border-right: 0; }
  .news-row { grid-template-columns: 1fr auto; gap: 12px; padding: 23px 0; }
  .news-row time { grid-column: span 2; }
  .news-row p { padding-right: 8px; }
  .archive-preview { grid-template-columns: 1fr; }
  .archive-figure:first-child { grid-column: auto; }
  .archive-figure, .archive-figure img { min-height: 285px; }
  .status-preview { grid-template-columns: 1fr; }
  .status-copy { padding: 30px 24px; }
  .status-lines { border-top: 1px solid var(--line); border-left: 0; }
  .page-hero { min-height: 450px; padding: 126px 0 55px; }
  .page-hero h1 { font-size: 61px; }
  .page-hero-copy { font-size: 14px; }
  .intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .location-item { grid-template-columns: 48px 1fr; min-height: 0; }
  .location-number { padding-top: 28px; }
  .location-copy { padding: 26px 0; }
  .location-image { grid-column: span 2; min-height: 210px; }
  .feature-detail-grid { grid-template-columns: 1fr; }
  .feature-detail, .feature-detail:nth-child(even) { min-height: 0; padding: 27px 0; border-right: 0; }
  .combat-band { grid-template-columns: 1fr; }
  .combat-band-image { min-height: 290px; }
  .combat-band-copy { padding: 38px 24px; }
  .combat-band-copy h2 { font-size: 43px; }
  .guide-entry { grid-template-columns: 45px 1fr; gap: 15px; padding: 25px 0; }
  .guide-meta { grid-column: 2; justify-content: start; }
  .step-grid { grid-template-columns: 1fr; }
  .step, .step + .step, .step:nth-child(3) { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .report-item { grid-template-columns: 1fr auto; gap: 12px; padding: 27px 0; }
  .report-date { grid-column: span 2; }
  .report-item p { padding-right: 8px; }
  .tank-grid { grid-template-columns: 1fr; }
  .tank-card { min-height: 0; }
  .record-grid { grid-template-columns: 1fr; }
  .record-card:last-child { grid-column: auto; }
  .status-board { grid-template-columns: 1fr; }
  .status-block, .status-block:nth-child(even) { min-height: 0; padding: 27px 0; border-right: 0; }
  .known-list li { grid-template-columns: 1fr; gap: 5px; }
  .closing-inner { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; }
  .footer-meta { align-items: start; }
}

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