/* Gold Crab Studios */
:root {
  --ink: #0d0b10;
  --ink-2: #15111a;
  --ink-3: #1e1824;
  --line: rgba(242, 196, 90, 0.18);
  --parchment: #efe3c8;
  --text: #e9e1d2;
  --muted: #a99f8e;
  --gold-1: #fff1c1;
  --gold-2: #f6d27a;
  --gold-3: #d9a33a;
  --gold-4: #9a6716;
  --gilt: linear-gradient(180deg, #fff3c9 0%, #f6d27a 38%, #d9a33a 70%, #b07a1c 100%);
  --leaf-1: #c9eaa0;
  --leaf-2: #7fc46a;
  --leaf-3: #2f6b3a;
  --moss: #142417;
  --ice-1: #d8f1ff;
  --ice-2: #8fd0ff;
  --aurora: #63f0b8;
  --ember: #ff8a3d;
  --fire: #ff7a4a;
  --water: #5cb8ff;
  --earth: #c79a5b;
  --wind: #a6e3c8;
  --radius: 18px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  --display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; line-height: 1.1; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; position: relative; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold-2); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.gilt {
  background: var(--gilt);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 10px rgba(217, 163, 58, 0.25));
}
.eyebrow {
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-2);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--leaf { color: var(--leaf-1); }
.eyebrow--ice { color: var(--ice-2); }

