@font-face {
  font-family: "Rubik";
  src: url("assets/Rubik-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --ink: #030815;
  --navy: #061226;
  --navy-2: #0a1b35;
  --panel: rgba(8, 25, 50, .78);
  --cyan: #69e8ff;
  --cyan-2: #15a9e8;
  --aqua: #37d5c7;
  --gold: #e8b967;
  --violet: #8056ca;
  --text: #eff8ff;
  --muted: #a9bdd1;
  --line: rgba(136, 206, 238, .2);
  --wrap: min(1180px, calc(100vw - 48px));
  --display: "Rubik", "Segoe UI", sans-serif;
  --body: "Rubik", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; overflow-x: hidden; color: var(--text); background: var(--ink); font-family: var(--body); line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0; z-index: -3; background: radial-gradient(circle at 70% 18%, rgba(28, 105, 178, .18), transparent 34%), radial-gradient(circle at 20% 76%, rgba(54, 163, 158, .11), transparent 28%), linear-gradient(180deg, #030817 0%, #061226 45%, #020713 100%); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
::selection { color: var(--ink); background: var(--cyan); }

.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 16px; color: var(--ink); background: var(--cyan); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
#tide-canvas { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: .72; }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 100; height: 2px; background: transparent; }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--aqua), var(--cyan), var(--gold)); box-shadow: 0 0 12px var(--cyan); }

.site-header { position: fixed; top: 0; left: 0; z-index: 90; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; min-height: 78px; padding: 0 max(24px, calc((100vw - 1400px) / 2)); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, min-height .3s; }
.site-header.scrolled { min-height: 66px; border-color: var(--line); background: rgba(3, 8, 21, .88); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; color: white; font-family: var(--display); font-size: 18px; font-weight: 900; letter-spacing: .16em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(105, 232, 255, .55); border-radius: 50%; color: var(--gold); background: rgba(5, 21, 42, .7); box-shadow: inset 0 0 15px rgba(105, 232, 255, .18), 0 0 20px rgba(105, 232, 255, .14); }
.main-nav { display: flex; gap: 32px; }
.main-nav a, .site-footer a { position: relative; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: var(--cyan); transform: scaleX(0); transition: transform .25s; }
.main-nav a:hover, .site-footer a:hover { color: white; }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.lang-toggle { display: inline-flex; gap: 5px; padding: 9px 10px; border: 0; color: #7e96ad; background: none; font-size: 11px; font-weight: 800; letter-spacing: .12em; cursor: pointer; }
.lang-toggle .lang-active { color: var(--cyan); }
.steam-mini { padding: 10px 16px; border: 1px solid rgba(105, 232, 255, .42); color: #eafdff; background: rgba(18, 105, 151, .17); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transition: background .2s, border-color .2s; }
.steam-mini:hover { border-color: var(--cyan); background: rgba(18, 105, 151, .32); }

.hero { position: relative; display: flex; align-items: center; min-height: 100svh; isolation: isolate; overflow: hidden; background: #030a18; }
.hero-visual { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.035) translate3d(var(--hero-x, 0), var(--hero-y, 0), 0); transition: transform .2s ease-out; }
.hero-vignette { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 7, 17, .05) 0%, rgba(2, 7, 17, .18) 45%, rgba(2, 7, 17, .9) 77%, rgba(2, 7, 17, .98) 100%), linear-gradient(180deg, rgba(2, 7, 17, .25), transparent 35%, rgba(2, 7, 17, .92) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 220px; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.hero-content { display: flex; flex-direction: column; align-items: flex-start; padding-top: 112px; padding-left: min(51%, 690px); }
.eyebrow, .section-index { color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 38px; height: 1px; margin: 0 12px 3px 0; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.hero h1 { margin: 10px 0 12px; font-family: var(--display); text-transform: uppercase; line-height: .86; }
.hero h1 > span { display: block; font-size: clamp(60px, 6vw, 96px); font-weight: 900; letter-spacing: -.06em; text-shadow: 0 5px 0 rgba(1, 7, 17, .7), 0 0 50px rgba(47, 183, 239, .22); }
.hero h1 small { display: block; margin-top: 22px; color: var(--gold); font-family: var(--body); font-size: clamp(14px, 1.5vw, 20px); font-weight: 700; letter-spacing: .31em; line-height: 1.3; text-transform: uppercase; }
.hero-lead { max-width: 610px; margin: 12px 0 26px; color: #c7d8e7; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 26px; border: 1px solid transparent; color: white; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { position: relative; gap: 13px; overflow: hidden; color: #03101c; background: linear-gradient(135deg, #82f5ff, #3cc5e9 55%, #3ed9c9); box-shadow: 0 9px 34px rgba(51, 202, 232, .22); }
.button-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 48%, transparent 65%); transform: translateX(-130%); transition: transform .55s; }
.button-primary:hover { box-shadow: 0 14px 42px rgba(51, 202, 232, .38); }
.button-primary:hover::after { transform: translateX(130%); }
.button-primary small, .button-primary b { display: block; line-height: 1.05; }
.button-primary small { margin-bottom: 4px; font-size: 9px; letter-spacing: .2em; opacity: .72; }
.steam-glyph { font-size: 25px; }
.button-ghost { border-color: rgba(195, 225, 243, .36); background: rgba(8, 20, 38, .42); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: var(--cyan); background: rgba(20, 71, 102, .38); }
.hero-stats { display: flex; gap: 0; margin: 42px 0 0; }
.hero-stats div { min-width: 130px; padding: 0 24px; border-left: 1px solid var(--line); }
.hero-stats div:first-child { padding-left: 0; border-left: 0; }
.hero-stats dt { color: white; font-family: var(--display); font-size: 28px; font-weight: 900; line-height: 1; }
.hero-stats dd { max-width: 110px; margin: 7px 0 0; color: #8da7be; font-size: 10px; font-weight: 700; letter-spacing: .11em; line-height: 1.45; text-transform: uppercase; }
.scroll-cue { position: absolute; bottom: 27px; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 9px; color: #89a9bd; font-size: 9px; letter-spacing: .24em; text-decoration: none; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue i { position: relative; display: block; width: 1px; height: 38px; overflow: hidden; background: rgba(255, 255, 255, .2); }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--cyan); animation: scroll-line 1.8s ease-in-out infinite; }
.hero-orbit { position: absolute; z-index: -2; border: 1px solid rgba(86, 216, 249, .15); border-radius: 50%; pointer-events: none; }
.orbit-one { top: 18%; right: -12%; width: 480px; height: 480px; animation: orbit-drift 13s ease-in-out infinite; }
.orbit-two { right: 5%; bottom: -14%; width: 280px; height: 280px; border-color: rgba(229, 182, 99, .14); animation: orbit-drift 9s ease-in-out -3s infinite reverse; }

.section { position: relative; padding: 120px 0; }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading h2, .build-copy h2, .world-copy h2, .final-cta h2 { margin: 12px 0 18px; font-family: var(--display); font-size: clamp(38px, 5vw, 72px); font-weight: 850; letter-spacing: -.045em; line-height: 1.02; text-transform: uppercase; }
.section-heading p, .build-copy > p, .world-copy > p { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; }
.game-section { background: linear-gradient(180deg, transparent, rgba(8, 28, 52, .58), transparent); }
.video-shell { position: relative; overflow: hidden; border: 1px solid rgba(116, 208, 238, .25); background: #010713; box-shadow: 0 28px 80px rgba(0, 0, 0, .46), 0 0 60px rgba(19, 137, 181, .08); }
.video-shell::before, .screen-frame::before { content: ""; position: absolute; inset: -1px; z-index: 2; border: 1px solid transparent; border-image: linear-gradient(135deg, var(--cyan), transparent 20%, transparent 80%, var(--gold)) 1; pointer-events: none; }
.video-chrome { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); color: #8caabc; background: rgba(5, 17, 35, .9); font-size: 9px; letter-spacing: .18em; }
.video-chrome span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.video-chrome strong { font-weight: 700; }
.video-chrome em { margin-left: auto; color: #91ffd4; font-style: normal; }
.video-shell video { width: 100%; aspect-ratio: 16/9; background: #000; }
.video-scan { position: absolute; inset: 42px 0 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(106, 232, 255, .018) 4px); }

.build-section { overflow: hidden; }
.build-section::before { content: ""; position: absolute; top: 12%; right: -18%; width: 700px; height: 700px; border: 1px solid rgba(105, 232, 255, .07); border-radius: 50%; box-shadow: 0 0 130px rgba(26, 135, 182, .1); }
.build-layout { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 72px; }
.feature-ticks { display: grid; gap: 12px; margin: 32px 0; padding: 0; list-style: none; }
.feature-ticks li { position: relative; padding-left: 25px; color: #d5e4ef; font-size: 14px; }
.feature-ticks li::before { content: "✦"; position: absolute; left: 0; color: var(--cyan); font-size: 11px; }
.sprite-demo { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.sprite-button { padding: 0; border: 0; border-radius: 50%; color: inherit; background: none; cursor: pointer; }
.sprite-stage { position: relative; display: grid; place-items: center; width: 184px; height: 184px; overflow: hidden; border: 1px solid rgba(105, 232, 255, .26); border-radius: 50%; background: radial-gradient(circle, rgba(32, 158, 191, .22), rgba(4, 13, 29, .2) 60%, rgba(4, 13, 29, .9)); box-shadow: inset 0 0 30px rgba(35, 190, 210, .1), 0 0 30px rgba(35, 190, 210, .08); }
.sprite-stage::before { content: ""; position: absolute; right: 16px; bottom: 18px; left: 16px; height: 14px; border-radius: 50%; background: rgba(70, 211, 234, .16); filter: blur(5px); }
#mage-sprite { --row: 0; display: block; width: 180px; height: 180px; background: url("assets/moonbound-walk.webp") 0 calc(var(--row) * -180px) / 1080px 1440px no-repeat; animation: mage-walk .8s steps(6) infinite; transform: scale(1.03); }
.sprite-demo b, .sprite-demo small { display: block; }
.sprite-demo b { margin-bottom: 4px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.sprite-demo small { color: var(--muted); font-size: 12px; }

.constellation { position: relative; min-height: 610px; padding: 36px; overflow: hidden; border: 1px solid rgba(105, 232, 255, .24); background: radial-gradient(circle at 50% 42%, rgba(38, 145, 194, .2), transparent 36%), linear-gradient(155deg, rgba(10, 35, 65, .88), rgba(4, 12, 27, .94)); box-shadow: 0 25px 80px rgba(0, 0, 0, .35); }
.constellation::before, .constellation::after { content: ""; position: absolute; width: 120px; height: 120px; border-color: rgba(105, 232, 255, .22); border-style: solid; pointer-events: none; }
.constellation::before { top: 12px; left: 12px; border-width: 1px 0 0 1px; }
.constellation::after { right: 12px; bottom: 12px; border-width: 0 1px 1px 0; }
.constellation-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(105, 232, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(105, 232, 255, .12) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle, #000, transparent 75%); }
.build-meter, .builder-hint, .spell-grid, .build-result, .text-button { position: relative; z-index: 1; }
.build-meter { display: flex; align-items: end; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.build-meter span { color: #8aa7bd; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.build-meter strong { color: var(--cyan); font-family: var(--display); font-size: 27px; }
.builder-hint { margin: 25px 0; color: #c9dbe8; font-size: 14px; text-align: center; }
.spell-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.spell { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 156px; padding: 12px 8px; overflow: hidden; border: 1px solid rgba(105, 232, 255, .15); color: #91a9bd; background: rgba(5, 14, 31, .68); cursor: pointer; transition: color .2s, border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.spell:hover { color: #e7faff; border-color: rgba(105, 232, 255, .55); transform: translateY(-3px); }
.spell.active { color: var(--cyan); border-color: rgba(105, 232, 255, .65); background: radial-gradient(circle, rgba(41, 189, 222, .22), rgba(5, 20, 39, .78)); box-shadow: inset 0 0 25px rgba(66, 214, 235, .09), 0 0 18px rgba(66, 214, 235, .08); }
.spell-icon { z-index: 1; width: 88px; height: 88px; object-fit: cover; filter: saturate(.72) brightness(.68); opacity: .72; box-shadow: 0 6px 18px rgba(0, 0, 0, .32); transition: filter .2s, opacity .2s, transform .2s, box-shadow .2s; }
.spell:hover .spell-icon, .spell.active .spell-icon { filter: saturate(1.08) brightness(1.02); opacity: 1; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(35, 174, 219, .22); }
.spell b { z-index: 1; font-size: 10px; letter-spacing: .08em; line-height: 1.3; text-align: center; text-transform: uppercase; }
.build-result { display: flex; align-items: center; gap: 12px; min-height: 65px; margin-top: 20px; padding: 12px 15px; border-left: 2px solid var(--cyan); background: rgba(21, 101, 137, .13); }
.build-result p { margin: 0; color: #c9dce8; font-size: 13px; }
.pulse-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 1.5s ease-out infinite; }
.text-button { display: block; margin: 18px auto 0; padding: 6px; border: 0; color: #86a6bb; background: none; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-decoration: underline; text-underline-offset: 5px; text-transform: uppercase; cursor: pointer; }
.text-button:hover { color: var(--cyan); }

.pillars-section { background: linear-gradient(180deg, rgba(8, 26, 48, .4), transparent); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { position: relative; min-height: 330px; padding: 36px 32px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(12, 34, 61, .66), rgba(4, 12, 27, .7)); transition: transform .25s, border-color .25s; }
.pillar:hover { border-color: rgba(105, 232, 255, .5); transform: translateY(-7px); }
.pillar::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 180px; height: 180px; border: 1px solid rgba(105, 232, 255, .12); border-radius: 50%; box-shadow: 0 0 60px rgba(105, 232, 255, .07); }
.pillar > span { color: var(--cyan); font-family: var(--display); font-size: 13px; font-weight: 800; letter-spacing: .18em; }
.pillar h3 { margin: 80px 0 16px; font-family: var(--display); font-size: 32px; letter-spacing: -.02em; text-transform: uppercase; }
.pillar p { margin: 0; color: var(--muted); font-size: 14px; }

.gallery-heading { display: flex; align-items: end; justify-content: space-between; max-width: none; }
.gallery-heading p { max-width: 390px; padding-bottom: 10px; font-size: 14px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 235px); gap: 14px; }
.gallery-item { position: relative; overflow: hidden; padding: 0; border: 0; color: white; background: #071224; cursor: zoom-in; }
.gallery-item::after { content: "+"; position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-size: 20px; opacity: 0; transform: scale(.7); transition: opacity .25s, transform .25s; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.86); transition: transform .55s, filter .55s; }
.gallery-item > span { position: absolute; bottom: 0; left: 0; padding: 35px 20px 17px; width: 100%; background: linear-gradient(transparent, rgba(2, 8, 18, .9)); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-align: left; text-transform: uppercase; }
.gallery-item:hover img { filter: saturate(1.1) brightness(1); transform: scale(1.045); }
.gallery-item:hover::after { opacity: 1; transform: scale(1); }
.gallery-main { grid-column: span 2; grid-row: span 2; }

.expedition-section { overflow: hidden; background: linear-gradient(180deg, transparent, rgba(10, 33, 58, .34), transparent); }
.expedition-grid { display: grid; gap: 76px; }
.expedition-card { display: grid; grid-template-columns: 1.45fr .55fr; align-items: center; gap: 50px; }
.expedition-card.reverse { grid-template-columns: .55fr 1.45fr; }
.expedition-card.reverse .screen-frame { order: 2; }
.screen-frame { position: relative; padding: 7px; border: 1px solid rgba(105, 232, 255, .19); background: rgba(3, 11, 25, .8); box-shadow: 0 22px 60px rgba(0, 0, 0, .35); }
.screen-frame img { width: 100%; height: auto; }
.expedition-card > div:last-child > span { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .22em; }
.expedition-card h3 { margin: 10px 0 14px; font-family: var(--display); font-size: 34px; line-height: 1.05; text-transform: uppercase; }
.expedition-card p { margin: 0; color: var(--muted); font-size: 14px; }

.world-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 760px; padding: 0; overflow: hidden; background: radial-gradient(circle at 15% 50%, rgba(193, 113, 47, .16), transparent 38%), linear-gradient(110deg, #050b19, #091a32); }
.world-art { height: 760px; overflow: hidden; }
.world-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; mask-image: linear-gradient(90deg, #000 72%, transparent 100%); }
.world-copy { width: min(540px, calc(100% - 50px)); margin-left: 4%; }
.world-copy blockquote { position: relative; margin: 36px 0 0; padding: 20px 0 20px 28px; border-left: 1px solid var(--gold); color: #f1d9a9; font-family: Georgia, serif; font-size: 18px; font-style: italic; }

.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 25px 50px 25px 0; font-family: var(--display); font-size: 20px; font-weight: 750; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 24px; right: 10px; color: var(--cyan); font-size: 25px; font-weight: 300; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: -4px 0 25px; padding-right: 50px; color: var(--muted); font-size: 14px; }

.final-cta { position: relative; display: grid; place-items: center; min-height: 650px; overflow: hidden; text-align: center; background: linear-gradient(180deg, rgba(2, 7, 16, .74), rgba(2, 7, 16, .88)), url("assets/hero.webp") 50% 52% / cover no-repeat; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 54%, transparent, rgba(2, 7, 16, .82) 65%); }
.final-cta .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.final-cta .eyebrow::before { display: none; }
.final-cta h2 { max-width: 850px; margin-bottom: 20px; font-size: clamp(48px, 7vw, 94px); }
.final-cta p:not(.eyebrow) { max-width: 620px; margin: 0 0 30px; color: #c1d3df; font-size: 18px; }
.final-glow { position: absolute; width: 650px; height: 650px; border: 1px solid rgba(105, 232, 255, .11); border-radius: 50%; box-shadow: 0 0 120px rgba(27, 175, 211, .1), inset 0 0 120px rgba(27, 175, 211, .06); animation: glow-breathe 4s ease-in-out infinite; }
.site-footer { border-top: 1px solid var(--line); background: #020610; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 115px; }
.site-footer p { color: #728da5; font-size: 11px; text-align: center; }
.site-footer > .wrap > div { display: flex; justify-content: flex-end; gap: 24px; }

.lightbox { width: min(94vw, 1400px); max-width: none; height: min(90vh, 900px); padding: 0; border: 1px solid rgba(105, 232, 255, .32); color: white; background: rgba(2, 7, 17, .96); box-shadow: 0 25px 100px #000; }
.lightbox::backdrop { background: rgba(0, 3, 10, .87); backdrop-filter: blur(8px); }
.lightbox[open] { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; }
.lightbox figure { margin: 0; overflow: hidden; }
.lightbox figure img { width: 100%; max-height: calc(90vh - 65px); object-fit: contain; }
.lightbox figcaption { padding: 14px; color: #afc6d8; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.lightbox button { border: 0; color: white; background: none; cursor: pointer; }
.lightbox-close { position: absolute; top: 10px; right: 14px; z-index: 2; width: 42px; height: 42px; font-size: 30px; }
.lightbox-nav { height: 100%; font-size: 40px; transition: background .2s; }
.lightbox-nav:hover { background: rgba(105, 232, 255, .07); }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .pillar-grid .reveal:nth-child(2) { transition-delay: .1s; }
.js .pillar-grid .reveal:nth-child(3) { transition-delay: .2s; }

@keyframes scroll-line { 0% { transform: translateY(-100%); } 50%, 100% { transform: translateY(100%); } }
@keyframes orbit-drift { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-18px, 12px) rotate(8deg); } }
@keyframes mage-walk { to { background-position-x: -1080px; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(105,232,255,.7); } 100% { box-shadow: 0 0 0 12px rgba(105,232,255,0); } }
@keyframes glow-breathe { 0%,100% { transform: scale(.96); opacity: .55; } 50% { transform: scale(1.04); opacity: 1; } }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .hero-visual img { object-position: 35% 50%; }
  .hero-vignette { background: linear-gradient(90deg, rgba(2,7,17,.12), rgba(2,7,17,.45) 50%, rgba(2,7,17,.95) 85%), linear-gradient(180deg, rgba(2,7,17,.2), transparent 35%, rgba(2,7,17,.94)); }
  .hero-content { padding-left: 45%; }
  .build-layout { grid-template-columns: 1fr; }
  .build-copy { display: grid; grid-template-columns: 1fr .65fr; column-gap: 35px; }
  .build-copy .section-index, .build-copy h2, .build-copy > p { grid-column: 1 / -1; }
  .sprite-demo { justify-content: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 360px repeat(2, 220px); }
  .gallery-main { grid-column: span 2; grid-row: span 1; }
  .faq-layout { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 760px) {
  :root { --wrap: min(100% - 30px, 680px); }
  .site-header { min-height: 66px; padding: 0 15px; }
  .brand { font-size: 14px; letter-spacing: .1em; }
  .brand-mark { width: 30px; height: 30px; }
  .steam-mini { display: none; }
  .hero { min-height: 880px; align-items: end; }
  .hero-visual { height: 64%; }
  .hero-visual img { object-position: 31% 50%; }
  .hero-vignette { background: linear-gradient(180deg, rgba(2,7,17,.05), rgba(2,7,17,.2) 38%, var(--ink) 93%); }
  .hero-content { padding: 400px 0 110px; }
  .hero h1 > span { font-size: clamp(57px, 19vw, 90px); }
  .hero h1 small { font-size: 12px; letter-spacing: .19em; }
  .hero-lead { font-size: 15px; }
  .hero-cta { width: 100%; }
  .hero-cta .button { flex: 1 1 100%; }
  .hero-stats { width: 100%; }
  .hero-stats div { min-width: 0; padding: 0 12px; flex: 1; }
  .hero-stats dt { font-size: 24px; }
  .hero-stats dd { font-size: 8px; }
  .section { padding: 86px 0; }
  .section-heading h2, .build-copy h2, .world-copy h2 { font-size: 38px; }
  .section-heading p, .build-copy > p, .world-copy > p { font-size: 16px; }
  .video-chrome strong { letter-spacing: .1em; }
  .build-copy { display: block; }
  .sprite-demo { justify-content: flex-start; }
  .sprite-stage { width: 150px; height: 150px; }
  #mage-sprite { transform: scale(.84); }
  .constellation { min-height: auto; padding: 23px 15px; }
  .spell-grid { gap: 8px; }
  .spell { min-height: 122px; padding: 8px 4px; }
  .spell-icon { width: 62px; height: 62px; }
  .spell b { font-size: 8px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { min-height: 250px; }
  .pillar h3 { margin-top: 48px; }
  .gallery-heading { display: block; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(5, 220px); }
  .gallery-main { grid-column: auto; }
  .expedition-card, .expedition-card.reverse { grid-template-columns: 1fr; gap: 25px; }
  .expedition-card.reverse .screen-frame { order: initial; }
  .world-section { display: flex; flex-direction: column; min-height: 0; }
  .world-art { width: 100%; height: 520px; }
  .world-art img { mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .world-copy { width: var(--wrap); margin: -40px auto 0; padding-bottom: 85px; }
  .faq-list summary { font-size: 18px; }
  .final-cta { min-height: 590px; }
  .site-footer .wrap { grid-template-columns: 1fr; justify-items: center; gap: 18px; padding: 35px 0; }
  .site-footer > .wrap > div { justify-content: center; }
  .lightbox[open] { grid-template-columns: 42px 1fr 42px; height: auto; max-height: 92vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #tide-canvas { display: none; }
  .hero-visual img { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}
