:root {
  color-scheme: dark;
  --night: #061713;
  --deep: #09251f;
  --ink: #10231d;
  --teal: #30b39c;
  --teal-dark: #0f4a42;
  --gold: #dfb964;
  --paper: #ded2b6;
  --paper-light: #f4e9ca;
  --paper-ink: #243124;
  --rust: #8b4d2b;
  --mist: rgba(244, 233, 202, 0.78);
  --line-dark: rgba(244, 233, 202, 0.24);
  --line-paper: rgba(36, 49, 36, 0.22);
  --content: min(1180px, calc(100vw - 32px));
  --shadow-heavy: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--mist);
  font-family:
    Pretendard, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 24% 12%, rgba(48, 179, 156, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 18%, rgba(0, 0, 0, 0.2) 75%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.publisher-strip {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  min-height: 44px;
  padding: 13px max(18px, calc((100vw - 1180px) / 2));
  background: #0b0b0b;
  color: rgba(244, 233, 202, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 44px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 max(18px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(244, 233, 202, 0.16);
  background: rgba(4, 24, 20, 0.86);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: #fff7d8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-sigil {
  width: 13px;
  height: 13px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(223, 185, 100, 0.66);
  transform: rotate(45deg);
}

.site-nav {
  gap: 6px;
}

.site-nav a {
  padding: 22px 12px;
  color: rgba(244, 233, 202, 0.84);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold);
  outline: none;
}

.site-nav a[aria-current="page"] {
  color: #fff7d8;
  box-shadow: inset 0 -3px 0 var(--gold);
}

.hero {
  position: relative;
  min-height: 950px;
  overflow: hidden;
  padding: 160px max(18px, calc((100vw - 1180px) / 2)) 100px;
  isolation: isolate;
}

.hero::after,
.signup-band::before,
.lore-band::before,
.systems-band::before,
.final-cta::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 4;
  height: 42px;
  content: "";
  background: var(--night);
  clip-path: polygon(0 28%, 6% 40%, 11% 25%, 18% 46%, 27% 32%, 34% 54%, 43% 26%, 52% 43%, 61% 28%, 72% 52%, 81% 25%, 90% 45%, 100% 31%, 100% 100%, 0 100%);
}

.hero-bg,
.hero-scrim,
.lantern-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  z-index: -4;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.04);
}

.lantern-canvas {
  z-index: -1;
  pointer-events: none;
}

.hero-scrim {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(3, 19, 16, 0.96), rgba(5, 25, 21, 0.72) 33%, rgba(5, 25, 21, 0.18) 70%),
    linear-gradient(0deg, rgba(3, 15, 13, 0.98), rgba(3, 15, 13, 0.18) 52%, rgba(3, 15, 13, 0.64));
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 570px) minmax(280px, 360px);
  gap: 54px;
  align-items: start;
  width: var(--content);
}

.hero-copy {
  color: #fff7d8;
}

.triple-mark {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
}

.triple-mark i {
  width: 26px;
  height: 26px;
  background: #fff7d8;
  box-shadow: 0 0 28px rgba(48, 179, 156, 0.72);
  transform: rotate(45deg);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal-dark);
}

h1 {
  margin-bottom: 8px;
  color: #fff8dd;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 92px;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow:
    0 4px 0 rgba(2, 12, 10, 0.9),
    0 18px 48px rgba(0, 0, 0, 0.72);
}

h1 span {
  display: block;
  font-size: 40px;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 50px;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 27px;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-subtitle {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 25px;
  font-weight: 900;
}

.hero-lede {
  max-width: 560px;
  color: rgba(244, 233, 202, 0.86);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 30px 0 28px;
}

.brush-button,
.ghost-link,
.hero-status a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 0;
  border-radius: 0;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    filter 160ms ease;
}

.brush-button,
.hero-status a {
  background: var(--teal);
  color: #06201b;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.13),
    0 14px 30px rgba(0, 0, 0, 0.28);
  clip-path: polygon(5% 0, 100% 0, 95% 52%, 100% 100%, 0 100%, 4% 45%, 0 0);
}