/* Buttons */
.btn {
  --bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font: 700 15px/1 var(--sans);
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  background: var(--bg);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 18px 32px; font-size: 17px; }
.btn--gold {
  background: linear-gradient(180deg, #ffe7a3, #e8b44a 55%, #c98a22);
  color: #2a1a03;
  box-shadow: 0 10px 30px -10px rgba(233, 176, 64, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--gold:hover { box-shadow: 0 16px 40px -10px rgba(233, 176, 64, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn--ghost { border-color: rgba(255, 241, 193, 0.45); color: var(--gold-1); background: rgba(13, 11, 16, 0.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold-1); background: rgba(13, 11, 16, 0.55); }
.btn--leaf { background: linear-gradient(180deg, #b6e77e, #6fb550 60%, #4c8d36); color: #10230d; box-shadow: 0 10px 30px -12px rgba(127, 196, 106, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--ice { background: linear-gradient(180deg, #e2f5ff, #9fd6ff 55%, #5fa8e0); color: #06192b; box-shadow: 0 10px 30px -12px rgba(143, 208, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn--line { border-color: rgba(233, 225, 210, 0.3); color: var(--text); }
.btn--line:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.05); }
.btn--line-ice { border-color: rgba(143, 208, 255, 0.4); color: var(--ice-1); }
.btn--icon { padding: 14px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s; }
.nav.is-solid { background: rgba(13, 11, 16, 0.82); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav__inner { width: min(1280px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 2px 8px rgba(217, 163, 58, 0.35)); }
.brand__name { font: 600 18px/1 var(--display); letter-spacing: 0.08em; color: var(--gold-1); text-transform: uppercase; }
.brand__name em { font-style: normal; color: var(--gold-3); }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { text-decoration: none; font: 600 14px/1 var(--sans); padding: 10px 14px; border-radius: 999px; color: rgba(233, 225, 210, 0.85); transition: color 0.2s, background-color 0.2s; }
.nav__links a:hover, .nav__links a.is-here { color: var(--gold-1); background: rgba(246, 210, 122, 0.1); }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: rgba(13, 11, 16, 0.5); border-radius: 12px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__burger span { width: 18px; height: 2px; background: var(--gold-1); border-radius: 2px; transition: transform 0.3s, opacity 0.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); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; padding: 120px 0 110px; }
.hero__art { position: absolute; inset: -6% 0 -6%; z-index: -3; will-change: transform; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scale(1.04); animation: heroIn 2.4s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.14); filter: brightness(0.6) saturate(0.8); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(13, 11, 16, 0.15), rgba(13, 11, 16, 0.55) 70%),
    linear-gradient(180deg, rgba(13, 11, 16, 0.75) 0%, rgba(13, 11, 16, 0.1) 22%, rgba(13, 11, 16, 0.2) 60%, var(--ink) 100%);
}
.hero__glints { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__emblem { width: clamp(170px, 21vw, 260px); height: auto; margin-bottom: 14px; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(246, 210, 122, 0.35)); animation: floaty 7s ease-in-out infinite, fadeUp 1.2s 0.2s var(--ease) both; }
@keyframes floaty { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
.hero .eyebrow { animation: fadeUp 1s 0.4s var(--ease) both; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.hero .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.hero__title { font: 600 clamp(42px, 7.4vw, 104px)/1.02 var(--display); letter-spacing: 0.01em; color: #fff8e6; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55); max-width: 14ch; animation: fadeUp 1.1s 0.55s var(--ease) both; }
.hero__title .gilt { display: inline-block; }
.hero__lede { max-width: 620px; margin: 26px auto 34px; font: 500 clamp(18px, 2vw, 22px)/1.55 var(--serif); color: #f4ead6; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8); animation: fadeUp 1.1s 0.7s var(--ease) both; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: fadeUp 1.1s 0.85s var(--ease) both; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 28px; height: 46px; border: 1.5px solid rgba(255, 241, 193, 0.55); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-1); animation: wheel 2s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* Strip */
.strip { border-block: 1px solid var(--line); background: linear-gradient(90deg, #120e15, #1a1410, #120e15); overflow: hidden; padding: 16px 0; }
.strip__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 42s linear infinite; }
.strip__track span { font: 600 14px/1 var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); white-space: nowrap; }
.strip__track i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-4); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 70px); }
.section__head .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.section__title { font: 600 clamp(34px, 5vw, 60px)/1.08 var(--display); color: #fbf3df; }
.section__lede { color: var(--muted); font-size: 18px; margin-top: 18px; }
.section__title .gilt, .final h2 .gilt { display: inline-block; }

/* Worlds */
.worlds { background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(217, 163, 58, 0.08), transparent 70%); }
.worlds__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.world {
  position: relative; display: flex; flex-direction: column; text-decoration: none;
  border-radius: 26px; overflow: hidden; min-height: 600px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
  isolation: isolate;
}
.world:hover { transform: translateY(-6px); border-color: rgba(246, 210, 122, 0.45); box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(246, 210, 122, 0.15); }
.world__art { position: absolute; inset: 0; z-index: -2; }
.world__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.world--everglen .world__art img { object-position: 50% 40%; }
.world--valhalla .world__art img { object-position: 30% 50%; }
.world:hover .world__art img { transform: scale(1.06); }
.world::after { content: ''; position: absolute; inset: 0; z-index: -1; }
.world--everglen::after { background: linear-gradient(180deg, rgba(10, 20, 12, 0.05) 0%, rgba(10, 20, 12, 0.55) 45%, rgba(9, 18, 11, 0.97) 75%); }
.world--valhalla::after { background: linear-gradient(180deg, rgba(8, 10, 18, 0.05) 0%, rgba(8, 10, 18, 0.55) 45%, rgba(7, 9, 16, 0.97) 75%); }
.world__body { margin-top: auto; padding: 40px; }
.world__logo { width: min(300px, 70%); height: auto; margin-bottom: 4px; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5)); }
.world__word { font: 700 clamp(48px, 6vw, 72px)/1 var(--display); letter-spacing: 0.14em; margin: 0 0 12px; background: var(--gilt); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6)); }
.world__tag { font: 600 italic 24px/1.2 var(--serif); margin-bottom: 12px; }
.world--everglen .world__tag { color: var(--leaf-1); }
.world--valhalla .world__tag { color: var(--ice-1); }
.world__body > p:not(.world__tag):not(.world__word) { color: rgba(233, 225, 210, 0.86); max-width: 46ch; }
.world__more { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--gold-1); margin-top: 6px; }
.world__more .ico { transition: transform 0.3s var(--ease); }
.world:hover .world__more .ico { transform: translateX(5px); }
.world__chips { position: absolute; top: 22px; left: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.world__chips span { font: 700 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: rgba(13, 11, 16, 0.6); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.14); color: #f5ecd9; }

/* Everglen */
.eg { background: linear-gradient(180deg, var(--ink) 0%, #0e1a10 12%, #0f1d12 88%, var(--ink) 100%); overflow: hidden; }
.eg__bg { position: absolute; inset: 0; background:
  radial-gradient(ellipse 50% 40% at 15% 10%, rgba(127, 196, 106, 0.16), transparent 70%),
  radial-gradient(ellipse 40% 30% at 90% 40%, rgba(246, 210, 122, 0.09), transparent 70%),
  radial-gradient(ellipse 60% 30% at 50% 100%, rgba(127, 196, 106, 0.1), transparent 70%); }
.eg__bg.has-glade { background-image: linear-gradient(180deg, var(--ink) 0%, rgba(14, 26, 16, 0.7) 18%, rgba(14, 26, 16, 0.86) 70%, var(--ink) 100%), var(--glade); background-size: cover; background-position: center; opacity: 0.9; }
.eg__intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eg__logo { width: min(340px, 80%); height: auto; margin: 0 0 18px -10px; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55)); }
.section__title--storybook { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05; margin-bottom: 22px; color: #f6f1de; }
.section__title--storybook em { color: var(--leaf-1); }
.eg__copy > p { color: rgba(233, 225, 210, 0.86); }
.eg__ctas, .vh__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eg__feature { margin: 0; position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(201, 234, 160, 0.22); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.eg__feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.eg__feature figcaption { position: absolute; left: 14px; bottom: 14px; font: 600 12px/1 var(--sans); letter-spacing: 0.08em; padding: 8px 12px; border-radius: 999px; background: rgba(9, 18, 11, 0.75); backdrop-filter: blur(6px); color: var(--leaf-1); }

/* Roster */
.roster { margin-top: clamp(70px, 9vw, 120px); padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: linear-gradient(180deg, rgba(239, 227, 200, 0.07), rgba(239, 227, 200, 0.02)); border: 1px solid rgba(201, 234, 160, 0.16); }
.roster__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 30px; }
.roster__title { font: 600 clamp(28px, 3.4vw, 40px)/1.1 var(--serif); color: #f6f1de; }
.roster__sub { color: var(--muted); margin: 8px 0 0; max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(233, 225, 210, 0.2); background: rgba(0, 0, 0, 0.2); font: 700 13px/1 var(--sans); cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.chip:hover { border-color: rgba(233, 225, 210, 0.5); }
.chip.is-on { background: var(--parchment); color: #1d160c; border-color: var(--parchment); }
.chip--fire .ico { color: var(--fire); } .chip--water .ico { color: var(--water); } .chip--earth .ico { color: var(--earth); } .chip--wind .ico { color: var(--wind); }
.chip.is-on .ico { color: inherit; }
.roster__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.fren { --el: var(--leaf-2); position: relative; border-radius: 20px; padding: 16px 12px 16px; text-align: center; background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--el) 26%, transparent), transparent 62%), linear-gradient(180deg, #f3e8cf, #e4d3b0); color: #2b2113; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.5); transition: transform 0.4s var(--ease), opacity 0.4s, filter 0.4s; cursor: default; }
.fren[data-el='fire'] { --el: var(--fire); } .fren[data-el='water'] { --el: var(--water); } .fren[data-el='earth'] { --el: #9c7a3c; } .fren[data-el='wind'] { --el: #5fc39a; }
.fren:hover { transform: translateY(-6px) rotate(-1deg); }
.fren:hover img { animation: hop 0.8s var(--ease); }
@keyframes hop { 30% { transform: translateY(-12px) scale(1.04, 0.97); } 60% { transform: translateY(0) scale(0.98, 1.03); } }
.fren img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(60, 40, 10, 0.3)); }
.fren__name { font: 700 19px/1.1 var(--serif); margin-top: 6px; }
.fren__el { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font: 800 10px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: color-mix(in srgb, var(--el) 22%, #fff8); color: color-mix(in srgb, var(--el) 65%, #2b2113); }
.fren__el .ico { width: 12px; height: 12px; }
.fren__line { font-size: 13px; line-height: 1.4; color: #5a4b33; margin: 8px 0 0; }
.fren.is-dim { opacity: 0.18; filter: grayscale(0.9); transform: scale(0.96); }
.fren__new { position: absolute; top: 10px; right: 10px; font: 800 9px/1 var(--sans); letter-spacing: 0.16em; padding: 5px 8px; border-radius: 999px; background: linear-gradient(180deg, #ffe7a3, #d9a33a); color: #3b2604; }

/* Feature cards */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(50px, 7vw, 90px); }
.feat { padding: 26px 24px 22px; border-radius: 20px; background: rgba(9, 18, 11, 0.55); border: 1px solid rgba(201, 234, 160, 0.14); transition: border-color 0.3s, transform 0.3s var(--ease), background-color 0.3s; }
.feat:hover { border-color: rgba(201, 234, 160, 0.4); transform: translateY(-4px); background: rgba(14, 28, 17, 0.75); }
.feat__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(201, 234, 160, 0.2), rgba(127, 196, 106, 0.06)); color: var(--leaf-1); margin-bottom: 16px; border: 1px solid rgba(201, 234, 160, 0.2); }
.feat__ico .ico { width: 22px; height: 22px; }
.feat h4 { font: 700 20px/1.2 var(--serif); color: #f6f1de; margin-bottom: 8px; }
.feat p { font-size: 15px; color: var(--muted); margin: 0; }

/* Gallery */
.gallery { margin-top: clamp(50px, 7vw, 90px); display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 14px; }
.gallery__item { margin: 0; position: relative; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: #0a0f0b; border: 1px solid rgba(255, 255, 255, 0.07); }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.5s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; font: 600 13px/1.2 var(--sans); background: linear-gradient(transparent, rgba(0, 0, 0, 0.78)); color: #f6efdf; opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s var(--ease); }
.gallery__item:hover figcaption, .gallery__item:focus-visible figcaption { opacity: 1; transform: none; }
.eg__note, .vh__note { display: flex; align-items: center; gap: 12px; justify-content: center; text-align: center; color: var(--muted); font-size: 14px; margin: 40px auto 0; max-width: 720px; }
.eg__note .ico, .vh__note .ico { color: var(--gold-3); }

/* Valhalla */
.vh { background: #070912; overflow: hidden; isolation: isolate; }
.vh__bg { position: absolute; inset: -10% 0 auto; height: 120vh; max-height: 1300px; z-index: -2; background: url('/img/valhalla/aurora.webp') center 30% / cover no-repeat; will-change: transform; }
.vh__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0%, rgba(7, 9, 18, 0.35) 14%, rgba(7, 9, 18, 0.55) 40%, #070912 82%), radial-gradient(ellipse 80% 40% at 50% 20%, transparent, rgba(7, 9, 18, 0.6)); }
.vh__head { text-align: center; padding-top: clamp(20px, 6vw, 80px); }
.vh__head .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.vh__word { font: 700 clamp(64px, 13vw, 180px)/0.95 var(--display); letter-spacing: 0.16em; margin-right: -0.16em; background: linear-gradient(180deg, #fff6d6 0%, #f3cf74 40%, #c88d27 75%, #8a5a12 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.7)); }
.vh__tag { font: 600 italic clamp(22px, 2.6vw, 30px)/1.3 var(--serif); color: var(--ice-1); margin-top: 18px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8); }
.vh__tag span { display: block; color: rgba(216, 241, 255, 0.65); font-size: 0.8em; }
.vh__intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; margin-top: clamp(50px, 9vw, 120px); }
.vh__copy > p { color: rgba(225, 233, 245, 0.86); }
.vh__copy strong { color: var(--ice-1); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; border-radius: 22px; overflow: hidden; background: rgba(143, 208, 255, 0.16); border: 1px solid rgba(143, 208, 255, 0.16); }
.stat { background: rgba(9, 13, 26, 0.88); padding: 26px 18px; display: flex; flex-direction: column-reverse; gap: 8px; text-align: center; }
.stat dt { font: 600 12px/1.3 var(--sans); letter-spacing: 0.08em; color: rgba(216, 241, 255, 0.6); }
.stat dd { margin: 0; font: 700 clamp(30px, 3.6vw, 44px)/1 var(--display); color: #fff3cc; }

.biomes { margin-top: clamp(60px, 8vw, 110px); border-radius: 26px; overflow: hidden; border: 1px solid rgba(143, 208, 255, 0.16); background: rgba(9, 13, 26, 0.8); box-shadow: var(--shadow); }
.biomes__tabs { display: flex; overflow-x: auto; border-bottom: 1px solid rgba(143, 208, 255, 0.14); scrollbar-width: none; }
.biomes__tabs button { flex: 1; min-width: 120px; padding: 18px 20px; background: none; border: 0; cursor: pointer; font: 600 14px/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(216, 241, 255, 0.55); position: relative; transition: color 0.25s, background-color 0.25s; }
.biomes__tabs button::after { content: ''; position: absolute; left: 20%; right: 20%; bottom: -1px; height: 2px; background: var(--gold-2); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.biomes__tabs button:hover { color: var(--ice-1); background: rgba(143, 208, 255, 0.04); }
.biomes__tabs button.is-on { color: #fff3cc; }
.biomes__tabs button.is-on::after { transform: scaleX(1); }
.biomes__panel { display: grid; grid-template-columns: 1.6fr 1fr; }
.biomes__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0a0d18; }
.biomes__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s, transform 6s linear; }
.biomes__img img.is-swap { opacity: 0; }
.biomes__panel:hover .biomes__img img { transform: scale(1.04); }
.biomes__text { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.biomes__text h3 { font: 700 clamp(28px, 3vw, 38px)/1.1 var(--display); letter-spacing: 0.06em; color: #fff3cc; margin-bottom: 14px; }
.biomes__text p { color: rgba(225, 233, 245, 0.82); }
.biomes__also { font: italic 500 17px/1.4 var(--serif); color: rgba(216, 241, 255, 0.6) !important; margin: 10px 0 0; padding-top: 16px; border-top: 1px solid rgba(143, 208, 255, 0.14); }

.foes { margin-top: clamp(60px, 8vw, 110px); text-align: center; }
.foes__title { font: 700 clamp(28px, 3.4vw, 42px)/1.1 var(--display); letter-spacing: 0.06em; color: #fff3cc; }
.foes__sub { color: rgba(216, 241, 255, 0.65); max-width: 620px; margin: 14px auto 36px; }
.foes__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: foe; }
.foes__list li { position: relative; padding: 30px 16px 26px; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 138, 61, 0.08), rgba(9, 13, 26, 0.9) 60%); border: 1px solid rgba(255, 179, 102, 0.18); display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.foes__list li:hover { transform: translateY(-5px); border-color: rgba(255, 179, 102, 0.5); box-shadow: 0 20px 40px -20px rgba(255, 120, 40, 0.45); }
.foes__n { font: 700 13px/1 var(--display); letter-spacing: 0.2em; color: var(--ember); margin-bottom: 6px; }
.foes__list strong { font: 700 21px/1.1 var(--display); letter-spacing: 0.04em; color: #fff3cc; }
.foes__list em { font: italic 500 16px/1.3 var(--serif); color: rgba(216, 241, 255, 0.65); }
.foes__list li:nth-child(5) { background: linear-gradient(180deg, rgba(255, 98, 40, 0.2), rgba(9, 13, 26, 0.9) 70%); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(50px, 7vw, 90px); }
.pillar { padding: 26px 24px; border-radius: 20px; border: 1px solid rgba(143, 208, 255, 0.14); background: rgba(9, 13, 26, 0.7); transition: border-color 0.3s, transform 0.3s var(--ease); }
.pillar:hover { border-color: rgba(143, 208, 255, 0.4); transform: translateY(-4px); }
.pillar > .ico { width: 30px; height: 30px; color: var(--gold-2); margin-bottom: 14px; }
.pillar h4 { font: 700 17px/1.2 var(--display); letter-spacing: 0.06em; color: #fff3cc; margin-bottom: 10px; }
.pillar p { font-size: 15px; color: rgba(216, 241, 255, 0.65); margin: 0; }
.gallery--dark .gallery__item { background: #0a0d18; border-color: rgba(143, 208, 255, 0.1); }

/* Studio */
.studio { background: radial-gradient(ellipse 60% 50% at 25% 40%, rgba(217, 163, 58, 0.1), transparent 70%), var(--ink); }
.studio__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.studio__mark { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto; }
.studio__mark img { width: 92%; height: auto; position: relative; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6)); animation: floaty 8s ease-in-out infinite; }
.studio__halo { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(246, 210, 122, 0.22), transparent 62%); }
.studio__halo::before, .studio__halo::after { content: ''; position: absolute; inset: 4%; border-radius: 50%; border: 1px solid rgba(246, 210, 122, 0.22); }
.studio__halo::after { inset: 14%; border-style: dashed; border-color: rgba(246, 210, 122, 0.16); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.studio__copy p { color: rgba(233, 225, 210, 0.82); font-size: 18px; }
.studio__copy .section__title { margin-bottom: 24px; }
.tenets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(50px, 7vw, 90px); }
.tenet { position: relative; padding: 28px 24px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(246, 210, 122, 0.06), rgba(246, 210, 122, 0.01)); overflow: hidden; }
.tenet__n { position: absolute; top: 14px; right: 18px; font: 700 40px/1 var(--display); color: rgba(246, 210, 122, 0.1); }
.tenet > .ico { width: 28px; height: 28px; color: var(--gold-2); margin-bottom: 16px; }
.tenet h4 { font: 700 19px/1.2 var(--serif); color: var(--gold-1); margin-bottom: 8px; font-size: 21px; }
.tenet p { font-size: 15px; color: var(--muted); margin: 0; }

/* Community */
.community { background: linear-gradient(180deg, var(--ink), var(--ink-2)); }
.comm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.comm__card { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 240px; padding: 30px; border-radius: 22px; text-decoration: none; overflow: hidden; border: 1px solid var(--line); transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; isolation: isolate; }
.comm__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.comm__card--eg { background: linear-gradient(150deg, #1d3a1f, #0f1d12 70%); border-color: rgba(201, 234, 160, 0.2); }
.comm__card--eg:hover { border-color: rgba(201, 234, 160, 0.5); }
.comm__card--vh { background: linear-gradient(150deg, #142640, #080c18 70%); border-color: rgba(143, 208, 255, 0.2); }
.comm__card--vh:hover { border-color: rgba(143, 208, 255, 0.5); }
.comm__card--x { background: linear-gradient(150deg, #2a2117, #120e0b 70%); }
.comm__card--x:hover { border-color: rgba(246, 210, 122, 0.5); }
.comm__pet { position: absolute; right: -18px; bottom: -18px; width: 150px; z-index: -1; opacity: 0.9; transform: rotate(-8deg); transition: transform 0.5s var(--ease); }
.comm__card:hover .comm__pet { transform: rotate(-2deg) translateY(-6px); }
.comm__rune { position: absolute; right: 18px; bottom: -36px; z-index: -1; font: 700 190px/1 var(--display); color: rgba(143, 208, 255, 0.12); }
.comm__k { font: 600 13px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); }
.comm__t { font: 600 26px/1.15 var(--serif); color: #f6f1de; max-width: 15ch; }
.comm__go { margin-top: auto; display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--gold-1); }

/* Final */
.final { position: relative; padding: clamp(100px, 14vw, 180px) 0; overflow: hidden; isolation: isolate; text-align: center; }
.final__art { position: absolute; inset: 0; z-index: -1; }
.final__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: blur(2px) saturate(1.1); transform: scale(1.05); }
.final__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink-2), rgba(13, 11, 16, 0.55) 35%, rgba(13, 11, 16, 0.55) 65%, var(--ink)); }
.final h2 { font: 600 clamp(36px, 5.6vw, 72px)/1.05 var(--display); color: #fff8e6; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--ink); }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot__brand .brand img { width: 48px; height: 48px; }
.foot__brand p { color: var(--muted); margin-top: 16px; font: italic 500 18px/1.4 var(--serif); }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__col h5 { font: 700 12px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }
.foot__col a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color 0.2s; width: fit-content; }
.foot__col a:hover { color: var(--gold-1); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 13px; color: rgba(169, 159, 142, 0.75); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 24px; background: rgba(6, 5, 8, 0.92); backdrop-filter: blur(10px); animation: lbIn 0.3s var(--ease); }
.lb[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lb__fig img { max-width: 100%; max-height: calc(100svh - 120px); border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lb__fig figcaption { font: 600 italic 20px/1.3 var(--serif); color: var(--parchment); text-align: center; }
.lb__btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.lb__btn:hover { background: rgba(246, 210, 122, 0.15); border-color: var(--gold-2); }
.lb__btn .ico { width: 22px; height: 22px; }
.lb__close { position: absolute; top: 18px; right: 18px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .roster__grid { grid-template-columns: repeat(4, 1fr); }
  .feats, .pillars, .tenets { grid-template-columns: repeat(2, 1fr); }
  .foes__list { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; padding: 12px 16px 22px; background: rgba(13, 11, 16, 0.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s var(--ease); }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 16px 12px; font-size: 17px; border-radius: 12px; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .worlds__grid, .eg__intro, .vh__intro, .studio__grid { grid-template-columns: 1fr; }
  .world { min-height: 520px; }
  .eg__feature { transform: none; }
  .biomes__panel { grid-template-columns: 1fr; }
  .comm { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .studio__mark { max-width: 320px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand__name { font-size: 15px; }
  .hero { padding: 100px 0 90px; }
  .eyebrow { letter-spacing: 0.2em; gap: 10px; }
  .eyebrow::before, .eyebrow::after { width: 16px !important; }
  .hero__ctas .btn { width: 100%; }
  .roster__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fren__line { display: none; }
  .feats, .pillars, .tenets { grid-template-columns: 1fr; }
  .foes__list { grid-template-columns: 1fr 1fr; }
  .foes__list li:last-child { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; gap: 10px; }
  .world__body { padding: 26px; }
  .world__chips { top: 16px; left: 16px; }
  .eg__ctas .btn:not(.btn--icon), .vh__ctas .btn { flex: 1; }
  .lb { grid-template-columns: 1fr; padding: 16px; }
  .lb__prev, .lb__next { position: absolute; bottom: 24px; }
  .lb__prev { left: calc(50% - 62px); } .lb__next { right: calc(50% - 62px); }
  .lb__fig img { max-height: calc(100svh - 200px); }
  .final__ctas .btn { width: 100%; }
  .comm__card { min-height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
