/* Fall of the Syndicate - studio site. Dark navy + gold, Syndicate red for the enemy. */
/* Fonts served from this site, not Google (compliance review 2026-11-07, S1: no visitor IP goes to a third party).
   Teko and Inter, SIL Open Font License; variable fonts, one latin file each covers every weight used. */
@font-face { font-family: 'Teko'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/fonts/teko-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: 100 900; font-display: swap;
  src: url(/fonts/inter-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 {
  --bg: #060b1a;
  --bg2: #0a1430;
  --panel: #0f1c40;
  --panel2: #142654;
  --line: rgba(140, 170, 255, .16);
  --text: #eef2ff;
  --muted: #9aa8cc;
  --gold: #f5c451;
  --gold-hi: #ffe6a3;
  --gold-lo: #c98a17;
  --red: #ff3b30;
  --blue: #4c8dff;
  --discord: #5865f2;
  --display: "Teko", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--body); overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--gold); }
button { font: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: .95; margin: 0; letter-spacing: .5px; text-transform: uppercase; }
h2 { font-size: clamp(44px, 6.5vw, 84px); }
h2 em { font-style: normal; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 em.red { background: linear-gradient(180deg, #ff9a8f, var(--red) 50%, #a3110c); -webkit-background-clip: text; background-clip: text; }
h3 { font-size: 36px; }
p { margin: 0 0 14px; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.center { text-align: center; }
.sub { color: var(--muted); max-width: 640px; margin: 18px auto 0; font-size: 18px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1 var(--body); letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.kicker::before, .center .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker-red { color: var(--red); }
.section { position: relative; padding: clamp(80px, 10vw, 130px) 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 12px; font: 700 16px/1 var(--body);
  text-decoration: none; letter-spacing: .3px; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; border: 1px solid transparent; cursor: pointer; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: #241500; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 40%, var(--gold-lo));
  box-shadow: 0 10px 30px -8px rgba(245, 196, 81, .55), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-gold:hover { box-shadow: 0 16px 40px -8px rgba(245, 196, 81, .75), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-ghost { color: var(--text); border-color: rgba(255,255,255,.3); background: rgba(10, 20, 48, .45); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-discord { color: #fff; background: var(--discord); box-shadow: 0 12px 36px -10px rgba(88, 101, 242, .8); font-size: 18px; padding: 18px 32px; }
.btn-sm { padding: 11px 18px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 18px 32px; font-size: 18px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px; height: 74px;
  padding: 0 max(20px, calc((100% - 1200px) / 2)); transition: background .3s, border-color .3s, height .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(6, 11, 26, .86); backdrop-filter: blur(14px); border-bottom-color: var(--line); height: 64px; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font: 600 24px/1 var(--display);
  text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.nav-brand img { border-radius: 10px; box-shadow: 0 0 0 1px rgba(245,196,81,.5); }
.nav-brand b { color: var(--gold); font-weight: 600; }
.nav-links { display: flex; gap: 20px; margin-left: auto; }
.nav-links a { color: #c6d0ec; text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-burger { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 64px 0 auto 0; z-index: 49; background: rgba(6, 11, 26, .97); backdrop-filter: blur(14px);
  display: grid; padding: 10px 20px 24px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s; }
.mobile-menu.open { transform: none; }
.mobile-menu a { color: var(--text); text-decoration: none; font: 600 28px/1 var(--display); text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid var(--line); }

/* hero: full-screen video */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 110px 0 120px; isolation: isolate; background: #05070f; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(70% 60% at 50% 45%, rgba(6,11,26,0), rgba(6,11,26,.4) 75%),
  linear-gradient(180deg, rgba(6,11,26,.6) 0%, rgba(6,11,26,0) 22%, rgba(6,11,26,0) 62%, var(--bg) 100%); }
.hero-center { width: min(1000px, 100% - 40px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-hi);
  padding: 8px 14px; border: 1px solid rgba(245,196,81,.4); border-radius: 999px; background: rgba(6,11,26,.5); backdrop-filter: blur(6px); margin-bottom: 18px; }
.hero-logo { margin: 0 0 6px; width: min(860px, 100%); }
.hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 12px 30px rgba(0,0,0,.75)) drop-shadow(0 0 40px rgba(245,160,40,.25)); }
.hero-lead { font: 500 clamp(24px, 3vw, 36px)/1.1 var(--display); text-transform: uppercase; letter-spacing: 2px; color: #f1e6cf;
  text-shadow: 0 3px 18px rgba(0,0,0,.9); margin: 0 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 26px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store { display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22);
  background: rgba(6, 11, 26, .6); backdrop-filter: blur(6px); color: var(--text); font-weight: 600; font-size: 16px; line-height: 1.15; text-align: left; }
.store small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .4px; }
.store svg { width: 24px; height: 24px; opacity: .9; }
.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.embers i { position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: #ffb347; box-shadow: 0 0 8px 2px rgba(255,150,50,.7);
  animation: rise linear infinite; opacity: 0; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 100% { transform: translate(var(--dx, 40px), -110vh); opacity: 0; } }
.scroll-cue { position: absolute; left: 50%; bottom: 70px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ticker */
.ticker { position: relative; z-index: 2; overflow: hidden; background: linear-gradient(90deg, var(--gold-lo), var(--gold), var(--gold-lo));
  transform: skewY(-2deg); margin: -34px 0 0; padding: 14px 0; box-shadow: 0 20px 50px -20px rgba(245,196,81,.5); }
.ticker-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 28s linear infinite; }
.ticker span { font: 600 40px/1 var(--display); text-transform: uppercase; color: #1d1100; letter-spacing: 2px; transform: skewY(2deg); }
.ticker i { width: 12px; height: 12px; background: #1d1100; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* story */
.story { background: radial-gradient(60% 50% at 80% 30%, rgba(255,59,48,.10), transparent 70%), var(--bg); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-copy p { color: #c3cce6; font-size: 18px; max-width: 560px; }
.story-copy h2 { margin-bottom: 26px; }
blockquote { margin: 28px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font: 500 28px/1.1 var(--display); color: var(--gold-hi); text-transform: uppercase; letter-spacing: .5px; }
.story-art { position: relative; }
.story-art img { position: relative; width: 100%; max-width: 560px; margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.7)); }
/* the Capital alive (owner 2026-11-16): its lava breathes and bubbles pop, like the game's courtyard */
.cap-live { position: relative; max-width: 560px; margin: 0 auto; }
.cap-live img { display: block; }
/* the glow and bubbles only make sense over the finished picture: the page fades the whole Capital in once it has loaded */
.cap-live.wait { opacity: 0; }
.cap-live { transition: opacity .5s; }
.story-art .cap-live .cap-glow { position: absolute; inset: 0; width: 100%; height: 100%; filter: none; mix-blend-mode: screen; opacity: 0; animation: lavaBreath 3.6s ease-in-out infinite; pointer-events: none; }
.cap-bubbles { position: absolute; inset: 0; pointer-events: none; }
/* small and flattened: the lava is seen from above at the map's slant, so a bubble reads as a low dome */
.cap-bubbles i { position: absolute; width: 1.4%; aspect-ratio: 1.7; margin: -0.41% 0 0 -0.7%; border-radius: 50%;
  background: radial-gradient(ellipse at 38% 30%, #fff6c8 0 16%, #ffc23a 44%, #f08a2a 78%, rgba(230,110,30,0) 100%);
  box-shadow: 0 .5px 1px rgba(120,30,0,.28), 0 0 5px rgba(255,170,40,.5); transform: scale(0); opacity: 0; animation: lavaPop 4.2s ease-out infinite; }
@keyframes lavaBreath { 0%, 100% { opacity: 0; } 50% { opacity: .55; } }
@keyframes lavaPop { 0% { transform: scale(0); opacity: 0; } 12% { opacity: 1; } 34% { transform: scale(1); opacity: .95; } 40% { transform: scale(1.5); opacity: 0; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .story-art .cap-live .cap-glow, .cap-bubbles i { animation: none; } }
.red-aura { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,59,48,.4), transparent); filter: blur(20px); animation: pulse 5s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .6; transform: scale(.95); } }
.tag { position: absolute; bottom: 8%; right: 6%; font: 600 13px/1 var(--body); letter-spacing: 2px; text-transform: uppercase; padding: 9px 12px; border-radius: 8px; }
.tag-red { color: #ffd2cf; background: rgba(138,20,16,.75); border: 1px solid rgba(255,59,48,.5); backdrop-filter: blur(6px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 80px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { background: var(--bg2); padding: 30px 24px; text-align: center; }
.stat b { display: block; font: 600 72px/0.9 var(--display); color: var(--gold); }
.stat span { color: var(--muted); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }

/* features slideshow */
.features { background: radial-gradient(50% 60% at 50% 40%, rgba(76,141,255,.14), transparent 70%), var(--bg2); overflow: hidden; }
.slider { position: relative; width: min(1320px, 100% - 40px); margin: 50px auto 0; }
.slides { position: relative; height: clamp(460px, 48vw, 600px); border-radius: 26px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(80% 90% at 30% 50%, #1a2f6b 0%, #0c1636 55%, #070d22 100%); box-shadow: 0 50px 120px -50px rgba(0,0,0,.9); }
.slides::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(120,160,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(120,160,255,.07) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(90deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide-art { position: relative; height: 100%; }
.slide-art img { position: absolute; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(0,0,0,.6)); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity 1s; }
.slide:not(.active) .slide-art img { transform: translateX(-40px) scale(.96); opacity: 0; }
.slide-copy { position: relative; padding: 0 60px 0 10px; }
.slide-num { display: inline-flex; align-items: baseline; gap: 6px; font: 600 22px/1 var(--display); letter-spacing: 3px; color: var(--gold);
  padding: 8px 14px 5px; border: 1px solid rgba(245,196,81,.45); border-radius: 8px; background: rgba(245,196,81,.08); margin-bottom: 18px; }
.slide-num::after { content: "/ 05"; color: rgba(245,196,81,.45); }
.slide-copy h3 { font-size: clamp(44px, 5vw, 70px); margin-bottom: 18px; }
.slide-copy p { color: #c3cce6; font-size: 18px; max-width: 460px; }
.slide.active .slide-copy > * { animation: slideIn .8s cubic-bezier(.2,.7,.2,1) both; }
.slide.active .slide-copy h3 { animation-delay: .08s; }
.slide.active .slide-copy p { animation-delay: .16s; }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } }
/* per-slide art layouts */
.art-merge img.m1 { width: 20%; left: 1%; top: 42%; }
.art-merge img.m2 { width: 20%; left: 28%; top: 42%; }
.art-merge img.m3 { width: 38%; right: 2%; top: 28%; height: 52%; }
.art-merge .op { position: absolute; top: 46%; font: 600 64px/1 var(--display); color: var(--gold); text-shadow: 0 0 30px rgba(245,196,81,.6); }
.art-merge .op:nth-of-type(1) { left: 22.6%; }
.art-merge .op:nth-of-type(2) { left: 50.6%; }
/* wider screens (owner 2026-11-16: the tanks and signs were cramped): one flex row with the same gap on both sides of each sign */
@media (min-width: 641px) {
  .slide-art.art-merge { display: flex; align-items: center; justify-content: center; gap: 3.5%; padding: 0 4% 0 5%; }
  .slide-art.art-merge img, .slide-art.art-merge .op { position: static; inset: auto; height: auto; flex: none; }
  .slide-art.art-merge img.m1, .slide-art.art-merge img.m2 { width: 20%; }
  .slide-art.art-merge img.m3 { width: 34%; }
}
.art-build img.bg { inset: 8% 6% 8% 6%; width: 88%; height: 84%; object-fit: cover; border-radius: 18px; opacity: .45; filter: none; mask-image: radial-gradient(closest-side, #000 55%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.art-build img.fg { width: 70%; left: 14%; top: 12%; height: 80%; }
/* a balanced triangle (owner 2026-11-12): the jet over the middle, the ship and the tank side by side under it, all inside the frame */
.art-fronts img.f-jet { width: 46%; left: 27%; top: 5%; }
.art-fronts img.f-ship { width: 44%; left: 4%; bottom: 8%; }
.art-fronts img.f-tank { width: 42%; right: 4%; bottom: 10%; }
.art-map img.r { width: 64%; left: 4%; top: 12%; height: 78%; }
.art-map img.t { width: 32%; right: 4%; bottom: 6%; height: 50%; }
.art-rally img.s { width: 44%; left: 2%; top: 14%; height: 70%; opacity: .7; }
.art-rally img.b { width: 56%; right: 0; top: 8%; height: 86%; }
.art-rally::before { content: ""; position: absolute; inset: 15% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,59,48,.35), transparent); }
.s-arrow { position: absolute; top: calc(clamp(460px, 48vw, 600px) / 2); translate: 0 -50%; z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(245,196,81,.5);
  background: rgba(6,11,26,.7); color: var(--gold); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, color .2s; }
.s-arrow:hover { background: var(--gold); color: #241500; }
.s-arrow svg { width: 22px; height: 22px; }
.s-arrow.prev { left: -26px; }
.s-arrow.next { right: -26px; }
.s-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
.s-tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(15,28,64,.6); color: var(--muted); font: 600 22px/1 var(--display); text-transform: uppercase; letter-spacing: 1px; cursor: pointer; text-align: left; transition: color .2s, border-color .2s, background .2s; }
.s-tab b { font-weight: 600; color: rgba(245,196,81,.55); }
.s-tab:hover { color: var(--text); }
.s-tab.active { color: var(--text); border-color: rgba(245,196,81,.55); background: linear-gradient(180deg, rgba(245,196,81,.14), rgba(15,28,64,.6)); }
.s-tab.active b { color: var(--gold); }
.s-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--gold); }
.s-tab.active::after { animation: progress var(--dur, 6s) linear forwards; }
.slider.paused .s-tab.active::after { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }

/* commanders: featured hero + roster showcase */
.commanders { background: radial-gradient(60% 50% at 50% 0%, rgba(245,196,81,.10), transparent 70%), var(--bg); }
.r-leg { --c: var(--gold); }
.r-epic { --c: #b36bff; }
.r-rare { --c: #4c9dff; }
.hx { position: relative; isolation: isolate; display: grid; grid-template-columns: 380px minmax(0, 1fr) 372px; height: 680px; margin-top: 56px;
  border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #070d22; box-shadow: 0 50px 120px -50px rgba(0,0,0,.9); }
.hx::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; z-index: 3; background: linear-gradient(90deg, transparent, var(--c), transparent); transition: background .5s; }
.hx-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hx-bg img { position: absolute; left: -6%; top: -10%; width: 112%; height: 120%; max-width: none; object-fit: cover; filter: blur(30px) saturate(1.25) brightness(.5); }
.hx-bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(50% 70% at 18% 60%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%),
  linear-gradient(90deg, rgba(6,11,26,0) 0%, rgba(6,11,26,.5) 34%, rgba(6,11,26,.82) 62%, rgba(6,11,26,.9) 100%); }
.hx-layer { transition: opacity .7s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.hx-layer.enter { opacity: 0; transform: translateX(28px) scale(1.03); }
.hx-bg .hx-layer.enter { transform: none; }
.hx-layer.leave { opacity: 0; }
.hx-art { position: relative; margin: 0; height: 100%; overflow: hidden; touch-action: pan-y; }
.hx-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top;
  mask-image: linear-gradient(90deg, #000 72%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent); }
.hx-cap { display: none; }
.hx-info { position: relative; min-width: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 48px 34px 40px 18px; }
.hx-mark { position: absolute; left: 4px; top: 22px; font: 700 170px/.8 var(--display); text-transform: uppercase; white-space: nowrap; pointer-events: none;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); }
.hx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hx-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(6,11,26,.55); color: #d5ddf5; font: 700 13px/1 var(--body); letter-spacing: 2px; text-transform: uppercase; }
.hx-pill svg { width: 15px; height: 15px; }
.hx-ic { width: 24px; height: 24px; margin: -5px 0 -5px -3px; object-fit: contain; }
.hx-f img { display: inline-block; width: 18px; height: 18px; margin: -4px 3px -2px 0; vertical-align: middle; object-fit: contain; }
.hx-t .face .fbadge { position: absolute; top: 2px; right: 2px; left: auto; width: 26px; height: 26px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0,0,0,.7)); }
.hx-pill-rar { color: var(--c); border-color: color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 14%, rgba(6,11,26,.6)); }
.hx-name { font-size: clamp(64px, 6.6vw, 100px); line-height: .82; text-shadow: 0 8px 30px rgba(0,0,0,.6); }
.hx-title { margin: 8px 0 18px; font: 500 28px/1 var(--display); letter-spacing: 2px; text-transform: uppercase; color: var(--c); }
.hx-blurb { max-width: 460px; margin-bottom: 22px; color: #c3cce6; font-size: 18px; }
.hx-skill { display: flex; align-items: center; gap: 14px; max-width: 460px; padding: 16px 18px; border-radius: 14px;
  background: rgba(10,20,48,.62); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); backdrop-filter: blur(6px); }
.hx-skill i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; color: var(--c);
  background: color-mix(in srgb, var(--c) 16%, rgba(6,11,26,.7)); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.hx-skill i svg { width: 22px; height: 22px; }
.hx-chibi { margin: -6px 0 -10px auto; text-align: center; }
.hx-chibi img { width: 112px; height: 112px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0,0,0,.55)); }
.hx-chibi figcaption { margin-top: 2px; color: var(--muted); font: 700 11px/1 var(--body); letter-spacing: 1.5px; text-transform: uppercase; }
.ic-row { display: flex; justify-content: center; gap: 8px; margin: -4px 0 14px; }
.ic-wrap { flex-wrap: wrap; max-width: 300px; margin-left: auto; margin-right: auto; }
.ic-row img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.emo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: -4px 0 14px; min-height: 64px; align-items: center; }
.emo-row img { width: 44px; height: 44px; }
.hx-skill-icon { flex: none; width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.55)); }
.hx-skill small { display: block; color: var(--muted); font: 700 13px/1 var(--body); letter-spacing: 2px; text-transform: uppercase; }
.hx-skill b { display: block; margin: 5px 0 3px; font: 600 28px/1 var(--display); letter-spacing: .5px; text-transform: uppercase; }
.hx-skill span { color: #c3cce6; font-size: 16px; line-height: 1.45; }
.hx-nav { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.hx-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(245,196,81,.5); background: rgba(6,11,26,.7);
  color: var(--gold); cursor: pointer; transition: background .2s, color .2s; }
.hx-btn:hover { background: var(--gold); color: #241500; }
.hx-btn svg { width: 20px; height: 20px; }
.hx-count { min-width: 74px; text-align: center; color: var(--muted); font: 600 22px/1 var(--display); letter-spacing: 2px; }
.hx-count b { color: var(--gold); font-weight: 600; }
.hx-info.swap > :not(.hx-nav) { animation: slideIn .7s cubic-bezier(.2,.7,.2,1) both; }
.hx-info.swap .hx-name { animation-delay: .05s; }
.hx-info.swap .hx-title { animation-delay: .1s; }
.hx-info.swap .hx-blurb { animation-delay: .15s; }
.hx-info.swap .hx-skill { animation-delay: .2s; }
.hx-side { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 28px 24px; border-left: 1px solid var(--line);
  background: rgba(6,11,26,.6); backdrop-filter: blur(12px); }
.hx-side-h { margin-bottom: 14px; color: var(--gold); font: 600 13px/1 var(--body); letter-spacing: 3px; text-transform: uppercase; }
.hx-filters { display: grid; grid-template-columns: .8fr 1fr 1fr 1.5fr; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 12px; background: rgba(15,28,64,.75); border: 1px solid var(--line); }
.hx-f { padding: 13px 4px 10px; min-height: 42px; border: 0; border-radius: 9px; background: none; color: var(--muted); font: 600 18px/1 var(--display); letter-spacing: 1px;
  text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: color .2s, background .2s; }
.hx-f:hover { color: var(--text); }
.hx-f.active { color: #241500; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo)); }
.hx-roster { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; align-content: start; }
.hx-t { --c: var(--blue); display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 0; border: 0; background: none;
  color: var(--muted); font: 600 18px/1 var(--display); letter-spacing: .5px; text-transform: uppercase; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hx-t.r-leg { --c: var(--gold); }
.hx-t.r-epic { --c: #b36bff; }
.hx-t.r-rare { --c: #4c9dff; }
.hx-t[hidden] { display: none; }
.hx-t .face { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--panel);
  border: 2px solid color-mix(in srgb, var(--c) 42%, transparent); transition: border-color .25s, box-shadow .25s, transform .25s; }
.hx-t .face::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--c); }
.hx-t img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.78); transition: filter .25s, transform .4s; }
.hx-t .face svg { position: absolute; top: 4px; right: 4px; width: 18px; height: 18px; padding: 3px; border-radius: 6px; color: #fff; background: rgba(6,11,26,.7); }
.hx-t .nm { max-width: 100%; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.hx-t:hover img { filter: none; transform: scale(1.07); }
.hx-t:hover .nm { color: var(--text); }
.hx-t[aria-selected="true"] { color: var(--text); }
.hx-t[aria-selected="true"] .nm { color: var(--c); }
.hx-t[aria-selected="true"] .face { border-color: var(--c); transform: translateY(-2px);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 28%, transparent), 0 12px 26px -8px color-mix(in srgb, var(--c) 80%, transparent); }
.hx-t[aria-selected="true"] img { filter: none; }
.hx-t.show { animation: popIn .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.92); } }
.hx-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font: 600 13px/1 var(--body); letter-spacing: 1.5px; text-transform: uppercase; }
.hx-legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 2px; background: var(--c); transform: rotate(45deg); vertical-align: 0; }
.hx-t:focus-visible, .hx-f:focus-visible, .hx-btn:focus-visible { outline: none; }
.hx-t:focus-visible .face, .hx-f:focus-visible, .hx-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* three columns need ~1280px: at 1100-1279 the name was cut and the roster names shortened, so those widths stack too */
@media (max-width: 1279px) {
  .hx { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); height: auto; }
  .hx-art { height: auto; aspect-ratio: 572 / 1024; }
  .hx-info { padding: 40px 28px 32px 6px; }
  .hx-mark { font-size: 130px; }
  .hx-side { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 22px 24px 26px; }
  .hx-filters { max-width: 460px; }
  .hx-roster { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .hx-legend { margin-top: 20px; }
}
@media (max-width: 699px) {
  .commanders .wrap { width: calc(100% - 32px); }
  .hx { grid-template-columns: minmax(0, 1fr); margin-top: 40px; border-radius: 20px; }
  .hx-bg::after { background: radial-gradient(70% 40% at 50% 30%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(6,11,26,0) 0%, rgba(6,11,26,.6) 45%, rgba(6,11,26,.9) 100%); }
  .hx-art { aspect-ratio: 4 / 5; }
  .hx-art img { object-position: center 6%; mask-image: linear-gradient(180deg, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .hx-cap { display: block; position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 2; }
  .hx-cap-rar { display: inline-block; margin-bottom: 8px; padding: 6px 10px; border-radius: 999px; color: var(--c); font: 700 13px/1 var(--body); letter-spacing: 2px; text-transform: uppercase;
    border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 14%, rgba(6,11,26,.7)); }
  .hx-cap-name { display: block; font: 600 64px/.82 var(--display); text-transform: uppercase; letter-spacing: .5px; text-shadow: 0 4px 24px rgba(0,0,0,.8); }
  .hx-cap-title { display: block; margin-top: 6px; color: var(--c); font: 500 22px/1 var(--display); letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.8); }
  .hx-cap.swap > * { animation: slideIn .6s cubic-bezier(.2,.7,.2,1) both; }
  .hx-side { order: 1; padding: 14px 14px 16px; background: rgba(6,11,26,.5); }
  .hx-side-h { display: none; }
  .hx-filters { max-width: none; margin-bottom: 14px; }
  .hx-f { font-size: 18px; }
  .hx-roster { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 10px; padding: 4px 2px 6px; }
  .hx-roster::-webkit-scrollbar { display: none; }
  .hx-t { font-size: 16px; }
  .hx-info { order: 2; padding: 22px 18px 26px; }
  .hx-mark { display: none; }
  .hx-legend, .hx-pill-rar { display: none; }
  .hx-name, .hx-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hx-tags { margin-bottom: 14px; }
  .hx-blurb { font-size: 16px; }
  .hx-skill b { font-size: 24px; }
  .hx-nav { justify-content: center; margin-top: 22px; }
  .hx-chibi { margin: 0 0 0 10px; }
  .hx-chibi img { width: 84px; height: 84px; }
}

