:root {
  color-scheme: light dark;
  --ink: #18232b;
  --muted: #586773;
  --paper: #e7ecef;
  --surface: #f4f7f8;
  --surface-strong: #dbe3e7;
  --line: rgb(24 35 43 / .17);
  --brand: #c66f32;
  --brand-deep: #8d431e;
  --night: #11191f;
  --snow: #edf3f5;
  --radius: 14px;
  --max: 1260px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #edf2f3;
    --muted: #9eabb2;
    --paper: #0d1418;
    --surface: #141e24;
    --surface-strong: #1a272e;
    --line: rgb(226 236 240 / .15);
    --brand: #d97b3c;
    --brand-deep: #a04d22;
    --night: #090f13;
    --snow: #edf3f5;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif; }
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.page-loader { position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; justify-items: center; gap: 18px; color: var(--snow); background: var(--night); transition: opacity .35s ease, visibility .35s ease; }
body:not(.is-loading) .page-loader { opacity: 0; visibility: hidden; }
.loader-mark { display: grid; width: 64px; aspect-ratio: 1; place-items: center; border: 1px solid rgb(255 255 255 / .22); border-radius: 50%; color: var(--brand); font-size: 28px; font-weight: 900; }
.page-loader p { margin: 0; font-size: 13px; letter-spacing: .05em; }
.loader-line { width: 160px; height: 2px; overflow: hidden; background: rgb(255 255 255 / .12); }
.loader-line::after { content: ""; display: block; width: 55%; height: 100%; background: var(--brand); animation: loader 1.1s ease-in-out infinite alternate; }

.asset-error { position: fixed; z-index: 40; inset-inline: 16px; bottom: 16px; max-width: 540px; margin-inline: auto; padding: 12px 14px; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid rgb(255 255 255 / .18); border-radius: var(--radius); color: var(--snow); background: rgb(17 25 31 / .96); box-shadow: 0 18px 50px rgb(0 0 0 / .2); }
.asset-error:not([hidden]) { display: flex; }
.asset-error button { flex: 0 0 auto; padding: 8px 13px; border: 0; border-radius: 9px; color: #17120f; background: var(--brand); font-weight: 800; cursor: pointer; }

.site-header { position: absolute; z-index: 10; top: 0; left: 50%; width: min(calc(100% - 64px), var(--max)); height: 76px; transform: translateX(-50%); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid rgb(255 255 255 / .24); color: var(--snow); }
.brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; }
.brand-mark { display: grid; width: 39px; aspect-ratio: 1; place-items: center; border: 1px solid rgb(255 255 255 / .22); border-radius: 50%; color: var(--brand); font-size: 18px; font-weight: 900; }
.brand-copy { line-height: .9; }
.brand-copy strong { display: block; font-size: 13px; letter-spacing: .08em; }
.brand-copy small { display: block; margin-top: 7px; color: rgb(237 243 245 / .58); font-size: 7px; letter-spacing: .18em; }
.desktop-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.desktop-nav a { opacity: .72; transition: opacity .2s ease; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { opacity: 1; }
.language { position: relative; justify-self: end; }
.language-trigger { min-width: 72px; height: 40px; padding: 0 13px; border: 1px solid rgb(255 255 255 / .24); border-radius: 11px; color: var(--snow); background: rgb(13 20 24 / .5); backdrop-filter: blur(12px); cursor: pointer; }
.language-trigger span:last-child { margin-inline-start: 8px; opacity: .65; }
.language-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; width: 180px; max-height: min(430px, 68vh); overflow-y: auto; padding: 7px; border: 1px solid rgb(255 255 255 / .16); border-radius: 13px; background: rgb(13 20 24 / .97); box-shadow: 0 24px 60px rgb(0 0 0 / .28); }
.language-menu button { display: block; width: 100%; padding: 10px 11px; border: 0; border-radius: 8px; color: var(--snow); background: transparent; text-align: start; cursor: pointer; }
.language-menu button:hover, .language-menu button:focus-visible, .language-menu button[aria-current="true"] { background: rgb(255 255 255 / .1); }

.hero { position: relative; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .88fr); overflow: hidden; color: var(--snow); background: var(--night); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 40% 50%, rgb(198 111 50 / .12), transparent 28%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; align-self: center; width: min(100%, calc((var(--max) + 64px) / 2)); margin-inline-start: max(32px, calc((100vw - var(--max)) / 2)); padding: 96px 54px 52px 0; }
.eyebrow, .kicker { margin-bottom: 18px; color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .17em; }
h1 { max-width: 690px; margin-bottom: 0; font-size: clamp(48px, 5vw, 74px); line-height: .98; letter-spacing: -.055em; font-weight: 450; }
h1 strong { font-weight: 850; }
[lang="de"] h1, [lang="fr"] h1, [lang="pt"] h1, [lang="vi"] h1 { font-size: clamp(43px, 4.4vw, 66px); }
.hero-copy > p:not(.eyebrow) { max-width: 560px; margin: 26px 0 31px; color: rgb(237 243 245 / .74); font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 23px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 21px; border-radius: 11px; font-size: 14px; font-weight: 850; white-space: nowrap; transition: transform .2s ease, background .2s ease; }
.button:active { transform: translateY(1px) scale(.99); }
.button-primary { color: #17120f; background: var(--brand); }
.button-primary:hover { background: #e08a50; }
.text-link { padding-bottom: 4px; border-bottom: 1px solid rgb(237 243 245 / .48); color: var(--snow); font-size: 14px; font-weight: 750; }
.hero-visual { position: relative; min-width: 0; margin: 0; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 57% center; transform: scale(1.015); animation: heroSettle 1.4s cubic-bezier(.16, 1, .3, 1) both; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgb(17 25 31 / .34) 25%, transparent 58%), linear-gradient(0deg, rgb(17 25 31 / .24), transparent 45%); }

.intel-band { width: min(calc(100% - 64px), var(--max)); margin: -34px auto 0; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); overflow: hidden; color: var(--snow); background: var(--surface-strong); box-shadow: 0 20px 55px rgb(4 13 18 / .18); }
.intel-band > div { padding: 24px 26px; background: var(--night); }
.intel-band > div + div { border-inline-start: 1px solid rgb(255 255 255 / .12); }
.intel-band strong, .intel-band span { display: block; }
.intel-band strong { color: var(--brand); font-size: 12px; letter-spacing: .13em; }
.intel-band span { margin-top: 5px; color: rgb(237 243 245 / .68); font-size: 12px; }

