/* Wild Factions — site styles */
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --bg: #0c0a0b;
  --bg-2: #131012;
  --panel: #1a1517;
  --line: rgba(236, 227, 211, .12);
  --text: #ece3d3;
  --muted: #b2a797;
  --dim: #82786c;
  --red: #c8333b;
  --red-glow: rgba(200, 51, 59, .35);
  --green: #46ad5f;
  --green-glow: rgba(70, 173, 95, .3);
  --amber: #d08a3c;
  --gold: #c9a45c;
  --steam: #1b2838;
  --radius: 14px;
  --wrap: 1180px;
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: 21px; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.ico { width: 20px; height: 20px; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 600 17px/1 var(--sans);
  text-decoration: none; border: 1px solid transparent; transition: transform .2s, background .2s, box-shadow .2s, border-color .2s; cursor: pointer; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-steam { background: linear-gradient(180deg, #e04a4f, #b02a32); color: #fff; box-shadow: 0 10px 30px -10px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-steam:hover { box-shadow: 0 14px 36px -8px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-steam.is-soon { background: rgba(236,227,211,.08); color: var(--text); box-shadow: none; border-color: var(--line); cursor: default; }
.btn-steam.is-soon:hover { transform: none; }
.btn-ghost { border-color: rgba(236,227,211,.3); color: var(--text); background: rgba(12,10,11,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--text); }
.btn-gold { background: var(--gold); color: #1a1408; }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-sm .ico { width: 18px; height: 18px; }

/* ---------- top bar ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.topbar.scrolled { background: rgba(12,10,11,.88); backdrop-filter: blur(12px); border-color: var(--line); }
.topbar-in { max-width: 1320px; margin: 0 auto; height: 64px; padding: 0 20px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 17px var(--serif); letter-spacing: .06em; white-space: nowrap; }
.brand img { border-radius: 7px; }
.mainnav { margin-left: auto; }
.mainnav ul { display: flex; gap: 4px; }
.mainnav a { display: block; padding: 8px 12px; text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 600; letter-spacing: .03em; border-radius: 8px; transition: color .2s; }
.mainnav a:hover, .mainnav a.active { color: var(--text); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; }

.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(12,10,11,.4); border: 1px solid var(--line); color: var(--text);
  height: 40px; padding: 0 12px; border-radius: 10px; font: 700 14px var(--sans); letter-spacing: .06em; cursor: pointer; }
.lang-btn:hover { border-color: rgba(236,227,211,.35); }
.lang-btn .chev { width: 16px; height: 16px; transition: transform .2s; }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.lang-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: 16px; }
.lang-menu a:hover { background: rgba(236,227,211,.07); }
.lang-menu a[aria-current="true"] { color: var(--gold); }
.lang-code { font: 700 12px var(--sans); letter-spacing: .08em; width: 26px; color: var(--dim); }
.lang-menu a[aria-current="true"] .lang-code { color: var(--gold); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; justify-content: center; text-align: center; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.04); animation: drift 22s ease-out forwards; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 62%, rgba(12,10,11,.72), transparent 75%),
              linear-gradient(180deg, rgba(12,10,11,.55) 0%, rgba(12,10,11,0) 22%, rgba(12,10,11,.25) 55%, var(--bg) 97%); }
@keyframes drift { to { transform: scale(1); } }
.hero-in { max-width: 820px; padding: 120px 24px 72px; }
.eyebrow { font: 600 14px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.hero-logo { margin: 14px auto 6px; max-width: 640px; }
.hero-logo img { width: 100%; filter: drop-shadow(0 6px 30px rgba(0,0,0,.8)); }
.hero-tagline { font: 600 clamp(20px, 2.6vw, 28px)/1.3 var(--serif); text-shadow: 0 2px 16px rgba(0,0,0,.9); }
.hero-text { margin: 14px auto 0; max-width: 640px; color: #d8cfbf; font-size: clamp(17px, 1.7vw, 19px); text-shadow: 0 2px 12px rgba(0,0,0,.95); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.badges li { font-size: 14px; font-weight: 600; letter-spacing: .04em; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(12,10,11,.5); color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 15px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green-glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(70,173,95,.55); } 70% { box-shadow: 0 0 0 10px rgba(70,173,95,0); } 100% { box-shadow: 0 0 0 0 rgba(70,173,95,0); } }
.split-line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--red) 25%, var(--red) 49.5%, var(--gold) 50%, var(--green) 50.5%, var(--green) 75%, transparent); opacity: .7; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.sec-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.sec-head.sub { margin-top: clamp(80px, 10vw, 120px); }
.kicker { font: 700 13px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.lead { margin-top: 18px; color: var(--muted); font-size: clamp(18px, 1.8vw, 20px); }
.h-sm { font-size: clamp(26px, 3.2vw, 38px); }

/* story */
.story { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.story-list { display: grid; gap: clamp(48px, 7vw, 88px); counter-reset: s; }
.story-step { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.story-step:nth-child(even) .story-img { order: 2; }
.story-img { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); border: 1px solid var(--line); aspect-ratio: 16/9; }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.story-step:hover .story-img img { transform: scale(1.03); }
.story-num { font: 700 15px var(--serif); color: var(--red); letter-spacing: .1em; }
.story-copy h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 8px 0 14px; }
.story-copy p { color: var(--muted); font-size: 19px; }
.story-outro { margin: clamp(64px, 8vw, 96px) auto 0; max-width: 720px; text-align: center; font: 600 clamp(22px, 2.6vw, 30px)/1.4 var(--serif); }

/* factions */
.faction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.faction { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, border-color .3s, box-shadow .3s; }
.faction:hover { transform: translateY(-4px); }
.faction-carnivore:hover { border-color: rgba(200,51,59,.55); box-shadow: 0 20px 50px -25px var(--red-glow); }
.faction-herbivore:hover { border-color: rgba(70,173,95,.55); box-shadow: 0 20px 50px -25px var(--green-glow); }
.faction-omnivore:hover { border-color: rgba(208,138,60,.55); box-shadow: 0 20px 50px -25px rgba(208,138,60,.3); }
.faction-art { aspect-ratio: 1; overflow: hidden; position: relative; }
.faction-art img { width: 100%; height: 100%; object-fit: cover; }
.faction-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--panel)); }
.faction-body { padding: 4px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.faction-body h3 { font-size: 28px; }
.faction-carnivore h3 { color: #e65a60; }
.faction-herbivore h3 { color: #67c47e; }
.faction-omnivore h3 { color: #e0a35e; }
.faction-motto { font: 600 18px/1.35 var(--serif); }
.faction-body p { color: var(--muted); font-size: 17px; }
.faction-hook { font-style: italic; color: var(--text) !important; }
.faction-where { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px !important; }
.faction-where span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }

.char-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.char { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.char img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s; }
.char:hover img { transform: scale(1.05); }
.char-info { padding: 14px 16px 18px; }
.char-info h3 { font-size: 18px; margin: 8px 0 6px; }
.char-info p { font-size: 15px; line-height: 1.45; color: var(--muted); }
.tag { display: inline-block; font: 700 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.tag-carnivore { color: #ff8a8f; background: rgba(200,51,59,.16); }
.tag-herbivore { color: #8fe0a3; background: rgba(70,173,95,.16); }
.tag-omnivore { color: #f0bd80; background: rgba(208,138,60,.16); }
.professions { margin-top: 28px; text-align: center; color: var(--muted); font-size: 17px; }
.professions span { font-weight: 700; color: var(--gold); margin-right: 12px; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }

/* gameplay */
.gameplay { background: var(--bg-2); border-block: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 48px; }
.stats li { background: var(--bg-2); padding: 30px 16px; text-align: center; }
.stats strong { display: block; font: 700 clamp(40px, 5vw, 60px)/1 var(--serif); background: linear-gradient(180deg, #f3e9d6, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feat-ico { width: 34px; height: 34px; color: var(--gold); margin-bottom: 18px; }
.feat:nth-child(3n+1) .feat-ico { color: #e65a60; }
.feat:nth-child(3n+3) .feat-ico { color: #67c47e; }
.feat h3 { font-size: 20px; margin-bottom: 10px; }
.feat p { color: var(--muted); font-size: 17px; }

/* world & galleries */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.moment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery li { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.g-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.g-btn img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; }
.moment .g-btn img { aspect-ratio: 2/1; }
.g-btn:hover img { transform: scale(1.05); }
.g-cap { padding: 16px 20px 20px; }
.g-cap h3 { font-size: 19px; }
.g-cap p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.loc { border-top: 2px solid transparent !important; }
.loc-herbivore { border-top-color: var(--green) !important; }
.loc-carnivore { border-top-color: var(--red) !important; }
.moment .g-cap { padding: 10px 14px 12px; }
.moment .g-cap h3 { font: 600 15px var(--sans); letter-spacing: .02em; color: var(--muted); }

/* demo */
.demo { overflow: hidden; isolation: isolate; }
.demo-bg { position: absolute; inset: 0; z-index: -1; }
.demo-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.demo-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 20%, rgba(12,10,11,.75) 60%, rgba(12,10,11,.5)), linear-gradient(180deg, var(--bg), transparent 20%, transparent 80%, var(--bg)); }
.demo-in { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; }
.demo-copy .lead { max-width: 560px; }
.demo-list { margin-top: 28px; display: grid; gap: 12px; }
.demo-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; }
.demo-list .ico { color: var(--green); margin-top: 4px; }
.demo .hero-ctas { justify-content: flex-start; }
.steam-widget { display: block; width: 100%; max-width: 646px; height: 190px; border: 0; margin-top: 24px; border-radius: 8px; }
.note { margin-top: 18px; max-width: 560px; color: var(--dim); font-size: 16px; }
.demo-feedback { margin-top: 12px; }
.demo-feedback a { color: var(--gold); font-weight: 600; text-decoration: none; }
.content-note { background: rgba(26,21,23,.85); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: var(--radius); padding: 24px 26px; backdrop-filter: blur(8px); }
.content-note h3 { font: 700 13px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.content-note p { color: var(--muted); font-size: 16px; }

/* press */
.press { background: var(--bg-2); border-top: 1px solid var(--line); }
.press-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.press-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.press-card h3 { font-size: 22px; margin-bottom: 20px; }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--dim); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
.facts dd { margin: 0; font-size: 17px; }
.press-contact { margin-top: 20px; color: var(--muted); font-size: 16px; }
.press-contact a { color: var(--gold); }
.dl-list { margin-top: 20px; display: grid; gap: 4px; }
.dl-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: 16px; transition: background .2s, color .2s; }
.dl-list a:hover { background: rgba(236,227,211,.06); color: var(--text); }
.dl-list .ico { color: var(--gold); }

/* contact */
.contact { text-align: center; background: radial-gradient(ellipse 50% 60% at 30% 100%, rgba(200,51,59,.12), transparent), radial-gradient(ellipse 50% 60% at 70% 100%, rgba(70,173,95,.1), transparent); }
.contact-in { max-width: 720px; }
.mail { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; font: 600 clamp(19px, 2.6vw, 26px) var(--sans); letter-spacing: .01em; text-decoration: none; padding: 16px 28px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, background .2s; overflow-wrap: anywhere; }
.mail:hover { border-color: var(--gold); background: rgba(201,164,92,.06); }
.mail .ico { width: 26px; height: 26px; color: var(--gold); }
.social { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.social a { display: block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; }
.social a:hover { color: var(--text); border-color: var(--text); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--dim); font-size: 15px; }
.footer-in { display: grid; gap: 14px; justify-items: center; text-align: center; }
.footer-brand img { width: 220px; opacity: .85; }
.footer-langs { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-langs a { color: var(--muted); text-decoration: none; }
.footer-langs a:hover { color: var(--text); }
.footer a { color: var(--muted); }
.fine { font-size: 13px; max-width: 760px; }
.to-top { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; margin-top: 8px; font-size: 14px; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(6,5,6,.92); backdrop-filter: blur(4px); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: min(1400px, 92vw); text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox figcaption { margin-top: 14px; font: 600 18px var(--serif); color: var(--text); }
.lightbox button { position: absolute; background: rgba(26,21,23,.8); border: 1px solid var(--line); color: var(--text); width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox button:hover { border-color: var(--text); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .mainnav a { padding: 8px 8px; font-size: 14px; }
  .char-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .mainnav { position: absolute; top: 64px; left: 0; right: 0; margin: 0; }
  .mainnav ul { display: none; flex-direction: column; gap: 0; background: rgba(12,10,11,.97); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .mainnav ul.open { display: flex; }
  .mainnav a { padding: 12px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .topbar-actions { margin-left: auto; }
  .faction-grid, .feat-grid, .loc-grid { grid-template-columns: 1fr 1fr; }
  .faction-omnivore { grid-column: 1 / -1; flex-direction: row; }
  .faction-omnivore .faction-art { width: 42%; flex: none; }
  .faction-omnivore .faction-art::after { background: linear-gradient(90deg, transparent 55%, var(--panel)); }
  .faction-omnivore .faction-body { padding-top: 26px; }
  .story-step { grid-template-columns: 1fr; }
  .story-step:nth-child(even) .story-img { order: 0; }
  .moment-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-in, .press-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .topbar-in { padding: 0 12px; gap: 8px; }
  .brand span { display: none; }
  .topbar-actions .btn-sm { padding: 8px 12px; font-size: 13px; }
  .topbar-actions .btn-sm .ico { display: none; }
  .hero-in { padding: 100px 16px 56px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .faction-grid, .feat-grid, .loc-grid { grid-template-columns: 1fr; }
  .faction-omnivore { flex-direction: column; }
  .faction-omnivore .faction-art { width: auto; }
  .faction-omnivore .faction-art::after { background: linear-gradient(180deg, transparent 55%, var(--panel)); }
  .faction-omnivore .faction-body { padding-top: 4px; }
  .char-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .char-info { padding: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .press-card { padding: 22px; }
  .mail { padding: 14px 20px; font-size: 18px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