.ghost-link {
  border-bottom: 2px solid rgba(244, 233, 202, 0.34);
  color: #fff7d8;
}

.brush-button:hover,
.brush-button:focus-visible,
.ghost-link:hover,
.ghost-link:focus-visible,
.hero-status a:hover,
.hero-status a:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
  outline: none;
}

.hero-status {
  margin-top: 44px;
  padding: 30px 30px 34px;
  border: 1px solid rgba(244, 233, 202, 0.22);
  background:
    linear-gradient(rgba(4, 27, 23, 0.78), rgba(4, 27, 23, 0.86)),
    url("./assets/world-map.jpg") center / cover;
  box-shadow: var(--shadow-heavy);
  color: #fff7d8;
  clip-path: polygon(0 0, 96% 0, 100% 7%, 100% 100%, 4% 100%, 0 92%);
}

.hero-status p {
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 900;
}

.hero-status h2 {
  margin-bottom: 22px;
  font-size: clamp(24px, 6.5vw, 32px);
  white-space: nowrap;
}

.hero-status ul {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.hero-status li {
  border-bottom: 1px solid rgba(244, 233, 202, 0.18);
  padding-bottom: 8px;
  color: rgba(244, 233, 202, 0.84);
  font-weight: 800;
}

.hero-showcase {
  position: absolute;
  right: max(18px, calc((100vw - 1260px) / 2));
  bottom: 106px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: min(620px, 48vw);
  height: 340px;
  pointer-events: none;
  perspective: 1200px;
}

.hero-showcase::before {
  position: absolute;
  right: -4%;
  bottom: 4px;
  width: 82%;
  height: 145px;
  border: 1px solid rgba(244, 233, 202, 0.2);
  background:
    linear-gradient(90deg, rgba(5, 34, 29, 0.34), rgba(5, 34, 29, 0.76)),
    radial-gradient(circle at 72% 34%, rgba(223, 185, 100, 0.2), transparent 46%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
  clip-path: polygon(3% 0, 100% 0, 96% 100%, 0 88%);
  content: "";
}

.hero-card {
  position: absolute;
  bottom: 0;
  max-width: none;
  filter:
    drop-shadow(0 22px 26px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 20px rgba(223, 185, 100, 0.16));
  transform: translateY(var(--card-y, 0)) rotate(var(--card-tilt, 0deg));
  transform-origin: bottom center;
  animation: hero-card-drift 7s ease-in-out infinite;
}

.hero-card-primary {
  right: 216px;
  z-index: 5;
  width: clamp(198px, 15vw, 230px);
  --card-y: -4px;
  --card-tilt: 2deg;
}

.hero-card-left {
  right: 382px;
  z-index: 3;
  width: clamp(166px, 12vw, 188px);
  opacity: 0.94;
  --card-y: 34px;
  --card-tilt: -8deg;
}

.hero-card-right {
  right: 72px;
  z-index: 4;
  width: clamp(176px, 13vw, 198px);
  opacity: 0.96;
  --card-y: 24px;
  --card-tilt: 7deg;
}

.hero-card-back {
  right: -8px;
  z-index: 2;
  width: clamp(152px, 11vw, 172px);
  opacity: 0.72;
  --card-y: 58px;
  --card-tilt: 13deg;
}

@keyframes hero-card-drift {
  0%,
  100% {
    transform: translateY(var(--card-y, 0)) rotate(var(--card-tilt, 0deg));
  }

  50% {
    transform: translateY(calc(var(--card-y, 0) - 9px)) rotate(var(--card-tilt, 0deg));
  }
}

.signup-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
  gap: 34px;
  align-items: center;
  padding: 76px max(18px, calc((100vw - 1180px) / 2)) 92px;
  background:
    linear-gradient(rgba(3, 20, 17, 0.92), rgba(3, 20, 17, 0.96)),
    url("./assets/refuge-settlement.jpg") center / cover;
}

.signup-heading h2 {
  color: #fff7d8;
  font-size: 40px;
}

.signup-heading p {
  color: rgba(244, 233, 202, 0.72);
}

.preorder-form {
  display: grid;
  grid-template-columns: 1.1fr 0.62fr 0.72fr auto;
  gap: 10px;
  align-items: end;
}

.preorder-form label {
  display: grid;
  gap: 7px;
  color: rgba(244, 233, 202, 0.92);
  font-size: 13px;
  font-weight: 900;
}

.preorder-form input,
.preorder-form select {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid rgba(244, 233, 202, 0.3);
  border-radius: 0;
  background: rgba(7, 24, 20, 0.82);
  color: #fff7d8;
  font: inherit;
}

.preorder-form input:focus,
.preorder-form select:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(223, 185, 100, 0.18);
}

