:root {
  color-scheme: dark;
  --ink: #06090c;
  --panel: #0b1116;
  --panel-soft: #101820;
  --text: #edf2f1;
  --muted: #a0a9aa;
  --line: rgba(255, 255, 255, .12);
  --rift: #75d8e8;
  --rift-bright: #c7f8ff;
  --blood: #b3373d;
  --blood-bright: #e45f62;
  --max: 1280px;
  --serif: "Cinzel", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
img { display: block; width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 100; transform: translateY(-200%); padding: .75rem 1rem; background: var(--rift); color: #021014; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 30; height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 0 max(2rem, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, height .25s; }
.site-header.is-scrolled { height: 70px; background: rgba(6,9,12,.9); border-color: var(--line); backdrop-filter: blur(16px); }
.brand { display: block; width: 142px; text-decoration: none; filter: drop-shadow(-2px 0 12px rgba(117,216,232,.22)) drop-shadow(2px 0 12px rgba(179,55,61,.22)); }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.75rem); }
.site-nav a, .footer-links a { color: #d5dcdd; text-decoration: none; font-size: .85rem; font-weight: 600; letter-spacing: .06em; }
.site-nav a:hover, .site-nav a:focus-visible, .footer-links a:hover { color: var(--rift-bright); }
.site-header > .button { justify-self: end; }
.menu-toggle { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .75rem 1.35rem; border: 1px solid transparent; text-decoration: none; text-transform: uppercase; font-size: .78rem; font-weight: 700; letter-spacing: .09em; transition: transform .2s, border-color .2s, background .2s, box-shadow .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--text); color: #071014; box-shadow: 0 12px 35px rgba(0,0,0,.24); }
.button-primary:hover { background: var(--rift-bright); box-shadow: 0 12px 40px rgba(117,216,232,.18); }
.button-ghost { border-color: rgba(255,255,255,.28); background: rgba(3,6,8,.3); }
.button-ghost:hover { border-color: var(--rift); background: rgba(117,216,232,.08); }
.button-small { min-height: 42px; padding: .6rem 1rem; font-size: .7rem; border-color: rgba(255,255,255,.3); background: rgba(5,8,10,.28); }

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; isolation: isolate; overflow: hidden; }
.hero-backdrop { position: absolute; inset: 0; z-index: -2; background: url("assets/hero-factions.webp") center 42% / cover no-repeat; transform: scale(1.015); filter: saturate(.94) contrast(1.03); }
.final-cta-bg { position: absolute; inset: 0; z-index: -2; background: url("assets/hero.webp") center 42% / cover no-repeat; transform: scale(1.02); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--ink) 0%, rgba(3,5,8,.5) 23%, rgba(3,5,8,.04) 65%, rgba(3,5,8,.44) 100%), radial-gradient(ellipse at 50% 48%, transparent 28%, rgba(2,4,6,.54) 100%); }
.hero-content { position: relative; z-index: 1; width: min(900px, calc(100% - 4rem)); margin: 4rem auto 0; padding: 5rem 0 2rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow { margin: 0 0 1.25rem; color: var(--rift); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: var(--serif); line-height: 1.05; }
.hero-kicker { margin: 0 0 .4rem; color: #d7e1e2; font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; text-shadow: 0 2px 16px #000; }
.hero-logo { width: min(780px, 88vw); margin: 0 auto -1rem; filter: drop-shadow(0 20px 36px rgba(0,0,0,.65)); }
.hero-logo img { width: 100%; height: auto; }
.hero-tagline { margin: 0; color: #fff; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: .04em; text-shadow: 0 3px 22px #000; }
.hero-genres { display: flex; align-items: center; gap: .75rem; margin: .75rem 0 1.8rem; color: #dbe5e6; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 2px 12px #000; }
.hero-genres i { width: 4px; height: 4px; transform: rotate(45deg); background: var(--rift); box-shadow: 0 0 10px var(--rift); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-meta { display: flex; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); margin: 2.2rem 0 0; padding: 1.1rem 1.5rem 0; border-top: 1px solid rgba(255,255,255,.2); width: min(650px, 100%); list-style: none; color: #e6ebeb; font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-align: left; text-shadow: 0 2px 12px #000; }
.hero-meta span { display: block; margin-bottom: .2rem; color: var(--muted); font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; }
.scroll-cue { position: absolute; right: max(2rem, calc((100vw - var(--max)) / 2)); bottom: 2rem; z-index: 2; display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--muted); font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 60px; background: linear-gradient(var(--rift), transparent); }

.section { position: relative; width: min(var(--max), calc(100% - 4rem)); margin: 0 auto; padding: 9rem 0; }
.section-index { position: absolute; top: 9rem; right: 0; color: rgba(255,255,255,.1); font-family: var(--serif); font-size: 3rem; }
.manifesto { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(4rem, 8vw, 9rem); align-items: end; }
.manifesto h2, .pillars h2, .feature h2, .final-cta h2 { margin-bottom: 0; font-size: clamp(2.75rem, 5.6vw, 5.6rem); font-weight: 500; letter-spacing: -.035em; }
.manifesto h2 em { color: var(--blood-bright); font-style: normal; }
.manifesto-copy { padding-bottom: .5rem; color: var(--muted); }
.lead { color: var(--text); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.55; }
.faction-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: 2.5rem; color: #dce7e8; font-family: var(--serif); letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.faction-line span { display: flex; align-items: center; gap: .8rem; }
.faction-line span:last-child { justify-content: flex-end; text-align: right; }
.faction-line img { width: 48px; height: 58px; object-fit: contain; transition: transform .2s; }
.faction-line:hover img { transform: translateY(-3px); }
.faction-line b { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--blood-bright); font-family: var(--sans); font-size: .65rem; }

.conflict-image { position: relative; width: min(1500px, calc(100% - 2rem)); height: min(72vw, 760px); margin: 0 auto; overflow: hidden; background: #030506; }
.conflict-image::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 120px rgba(0,0,0,.75); pointer-events: none; }
.conflict-image img { height: 100%; object-fit: cover; }
.image-caption { position: absolute; left: 2rem; bottom: 2rem; z-index: 2; padding-left: 1rem; border-left: 2px solid var(--rift); text-shadow: 0 2px 12px #000; }
.image-caption span { display: block; color: var(--rift); font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.image-caption strong { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .04em; }

.discover-heading { max-width: 820px; margin-bottom: 3.5rem; }
.discover h2 { margin-bottom: 0; font-size: clamp(2.75rem, 5.6vw, 5.6rem); font-weight: 500; letter-spacing: -.035em; }
.gateway-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.gateway { position: relative; min-height: 480px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(2rem, 4vw, 3.5rem); overflow: hidden; border: 1px solid var(--line); color: var(--text); text-decoration: none; isolation: isolate; }
.gateway::before { content: ""; position: absolute; inset: 0; z-index: -2; background-position: center; background-size: cover; transition: transform .5s ease, filter .5s ease; }
.gateway::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4,7,9,.98) 0%, rgba(4,7,9,.64) 48%, rgba(4,7,9,.08) 100%); }
.gateway-factions::before { background-image: url("assets/faction-war.webp"); }
.gateway-world::before { background-image: url("assets/wayfarers-map.webp"); }
.gateway:hover::before, .gateway:focus-visible::before { transform: scale(1.035); filter: saturate(1.08); }
.gateway-label { color: var(--rift); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.gateway strong { margin-top: .45rem; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 500; }
.gateway p { max-width: 460px; margin: .75rem 0 1.5rem; color: #bec8c9; }
.gateway-action { font-size: .7rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.gateway-action i { margin-left: .4rem; color: var(--rift); font-style: normal; }

.pillars-heading { max-width: 680px; margin-bottom: 4rem; }
.pillars-heading > p:last-child { max-width: 520px; color: var(--muted); font-size: 1.1rem; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar { position: relative; min-height: 500px; display: flex; flex-direction: column; border-right: 1px solid var(--line); overflow: hidden; background: rgba(10,15,19,.62); transition: background .25s, transform .25s; }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: linear-gradient(180deg, rgba(117,216,232,.07), transparent); transform: translateY(-5px); }
.pillar-visual { position: relative; height: 205px; flex: 0 0 auto; overflow: hidden; border-bottom: 1px solid var(--line); background: #0a0f13; }
.pillar-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,9,12,.58), transparent 60%); pointer-events: none; }
.pillar-visual > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.84) contrast(1.04); transition: transform .4s ease, filter .4s ease; }
.pillar:hover .pillar-visual > img { transform: scale(1.035); filter: saturate(1) contrast(1.04); }
.pillar-gather .pillar-visual > img { object-position: 16% center; }
.pillar-forge .pillar-visual > img { object-position: 62% center; }
.pillar-copy { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.pillar-number { color: var(--muted); font-family: var(--serif); font-size: .75rem; }
.pillar h3 { margin: 1.75rem 0 1rem; font-size: 2rem; font-weight: 500; }
.pillar p { color: var(--muted); font-size: .92rem; }
.pillar-tag { display: block; margin-top: auto; padding-top: 2rem; color: var(--rift); font-size: .65rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.pillar-faction-visual { background: linear-gradient(90deg, rgba(114,27,31,.48), #0a0f13 48%, #0a0f13 52%, rgba(32,91,132,.48)); }
.pillar-faction-visual::after { background: radial-gradient(circle at center, rgba(229,193,90,.13), transparent 55%); }
.pillar-faction-visual img { position: absolute; top: -8%; width: 64%; height: 116%; object-fit: contain; filter: drop-shadow(0 18px 25px rgba(0,0,0,.5)); }
.pillar-faction-visual .item-aresden { left: -7%; transform: scaleX(-1); }
.pillar-faction-visual .item-elvine { right: -7%; }
.pillar:hover .pillar-faction-visual .item-aresden { transform: scaleX(-1) translateY(-3px); }
.pillar:hover .pillar-faction-visual .item-elvine { transform: translateY(-3px); }
.pillar-faction-visual span { position: absolute; z-index: 2; left: 50%; top: 50%; display: grid; place-items: center; width: 38px; height: 38px; transform: translate(-50%, -50%); border: 1px solid rgba(229,193,90,.38); border-radius: 50%; background: rgba(6,9,12,.88); color: #e5c15a; font-size: .58rem; font-weight: 800; }

.feature { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 760px; background: var(--panel); }
.feature-image { position: relative; min-height: 520px; overflow: hidden; }
.feature-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--panel) 100%); }
.feature-image img { height: 100%; object-fit: cover; object-position: 28% center; filter: saturate(.78) contrast(1.05); }
.feature-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem) max(2rem, calc((100vw - var(--max)) / 2)); padding-left: clamp(3rem, 6vw, 6rem); }
.feature-content h2 { margin-bottom: 2rem; }
.feature-content > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.feature-list { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-list li { position: relative; padding: .9rem 0 .9rem 1.5rem; border-bottom: 1px solid var(--line); color: #d8dfdf; font-size: .88rem; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 1.42rem; width: 6px; height: 6px; transform: rotate(45deg); background: var(--rift); }

.gameplay-showcase { padding-top: 2rem; }
.showcase-heading { max-width: 760px; margin-bottom: 3rem; }
.showcase-heading h2 { margin-bottom: 1rem; font-size: clamp(2.75rem, 5.6vw, 5.6rem); font-weight: 500; letter-spacing: -.035em; }
.showcase-heading > p:last-child { max-width: 620px; color: var(--muted); font-size: 1.05rem; }
.showcase-link { display: inline-block; margin: -1.5rem 0 2.5rem; }
.showcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.showcase-card { position: relative; min-height: 360px; margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--panel); isolation: isolate; }
.showcase-card-wide { grid-column: 1 / -1; min-height: 560px; }
.showcase-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.86) contrast(1.03); transition: transform .5s ease, filter .5s ease; }
.showcase-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4,7,9,.96) 0%, rgba(4,7,9,.2) 55%, rgba(4,7,9,.05) 100%); }
.showcase-card:hover img { transform: scale(1.02); filter: saturate(1) contrast(1.03); }
.showcase-card figcaption { position: absolute; left: clamp(1.5rem, 3vw, 2.5rem); right: 1.5rem; bottom: clamp(1.5rem, 3vw, 2.5rem); }
.showcase-card figcaption span { display: block; margin-bottom: .4rem; color: var(--rift); font-size: .65rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.showcase-card figcaption strong { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 500; }

.final-cta { position: relative; min-height: 850px; display: grid; place-items: center; isolation: isolate; text-align: center; overflow: hidden; }
.final-cta-bg { opacity: .45; filter: blur(1px); }
.final-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at center, rgba(6,9,12,.38), var(--ink) 76%), linear-gradient(0deg, var(--ink), transparent 35%, var(--ink)); }
.final-cta-content { width: min(780px, calc(100% - 3rem)); }
.final-mark { margin: 0 auto 2.5rem; width: max-content; color: #f2f7f7; font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 5.25rem); font-weight: 700; letter-spacing: .14em; line-height: 1; text-shadow: -4px 0 28px rgba(117,216,232,.6), 4px 0 28px rgba(179,55,61,.6); }
.final-cta h2 { margin-bottom: 1.5rem; }
.final-cta-content > p:not(.eyebrow) { max-width: 580px; margin: 0 auto 2rem; color: #c2cbcc; font-size: 1.05rem; }
.final-cta .hero-actions { justify-content: center; }

.news-preview-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.news-preview h2, .news-hero h1, .devlog-header h2 { margin-bottom: 0; font-size: clamp(2.8rem, 5.6vw, 5.6rem); font-weight: 500; letter-spacing: -.035em; }
.text-link { color: var(--rift); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.stat-strip div { padding: 2rem; border-right: 1px solid var(--line); }
.stat-strip div:last-child { border-right: 0; }
.stat-strip strong, .devlog-stats strong { display: block; color: var(--rift-bright); font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 500; }
.stat-strip span, .devlog-stats span { color: var(--muted); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.news-lead-card { margin-top: 1rem; padding: clamp(2rem, 5vw, 4rem); display: flex; align-items: end; justify-content: space-between; gap: 3rem; background: linear-gradient(110deg, rgba(16,24,32,.97), rgba(7,11,15,.82)), url("assets/faction-war.webp") center / cover; border: 1px solid var(--line); }
.news-lead-card > div { max-width: 760px; }
.news-type { color: var(--rift); font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.news-lead-card h3 { margin: .6rem 0 1rem; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 500; }
.news-lead-card p { color: #bdc7c8; }

.site-footer { width: min(var(--max), calc(100% - 4rem)); min-height: 130px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; color: var(--muted); font-size: .72rem; }
.footer-links { justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem 2rem; }

.inner-page { padding-top: 70px; }
.site-nav [aria-current="page"] { color: var(--rift-bright); }
.page-hero { position: relative; min-height: 680px; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-position: center; background-size: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--ink) 0%, rgba(4,7,9,.5) 48%, rgba(4,7,9,.16) 100%); }
.world-hero::before { background-image: url("assets/build-your-legend.webp"); background-position: center 45%; }
.factions-hero::before { background-image: url("assets/hero-factions.webp"); background-position: center 40%; }
.page-hero-content { width: min(var(--max), calc(100% - 4rem)); margin: 0 auto; padding: 10rem 0 5rem; }
.page-hero h1 { max-width: 1000px; margin-bottom: 1.5rem; font-size: clamp(3.5rem, 8vw, 8rem); font-weight: 500; letter-spacing: -.04em; }
.page-hero-content > p:last-child { max-width: 680px; margin: 0; color: #d3dcdd; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.map-story { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.map-copy h2, .journey-band h2, .faction-purpose h2 { margin-bottom: 1.5rem; font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 500; letter-spacing: -.035em; }
.map-copy > p:not(.eyebrow):not(.lead), .journey-band > p, .faction-purpose > div:last-child > p:not(.lead) { color: var(--muted); }
.world-facts { margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.world-facts div { display: grid; grid-template-columns: 1fr 1.3fr; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.world-facts dt { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.world-facts dd { margin: 0; color: var(--text); }
.world-map { margin: 0; padding: .75rem; background: #0b1014; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.38); }
.world-map img { aspect-ratio: 1; object-fit: contain; background: #070b0e; }
.world-map figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem .3rem 0; color: var(--muted); font-size: .72rem; }
.world-map figcaption span { color: var(--rift); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.journey-band { width: min(var(--max), calc(100% - 4rem)); margin: 0 auto 8rem; padding: 5rem; display: grid; grid-template-columns: 1.1fr 1fr auto; gap: clamp(2rem, 5vw, 5rem); align-items: center; background: linear-gradient(120deg, #111a21, #080c10); border: 1px solid var(--line); }
.journey-band h2 { margin-bottom: 0; }
.faction-duel { position: relative; width: min(1500px, calc(100% - 2rem)); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); background: var(--panel); }
.faction-panel { min-height: 720px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(3rem, 7vw, 7rem); text-align: center; }
.faction-panel:first-child { border-right: 1px solid var(--line); background: radial-gradient(circle at 50% 35%, rgba(179,55,61,.12), transparent 42%); }
.faction-panel:last-child { background: radial-gradient(circle at 50% 35%, rgba(117,216,232,.12), transparent 42%); }
.faction-emblem { width: min(220px, 45%); aspect-ratio: 1; object-fit: contain; margin-bottom: 2rem; filter: drop-shadow(0 16px 30px rgba(0,0,0,.4)); }
.faction-panel h2 { margin-bottom: 1.25rem; font-size: clamp(3rem, 6vw, 6rem); font-weight: 500; }
.faction-panel > p:not(.eyebrow) { max-width: 510px; color: var(--muted); }
.faction-panel ul { width: min(430px, 100%); margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.faction-panel li { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.duel-mark { position: absolute; z-index: 2; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; transform: translate(-50%, -50%); border: 1px solid var(--line); border-radius: 50%; background: var(--ink); color: var(--blood-bright); font-weight: 800; font-size: .75rem; }
.faction-purpose { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(4rem, 8vw, 9rem); align-items: center; }
.faction-purpose .button { margin-top: 1.5rem; }
.faction-equipment { padding-top: 3rem; }
.faction-equipment-heading { max-width: 820px; margin-bottom: 4rem; }
.faction-equipment-heading h2 { margin-bottom: 1.25rem; font-size: clamp(2.8rem, 5.4vw, 5.4rem); font-weight: 500; letter-spacing: -.035em; }
.faction-equipment-heading > p:last-child { max-width: 700px; color: var(--muted); font-size: 1.05rem; }
.equipment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.equipment-pair { margin: 0; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); background: linear-gradient(125deg, rgba(120,30,34,.08), rgba(7,11,15,.7) 48%, rgba(35,100,145,.08)); }
.equipment-pair > div { position: relative; height: 310px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; }
.equipment-pair > div::after { content: ""; position: absolute; left: 50%; top: 12%; bottom: 12%; width: 1px; background: linear-gradient(transparent, rgba(229,193,90,.4), transparent); }
.equipment-pair img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 25px rgba(0,0,0,.38)); transition: transform .35s ease; }
.equipment-pair:hover img { transform: translateY(-5px); }
.equipment-pair h3 { margin: 1.25rem 0 .5rem; font-size: clamp(1.55rem, 2.5vw, 2.25rem); font-weight: 500; }
.equipment-pair p { margin: 0; color: var(--muted); }
.equipment-pair-capes > div { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.equipment-pair-capes > div::after { display: none; }
.equipment-pair-capes figure { min-width: 0; margin: 0; text-align: center; }
.equipment-pair-capes figure img { height: 270px; }
.equipment-pair-capes figcaption { margin-top: .4rem; color: var(--muted); font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; }
.equipment-grid .equipment-pair:last-child:nth-child(odd) { grid-column: 1 / -1; }
.equipment-sets-heading { max-width: 760px; margin: clamp(5rem, 9vw, 8rem) 0 3rem; }
.equipment-sets-heading h2 { margin-bottom: 1rem; font-size: clamp(2.5rem, 4.8vw, 4.8rem); font-weight: 500; letter-spacing: -.03em; }
.equipment-sets-heading > p:last-child { max-width: 640px; color: var(--muted); }
.equipment-set-grid { display: grid; gap: 1rem; }
.equipment-set-card { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.8fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; min-height: 410px; padding: clamp(1.5rem, 3vw, 3rem); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 78% 50%, rgba(229,193,90,.07), transparent 42%), linear-gradient(120deg, rgba(15,21,27,.98), rgba(6,9,12,.96)); }
.equipment-set-card h3 { margin-bottom: .8rem; font-size: clamp(2rem, 3.8vw, 3.6rem); font-weight: 500; }
.equipment-set-copy > p:last-child { max-width: 360px; margin: 0; color: var(--muted); }
.equipment-set-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.equipment-set-items-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.equipment-set-items-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.equipment-set-items-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.equipment-set-items figure { min-width: 0; margin: 0; text-align: center; }
.equipment-set-items img { width: 100%; height: 175px; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0,0,0,.48)); transition: transform .35s ease; }
.equipment-set-card:hover .equipment-set-items img { transform: translateY(-4px); }
.equipment-set-items figcaption { margin-top: .35rem; color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

.news-hero { width: min(var(--max), calc(100% - 4rem)); min-height: 630px; margin: 0 auto; display: flex; align-items: end; padding: 8rem 0 5rem; }
.news-hero > div { max-width: 920px; }
.news-hero h1 { font-size: clamp(3.5rem, 8vw, 8rem); }
.news-hero > div > p:last-child { max-width: 660px; color: var(--muted); font-size: 1.2rem; }
.devlog-article { padding-top: 4rem; }
.devlog-header { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; margin-bottom: 4rem; }
.devlog-category { margin: -.45rem 0 1rem; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.devlog-intro { color: var(--text); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.devlog-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.devlog-stats div { min-height: 155px; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.devlog-stats strong { font-size: clamp(1.6rem, 2.5vw, 2.6rem); }
.leaderboard { margin-top: 5rem; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); }
.leaderboard h3, .steam-momentum h3 { margin-bottom: 1rem; font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 500; }
.leaderboard > div > p:last-child { color: var(--muted); }
.leaderboard ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.leaderboard li { display: flex; justify-content: space-between; gap: 2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.leaderboard li span { color: var(--muted); }
.steam-momentum { margin-top: 6rem; padding: clamp(2.5rem, 6vw, 5rem); display: flex; align-items: end; justify-content: space-between; gap: 4rem; background: linear-gradient(120deg, #101921, #080c10); border: 1px solid var(--line); }
.steam-momentum > div { max-width: 760px; }
.steam-momentum p:not(.eyebrow) { color: #bdc7c8; }
.steam-rollup { padding-top: 2rem; padding-bottom: 5rem; border-bottom: 1px solid var(--line); }
.steam-rollup-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.steam-rollup-heading > div > p:last-child { max-width: 580px; margin-bottom: 0; color: var(--muted); }
.steam-rollup h2 { margin-bottom: 0; font-size: clamp(2.8rem, 5.6vw, 5.6rem); font-weight: 500; letter-spacing: -.035em; }
.steam-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.steam-news-card { min-height: 360px; display: flex; flex-direction: column; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(145deg, rgba(16,24,32,.55), rgba(6,9,12,.2)); }
.steam-news-thumbnail { width: calc(100% + 4rem); height: 190px; margin: -2rem -2rem 1.5rem; object-fit: cover; border-bottom: 1px solid var(--line); background: var(--panel); }
.steam-news-type { align-self: flex-start; margin-bottom: 1rem; padding: .32rem .55rem; border: 1px solid rgba(229,193,90,.32); color: var(--rift-bright); font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.steam-news-card time { color: var(--rift); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.steam-news-card h3 { margin: 2.5rem 0 1rem; font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 500; }
.steam-news-card p { color: var(--muted); font-size: .9rem; }
.steam-news-card a { margin-top: auto; padding-top: 1.5rem; color: var(--text); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.steam-news-card a:hover, .steam-news-card a:focus-visible { color: var(--rift-bright); }
.steam-news-status { margin: 1.5rem 0 0; color: var(--muted); font-size: .85rem; }
.steam-news-status a { color: var(--text); }

/* Gameplay */
.gameplay-hero::before { background-image: url("assets/character-creation.webp"); background-position: 64% center; }
.gameplay-hero::after { background: linear-gradient(90deg, rgba(4,7,9,.94) 0%, rgba(4,7,9,.58) 52%, rgba(4,7,9,.18) 100%); }
.gameplay-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.gameplay-intro h2, .gameplay-feature h2, .gameplay-cta h2 { margin-bottom: 1.25rem; font-size: clamp(2.7rem, 5.2vw, 5.2rem); font-weight: 500; letter-spacing: -.035em; }
.gameplay-intro .lead { margin-top: 0; }
.gameplay-intro > div:last-child > p:not(.lead) { color: var(--muted); }
.gameplay-feature { display: grid; grid-template-columns: 1.12fr .88fr; min-height: 650px; background: var(--panel); border-top: 1px solid var(--line); }
.gameplay-feature-reverse { grid-template-columns: .88fr 1.12fr; }
.gameplay-feature-reverse .gameplay-feature-media { order: 2; }
.gameplay-feature-media { position: relative; min-height: 520px; overflow: hidden; }
.gameplay-feature-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 65%, rgba(10,14,17,.52)); pointer-events: none; }
.gameplay-feature-reverse .gameplay-feature-media::after { background: linear-gradient(-90deg, transparent 65%, rgba(10,14,17,.52)); }
.gameplay-feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.86) contrast(1.04); }
.gameplay-feature-copy { align-self: center; padding: clamp(3rem, 7vw, 7rem); }
.gameplay-feature-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; }
.gameplay-feature-copy ul { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.gameplay-feature-copy li { position: relative; padding: .85rem 0 .85rem 1.4rem; border-bottom: 1px solid var(--line); color: #d8dfdf; font-size: .88rem; }
.gameplay-feature-copy li::before { content: ""; position: absolute; left: 0; top: 1.3rem; width: 6px; height: 6px; transform: rotate(45deg); background: var(--rift); }
.gameplay-cta { width: min(900px, calc(100% - 4rem)); margin: 0 auto; padding: clamp(7rem, 14vw, 12rem) 0; text-align: center; }
.gameplay-cta > p:not(.eyebrow) { max-width: 650px; margin: 0 auto 2.5rem; color: var(--muted); font-size: 1.1rem; }
.gameplay-cta .hero-actions { justify-content: center; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; padding-inline: 1.5rem; }
  .site-header > .button { display: none; }
  .menu-toggle { display: grid; gap: 5px; width: 42px; height: 42px; place-content: center; border: 1px solid var(--line); background: rgba(0,0,0,.2); color: white; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 18px; height: 1px; background: currentColor; }
  .site-nav { position: fixed; inset: 70px 0 auto; display: none; flex-direction: column; align-items: stretch; padding: 1.5rem; background: rgba(6,9,12,.97); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .75rem 0; }
  .manifesto, .feature { grid-template-columns: 1fr; }
  .map-story, .faction-purpose, .gameplay-intro { grid-template-columns: 1fr; }
  .equipment-set-card { grid-template-columns: 1fr; }
  .devlog-header, .leaderboard { grid-template-columns: 1fr; }
  .devlog-stats { grid-template-columns: repeat(3, 1fr); }
  .steam-news-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip div:nth-child(2) { border-right: 0; }
  .stat-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .news-lead-card, .steam-momentum { align-items: flex-start; flex-direction: column; }
  .journey-band { grid-template-columns: 1fr; padding: 3rem; }
  .faction-panel { padding-inline: 3rem; }
  .gateway { min-height: 420px; }
  .feature-image { min-height: 65vw; }
  .feature-image img { object-position: 34% center; }
  .feature-image::after { background: linear-gradient(0deg, var(--panel), transparent 40%); }
  .feature-content { padding: 2rem 2rem 6rem; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-card-wide { min-height: 50vw; }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .gameplay-feature, .gameplay-feature-reverse { grid-template-columns: 1fr; }
  .gameplay-feature-reverse .gameplay-feature-media { order: 0; }
  .gameplay-feature-copy { padding: 4rem 2rem 5rem; }
}

@media (max-width: 640px) {
  .hero-content, .section, .site-footer { width: min(100% - 2rem, var(--max)); }
  .page-hero-content, .journey-band { width: min(100% - 2rem, var(--max)); }
  .news-hero { width: min(100% - 2rem, var(--max)); }
  .page-hero { min-height: 600px; }
  .page-hero-content { padding-bottom: 3.5rem; }
  .hero-content { width: min(100% - 2rem, 900px); margin-top: 2rem; padding-top: 7rem; }
  .hero::before { background: linear-gradient(0deg, var(--ink), rgba(2,4,6,.38) 38%, rgba(2,4,6,.1) 65%, rgba(2,4,6,.5)); }
  .hero-backdrop { background-position: 50% center; }
  .hero-logo { width: min(105vw, 680px); margin-bottom: -.25rem; }
  .hero-tagline { font-size: clamp(1.4rem, 7vw, 2.2rem); }
  .hero-genres { gap: .5rem; font-size: .58rem; letter-spacing: .12em; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
  .hero-meta li { font-size: .68rem; }
  .scroll-cue { display: none; }
  .section { padding: 6rem 0; }
  .section-index { top: 5.5rem; font-size: 2rem; }
  .manifesto { gap: 3rem; }
  .manifesto h2, .pillars h2, .feature h2, .final-cta h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .conflict-image { width: 100%; height: 72svh; }
  .conflict-image img { object-position: 58% center; }
  .pillar-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-card-wide { grid-column: auto; min-height: 68vw; }
  .showcase-card { min-height: 68vw; }
  .gameplay-hero::before { background-position: 58% center; }
  .gameplay-feature-media { min-height: 64vw; }
  .gameplay-feature-copy { padding-inline: 1rem; }
  .gameplay-cta { width: min(100% - 2rem, 900px); }
  .gateway-grid { grid-template-columns: 1fr; }
  .gateway { min-height: 390px; }
  .faction-duel { width: 100%; grid-template-columns: 1fr; }
  .faction-panel { min-height: 620px; padding: 4rem 1.5rem; }
  .faction-panel:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .duel-mark { top: 50%; }
  .journey-band { margin-bottom: 5rem; padding: 2rem; }
  .news-preview-heading { align-items: flex-start; flex-direction: column; }
  .steam-rollup-heading { align-items: flex-start; flex-direction: column; }
  .steam-news-grid { grid-template-columns: 1fr; }
  .stat-strip, .devlog-stats { grid-template-columns: 1fr 1fr; }
  .stat-strip div:nth-child(2n), .devlog-stats div:nth-child(2n) { border-right: 0; }
  .leaderboard li { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .steam-momentum { padding: 2rem; }
  .pillar { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .pillar-visual { height: 58vw; max-height: 300px; }
  .equipment-grid { grid-template-columns: 1fr; }
  .equipment-pair > div { height: 65vw; max-height: 340px; }
  .equipment-pair-capes > div { height: auto; max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .5rem; }
  .equipment-pair-capes figure img { height: 44vw; max-height: 190px; }
  .equipment-grid .equipment-pair:last-child:nth-child(odd) { grid-column: auto; }
  .equipment-set-items-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equipment-set-items img { height: 34vw; max-height: 180px; }
  .feature-image { min-height: 78vw; }
  .feature-image img { object-position: 29% center; }
  .feature-content { padding-inline: 1rem; }
  .final-cta { min-height: 720px; }
  .site-footer { grid-template-columns: 1fr; padding: 2rem 0; text-align: center; justify-items: center; }
  .footer-links { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
