/* Army FUZE × Eduba - tokens from brand-pack.json */
:root {
  --c-primary: #010101;
  --c-secondary: #1A1A1A;
  --c-accent: #FFCC01;
  --c-bg: #010101;
  --c-panel: #0F0F0F;
  --c-panel-2: #1A1A1A;
  --c-text: #CBCCCB;
  --c-heading: #FFFFFF;
  --c-muted: #8C8C8C;
  --c-rule: #2A2A2A;
  --c-rule-soft: #1F1F1F;

  --r-sm: 0px; --r-md: 2px; --r-lg: 4px;
  --s-section: 72px;
  --shadow-subtle: 0 1px 2px rgba(0,0,0,0.5);
  --shadow-medium: 0 10px 30px rgba(0,0,0,0.7);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', Menlo, Monaco, Consolas, monospace;
  --wrap-max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.6; color: var(--c-text); background: var(--c-bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--c-heading); font-weight: 700; margin: 0; letter-spacing: 0.01em; text-transform: uppercase; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap-max); margin: 0 auto; padding: 0 24px; }

.masthead { background: var(--c-bg); border-bottom: 1px solid var(--c-rule); }
.masthead__inner { max-width: var(--wrap-max); margin: 0 auto; padding: 22px 24px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.masthead__logo img { height: 56px; width: auto; }
.masthead__meta { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 2px; }
.masthead__kicker { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; font-family: var(--font-mono); }
.masthead__for { font-size: 14px; color: var(--c-heading); font-weight: 500; }
.masthead__rule { height: 3px; background: var(--c-accent); }

.hero { padding: 80px 0 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; padding: 6px 14px 6px 10px; border: 1px solid var(--c-rule); border-radius: var(--r-sm); background: var(--c-panel); font-family: var(--font-mono); }
.eyebrow__dot { width: 8px; height: 8px; background: var(--c-accent); border-radius: 50%; display: inline-block; }
.eyebrow__sep { color: var(--c-rule); }
h1#headline { margin: 28px 0 24px; font-size: clamp(34px, 5.5vw, 58px); line-height: 1.08; font-weight: 700; color: var(--c-heading); max-width: 940px; letter-spacing: 0.01em; text-transform: uppercase; }
.hero__standfirst { max-width: 760px; font-size: 18px; line-height: 1.65; color: var(--c-text); margin: 0; text-transform: none; font-family: var(--font-body); }

.statbar { border-top: 1px solid var(--c-rule); border-bottom: 1px solid var(--c-rule); background: var(--c-panel); margin-top: 48px; }
.statbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; border-right: 1px solid var(--c-rule); position: relative; }
.stat:last-child { border-right: 0; }
.stat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--c-accent); opacity: 0; transition: opacity 160ms ease; }
.stat:hover::before { opacity: 1; }
.stat__num { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--c-heading); line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; }
.stat__label { font-size: 13px; color: var(--c-muted); margin-top: 6px; line-height: 1.4; font-family: var(--font-mono); letter-spacing: 0.02em; text-transform: none; }

section.frame, section.case, section.paper, section.cred, section.cta { padding: var(--s-section) 0; border-bottom: 1px solid var(--c-rule-soft); }
section.cta { border-bottom: 0; }
.section-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin-bottom: 18px; display: inline-block; padding-left: 14px; position: relative; }
.section-label::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 1px; background: var(--c-accent); }
.section-label--light { color: #010101; }
.section-label--light::before { background: #010101; }
.h2 { font-size: clamp(24px, 3.2vw, 36px); line-height: 1.15; font-weight: 700; color: var(--c-heading); max-width: 820px; margin-bottom: 18px; letter-spacing: 0.01em; text-transform: uppercase; }
.lede { font-size: 17px; line-height: 1.7; max-width: 760px; color: var(--c-text); margin-bottom: 32px; }

.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; margin-top: 16px; }
.split__text p { font-size: 16px; line-height: 1.75; }
.layermap { border: 1px solid var(--c-rule); border-top: 3px solid var(--c-accent); border-radius: var(--r-lg); background: var(--c-panel); padding: 24px; box-shadow: var(--shadow-subtle); }
.layermap__head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px dashed var(--c-rule); }
.layermap__head > span:first-child { font-family: var(--font-head); font-weight: 700; color: var(--c-heading); font-size: 22px; letter-spacing: 0.04em; }
.layermap__subhead { font-size: 11px; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.18em; font-family: var(--font-mono); }
.layermap__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.layermap__band { display: flex; align-items: baseline; gap: 10px; padding: 8px 12px; background: var(--c-panel-2); border-left: 3px solid var(--c-accent); }
.layermap__band > span { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--c-heading); min-width: 44px; letter-spacing: 0.02em; }
.layermap__band em { font-style: normal; font-weight: 500; color: var(--c-muted); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-mono); }
.layermap__band--60 { border-left-color: #666666; }
.layermap__band--30 { border-left-color: #AAAAAA; }
.layermap__band--10 { border-left-color: var(--c-accent); }
.layermap__note { font-size: 13.5px; color: var(--c-text); padding: 0 4px 4px 14px; line-height: 1.5; }

.case__card { border: 1px solid var(--c-rule); border-top: 3px solid var(--c-accent); background: var(--c-panel); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-subtle); }
.case__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--c-muted); margin-bottom: 16px; }
.case__tag { background: var(--c-accent); color: #010101; font-weight: 700; padding: 4px 10px; border-radius: var(--r-sm); letter-spacing: 0.06em; font-size: 12px; text-transform: uppercase; font-family: var(--font-head); }
.case__rule { width: 18px; height: 1px; background: var(--c-rule); }
.case__meta-item { font-weight: 500; font-family: var(--font-mono); letter-spacing: 0.02em; }
.case__body { font-size: 17px; line-height: 1.7; color: var(--c-text); max-width: 820px; margin-bottom: 28px; }
.case__translate { border-top: 1px solid var(--c-rule); padding-top: 20px; }
.case__translate-head { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; margin-bottom: 14px; }
.translate-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.translate-list li { display: grid; grid-template-columns: 1fr auto 1.25fr; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--c-rule); font-size: 15px; }
.translate-list li:last-child { border-bottom: 0; }
.translate-list__from { color: var(--c-muted); font-weight: 500; }
.translate-list__arrow { color: var(--c-accent); font-weight: 700; font-size: 18px; }
.translate-list__to { color: var(--c-heading); font-weight: 600; }