.section { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; padding: 118px 0; }
.section h2 { margin-bottom: 20px; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.05em; }
.section p { color: var(--muted); line-height: 1.65; }
.orders-intro { max-width: 760px; }
.orders-intro > p:last-child, .territory-heading p, .pack-heading p, .war-heading p { max-width: 640px; font-size: 17px; }

.order-console { margin-top: 56px; display: grid; grid-template-columns: .78fr 1.22fr; min-height: 470px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 24px 70px rgb(20 39 48 / .1); }
.order-options { display: flex; flex-direction: column; padding: 18px; border-inline-end: 1px solid var(--line); }
.order-options button { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 7px; padding: 22px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; text-align: start; cursor: pointer; transition: color .25s ease, background .25s ease, transform .25s ease; }
.order-options button + button { margin-top: 6px; }
.order-options button span { font-size: 18px; font-weight: 800; }
.order-options button small { font-size: 12px; opacity: .72; }
.order-options button[aria-selected="true"] { color: var(--snow); background: var(--night); transform: translateX(8px); }
[dir="rtl"] .order-options button[aria-selected="true"] { transform: translateX(-8px); }
.order-outcome { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 58px 8vw; overflow: hidden; background: linear-gradient(130deg, rgb(198 111 50 / .11), transparent 55%); }
.order-outcome::after { content: ""; position: absolute; width: 360px; aspect-ratio: 1; inset-inline-end: -180px; bottom: -180px; border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 0 0 54px rgb(198 111 50 / .035), 0 0 0 110px rgb(198 111 50 / .025); }
.order-signal { color: var(--brand); font-size: 11px; font-weight: 900; letter-spacing: .2em; }
.order-title { max-width: 590px; margin: 17px 0 16px; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.045em; }
.order-body { max-width: 590px; font-size: 17px; }
.order-objective { position: relative; z-index: 2; margin-top: 32px; padding-top: 17px; border-top: 1px solid var(--line); }
.order-objective span, .order-objective strong { display: block; }
.order-objective span { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.order-objective strong { margin-top: 8px; font-size: 15px; }
.order-outcome.is-changing > * { animation: outcomeSwap .36s cubic-bezier(.16, 1, .3, 1); }

.territory { width: 100%; max-width: none; padding-inline: max(32px, calc((100% - var(--max)) / 2)); background: color-mix(in srgb, var(--surface) 65%, transparent); }
.territory-heading { max-width: 750px; }
.territory-visual { position: relative; margin: 52px 0 0; overflow: hidden; border-radius: var(--radius); background: var(--night); }
.territory-visual img { width: 100%; aspect-ratio: 16 / 8.4; object-fit: cover; object-position: center; transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.territory-visual:hover img { transform: scale(1.018); }
.territory-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(7 12 15 / .8), transparent 36%); pointer-events: none; }
.territory-visual figcaption { position: absolute; z-index: 2; inset-inline: 30px; bottom: 25px; max-width: 520px; color: rgb(237 243 245 / .84); font-size: 14px; line-height: 1.5; }