.email-only-field {
  grid-column: 1 / -2;
}

.checkline {
  grid-column: 1 / -2;
  grid-template-columns: 22px 1fr;
  align-items: start;
}

.checkline input {
  min-height: 0;
  margin-top: 4px;
}

.form-button {
  min-width: 150px;
}

.form-button[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-state {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: rgba(244, 233, 202, 0.72);
  font-size: 13px;
}

.form-state.is-ok {
  color: #bff6d2;
}

.form-state.is-error {
  color: #ffd4c2;
}

.paper-section {
  position: relative;
  padding: 96px max(18px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(rgba(231, 219, 191, 0.94), rgba(216, 203, 176, 0.92)),
    url("./assets/world-map.jpg") center / cover;
  color: var(--paper-ink);
}

.paper-section::before,
.paper-section::after {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  height: 38px;
  content: "";
  background: var(--night);
}

.paper-section::before {
  top: -1px;
  clip-path: polygon(0 0, 100% 0, 100% 64%, 92% 45%, 84% 72%, 76% 50%, 66% 70%, 56% 48%, 47% 64%, 36% 42%, 25% 66%, 14% 46%, 0 70%);
}

.paper-section::after {
  bottom: -1px;
  clip-path: polygon(0 30%, 10% 55%, 22% 36%, 31% 66%, 42% 42%, 55% 70%, 68% 40%, 78% 62%, 90% 34%, 100% 58%, 100% 100%, 0 100%);
}

.section-title {
  width: min(740px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-title h2 {
  color: #15362f;
}

.section-title p {
  color: rgba(30, 43, 32, 0.72);
}

.companion-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  width: var(--content);
}

.companion-card {
  position: relative;
  min-height: 335px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(28, 43, 34, 0.24);
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 248, 216, 0.46), transparent 42%),
    linear-gradient(180deg, rgba(16, 78, 69, 0.05), rgba(7, 24, 20, 0.18)),
    #d0bd92;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%, 0 5%);
}

.companion-card img {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 335px;
  max-width: none;
  transform: translateX(-50%) scale(1.18);
  filter: drop-shadow(0 22px 18px rgba(0, 0, 0, 0.26));
}

.companion-card:nth-child(4) img,
.companion-card:nth-child(6) img {
  width: 360px;
}

.companion-card:nth-child(5) img {
  width: 325px;
}

.companion-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 8px 13px;
  background: rgba(5, 28, 23, 0.9);
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.lore-band {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  padding: 120px max(18px, calc((100vw - 1180px) / 2));
  background: var(--night);
}

.lore-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.48) saturate(1.1);
}

.lore-copy {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  margin: 0 auto;
  color: #fff7d8;
  text-align: center;
}

.lore-copy p:last-child,
.systems-copy p,
.systems-copy span {
  color: rgba(244, 233, 202, 0.78);
}

.region-stack {
  display: grid;
  gap: 56px;
  width: var(--content);
}

.region-scene {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(320px, 0.9fr);
  gap: 38px;
  align-items: center;
}

.region-scene.reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(220px, 0.42fr);
}

.region-scene.reverse .region-name {
  order: 2;
}