/* enemy */
.enemy { overflow: hidden; background: #0d0608; }
.enemy-bg { position: absolute; inset: 0; background:
  radial-gradient(60% 60% at 50% 30%, rgba(255,59,48,.22), transparent 70%),
  repeating-linear-gradient(135deg, rgba(255,59,48,.05) 0 2px, transparent 2px 26px),
  linear-gradient(180deg, var(--bg), #12070a 30%, #12070a 70%, var(--bg)); }
.enemy .wrap { position: relative; }
.enemy .sub { color: #c9a9a6; }
.cards-enemy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
@media (max-width: 1100px) and (min-width: 721px) { .cards-enemy { grid-template-columns: repeat(2, 1fr); } }
.e-card { text-align: center; padding: 22px 26px 26px; border-radius: var(--r); background: linear-gradient(180deg, rgba(60,12,12,.65), rgba(20,6,8,.9)); border: 1px solid rgba(255,59,48,.28); transition: transform .3s, box-shadow .3s; }
/* picture, title and text line up across the row, like the New on the Front boxes (owner 2026-11-16) */
.cards-enemy > .e-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.e-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -25px rgba(255,59,48,.5); }
.e-art { position: relative; height: 240px; margin-bottom: 24px; }   /* room between the picture and the title (Brutus's feet touched it) */
.e-art::before { content: ""; position: absolute; inset: 15% 20%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,59,48,.35), transparent); }
.e-art img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.7)); }
.e-card h3 { color: #ff8a80; margin-bottom: 8px; }
.e-card p { color: #c9a9a6; margin: 0; }

/* what's new + events (2026-11-11) */
.news-feat { background: linear-gradient(180deg, var(--bg), var(--bg2) 50%, var(--bg)); }
.events { background: var(--bg2); }
.news-feat .sub, .events .sub { color: var(--muted); }
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.i-card { position: relative; text-align: center; padding: 34px 30px 36px; border-radius: var(--r); background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; }
/* icons, title and text line up across a row of cards (owner 2026-11-16) */
.info-cards > .i-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.i-card .ic-row, .i-card .emo-row { align-self: center; }
/* bigger boxes (owner 2026-11-16): every card gets the same tall picture area, so a card with one icon is as big as one with eight */
.i-card .ic-row, .i-card .emo-row { min-height: 150px; align-items: center; align-content: center; margin: -6px 0 20px; }
.i-card .ic-row img { flex: 0 1 76px; min-width: 0; width: 76px; height: auto; aspect-ratio: 1; }   /* a row of five shrinks to fit */
.i-card .ic-row img:only-child { flex-basis: 116px; width: 116px; }
.i-card .ic-wrap { max-width: 320px; }
.i-card .ic-wrap img { flex: 0 0 min(70px, calc((100% - 24px) / 4)); width: 70px; }   /* always two rows of four */
.i-card .emo-row { flex-wrap: nowrap; }
.i-card .emo-row img { flex: 0 1 46px; min-width: 0; width: 46px; height: auto; aspect-ratio: 1; }
.i-card:hover { transform: translateY(-6px); border-color: rgba(245,196,81,.45); box-shadow: 0 30px 60px -25px rgba(245,196,81,.35); }
.i-card h3 { color: var(--gold); font-size: 32px; margin-bottom: 10px; }
.i-card p { color: var(--muted); margin: 0; }
.i-tag { position: absolute; top: 16px; right: 18px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #1a1205; background: var(--gold); }
/* a card left alone on the last row sits in the middle instead of on the left (7 events) */
@media (min-width: 901px) { .info-cards > .i-card:last-child:nth-child(3n+1) { grid-column: 2; } }
@media (max-width: 900px) { .info-cards { grid-template-columns: 1fr 1fr; }
  .info-cards > .i-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px); } }
@media (max-width: 600px) { .info-cards { grid-template-columns: 1fr; } .i-card h3 { font-size: 28px; } }

/* trailer */
.trailer { background: var(--bg); }
.trailer-card { position: relative; display: block; width: 100%; margin-top: 50px; padding: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; cursor: pointer; background: #000; aspect-ratio: 16 / 9; }
.trailer-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s, filter .4s; filter: brightness(.8); }
.trailer-card:hover img { transform: scale(1.04); filter: brightness(.95); }
.trailer-card .play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  color: #241500; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo)); box-shadow: 0 0 0 10px rgba(245,196,81,.2), 0 20px 50px rgba(0,0,0,.6); transition: transform .3s; }
.trailer-card .play svg { width: 40px; height: 40px; margin-left: 5px; }
.trailer-card:hover .play { transform: scale(1.08); }
.trailer-card .play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(245,196,81,.6); animation: ring 2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.trailer-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 22px; text-align: left; background: linear-gradient(180deg, transparent, rgba(6,11,26,.9));
  color: var(--text); font: 600 32px/1 var(--display); text-transform: uppercase; }