.paper__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; margin-top: 8px; }
.paper__body p { font-size: 16.5px; line-height: 1.75; }
.paper__body p em { font-style: italic; color: var(--c-heading); font-weight: 500; }
.paper__repo { background: var(--c-panel); padding: 14px 16px; border-left: 3px solid var(--c-accent); border-radius: var(--r-sm); font-size: 14px; color: var(--c-text); margin: 8px 0 0; }
.paper__repo-label { font-weight: 700; color: var(--c-muted); margin-right: 8px; letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; font-family: var(--font-mono); }
.paper__repo-url { font-family: var(--font-mono); font-size: 13px; color: var(--c-heading); word-break: break-all; }
.paper__badge { border: 1px solid var(--c-rule); background: var(--c-panel); padding: 32px 24px; text-align: center; border-radius: var(--r-lg); box-shadow: var(--shadow-subtle); max-width: 320px; margin-left: auto; }
.paper__badge-rule { height: 2px; background: var(--c-accent); margin: 0 auto 18px; width: 40px; }
.paper__badge-rule:last-child { margin: 18px auto 0; }
.paper__badge-title { font-family: var(--font-head); font-size: 52px; font-weight: 700; color: var(--c-heading); letter-spacing: 0.04em; }
.paper__badge-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; margin-top: 4px; }

.cred__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--c-rule); border-left: 1px solid var(--c-rule); }
.cred__list li { display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; border-right: 1px solid var(--c-rule); border-bottom: 1px solid var(--c-rule); background: var(--c-panel); font-size: 15px; line-height: 1.6; color: var(--c-text); min-height: 96px; }
.cred__num { font-family: var(--font-mono); font-size: 12px; color: var(--c-accent); font-weight: 700; letter-spacing: 0.12em; padding-top: 2px; flex-shrink: 0; }

.cta__card { background: var(--c-accent); color: #010101; border-radius: var(--r-lg); padding: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; box-shadow: var(--shadow-medium); position: relative; overflow: hidden; }
.cta__card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #010101; }
.cta__head { color: #010101; font-family: var(--font-head); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; font-weight: 700; margin: 6px 0 16px; letter-spacing: 0.02em; text-transform: uppercase; }
.cta__copy { color: rgba(1,1,1,0.85); font-size: 16px; line-height: 1.65; max-width: 520px; margin-bottom: 12px; }
.cta__copy--thin { font-size: 14px; color: rgba(1,1,1,0.6); margin-bottom: 0; }
.cta__right { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.cta__btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; background: #010101; color: var(--c-accent); font-weight: 700; padding: 18px 22px; border-radius: var(--r-md); text-decoration: none; font-size: 16px; letter-spacing: 0.02em; transition: filter 180ms ease, transform 180ms ease; font-family: var(--font-head); text-transform: uppercase; }
.cta__btn:hover { filter: brightness(1.12); text-decoration: none; transform: translateY(-1px); }
.cta__btn-arrow { font-size: 20px; line-height: 1; }
.cta__link { text-align: center; font-size: 12px; line-height: 1.5; }
.cta__link-label { display: block; color: rgba(1,1,1,0.5); letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-bottom: 2px; font-family: var(--font-mono); }
.cta__link-url { display: block; font-family: var(--font-mono); color: rgba(1,1,1,0.75); font-size: 13px; word-break: break-all; }

.foot { border-top: 1px solid var(--c-rule); background: var(--c-bg); padding: 24px 0 32px; }
.foot__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--c-muted); }
.foot__left { font-weight: 600; color: var(--c-text); }
.foot__left a { color: var(--c-accent); }
.foot__right { color: var(--c-muted); }

a:focus-visible, .cta__btn:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .paper__grid { grid-template-columns: 1fr; gap: 32px; }
  .paper__badge { margin: 0 auto; }
  .cta__card { grid-template-columns: 1fr; padding: 36px; }
  .statbar__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--c-rule); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .cred__list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .masthead__inner { padding: 16px 18px 14px; gap: 14px; }
  .masthead__logo img { height: 44px; }
  .hero { padding: 48px 0 32px; }
  h1#headline { font-size: 28px; margin: 20px 0 18px; }
  .hero__standfirst { font-size: 16px; }
  section.frame, section.case, section.paper, section.cred, section.cta { padding: 48px 0; }
  .case__card { padding: 24px 20px; }
  .translate-list li { grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
  .translate-list__arrow { display: none; }
  .translate-list__from { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-mono); }
  .cta__card { padding: 28px 22px; }
  .cta__head { font-size: 24px; }
  .stat { padding: 20px 16px; }
  .stat__num { font-size: 22px; }
  .stat__label { font-size: 12px; }
  .paper__badge { padding: 24px 20px; }
  .paper__badge-title { font-size: 40px; }
  .foot__inner { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
