:root {
  color-scheme: light;
  --paper: #f2efe7;
  --paper-deep: #e6e0d3;
  --ink: #191c1d;
  --muted: #62686a;
  --line: #c8c2b5;
  --blue: #18658e;
  --blue-dark: #10445f;
  --orange: #d55c35;
  --protoss: #b88618;
  --terran: #1f6e9b;
  --zerg: #864e8e;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .32; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E"); }
a { color: inherit; }
h1, h2, h3, h4, p, figure { margin-top: 0; }

.site-header { min-height: 72px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); background: rgba(242, 239, 231, .94); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; letter-spacing: .11em; font-size: 13px; text-transform: uppercase; white-space: nowrap; }
.wordmark b { color: var(--blue); font-weight: 700; }
.wordmark-mark { display: grid; place-items: center; width: 38px; height: 38px; color: white; background: var(--ink); font-weight: 900; }
nav { display: flex; gap: 26px; margin-left: auto; }
nav a { color: var(--muted); text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; }
nav a:hover { color: var(--blue); }
.language-switch { display: flex; border: 1px solid var(--ink); }
.language-switch button { padding: 8px 10px; border: 0; color: var(--muted); background: transparent; font-weight: 800; cursor: pointer; }
.language-switch button[aria-pressed="true"] { color: white; background: var(--ink); }