.region-scene img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  box-shadow: 0 24px 46px rgba(24, 30, 22, 0.24);
  clip-path: polygon(1% 0, 100% 3%, 98% 100%, 0 96%);
}

.region-name {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.region-name span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 2px solid rgba(19, 54, 47, 0.34);
  color: #17453d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 900;
}

.region-name h3 {
  color: #123a33;
}

.region-name p {
  color: rgba(31, 45, 33, 0.78);
}

.systems-band {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  padding: 120px max(18px, calc((100vw - 1180px) / 2));
  background: var(--night);
}

.systems-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.36) saturate(1.2);
}

.systems-copy {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  color: #fff7d8;
}

.system-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.system-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid rgba(244, 233, 202, 0.22);
}

.system-list strong {
  color: var(--gold);
  font-size: 20px;
}

.reward-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: var(--content);
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(33, 44, 34, 0.18);
}

.reward-list li {
  min-height: 245px;
  padding: 24px;
  background: rgba(244, 233, 202, 0.66);
}

.reward-list span {
  display: block;
  margin-bottom: 48px;
  color: var(--rust);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 900;
}

.reward-list strong {
  display: block;
  margin-bottom: 10px;
  color: #17362f;
  font-size: 20px;
}

.reward-list p {
  color: rgba(31, 45, 33, 0.78);
}

.final-cta {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 90px 18px 120px;
}

.final-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.08);
}

.final-cta-copy {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  color: #fff7d8;
  text-align: center;
}

.final-cta-copy .brush-button {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px max(18px, calc((100vw - 1180px) / 2));
  background: #050d0b;
  color: rgba(244, 233, 202, 0.66);
  font-size: 13px;
}

.reveal {
  opacity: 1;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.story-page {
  background:
    linear-gradient(rgba(6, 23, 19, 0.96), rgba(6, 23, 19, 0.96)),
    url("./assets/world-map.jpg") center / cover fixed;
}

.story-hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 170px max(18px, calc((100vw - 1180px) / 2)) 108px;
  isolation: isolate;
}

.story-hero::after,
.story-world-band::after,
.story-final-cta::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 4;
  height: 42px;
  content: "";
  background: var(--night);
  clip-path: polygon(0 28%, 6% 40%, 11% 25%, 18% 46%, 27% 32%, 34% 54%, 43% 26%, 52% 43%, 61% 28%, 72% 52%, 81% 25%, 90% 45%, 100% 31%, 100% 100%, 0 100%);
}

.story-hero-bg,
.story-hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story-hero-bg {
  z-index: -4;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.72) saturate(1.12) contrast(1.04);
  transform: scale(1.04);
}

.story-hero-scrim {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(3, 14, 12, 0.96), rgba(5, 25, 21, 0.72) 48%, rgba(5, 25, 21, 0.18)),
    linear-gradient(0deg, rgba(3, 15, 13, 0.98), rgba(3, 15, 13, 0.14) 54%, rgba(3, 15, 13, 0.64));
}

.story-hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  color: #fff7d8;
}

.story-hero h1 {
  margin-bottom: 22px;
  font-size: 72px;
  line-height: 0.98;
}

.story-hero h1 span {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 24px;
  line-height: 1.1;
}

.story-lede {
  width: min(650px, 100%);
  color: rgba(244, 233, 202, 0.84);
  font-size: 20px;
}

.story-hero-portraits {
  position: absolute;
  right: max(18px, calc((100vw - 1220px) / 2));
  bottom: 86px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 0;
  pointer-events: none;
}

.story-hero-portraits img {
  width: 210px;
  margin-left: -56px;
  filter:
    drop-shadow(0 24px 28px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 22px rgba(223, 185, 100, 0.14));
  transform: translateY(var(--card-y, 0)) rotate(var(--card-tilt, 0deg));
  animation: hero-card-drift 7s ease-in-out infinite;
}

.story-hero-portraits img:nth-child(1) {
  --card-tilt: -9deg;
  --card-y: 36px;
  opacity: 0.86;
}