.trailer-cap small { display: block; margin-top: 8px; font: 500 13px/1.4 var(--body); color: var(--muted); text-transform: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(2,4,10,.88); backdrop-filter: blur(8px); }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(1200px, 100%); }
.modal-box video { width: 100%; border-radius: 14px; background: #000; }
.modal-close { position: absolute; right: -8px; top: -52px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(6,11,26,.8); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }

/* community */
.community { padding-top: 20px; background: var(--bg); }
.cta-panel { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 80px); text-align: left;
  background: radial-gradient(70% 90% at 85% 50%, rgba(88,101,242,.45), transparent 70%), linear-gradient(135deg, #111c48, #0a1230);
  border: 1px solid rgba(120,140,255,.3); box-shadow: 0 40px 100px -40px rgba(88,101,242,.6); }
.cta-panel h2 { margin-bottom: 18px; max-width: 640px; }
.cta-panel p { color: #c3cce6; font-size: 18px; max-width: 520px; margin-bottom: 30px; }
.cta-art { position: absolute; right: 5%; top: 50%; width: min(40%, 460px); translate: 0 -50%; rotate: -8deg; opacity: .95; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); pointer-events: none; }

/* support + footer */
.support { padding: 70px 0; background: var(--bg); border-top: 1px solid var(--line); }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.s-item h3 { font-size: 28px; color: var(--gold); margin-bottom: 10px; }
.s-item p { color: var(--muted); font-size: 16px; }
.footer { border-top: 1px solid var(--line); padding: 34px 0; background: #040814; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.f-brand { display: flex; align-items: center; gap: 14px; }
.f-brand img { border-radius: 10px; }
.f-brand b { display: block; font: 600 24px/1 var(--display); text-transform: uppercase; letter-spacing: .5px; }
.f-brand span { font-size: 13px; color: var(--muted); }
.f-links { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; }
.f-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.f-links a:hover { color: var(--gold); }
.f-copy { width: 100%; color: #6b7699; font-size: 13px; }

/* reveal on scroll; the hero animates in with CSS alone so it never waits on script */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { opacity: 1; transform: none; animation: heroIn 1s cubic-bezier(.2,.7,.2,1) both; }
.hero .hero-logo.reveal { animation: logoIn 1.4s .15s cubic-bezier(.2,.7,.2,1) both; }
.hero .hero-lead.reveal { animation-delay: .5s; }
.hero .hero-ctas.reveal { animation-delay: .65s; }
.hero .stores.reveal { animation-delay: .8s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } }
@keyframes logoIn { from { opacity: 0; transform: scale(1.25); filter: blur(12px); } }

/* responsive */
/* the eight section links need ~1180px; below that the home page uses its menu button (it had none from 641-1000px,
   and from 1001-1180px the links pushed "Join Discord" off the screen) */
@media (max-width: 1180px) {
  .has-menu .nav-links { display: none; }
  .has-menu .nav-cta { margin-left: auto; }
  .has-menu .nav-burger { display: block; margin-left: 0; }
}
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .story-grid { grid-template-columns: 1fr; }
  .story-art { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards-enemy { grid-template-columns: repeat(2, 1fr); }
  /* the trailer picture has its own title in the bottom-right; on narrower screens the caption moves to the top so they don't collide */
  .trailer-cap { top: 0; bottom: auto; padding: 22px 24px 50px; background: linear-gradient(0deg, transparent, rgba(6,11,26,.9)); }
  .support-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-art { opacity: .25; width: 80%; right: -20%; }
  /* the slides share one grid cell, so the box grows to the tallest slide's text instead of cutting it off (a phone
     with big system text cut the copy at a fixed 600-640px) */
  .slides { height: auto; display: grid; }
  .slide { position: relative; inset: auto; grid-area: 1 / 1; grid-template-columns: 1fr; grid-template-rows: auto auto; align-items: start; }
  .slide-art { height: 360px; }
  .slide-copy { padding: 10px 28px 34px; }
  .s-arrow { top: 180px; }
  .s-arrow.prev { left: 8px; }
  .s-arrow.next { right: 8px; }
  .s-tabs { grid-template-columns: repeat(5, auto); overflow-x: auto; justify-content: start; scrollbar-width: none; }
  .s-tab { white-space: nowrap; font-size: 18px; padding: 12px 14px; }
}
@media (max-width: 640px) {
  .nav-cta { display: none; }
  .nav-burger, .has-menu .nav-burger { display: block; margin-left: auto; }
  .nav-brand span { font-size: 22px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .stat b { font-size: 56px; }
  .ticker span { font-size: 28px; }
  .f-links { margin-left: 0; }
  .slide-art { height: 320px; }
  .slide-copy { padding: 6px 22px 28px; }
  .slide-copy h3 { font-size: 40px; overflow-wrap: anywhere; }
  .slide-copy p { font-size: 16px; }
  .s-tabs { display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; }
  .s-tab { flex: 1 1 auto; justify-content: center; gap: 8px; padding: 11px 12px; font-size: 16px; }
  .trailer-card .play { width: 72px; height: 72px; }
  .trailer-cap { font-size: 24px; padding: 16px 18px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* sub pages (news, press, delete account) */
.subpage { padding: 130px 0 90px; min-height: 70vh; background: radial-gradient(60% 40% at 50% 0%, rgba(245,196,81,.10), transparent 70%), var(--bg); }
.doc { width: min(860px, 100% - 40px); margin: 0 auto; }
.doc h1 { font-size: clamp(48px, 7vw, 80px); margin-bottom: 12px; }
.doc h1 em { font-style: normal; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.doc .lead { color: var(--muted); font-size: 18px; margin-bottom: 40px; }
.doc h2 { font-size: 40px; margin: 46px 0 14px; }
.doc h3 { font-size: 28px; margin: 26px 0 8px; color: var(--gold); }
.doc p, .doc li { color: #c3cce6; font-size: 18px; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.box { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 28px; margin: 20px 0; }
.box.gold { border-color: rgba(245,196,81,.45); }
.facts { display: grid; grid-template-columns: 200px 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts div { padding: 13px 18px; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { color: var(--gold); font-weight: 600; background: rgba(15,28,64,.6); }
.facts div:nth-child(even) { color: var(--text); }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-top: 16px; }
.asset { display: block; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s, transform .2s; }
.asset:hover { border-color: var(--gold); transform: translateY(-3px); }
.asset img { width: 100%; height: 140px; object-fit: contain; background: radial-gradient(closest-side, #1a2f6b, #0a1430); padding: 10px; }
.asset span { display: block; padding: 10px 12px; color: var(--text); font-size: 14px; font-weight: 600; }
.asset small { color: var(--muted); font-weight: 500; }
.assets-heroes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 640px) { .assets-heroes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.assets-heroes img { height: auto; aspect-ratio: 9 / 16; object-fit: cover; object-position: center top; padding: 0; background: var(--panel); }
.assets-heroes small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.35; }
.post { border-left: 3px solid var(--gold); padding: 4px 0 4px 24px; margin: 0 0 46px; }
.post time { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.post h2 { margin: 8px 0 12px; font-size: 44px; }
.post img, .post video { border-radius: 14px; border: 1px solid var(--line); margin: 14px 0; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } .facts div:nth-child(odd) { border-bottom: 0; padding-bottom: 2px; } }

/* phones (owner 2026-11-12: "didn't feel optimised for phones"): shorter sections, and the rows of cards swiped
   sideways instead of stacked into a very long page (the next card peeks in at the edge) */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .cards-enemy, .info-cards { display: flex; grid-template-columns: none; gap: 14px; max-width: none; margin: 30px -20px 0; padding: 6px 20px 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .cards-enemy::-webkit-scrollbar, .info-cards::-webkit-scrollbar { display: none; }
  .cards-enemy > *, .info-cards > * { flex: 0 0 80%; scroll-snap-align: center; }
  .e-art { height: 190px; }
  .i-card { padding: 22px 22px 24px; }
  .ic-row { flex-wrap: wrap; }
  .ic-row img, .i-card .ic-row img, .i-card .ic-wrap img { flex: 0 1 52px; width: 52px; height: auto; }
  .i-card .ic-row img:only-child { flex-basis: 88px; width: 88px; }
  .i-card .ic-row, .i-card .emo-row { min-height: 116px; }
  .emo-row img, .i-card .emo-row img { flex: 0 1 32px; width: 32px; height: auto; }   /* six faces on one line inside the card */
  .enemy .center::after, .news-feat .center::after, .events .center::after { content: "Swipe \2192"; display: block; margin-top: 16px;
    color: var(--muted); font: 700 12px/1 var(--body); letter-spacing: 2px; text-transform: uppercase; }
}

/* phones, second pass (owner 2026-11-12): the Merge slide read squished, and the commander's details were split by the
   roster - the roster is now one swiped row above the commander, so the picture and everything about them stay together */
@media (max-width: 699px) {
  .hx-side { order: -1; border-top: 0; border-bottom: 1px solid var(--line); padding: 12px 12px 10px; }
  .hx-filters { margin-bottom: 10px; }
  .hx-roster { display: flex; grid-template-columns: none; gap: 10px; padding: 4px 2px 6px; overflow-x: auto; scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hx-t { flex: 0 0 66px; font-size: 13px; scroll-snap-align: center; }
  .hx-legend { display: none; }
}
@media (max-width: 640px) {
  .s-arrow { display: none; }   /* swiped and tabbed on a phone; the arrows sat on top of the art */
  .art-merge img.m1 { width: 36%; left: 6%; top: 8%; }
  .art-merge img.m2 { width: 36%; left: 58%; top: 8%; }
  .art-merge img.m3 { width: 66%; left: 17%; right: auto; top: 50%; height: 46%; }
  .art-merge .op { font-size: 44px; }
  .art-merge .op:nth-of-type(1) { left: 46%; top: 13%; }
  .art-merge .op:nth-of-type(2) { left: 46%; top: 35%; }
}