.hero { max-width: var(--max); margin: 0 auto; padding: 76px 24px 68px; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(42px, 7vw, 94px); }
.eyebrow { margin-bottom: 16px; color: var(--blue); font: 800 11px/1.2 monospace; letter-spacing: .18em; }
h1 { max-width: 580px; margin-bottom: 24px; font-size: clamp(62px, 7.3vw, 106px); line-height: .86; letter-spacing: -.06em; text-transform: uppercase; }
.hero-lead { max-width: 560px; color: #3d4445; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; }
.hero-actions { display: flex; gap: 10px; margin-top: 34px; }
.button { display: inline-block; padding: 14px 19px; border: 1px solid var(--ink); text-decoration: none; text-transform: uppercase; letter-spacing: .07em; font-size: 12px; font-weight: 900; }
.button.primary { color: white; background: var(--ink); }
.button.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button.secondary:hover { color: white; background: var(--blue); border-color: var(--blue); }
.disclaimer { max-width: 500px; margin: 25px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.hero-photo { position: relative; margin: 0; transform: rotate(1.4deg); box-shadow: 18px 22px 0 rgba(25, 28, 29, .09); }
.hero-photo::before { content: "FIELD TEST / 001"; position: absolute; z-index: 2; top: -18px; right: 18px; padding: 8px 11px; color: white; background: var(--orange); font: 800 10px monospace; letter-spacing: .13em; }
.hero-photo img { display: block; width: 100%; max-height: 680px; object-fit: cover; object-position: center 44%; filter: saturate(.88) contrast(1.03); }
.hero-photo figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 14px 18px; display: flex; justify-content: space-between; gap: 20px; color: white; background: rgba(22, 25, 25, .89); text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.hero-photo figcaption b { color: #b9dff0; }

.principle-strip { border-block: 1px solid var(--ink); display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: white; }
.principle-strip > div { padding: 18px max(24px, calc((100vw - var(--max)) / 6)); display: flex; align-items: center; gap: 13px; white-space: nowrap; }
.principle-strip > div + div { border-left: 1px solid #454a4b; }
.principle-strip strong { color: #7ab4d1; font: 700 10px monospace; }
.principle-strip span { text-transform: uppercase; letter-spacing: .09em; font-size: 12px; font-weight: 800; }

.section { max-width: var(--max); margin: 0 auto; padding: 105px 24px; }
.section-intro { display: grid; grid-template-columns: .8fr 1.2fr; column-gap: 80px; }
.section-intro .eyebrow { grid-column: 1 / -1; }
.section h2, .translations h2 { margin-bottom: 0; font-size: clamp(44px, 5.2vw, 72px); line-height: .95; letter-spacing: -.045em; text-transform: uppercase; }
.section-intro > p:last-child { color: var(--muted); font-size: 18px; line-height: 1.6; }
.method-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.method-grid article { min-height: 280px; padding: 28px; background: rgba(255, 255, 255, .26); }
.method-grid article + article { border-left: 1px solid var(--line); }
.method-number { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 42px; border: 1px solid var(--blue); color: var(--blue); font: 900 14px monospace; }
.method-grid h3 { margin-bottom: 12px; font-size: 23px; text-transform: uppercase; }
.method-grid p { margin: 0; color: var(--muted); line-height: 1.55; }

.armies { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; margin-bottom: 55px; }
.section-heading > p { max-width: 500px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.race-block { --race: var(--blue); display: grid; grid-template-columns: 220px 1fr; border-top: 3px solid var(--race); }
.race-block + .race-block { margin-top: 28px; }
.race-block.protoss { --race: var(--protoss); }.race-block.terran { --race: var(--terran); }.race-block.zerg { --race: var(--zerg); }
.race-heading { padding: 25px 20px 25px 0; display: flex; align-items: center; gap: 18px; }
.race-glyph { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 auto; color: white; background: var(--race); font-size: 24px; font-weight: 900; }
.race-heading p { margin: 0 0 4px; color: var(--muted); font: 700 9px monospace; letter-spacing: .14em; }
.race-heading h3 { margin: 0; font-size: 27px; text-transform: uppercase; }
.army-options { border-left: 1px solid var(--line); }
.army-options article { min-height: 110px; padding: 20px 0 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); }
.army-options h4 { margin-bottom: 4px; font-size: 20px; text-transform: uppercase; }
.army-options p { margin: 0; color: var(--muted); font-size: 13px; }
.download-pair { display: flex; flex: 0 0 auto; }
.download-pair a { min-width: 122px; padding: 13px 14px; border: 1px solid var(--line); text-decoration: none; font-size: 13px; font-weight: 800; }
.download-pair a + a { border-left: 0; }
.download-pair a:hover { color: white; background: var(--race); border-color: var(--race); }
.download-pair span { display: block; margin-top: 4px; color: var(--race); font: 700 9px monospace; }
.download-pair a:hover span { color: white; }

.translations { padding: 105px 24px; color: #f6f4ec; background: var(--ink); }
.translations-inner { max-width: calc(var(--max) - 48px); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.translations .eyebrow { color: #7ab4d1; }
.translation-copy > p:not(.eyebrow) { max-width: 520px; margin: 28px 0; color: #b9bdbd; font-size: 17px; line-height: 1.65; }
.text-link { color: #90c9e5; text-decoration: none; font-weight: 800; }
.translation-files { border-top: 1px solid #4e5455; }
.translation-feature, .translation-row { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #4e5455; }
.translation-feature small { color: #7ab4d1; font: 700 9px monospace; letter-spacing: .15em; }
.translation-feature h3 { margin: 5px 0 4px; font-size: 25px; text-transform: uppercase; }
.translation-feature p { margin: 0; color: #9ea4a5; font-size: 12px; }
.translation-feature > div:last-child, .translation-row > div { display: flex; gap: 7px; }
.translation-files a { min-width: 58px; padding: 10px; border: 1px solid #555b5c; text-align: center; text-decoration: none; font-size: 12px; font-weight: 800; }
.translation-files a:hover { color: var(--ink); background: #90c9e5; border-color: #90c9e5; }
.translation-row { border-left: 3px solid; padding-left: 15px; }.translation-row.protoss { border-left-color: var(--protoss); }.translation-row.terran { border-left-color: var(--terran); }.translation-row.zerg { border-left-color: var(--zerg); }
.translation-row strong { text-transform: uppercase; }.translation-row span { color: #949a9b; font-weight: 400; }

.feedback { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.feedback .eyebrow { grid-column: 1 / -1; }
.feedback > div p { color: var(--muted); font-size: 18px; line-height: 1.6; }
.feedback .button { margin-top: 15px; }
footer { padding: 50px max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer > p { max-width: 650px; margin: 28px 0 16px; } footer > div { display: flex; gap: 20px; margin-bottom: 22px; } footer > div a { color: var(--blue); text-decoration: none; font-weight: 800; } footer small { font-size: 10px; }

@media (max-width: 860px) {
  .site-header { padding: 0 18px; }nav { display: none; }.language-switch { margin-left: auto; }
  .hero { padding: 55px 20px; grid-template-columns: 1fr; gap: 52px; } h1 { font-size: clamp(58px, 17vw, 82px); }.hero-photo { transform: rotate(.5deg); }.hero-photo img { max-height: 600px; }
  .principle-strip { grid-template-columns: 1fr; }.principle-strip > div { padding: 14px 22px; }.principle-strip > div + div { border-left: 0; border-top: 1px solid #454a4b; }
  .section { padding: 76px 20px; }.section-intro, .section-heading, .feedback, .translations-inner { grid-template-columns: 1fr; gap: 28px; }
  .method-grid { grid-template-columns: 1fr; }.method-grid article { min-height: 0; }.method-grid article + article { border-left: 0; border-top: 1px solid var(--line); }.method-number { margin-bottom: 25px; }
  .race-block { grid-template-columns: 1fr; }.race-heading { padding-left: 0; }.army-options { border-left: 0; }.army-options article { padding-left: 0; align-items: flex-start; flex-direction: column; }.download-pair { width: 100%; }.download-pair a { flex: 1; }
  .translations { padding: 76px 20px; }.translation-feature { align-items: flex-start; }.feedback .eyebrow { grid-column: auto; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }.hero-actions .button { text-align: center; }.hero-photo figcaption { align-items: flex-start; flex-direction: column; gap: 4px; }
  .translation-row strong span { display: none; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