.story-hero-portraits img:nth-child(2) {
  --card-tilt: 2deg;
  --card-y: 0;
  width: 250px;
}

.story-hero-portraits img:nth-child(3) {
  --card-tilt: 8deg;
  --card-y: 44px;
  opacity: 0.9;
}

.story-paper {
  position: relative;
  padding: 110px max(18px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(rgba(237, 226, 199, 0.96), rgba(218, 204, 176, 0.95)),
    url("./assets/world-map.jpg") center / cover;
  color: var(--paper-ink);
}

.story-paper::before,
.story-paper::after,
.story-scene-band::before,
.story-letter-band::before {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  height: 38px;
  content: "";
  background: var(--night);
}

.story-paper::before,
.story-scene-band::before,
.story-letter-band::before {
  top: -1px;
  clip-path: polygon(0 0, 100% 0, 100% 64%, 92% 45%, 84% 72%, 76% 50%, 66% 70%, 56% 48%, 47% 64%, 36% 42%, 25% 66%, 14% 46%, 0 70%);
}

.story-paper::after {
  bottom: -1px;
  clip-path: polygon(0 30%, 10% 55%, 22% 36%, 31% 66%, 42% 42%, 55% 70%, 68% 40%, 78% 62%, 90% 34%, 100% 58%, 100% 100%, 0 100%);
}

.story-prose {
  width: min(860px, 100%);
  margin: 0 auto;
}

.chapter-label {
  margin-bottom: 14px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.story-prose h2,
.story-route-head h2 {
  color: #15362f;
}

.story-prose h1 {
  margin-bottom: 28px;
  color: #15362f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.96;
}

.story-prose p:not(.chapter-label) {
  color: rgba(31, 45, 33, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.95;
}

.privacy-main {
  padding-top: 112px;
}

.privacy-panel {
  min-height: calc(100vh - 180px);
}

.privacy-panel .story-prose h2 {
  margin-top: 34px;
}

.story-scene-band {
  position: relative;
  padding: 118px max(18px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(rgba(5, 20, 17, 0.94), rgba(5, 20, 17, 0.97)),
    url("./assets/forest-outpost.jpg") center / cover;
}

.story-scene {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 0.8fr);
  gap: 46px;
  align-items: center;
  width: var(--content);
}

.story-scene-image {
  margin: 0;
}

.story-scene-image img,
.story-letter-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--shadow-heavy);
  clip-path: polygon(1% 0, 100% 3%, 98% 100%, 0 96%);
}

.story-scene-image img {
  border: 1px solid rgba(244, 233, 202, 0.24);
  filter: brightness(1.1) saturate(1.12);
}

.story-scene-copy,
.story-world-copy,
.story-letter,
.story-final-copy {
  color: #fff7d8;
}

.story-scene-copy p,
.story-world-copy p,
.story-letter p,
.story-final-copy p {
  color: rgba(244, 233, 202, 0.78);
  font-size: 18px;
}

.story-world-band {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 122px max(18px, calc((100vw - 1180px) / 2));
  background: var(--night);
}

.story-world-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.34) saturate(1.14);
}

.story-world-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 18, 15, 0.96), rgba(3, 18, 15, 0.72) 46%, rgba(3, 18, 15, 0.32)),
    linear-gradient(0deg, rgba(3, 18, 15, 0.9), transparent 52%, rgba(3, 18, 15, 0.76));
}

.story-world-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.story-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  background: rgba(244, 233, 202, 0.18);
}

.story-facts div {
  min-height: 120px;
  padding: 18px;
  background: rgba(6, 24, 20, 0.78);
}

