@font-face { font-family:"Nunito Sans"; src:url("/fonts/NunitoSans.ttf") format("truetype"); font-weight:400 800; font-style:normal; font-display:swap; }
:root {
  color-scheme: dark;
  --ink: #0d1215;
  --parchment: #e9e4d9;
  --muted: #bdb7a8;
  --copper: #d8bd7c;
  --line: #555142;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, sans-serif;
  font: 16px/1.6 var(--sans);
  color: var(--parchment);
  background: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; }
h1, h2, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--copper); outline-offset: 5px; }
[id] { scroll-margin-top: 28px; }
.container { width: min(100% - 100px, 1280px); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 5; transform: translateY(-160%); padding: 8px 18px; color: var(--ink); background: var(--parchment); }
.skip-link:focus { transform: translateY(0); }

.masthead { position: absolute; inset: 0 0 auto; z-index: 2; }
.masthead-content { min-height: 84px; border-bottom: 1px solid #f5e7d12b; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 15px; font: 700 .85rem/1 var(--serif); letter-spacing: .15em; white-space: nowrap; }
.emblem { display: grid; place-items: center; inline-size: 27px; block-size: 27px; transform: rotate(45deg); border: 1px solid var(--copper); color: var(--copper); }
.emblem > span { transform: rotate(-45deg); font: 700 1.02rem/1 var(--serif); }
nav { display: flex; align-items: center; gap: clamp(16px, 4vw, 44px); font-size: .91rem; }
nav a:not(.nav-play):hover, .footer a:hover { color: var(--copper); }
.nav-play { border: 1px solid #e3a46f91; padding: 8px 15px; color: #f2bb8d; }
.nav-play:hover { background: #e3a46f21; }

.hero { min-height: 740px; min-height: min(840px, max(710px, 94svh)); isolation: isolate; position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-art, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-art { object-fit: cover; object-position: center 51%; z-index: -2; }
.hero::before { content: ""; background: linear-gradient(90deg, #100d0be8 0, #16100cc2 25%, #16100c34 61%, transparent 85%), linear-gradient(0deg, #14120f 0, transparent 24%), linear-gradient(180deg, #0f0c09bd 0, transparent 28%); }
.hero-content { padding-block: 126px 105px; }
.eyebrow { font-size: .73rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--copper); }
.hero .eyebrow { display: flex; align-items: center; gap: 14px; }
.hero .eyebrow::before { content: ""; inline-size: 24px; block-size: 1px; background: var(--copper); }
.hero h1 { margin-block: 19px 17px; font: 600 clamp(3.3rem, 7.9vw, 8.25rem)/.91 var(--serif); letter-spacing: -.045em; text-shadow: 0 3px 20px #110d0a77; }
.season-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 13px; margin-bottom: 22px; font-size: .74rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--copper); }
.season-name span { font: 600 clamp(1.35rem, 3.25vw, 2.45rem)/1 var(--serif); letter-spacing: 0; text-transform: none; color: #edb583; }
.hero-copy { max-width: 34ch; color: #e9dac7; font-size: clamp(1.05rem, 1.4vw, 1.26rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-block: 32px 15px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 12px 21px; font-weight: 700; border: 1px solid transparent; transition: background .16s, border-color .16s; }
.button.primary { color: #21140a; background: #e5a36a; }
.button.primary:hover { background: #f4bd8e; }
.button.secondary { background: #1a1612c9; border-color: #b88e66a8; color: #f4e5cd; }
.button.secondary:hover { background: #302119; border-color: var(--copper); }
.icon-play { inline-size: 0; block-size: 0; border-block: 5px solid transparent; border-left: 8px solid; }
.icon-download { position: relative; inline-size: 13px; block-size: 13px; border-bottom: 1px solid; }
.icon-download::before { content: ""; position: absolute; inset: 1px 6px 3px; border-left: 1px solid; }
.icon-download::after { content: ""; position: absolute; inset: 4px 4px auto; inline-size: 5px; block-size: 5px; transform: rotate(45deg); border-bottom: 1px solid; border-right: 1px solid; }
.hero-foot { color: #ddcdb9; font-size: .78rem; }
.hero-foot { position: absolute; bottom: 28px; left: 0; right: 0; display: flex; justify-content: space-between; gap: 18px; }
.hero-foot a { color: #f5dac2; }
.hero-foot a:hover { color: var(--copper); }
.hero-foot a span { margin-left: 7px; color: var(--copper); }

.season-section { padding-block: 66px; border-top: 1px solid #443529; }
.season-story { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px clamp(25px, 6vw, 94px); }
.season-story > div { max-width: 65ch; color: var(--muted); }
.season-story p + p { margin-top: 15px; }
.season-story strong { color: var(--parchment); }
.world-section { padding-block: 70px 84px; background: #17140f; border-block: 1px solid #443529; }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 32px; }
h2 { margin-top: 9px; font: 600 clamp(1.95rem, 4.6vw, 3.65rem)/1.1 var(--serif); }
.section-intro > p, .install > div > p:not(.eyebrow) { max-width: 46ch; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.gallery figure { position: relative; min-width: 0; aspect-ratio: 1.75; overflow: hidden; border: 1px solid #674d37; background: #251e15; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 22px 16px 12px; background: linear-gradient(transparent, #130e0bea 43%); font: 600 .9rem/1.25 var(--serif); }

.install-section { padding-block: 74px; }
.install { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px); }
.install h2 { margin-bottom: 17px; }
.install .button { margin-top: 22px; }
.install-command { min-width: 0; padding: clamp(17px, 3vw, 27px); border: 1px solid #574230; background: #1d1813; }
.install-command p:first-child { color: var(--parchment); font-size: .91rem; font-weight: 700; }
.install-command ol { padding-left: 19px; margin: 10px 0 0; color: var(--muted); font-size: .93rem; }
.install-command li + li { margin-top: 6px; }
.footer { min-height: 87px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #443529; gap: 18px; color: var(--muted); font-size: .79rem; }

.waiting { min-height: 100svh; }
.waiting .hero-content { padding-block: 130px 75px; }
.waiting h1 { max-width: 17ch; margin-block: 18px 22px; font-size: clamp(2.7rem, 6.2vw, 5.6rem); line-height: 1.02; letter-spacing: -.028em; }
.waiting .hero-copy { max-width: 39ch; }

@media (max-width: 800px) {
  .container { width: calc(100% - 48px); }
  .section-intro, .install, .season-story { display: grid; grid-template-columns: 1fr; gap: 15px; }
  .gallery { gap: 9px; }
  .gallery figcaption { font-size: .77rem; padding-inline: 10px; }
  .install-command { margin-top: 12px; }
}

@media (max-width: 540px) {
  .container { width: calc(100% - 42px); }
  .masthead-content { min-height: 69px; }
  .masthead-content nav a:not(.nav-play) { display: none; }
  .wordmark { font-size: .73rem; letter-spacing: .09em; gap: 12px; }
  .emblem { inline-size: 23px; block-size: 23px; }
  .hero { min-height: 690px; }
  .hero-art { object-position: 68% center; }
  .hero::before { background: linear-gradient(90deg, #110d0ac7, #16100c5e 77%), linear-gradient(0deg, #14120f 0, #14120f40 28%, transparent 60%), linear-gradient(180deg, #0f0c09bd, transparent 28%); }
  .hero h1 { font-size: clamp(2.7rem, 10.5vw, 4.2rem); }
  .waiting h1 { font-size: clamp(2.4rem, 11vw, 4.8rem); }
  .actions { align-items: stretch; flex-direction: column; width: min(100%, 310px); }
  .world-section, .install-section, .season-section { padding-block: 52px; }
  .gallery { grid-template-columns: 1fr; gap: 12px; }
  .gallery figcaption { font-size: .9rem; padding-inline: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
