:root {
  color-scheme: dark;
  --ink: #101f1b;
  --cream: #f7f2db;
  --lime: #d5f77a;
  --faint: #b6c9b2;
  --line: #61785b;
  font-family: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .25em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #f7bd64; outline-offset: 4px; }
.skip { position: absolute; z-index: 4; background: var(--cream); color: var(--ink); padding: 12px; transform: translateY(-110%); }
.skip:focus { transform: translateY(0); }
.wrap, .masthead { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; min-height: 79px; gap: 18px; border-bottom: 1px solid #3b5044; }
.brand, nav, .footer div { display: flex; align-items: center; gap: 12px; }
.brand { font-size: 14px; font-weight: 900; letter-spacing: .10em; }
.brand img { border-radius: 8px; }
nav, .footer div { font-size: 14px; gap: clamp(12px, 3vw, 36px); }
.language, .arrow { border: 1px solid #809a76; color: var(--cream); background: var(--ink); display: grid; place-items: center; min-width: 46px; min-height: 46px; border-radius: 50%; }
.language:hover, .arrow:hover { background: var(--lime); color: var(--ink); }
.hero { min-height: 620px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(24px, 6vw, 95px); padding-block: 64px 74px; }
h1, h2, p, figure { margin: 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--lime); font-size: .76rem; letter-spacing: .14em; font-weight: 750; text-transform: uppercase; }
.eyebrow > span:first-child { width: 8px; height: 8px; border: 1px solid currentColor; rotate: 45deg; background: currentColor; }
h1, h2 { letter-spacing: -.052em; font-weight: 850; }
h1 { font-size: clamp(3.5rem, 6.7vw, 6.5rem); line-height: .96; margin-block: 22px; }
h1 em { font-style: normal; color: var(--lime); }
.intro, .closing p:not(.eyebrow), .slide-description { max-width: 38ch; color: var(--faint); font-size: clamp(1rem, 1.55vw, 1.17rem); line-height: 1.6; }
.cta { display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 28px; background: var(--lime); color: var(--ink); border-radius: 5px; padding: 15px 18px; font-weight: 800; }
.cta:hover { background: var(--cream); text-decoration: none; }
.hero-art { position: relative; isolation: isolate; border: 1px solid #8aa57b; border-radius: 12px; overflow: hidden; height: clamp(385px, 43vw, 535px); background: #b0cbb0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 53%; image-rendering: pixelated; }
.hero-art::after { position: absolute; inset: 14px; border: 1px solid #f7f2db80; border-radius: 4px; content: ""; pointer-events: none; }
.game { background: #e5edce; color: var(--ink); scroll-margin-top: 16px; }
.game-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 9vw, 150px); padding-block: 76px; }
.game .eyebrow { color: #395b29; }
h2 { font-size: clamp(2.8rem, 5.65vw, 5rem); line-height: .99; margin-block: 15px 23px; }
.steps { display: grid; gap: 5px; margin-bottom: 19px; max-width: 420px; }
.steps button { background: transparent; color: var(--ink); border: 0; border-bottom: 1px solid #839375; text-align: left; padding: 13px 11px; min-height: 48px; font-weight: 700; }
.steps button::after { content: '↗'; float: right; }
.steps button:hover, .steps button[aria-pressed=true] { background: #b8d794; border-color: #607a53; }
.slide-description { color: #30472e; min-height: 5em; }
.capture { position: relative; width: min(100%, 365px); margin-inline: auto; }
.preview { display: block; width: 100%; padding: 8px; border-radius: 16px; border: 1px solid #809a76; background: var(--ink); box-shadow: 0 22px 46px #2a442b43; }
.preview img { width: 100%; height: 520px; object-fit: contain; background: #101f1b; border-radius: 10px; }
.capture .arrow { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.prev { left: -22px; }
.next { right: -22px; }
.closing { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: clamp(30px, 7vw, 105px); padding-block: 76px; }
.closing figure { overflow: hidden; border: 1px solid #61785b; border-radius: 12px; }
.closing img { width: 100%; height: clamp(250px, 29vw, 380px); object-fit: cover; object-position: center 47%; }
.closing .platforms { margin-top: 22px; color: var(--lime); font-weight: 750; }
.footer { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #3b5044; }
#lightbox { max-width: 94vw; max-height: 92vh; padding: 12px; background: var(--ink); border: 1px solid var(--line); border-radius: 12px; }
#lightbox::backdrop { background: #07110ded; }
#lightbox .arrow { position: absolute; right: 14px; top: 14px; font-size: 1.7rem; }
#lightbox img { width: auto; max-height: calc(92vh - 26px); }
.document { max-width: 760px; min-height: 70vh; padding-block: 54px 72px; }
.document h1 { font-size: clamp(2.75rem, 6vw, 4.8rem); }
.document h2 { font-size: 1.65rem; letter-spacing: -.04em; margin-top: 32px; }
.document p { margin-block: 15px; font-size: 1.05rem; line-height: 1.65; color: var(--faint); }
.document a:not(.cta) { text-decoration: underline; text-underline-offset: .2em; color: var(--lime); overflow-wrap: anywhere; }
@media (max-width: 800px) {
  .wrap, .masthead { width: calc(100% - 42px); }
  .hero { min-height: 0; padding-block: 48px; }
  .hero-art { height: 420px; }
  .game-grid { padding-block: 58px; }
  .preview img { height: 410px; }
}
@media (max-width: 640px) {
  .masthead { min-height: 69px; }
  .masthead nav a[href="#game"] { display: none; }
  .masthead nav a { min-height: 44px; display: grid; align-items: center; }
  .hero, .game-grid, .closing { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3rem, 11vw, 4.8rem); }
  .hero-art { height: clamp(290px, 92vw, 415px); }
  .game-grid, .closing { padding-block: 52px; }
  .capture { width: min(calc(100% - 30px), 335px); }
  .preview img { height: min(112vw, 490px); }
  .closing figure { order: 2; }
  .footer .brand { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