.story-facts dt {
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.story-facts dd {
  margin: 0;
  color: #fff7d8;
  font-weight: 900;
}

.story-route-head {
  width: min(780px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.story-route-head p:last-child {
  color: rgba(31, 45, 33, 0.78);
  font-size: 18px;
}

.chapter-road {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  width: var(--content);
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(33, 44, 34, 0.18);
}

.chapter-tile {
  min-height: 315px;
  padding: 24px 22px;
  background: rgba(244, 233, 202, 0.68);
}

.chapter-tile span {
  display: block;
  margin-bottom: 52px;
  color: var(--rust);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 900;
}

.chapter-tile h3 {
  color: #15362f;
  font-size: 22px;
}

.chapter-tile p {
  color: rgba(31, 45, 33, 0.78);
}

.story-letter-band {
  position: relative;
  padding: 118px max(18px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(rgba(5, 20, 17, 0.94), rgba(5, 20, 17, 0.98)),
    url("./assets/river-port.jpg") center / cover;
}

.story-letter-grid {
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: center;
  width: var(--content);
}

.story-letter-image {
  margin: 0;
}

.story-letter blockquote {
  margin: 24px 0;
  padding: 22px 0 22px 24px;
  border-left: 3px solid var(--gold);
  color: #fff7d8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.75;
}

.story-final-cta {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 92px 18px 120px;
}

.story-final-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.44) saturate(1.1);
}

.story-final-copy {
  position: relative;
  z-index: 2;
  width: min(700px, 100%);
  text-align: center;
}

.story-final-copy .brush-button {
  margin-top: 12px;
}

.story-jump-link {
  margin-top: 12px;
}

@media (max-width: 1050px) {
  .hero {
    min-height: 980px;
  }

  .hero-layout,
  .signup-band {
    grid-template-columns: 1fr;
  }

  .hero-status {
    width: min(420px, 100%);
    margin-top: 12px;
  }

  .hero-showcase {
    right: -34px;
    bottom: 72px;
    width: min(650px, 78vw);
    opacity: 0.76;
  }

  .hero-card-primary {
    right: 206px;
    width: 218px;
  }

  .hero-card-left {
    right: 356px;
    width: 174px;
  }

  .hero-card-right {
    right: 76px;
    width: 188px;
  }

  .hero-card-back {
    right: 2px;
    width: 160px;
  }

  .preorder-form {
    grid-template-columns: 1fr 1fr;
  }

  .form-button {
    width: 100%;
  }

  .companion-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reward-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-hero-portraits {
    right: -46px;
    opacity: 0.52;
  }

  .story-scene,
  .story-letter-grid {
    grid-template-columns: 1fr;
  }

  .chapter-road {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .publisher-strip {
    display: none;
  }

  .site-header {
    top: 0;
    min-height: 62px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 850px;
    padding-top: 112px;
  }

  h1 {
    font-size: 62px;
  }

  h1 span {
    font-size: 28px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-showcase {
    display: none;
  }

  .preorder-form,
  .region-scene,
  .region-scene.reverse,
  .system-list li {
    grid-template-columns: 1fr;
  }

  .region-scene.reverse .region-name {
    order: 0;
  }

  .checkline,
  .form-state {
    grid-column: 1;
  }

  .companion-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-hero {
    min-height: 700px;
    padding-top: 112px;
  }

  .story-hero h1 {
    font-size: 50px;
  }

  .story-hero h1 span {
    font-size: 20px;
  }

  .story-lede,
  .story-prose p:not(.chapter-label),
  .story-scene-copy p,
  .story-world-copy p,
  .story-letter p,
  .story-route-head p:last-child {
    font-size: 17px;
  }

  .story-hero-portraits {
    display: none;
  }

  .story-paper,
  .story-scene-band,
  .story-world-band,
  .story-letter-band {
    padding-top: 82px;
    padding-bottom: 86px;
  }

  .story-facts,
  .chapter-road {
    grid-template-columns: 1fr;
  }

  .story-letter blockquote {
    font-size: 19px;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 18px;
  }

  .hero {
    min-height: 840px;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .brush-button,
  .ghost-link,
  .hero-status a {
    width: 100%;
  }

  .companion-row,
  .reward-list {
    grid-template-columns: 1fr;
  }

  .companion-card {
    min-height: 285px;
  }

  .region-scene img {
    aspect-ratio: 4 / 3;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