.pack-heading { max-width: 760px; margin-inline-start: 16%; }
.pack-roster { margin-top: 58px; display: grid; grid-template-columns: 1.08fr .92fr 1.08fr .92fr; gap: 13px; }
.pack-roster article { min-width: 0; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.fur { display: block; height: 210px; margin-bottom: 22px; border-radius: var(--radius); background-image: url(./assets/hero-pack.webp); background-repeat: no-repeat; background-size: 350% auto; filter: saturate(.78) contrast(1.04); }
.fur.timber { background-position: 55% 64%; }
.fur.arctic { background-position: 14% 79%; }
.fur.black { background-position: 34% 67%; }
.fur.gray { background-position: 70% 28%; }
.pack-roster h3 { margin-bottom: 8px; font-size: 21px; }
.pack-roster p { margin-bottom: 0; font-size: 13px; }

.war { display: grid; grid-template-columns: .88fr 1.12fr; gap: 9vw; align-items: start; }
.war-heading { position: sticky; top: 30px; }
.war-paths { display: grid; gap: 20px; }
.war-path { position: relative; min-height: 250px; display: grid; grid-template-columns: 100px 1fr; align-items: end; padding: 34px; overflow: hidden; border-radius: var(--radius); color: var(--snow); background: var(--night); }
.war-path > span { align-self: start; color: var(--brand); font-size: 72px; line-height: .8; font-weight: 900; opacity: .3; }
.war-path h3 { margin-bottom: 12px; font-size: 28px; }
.war-path p { margin-bottom: 0; color: rgb(237 243 245 / .68); }
.war-path.crossserver { margin-inline-start: 9%; background: linear-gradient(135deg, #172229, #10171c); }

.closing { position: relative; min-height: 520px; display: grid; grid-template-columns: 1fr .52fr; align-items: center; overflow: hidden; padding: 72px; border-radius: var(--radius); color: var(--snow); background: var(--night); }
.closing::before { content: ""; position: absolute; inset: 0; opacity: .24; background: url(./assets/territory-pass.webp) center / cover; filter: grayscale(.4); }
.closing::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(9 15 19 / .98), rgb(9 15 19 / .78) 55%, rgb(9 15 19 / .34)); }
.closing-copy { position: relative; z-index: 2; max-width: 710px; }
.closing h2 { margin-bottom: 20px; }
.closing-copy > p:not(.kicker) { max-width: 580px; color: rgb(237 243 245 / .72); font-size: 17px; }
.closing-button { margin-top: 18px; color: #17120f; background: var(--brand); }
.closing-button:hover { background: #e08a50; }
.closing-copy small { display: block; max-width: 620px; margin-top: 17px; color: rgb(237 243 245 / .5); font-size: 11px; line-height: 1.5; }
.closing-mark { position: relative; z-index: 2; justify-self: end; display: grid; width: min(290px, 26vw); aspect-ratio: 1; place-items: center; border: 1px solid rgb(255 255 255 / .2); border-radius: 50%; color: var(--brand); font-size: clamp(80px, 11vw, 170px); font-weight: 900; box-shadow: inset 0 0 0 34px rgb(255 255 255 / .025); }

footer { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; padding: 34px 0 48px; color: var(--muted); font-size: 11px; line-height: 1.55; }
footer p { max-width: 880px; margin: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes loader { to { transform: translateX(82%); } }
@keyframes heroSettle { from { opacity: .25; transform: scale(1.07); } to { opacity: 1; transform: scale(1.015); } }
@keyframes outcomeSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero { grid-template-columns: minmax(0, .95fr) minmax(370px, 1.05fr); }
  .intel-band { grid-template-columns: repeat(2, 1fr); }
  .intel-band > div:nth-child(3) { border-inline-start: 0; border-top: 1px solid rgb(255 255 255 / .12); }
  .intel-band > div:nth-child(4) { border-top: 1px solid rgb(255 255 255 / .12); }
  .order-console { grid-template-columns: 1fr; }
  .order-options { flex-direction: row; overflow-x: auto; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .order-options button { flex: 0 0 220px; }
  .order-options button + button { margin: 0 0 0 6px; }
  [dir="rtl"] .order-options button + button { margin: 0 6px 0 0; }
  .order-options button[aria-selected="true"], [dir="rtl"] .order-options button[aria-selected="true"] { transform: translateY(5px); }
  .order-outcome { min-height: 390px; }
  .pack-heading { margin-inline-start: 0; }
  .pack-roster { grid-template-columns: repeat(4, minmax(230px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; }
  .pack-roster article { scroll-snap-align: start; }
  .war { grid-template-columns: 1fr; gap: 42px; }
  .war-heading { position: static; max-width: 760px; }
}

@media (max-width: 720px) {
  .site-header { width: calc(100% - 32px); height: 66px; }
  .brand { gap: 8px; }
  .brand-mark { width: 35px; }
  .brand-copy strong { font-size: 11px; }
  .brand-copy small { font-size: 6px; }
  .language-trigger { min-width: 64px; height: 37px; padding: 0 10px; }
  .language-menu { width: min(174px, calc(100vw - 32px)); }
  .hero { min-height: 100dvh; display: block; }
  .hero-visual { position: absolute; inset: 0; }
  .hero-visual img { object-position: 60% 35%; }
  .hero-scrim { background: linear-gradient(0deg, rgb(9 15 19 / .98) 0%, rgb(9 15 19 / .78) 36%, rgb(9 15 19 / .1) 76%), linear-gradient(90deg, rgb(9 15 19 / .3), transparent 70%); }
  .hero-copy { min-height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end; width: auto; margin: 0; padding: 104px 20px 48px; }
  .eyebrow { margin-bottom: 13px; font-size: 9px; }
  h1 { max-width: 540px; font-size: clamp(39px, 11.5vw, 54px); line-height: 1; }
  [lang="de"] h1, [lang="fr"] h1, [lang="es"] h1, [lang="pt"] h1, [lang="vi"] h1 { font-size: 32px; line-height: 1.04; }
  .hero-copy > p:not(.eyebrow) { margin: 18px 0 23px; font-size: 15px; line-height: 1.5; }
  .hero-actions { align-items: flex-start; gap: 17px; }
  .button { min-height: 47px; padding: 0 17px; }
  .text-link { margin-top: 12px; }
  .intel-band { width: calc(100% - 32px); margin-top: -20px; }
  .intel-band > div { padding: 17px 16px; }
  .section { width: calc(100% - 32px); padding: 82px 0; }
  .section h2 { font-size: clamp(34px, 10vw, 48px); }
  .orders-intro > p:last-child, .territory-heading p, .pack-heading p, .war-heading p { font-size: 15px; }
  .order-console { margin-top: 38px; }
  .order-options { padding: 11px; }
  .order-options button { flex-basis: 180px; padding: 17px; }
  .order-options button span { font-size: 15px; }
  .order-outcome { min-height: 380px; padding: 42px 24px; }
  .order-outcome::after { width: 270px; }
  .order-title { font-size: 38px; }
  .order-body { font-size: 15px; }
  .territory { width: 100%; padding-inline: 16px; }
  .territory-visual { margin-top: 36px; }
  .territory-visual img { aspect-ratio: 4 / 5; object-position: 72% center; }
  .territory-visual figcaption { inset-inline: 20px; bottom: 18px; font-size: 12px; }
  .pack-roster { grid-template-columns: repeat(4, minmax(78vw, 1fr)); margin-inline-end: -16px; }
  .fur { height: 230px; }
  .war-path { min-height: 260px; grid-template-columns: 66px 1fr; padding: 27px 22px; }
  .war-path > span { font-size: 54px; }
  .war-path.crossserver { margin-inline-start: 0; }
  .closing { width: calc(100% - 32px); min-height: 570px; grid-template-columns: 1fr; align-items: end; padding: 34px 24px; }
  .closing::after { background: linear-gradient(0deg, rgb(9 15 19 / .98), rgb(9 15 19 / .7) 67%, rgb(9 15 19 / .3)); }
  .closing-mark { position: absolute; top: 42px; inset-inline-end: 24px; width: 148px; }
  .closing-copy { align-self: end; }
  footer { width: calc(100% - 32px); }
}

@media (max-width: 390px) {
  .brand-copy small { display: none; }
  .hero-actions { flex-direction: column; gap: 4px; }
  .hero-copy { padding-bottom: 32px; }
  .intel-band strong { font-size: 10px; }
  .war-path { grid-template-columns: 1fr; }
  .war-path > span { margin-bottom: 36px; }
}

@media (max-height: 700px) and (max-width: 720px) {
  .hero-copy { padding-bottom: 22px; }
  .hero-copy > p:not(.eyebrow) { margin: 14px 0 18px; }
  h1 { font-size: clamp(34px, 10.5vw, 46px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .territory-visual:hover img { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .language-trigger, .language-menu { backdrop-filter: none; background: var(--night); }
}
