:root {
  --ink: #f4ecd2;
  --ink-soft: #c9d4c6;
  --ink-muted: #92a096;
  --forest-950: #07110c;
  --forest-900: #0b1810;
  --forest-850: #0e2016;
  --forest-800: #132a1d;
  --forest-700: #1d3c28;
  --forest-600: #31583a;
  --leaf: #79a85f;
  --leaf-bright: #a9cf7c;
  --wood-900: #3a2515;
  --wood-700: #6c4726;
  --wood-500: #a3783e;
  --brass: #d1ad63;
  --brass-pale: #f0d890;
  --paper: #e7dcc0;
  --paper-ink: #282316;
  --danger: #d77555;
  --line: rgba(226, 205, 145, .28);
  --header-height: 74px;
  --max-width: 1260px;
  --shadow-hard: 9px 11px 0 rgba(0, 0, 0, .34);
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  background: var(--forest-950);
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.is-menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
::selection { background: var(--brass); color: #151109; }

.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;
  z-index: 1000;
  left: 16px;
  top: 16px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--paper-ink);
  padding: 10px 14px;
  border: 2px solid var(--brass);
}
.skip-link:focus { transform: translateY(0); }

.page-progress {
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: #07110c;
}
.page-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--brass);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 3px;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(18px, 4vw, 64px);
  background: rgba(7, 17, 12, .95);
  border-bottom: 1px solid rgba(209, 173, 99, .34);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
.site-header.is-scrolled { background: rgba(7, 17, 12, .985); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  min-width: max-content;
}
.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--brass);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .36);
}
.brand span { display: grid; line-height: 1.08; }
.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: .08em;
}
.brand small {
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2.2vw, 34px);
}
.site-nav a {
  position: relative;
  color: #d8dfd5;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--brass);
  transition: right .18s ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { right: 0; }
.build-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
  padding: 7px 10px;
  color: #cbd6c8;
  border: 1px solid rgba(121, 168, 95, .48);
  background: #11251a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .07), inset -2px -2px 0 rgba(0, 0, 0, .28);
}
.build-status span {
  width: 8px;
  height: 8px;
  background: var(--leaf-bright);
  border: 1px solid #dff4b5;
  box-shadow: 0 0 0 2px rgba(169, 207, 124, .12);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  padding: 9px;
  border: 1px solid var(--brass);
  background: var(--forest-800);
  color: var(--ink);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .07), inset -2px -2px 0 rgba(0, 0, 0, .3);
}
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: currentColor; }

.hero {
  position: relative;
  min-height: 910px;
  height: max(760px, 100svh);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding-top: var(--header-height);
  border-bottom: 4px solid var(--wood-700);
}
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image { object-fit: cover; object-position: 52% center; }
.hero-shade { background: rgba(5, 14, 9, .55); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 14px solid rgba(9, 25, 16, .38);
  pointer-events: none;
}
.hero-bird {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 3vw, 56px);
  top: calc(var(--header-height) + 34px);
  width: clamp(92px, 9vw, 150px);
  filter: drop-shadow(8px 10px 0 rgba(0, 0, 0, .25));
  transform: rotate(3deg);
}
.hero-inner {
  position: relative;
  z-index: 4;
  width: min(var(--max-width), calc(100% - 42px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr);
  align-items: end;
  gap: clamp(24px, 4vw, 60px);
}
.game-window {
  position: relative;
  background: rgba(15, 34, 23, .97);
  border: 3px solid var(--wood-500);
  outline: 1px solid rgba(240, 216, 144, .8);
  outline-offset: -7px;
  box-shadow: var(--shadow-hard), inset 3px 3px 0 rgba(255, 255, 255, .055), inset -4px -4px 0 rgba(0, 0, 0, .35);
}
.window-titlebar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 12px;
  background: var(--wood-700);
  color: var(--brass-pale);
  border-bottom: 2px solid var(--wood-900);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.window-lights { display: flex; gap: 5px; }
.window-lights i { display: block; width: 8px; height: 8px; background: #2e4a32; border: 1px solid #d1ad63; }
.window-lights i:nth-child(2) { background: #7a6330; }
.window-lights i:nth-child(3) { background: #6d3525; }
.hero-copy { max-width: 760px; }
.hero-copy-inner { padding: clamp(28px, 4vw, 54px); padding-top: clamp(18px, 2.7vw, 34px); }
.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  color: var(--leaf-bright);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero-logo {
  width: clamp(245px, 33vw, 400px);
  height: auto;
  margin: 0 0 -30px -12px;
  filter: drop-shadow(7px 9px 0 rgba(0, 0, 0, .28));
}
.hero h1,
.section-heading h2,
.feature-copy h2,
.guide-book h2,
.creator-copy h2,
.final-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.025em;
}
.hero h1 { max-width: 640px; font-size: clamp(42px, 5.8vw, 78px); }
em { color: var(--brass-pale); font-style: italic; }
.hero-lead {
  max-width: 670px;
  margin: 22px 0 0;
  color: #d8e1d6;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.62;
}
.hero-actions,
.guide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.game-button {
  min-height: 48px;
  display: inline-flex;
  align-items: stretch;
  color: var(--ink);
  background: #294331;
  border: 2px solid #76906f;
  text-decoration: none;
  box-shadow: 4px 5px 0 rgba(0, 0, 0, .35), inset 2px 2px 0 rgba(255, 255, 255, .09), inset -3px -3px 0 rgba(0, 0, 0, .28);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: transform .14s ease, border-color .14s ease, background-color .14s ease;
}
.game-button span { display: grid; place-items: center; padding: 11px 16px; }
.game-button b {
  min-width: 42px;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(240, 216, 144, .34);
  color: var(--brass-pale);
}
.game-button:hover,
.game-button:focus-visible {
  transform: translate(-1px, -1px);
  border-color: var(--brass-pale);
  background: #365a3d;
}
.game-button:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(0, 0, 0, .35); }
.game-button--primary { background: #4d713d; border-color: var(--brass); color: #fff7df; }
.game-button--primary:hover,
.game-button--primary:focus-visible { background: #5c8148; }
.capture-note {
  margin: 22px 0 0;
  color: #96a89a;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.capture-note span { color: var(--leaf-bright); margin-right: 7px; }
.hero-bulletin { align-self: end; margin-bottom: 28px; }
.bulletin-body { position: relative; overflow: hidden; min-height: 390px; padding: 27px 26px 31px; background: var(--paper); color: var(--paper-ink); }
.bulletin-body::before,
.bulletin-body::after { content: ""; position: absolute; left: 20px; right: 20px; height: 1px; background: rgba(66, 51, 26, .25); }
.bulletin-body::before { top: 87px; }
.bulletin-body::after { bottom: 102px; }
.bulletin-kicker { margin: 0 0 12px; color: #6b5427; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.bulletin-body h2 { margin: 0 0 24px; font-family: Georgia, serif; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.07; }
.bulletin-rule { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid rgba(75, 56, 26, .16); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.bulletin-rule b { font-family: Georgia, serif; color: #6e5423; }
.bulletin-body img { position: absolute; right: 16px; bottom: 10px; width: 148px; filter: drop-shadow(5px 6px 0 rgba(0, 0, 0, .16)); }
.hero-scroll {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff3ce;
  text-decoration: none;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: 0 2px 4px #000;
}
.hero-scroll b { font-size: 18px; }

.world-strip {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--wood-700);
  border-top: 2px solid var(--brass);
  border-bottom: 2px solid #2e1d10;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .32);
}
.world-strip div { min-height: 92px; display: grid; align-content: center; justify-items: center; padding: 12px 18px; border-right: 1px solid rgba(240, 216, 144, .25); text-align: center; }
.world-strip div:last-child { border-right: 0; }
.world-strip strong { color: var(--brass-pale); font-family: Georgia, serif; font-size: clamp(21px, 2vw, 31px); line-height: 1; }
.world-strip span { margin-top: 7px; color: #d9c9a3; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

.section {
  position: relative;
  padding: clamp(82px, 10vw, 150px) max(22px, calc((100% - var(--max-width)) / 2));
  overflow: hidden;
}
.section--intro { background: var(--forest-900); }
.section--chain { background: #102419; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--ecology { background: #0a1710; }
.section--economy { padding-top: 30px; background: #0a1710; }
.section--gallery { background: #102419; border-top: 1px solid rgba(209, 173, 99, .22); }
.section--resources { background: #0b1810; }
.section-heading { max-width: 880px; margin-bottom: clamp(38px, 5vw, 68px); }
.section-heading--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr); align-items: end; gap: clamp(32px, 7vw, 100px); }
.section-heading h2,
.feature-copy h2,
.guide-book h2,
.creator-copy h2 { font-size: clamp(38px, 5vw, 66px); }
.section-heading > p:last-child,
.section-heading--split > p,
.feature-copy > p,
.creator-copy > p {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.72;
}
.section-heading--split > p { margin: 0; }

.capture-board {
  display: grid;
  grid-template-columns: 1.45fr .8fr;
  grid-template-rows: repeat(2, minmax(250px, 1fr));
  gap: 22px;
}
.capture { margin: 0; min-width: 0; }
.capture--large { grid-row: 1 / 3; }
.capture button {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #09120d;
  border: 4px solid var(--wood-500);
  outline: 1px solid var(--brass);
  outline-offset: -8px;
  box-shadow: 8px 9px 0 rgba(0, 0, 0, .32);
}
.capture--large button { min-height: 620px; }
.capture button img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.capture button:hover img,
.capture button:focus-visible img { transform: scale(1.025); }
.capture-corner {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 42px;
  padding: 6px 9px;
  background: rgba(20, 42, 29, .92);
  color: var(--brass-pale);
  border: 1px solid var(--brass);
  font: 900 11px/1 Georgia, serif;
}
.capture figcaption { display: grid; padding: 15px 2px 0; }
.capture figcaption b { font: 700 clamp(18px, 2vw, 25px)/1.15 Georgia, serif; color: var(--brass-pale); }
.capture figcaption span { margin-top: 5px; color: var(--ink-muted); font-size: 13px; }

.chain-console { max-width: 1180px; margin: 0 auto; }
.chain-layout { display: grid; grid-template-columns: 1.28fr .72fr; min-height: 560px; }
.chain-screen { position: relative; min-height: 500px; overflow: hidden; border-right: 3px solid var(--wood-700); background: #07100b; }
.chain-screen img { width: 100%; height: 100%; object-fit: cover; transition: opacity .18s ease; }
.chain-screen img.is-changing { opacity: .2; }
.screen-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 11px;
  color: var(--brass-pale);
  background: rgba(7, 17, 12, .92);
  border: 1px solid var(--brass);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.chain-copy { padding: clamp(26px, 4vw, 48px); background: #152b1e; }
.chain-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 36px; }
.chain-tabs button {
  min-width: 0;
  padding: 8px 4px;
  cursor: pointer;
  color: #9ead9f;
  background: #0e1e15;
  border: 1px solid #50634e;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .04), inset -2px -2px 0 rgba(0, 0, 0, .32);
}
.chain-tabs b,
.chain-tabs span { display: block; }
.chain-tabs b { color: var(--brass); font: 700 18px/1 Georgia, serif; }
.chain-tabs span { margin-top: 4px; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.chain-tabs button.is-active { color: #fff5d7; background: #42633a; border-color: var(--brass); transform: translateY(-2px); }
.chain-status { margin: 0 0 11px; color: var(--ink-muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.chain-status span { color: var(--leaf-bright); }
.chain-copy h3 { margin: 0; color: var(--brass-pale); font: 700 clamp(26px, 3vw, 40px)/1.12 Georgia, serif; }
.chain-copy > p:not(.chain-status) { color: var(--ink-soft); margin: 18px 0 0; }
.chain-data { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 32px 0 0; }
.chain-data div { padding: 13px; background: #0d1d14; border: 1px solid rgba(209, 173, 99, .25); }
.chain-data dt { color: var(--ink-muted); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.chain-data dd { margin: 4px 0 0; color: var(--brass-pale); font: 700 16px/1.2 Georgia, serif; }

.feature-section {
  min-height: 780px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  background: #102419;
  border-bottom: 1px solid var(--line);
}
.feature-media { position: relative; min-height: 620px; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.image-stamp {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 9px 12px;
  color: var(--brass-pale);
  background: rgba(7, 17, 12, .92);
  border: 1px solid var(--brass);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}
.feature-copy { display: grid; align-content: center; padding: clamp(52px, 8vw, 120px); }
.mini-ledger { display: grid; gap: 10px; margin-top: 36px; }
.mini-ledger > div { display: grid; grid-template-columns: 68px 1fr; align-items: center; gap: 16px; padding: 12px 15px; background: #0d1c14; border: 1px solid rgba(209, 173, 99, .22); box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .035); }
.mini-ledger img { width: 66px; height: 58px; object-fit: contain; }
.mini-ledger span { color: var(--ink-muted); font-size: 13px; }
.mini-ledger b { display: block; color: var(--brass-pale); font-family: Georgia, serif; font-size: 18px; }

.ecology-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ecology-pair figure { position: relative; margin: 0; min-height: 500px; overflow: hidden; border: 4px solid var(--wood-500); outline: 1px solid var(--brass); outline-offset: -8px; box-shadow: 8px 9px 0 rgba(0, 0, 0, .3); }
.ecology-pair img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.ecology-pair figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 14px 16px; background: rgba(7, 17, 12, .93); border: 1px solid var(--brass); }
.ecology-pair figcaption span { display: block; color: var(--leaf-bright); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.ecology-pair figcaption b { display: block; margin-top: 4px; color: #fff4d4; font: 700 19px/1.25 Georgia, serif; }

.economy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.economy-card { min-width: 0; background: #12261a; border: 2px solid var(--wood-500); box-shadow: 7px 8px 0 rgba(0, 0, 0, .3), inset 2px 2px 0 rgba(255, 255, 255, .04); }
.economy-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 3px solid var(--wood-700); }
.economy-card div { padding: 24px 24px 27px; }
.economy-card span { color: var(--leaf-bright); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.economy-card h3 { margin: 8px 0 0; color: var(--brass-pale); font: 700 27px/1.1 Georgia, serif; }
.economy-card p { margin: 13px 0 0; color: var(--ink-muted); font-size: 14px; }

.gallery-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 6px 28px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--brass) var(--forest-900);
  cursor: grab;
}
.gallery-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery-rail button {
  flex: 0 0 clamp(260px, 31vw, 390px);
  scroll-snap-align: start;
  padding: 0;
  cursor: zoom-in;
  color: var(--ink);
  background: #0d1d14;
  border: 2px solid var(--wood-500);
  box-shadow: 6px 7px 0 rgba(0, 0, 0, .3);
  text-align: left;
}
.gallery-rail button:hover,
.gallery-rail button:focus-visible { border-color: var(--brass-pale); }
.gallery-rail img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 2px solid var(--wood-700); }
.gallery-rail span { display: block; padding: 10px 12px; color: var(--brass-pale); font: 700 16px/1.2 Georgia, serif; }
.gallery-controls { display: flex; justify-content: flex-end; align-items: center; gap: 10px; color: var(--ink-muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.gallery-controls button { width: 42px; height: 35px; color: var(--brass-pale); background: var(--forest-700); border: 1px solid var(--brass); cursor: pointer; box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .06), inset -2px -2px 0 rgba(0, 0, 0, .3); }

.guide-teaser { position: relative; min-height: 820px; display: grid; place-items: center; overflow: hidden; padding: 90px 22px; border-top: 4px solid var(--wood-700); border-bottom: 4px solid var(--wood-700); }
.guide-teaser > img,
.guide-teaser-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.guide-teaser > img { object-fit: cover; }
.guide-teaser-shade { background: rgba(5, 14, 9, .63); }
.guide-book { position: relative; z-index: 2; width: min(860px, 100%); }
.guide-book-body { padding: clamp(36px, 6vw, 78px); background: rgba(20, 42, 29, .98); }
.guide-book-body > p:not(.section-kicker) { color: var(--ink-soft); font-size: 18px; }
.guide-book blockquote { margin: 30px 0 0; padding: 20px 24px; color: var(--paper-ink); background: var(--paper); border-left: 7px solid var(--brass); font: italic 700 clamp(18px, 2.1vw, 26px)/1.45 Georgia, serif; }
.text-link { color: var(--brass-pale); font-weight: 900; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover,
.text-link:focus-visible { color: #fff4cf; }
.text-link--large { display: inline-block; margin-top: 15px; font-size: 16px; }

.resource-window { max-width: 1080px; margin: 0 auto; }
.resource-body { display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 34px; padding: 36px; }
.resource-icon { height: 170px; overflow: hidden; display: grid; place-items: center; background: #0b1710; border: 1px solid rgba(209, 173, 99, .26); }
.resource-icon img { width: 180px; height: 180px; object-fit: cover; }
.resource-body h3 { margin: 0; color: var(--brass-pale); font: 700 clamp(25px, 3vw, 38px)/1.12 Georgia, serif; }
.resource-body p { margin: 12px 0 0; color: var(--ink-muted); }

.creator-section { display: grid; grid-template-columns: minmax(360px, .8fr) minmax(0, 1.2fr); min-height: 720px; background: var(--paper); color: var(--paper-ink); }
.creator-photo { position: relative; min-height: 620px; overflow: hidden; border-right: 8px solid var(--wood-700); }
.creator-photo img { width: 100%; height: 100%; object-fit: cover; }
.creator-photo span { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 10px 12px; color: var(--brass-pale); background: rgba(38, 27, 15, .93); border: 1px solid var(--brass); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-align: center; }
.creator-copy { display: grid; align-content: center; padding: clamp(54px, 8vw, 120px); }
.creator-copy .section-kicker { color: #5a783f; }
.creator-copy h2 { color: #332715; }
.creator-copy > p { color: #524b3b; }
.creator-copy em { color: #604725; }
.creator-copy .text-link { color: #5a3f1d; }

.final-cta { position: relative; min-height: 720px; display: grid; place-items: center; overflow: hidden; text-align: center; border-bottom: 3px solid var(--wood-700); }
.final-cta > img:first-child,
.final-cta-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.final-cta > img:first-child { object-fit: cover; }
.final-cta-shade { background: rgba(5, 14, 9, .72); }
.final-cta > div { position: relative; z-index: 2; width: min(850px, calc(100% - 36px)); display: grid; justify-items: center; }
.final-cta > div > img { width: min(360px, 68vw); margin: -50px 0 -42px; filter: drop-shadow(7px 9px 0 rgba(0, 0, 0, .28)); }
.final-cta h2 { font-size: clamp(40px, 6vw, 72px); }
.final-cta p { color: var(--ink-soft); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.final-cta .game-button { margin-top: 15px; }

.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding: 34px max(22px, calc((100% - var(--max-width)) / 2)); background: #050d09; color: var(--ink-muted); border-top: 1px solid rgba(209, 173, 99, .22); }
.brand--footer img { width: 34px; height: 34px; }
.site-footer p { margin: 0; text-align: center; font-size: 12px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer nav a { color: var(--brass-pale); font-size: 11px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.gallery-dialog {
  width: min(1400px, calc(100% - 28px));
  max-height: calc(100svh - 28px);
  padding: 46px 62px 24px;
  color: var(--ink);
  background: #08130d;
  border: 4px solid var(--wood-500);
  outline: 1px solid var(--brass);
  outline-offset: -8px;
  box-shadow: 18px 20px 0 rgba(0, 0, 0, .42);
}
.gallery-dialog::backdrop { background: rgba(0, 0, 0, .84); }
.gallery-dialog figure { margin: 0; }
.gallery-dialog figure img { width: 100%; max-height: calc(100svh - 170px); object-fit: contain; background: #020603; border: 1px solid rgba(209, 173, 99, .35); }
.gallery-dialog figcaption { display: grid; padding-top: 12px; }
.gallery-dialog figcaption b { color: var(--brass-pale); font: 700 20px/1.25 Georgia, serif; }
.gallery-dialog figcaption span { color: var(--ink-muted); font-size: 12px; }
.dialog-close,
.dialog-nav { position: absolute; z-index: 2; color: var(--brass-pale); background: #183222; border: 1px solid var(--brass); cursor: pointer; box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .06), inset -2px -2px 0 rgba(0, 0, 0, .3); }
.dialog-close { right: 12px; top: 10px; width: 40px; height: 34px; font-size: 24px; }
.dialog-nav { top: 50%; width: 42px; height: 54px; transform: translateY(-50%); font-size: 22px; }
.dialog-nav--prev { left: 9px; }
.dialog-nav--next { right: 9px; }

:focus-visible { outline: 3px solid #fff0b3; outline-offset: 4px; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .site-nav { position: fixed; top: calc(var(--header-height) + 3px); left: 0; right: 0; display: none; padding: 20px; background: #07110c; border-bottom: 2px solid var(--wood-700); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 12px 8px; border-bottom: 1px solid rgba(209, 173, 99, .18); }
  .menu-toggle { display: block; order: 2; }
  .build-status { justify-self: end; order: 3; }
  .hero { min-height: 1000px; height: auto; padding: calc(var(--header-height) + 80px) 0 90px; }
  .hero-inner { grid-template-columns: 1fr; align-items: start; }
  .hero-copy { max-width: 820px; }
  .hero-bulletin { max-width: 430px; margin: 0 0 0 auto; }
  .hero-scroll { display: none; }
  .feature-section { grid-template-columns: 1fr; }
  .feature-media { min-height: 620px; }
  .resource-body { grid-template-columns: 180px 1fr; }
  .resource-body > .game-button { grid-column: 2; justify-self: start; }
}

@media (max-width: 860px) {
  :root { --header-height: 68px; }
  .site-header { gap: 14px; padding: 0 16px; }
  .brand small { display: none; }
  .build-status { font-size: 0; padding: 8px; }
  .build-status::after { content: "DEV"; font-size: 9px; }
  .hero { min-height: auto; padding: calc(var(--header-height) + 54px) 0 80px; }
  .hero-inner { width: min(100% - 24px, 700px); }
  .hero-copy-inner { padding: 26px 22px 32px; }
  .hero-logo { margin: 0 0 -30px -10px; width: 285px; }
  .hero-bird { width: 86px; opacity: .9; }
  .hero-bulletin { max-width: none; width: 100%; }
  .bulletin-body { min-height: 320px; }
  .world-strip { grid-template-columns: repeat(2, 1fr); }
  .world-strip div:nth-child(2n) { border-right: 0; }
  .world-strip div:last-child { grid-column: 1 / -1; }
  .section-heading--split { grid-template-columns: 1fr; gap: 18px; }
  .capture-board { grid-template-columns: 1fr; grid-template-rows: auto; }
  .capture--large { grid-row: auto; }
  .capture--large button,
  .capture button { min-height: 360px; }
  .chain-layout { grid-template-columns: 1fr; }
  .chain-screen { min-height: 430px; border-right: 0; border-bottom: 3px solid var(--wood-700); }
  .ecology-pair { grid-template-columns: 1fr; }
  .economy-grid { grid-template-columns: 1fr; }
  .economy-card { display: grid; grid-template-columns: .9fr 1.1fr; }
  .economy-card img { height: 100%; aspect-ratio: auto; border-right: 3px solid var(--wood-700); border-bottom: 0; }
  .resource-body { grid-template-columns: 1fr; }
  .resource-icon { max-width: 280px; }
  .resource-body > .game-button { grid-column: auto; }
  .creator-section { grid-template-columns: 1fr; }
  .creator-photo { min-height: 560px; border-right: 0; border-bottom: 8px solid var(--wood-700); }
  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (max-width: 580px) {
  body { font-size: 15px; }
  .site-header .brand strong { font-size: 16px; }
  .site-header .brand img { width: 34px; height: 34px; }
  .hero::after { border-width: 7px; }
  .hero-bird { display: none; }
  .hero h1 { font-size: 41px; }
  .hero-actions,
  .guide-actions { align-items: stretch; }
  .hero-actions .game-button,
  .guide-actions .game-button { width: 100%; justify-content: space-between; }
  .hero-logo { width: 245px; margin: 0 0 -28px -5px; }
  .bulletin-body img { width: 115px; }
  .world-strip { grid-template-columns: 1fr; }
  .world-strip div { border-right: 0; border-bottom: 1px solid rgba(240, 216, 144, .2); }
  .world-strip div:last-child { grid-column: auto; }
  .section { padding-left: 18px; padding-right: 18px; }
  .section-heading h2,
  .feature-copy h2,
  .guide-book h2,
  .creator-copy h2 { font-size: 38px; }
  .capture--large button,
  .capture button { min-height: 265px; }
  .chain-tabs { grid-template-columns: repeat(2, 1fr); }
  .chain-screen { min-height: 300px; }
  .chain-data { grid-template-columns: 1fr; }
  .feature-media { min-height: 420px; }
  .feature-copy { padding: 58px 20px; }
  .mini-ledger > div { grid-template-columns: 54px 1fr; }
  .mini-ledger img { width: 54px; height: 50px; }
  .ecology-pair figure,
  .ecology-pair img { min-height: 360px; }
  .economy-card { display: block; }
  .economy-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 3px solid var(--wood-700); }
  .guide-teaser { min-height: 740px; padding-left: 12px; padding-right: 12px; }
  .guide-book-body { padding: 32px 22px; }
  .resource-body { padding: 28px 20px; }
  .creator-photo { min-height: 440px; }
  .creator-copy { padding: 60px 22px; }
  .final-cta { min-height: 640px; }
  .gallery-dialog { padding: 46px 42px 20px; }
}

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