:root {
  --wilds-ink: #142723;
  --wilds-deep: #0c1c19;
  --wilds-green: #1f4d3d;
  --wilds-moss: #66794b;
  --wilds-sun: #f4bd4d;
  --wilds-sun-light: #ffd878;
  --wilds-cream: #f3edda;
  --wilds-paper: #faf6e9;
  --wilds-rust: #ad5e3d;
  --wilds-sky: #8bb3b2;
  --wilds-border: rgba(20, 39, 35, 0.16);
  --wilds-shadow: 0 24px 80px rgba(6, 21, 18, 0.14);
  --wilds-serif: Georgia, "Times New Roman", serif;
  --wilds-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--wilds-paper);
  color: var(--wilds-ink);
  font-family: var(--wilds-sans);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body.wilds-landing {
  margin: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.skip-link {
  background: var(--wilds-sun);
  color: var(--wilds-deep);
  font-weight: 800;
  left: 1rem;
  padding: 0.7rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-200%);
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

.wilds-header {
  align-items: center;
  background: rgba(12, 28, 25, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--wilds-cream);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto 1fr;
  left: 0;
  min-height: 5rem;
  padding: 0.85rem clamp(1.1rem, 4vw, 4.5rem);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.wilds-brand {
  align-items: center;
  display: inline-flex;
  font-family: var(--wilds-serif);
  font-size: 1.35rem;
  font-weight: 700;
  gap: 0.65rem;
  justify-self: start;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.wilds-brand img,
.footer-brand img {
  display: block;
}

.wilds-nav {
  align-items: center;
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.8rem);
}

.wilds-nav a,
.wilds-footer nav a {
  color: rgba(243, 237, 218, 0.76);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.wilds-nav a:hover,
.wilds-footer nav a:hover {
  color: var(--wilds-sun-light);
}

.wilds-header > .button {
  justify-self: end;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 850;
  gap: 0.75rem;
  justify-content: center;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 2.8rem;
  padding: 0.75rem 1.2rem;
}

.button-large {
  min-height: 3.75rem;
  padding: 1rem 1.55rem;
}

.button-sun {
  background: var(--wilds-sun);
  color: var(--wilds-deep);
}

.button-sun:hover {
  background: var(--wilds-sun-light);
}

.button-ghost {
  border-color: rgba(243, 237, 218, 0.46);
  color: var(--wilds-cream);
}

.button-ghost:hover {
  background: rgba(243, 237, 218, 0.1);
  border-color: var(--wilds-cream);
}

.button-ink {
  background: var(--wilds-ink);
  color: var(--wilds-cream);
}

.button-ink:hover {
  background: #27453e;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--wilds-sun-light);
  outline-offset: 4px;
}

.landing-flash {
  background: var(--wilds-cream);
  border-left: 4px solid var(--wilds-sun);
  box-shadow: var(--wilds-shadow);
  left: 50%;
  max-width: min(36rem, calc(100vw - 2rem));
  padding: 0.8rem 1.1rem;
  position: fixed;
  top: 6rem;
  transform: translateX(-50%);
  width: max-content;
  z-index: 30;
}

.landing-flash-alert {
  border-color: var(--wilds-rust);
}

.hero {
  align-items: center;
  background: var(--wilds-deep);
  color: var(--wilds-cream);
  display: flex;
  min-height: min(56rem, 100svh);
  overflow: hidden;
  padding: 8rem clamp(1.25rem, 8vw, 9rem) 7rem;
  position: relative;
}

.hero-art,
.hero-art img,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-art img {
  object-fit: cover;
  object-position: center 54%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 21, 18, 0.91) 0%, rgba(7, 21, 18, 0.7) 38%, rgba(7, 21, 18, 0.08) 69%, rgba(7, 21, 18, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 21, 18, 0.64) 0%, transparent 45%);
}

.hero-content {
  max-width: 47rem;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--wilds-rust);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.23em;
  margin: 0 0 1.25rem;
  text-transform: uppercase;
}

.hero .eyebrow,
.multiplayer .eyebrow {
  color: var(--wilds-sun-light);
}

.hero h1 {
  font-family: var(--wilds-serif);
  font-size: clamp(4rem, 8.2vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.86;
  margin: 0;
  text-wrap: balance;
}

.hero-copy {
  color: rgba(243, 237, 218, 0.82);
  font-family: var(--wilds-serif);
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.6;
  margin: 2rem 0 0;
  max-width: 38rem;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.25rem;
}

.hero-note {
  color: rgba(243, 237, 218, 0.58);
  font-size: 0.78rem;
  margin: 1rem 0 0;
}

.hero-scroll {
  align-items: center;
  bottom: 2.2rem;
  color: rgba(243, 237, 218, 0.62);
  display: flex;
  font-size: 0.65rem;
  font-weight: 800;
  gap: 0.8rem;
  letter-spacing: 0.16em;
  position: absolute;
  right: clamp(1.25rem, 4vw, 4.5rem);
  text-decoration: none;
  text-transform: uppercase;
  z-index: 2;
}

.hero-scroll i {
  border: 1px solid rgba(243, 237, 218, 0.45);
  border-radius: 50%;
  height: 2rem;
  position: relative;
  width: 2rem;
}

.hero-scroll i::after {
  border-bottom: 1px solid var(--wilds-cream);
  border-right: 1px solid var(--wilds-cream);
  content: "";
  height: 0.35rem;
  left: 50%;
  position: absolute;
  top: 42%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 0.35rem;
}

.section {
  margin: 0 auto;
  max-width: 90rem;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem);
}

.section-heading {
  max-width: 47rem;
}

.section h2 {
  font-family: var(--wilds-serif);
  font-size: clamp(2.7rem, 5.2vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

.world-intro {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 0.65fr);
}

.world-intro-copy {
  align-self: end;
  color: #4e5d58;
  font-family: var(--wilds-serif);
  font-size: 1.12rem;
}

.world-intro-copy p:first-child {
  color: var(--wilds-ink);
  font-size: 1.27rem;
  margin-top: 0;
}

.biome-ribbon {
  display: grid;
  gap: 1px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(1rem, 3vw, 3rem);
  overflow: hidden;
}

.biome-card {
  align-content: end;
  aspect-ratio: 0.82;
  background-position: center;
  background-size: cover;
  color: white;
  display: grid;
  isolation: isolate;
  padding: clamp(1.2rem, 2vw, 2rem);
  position: relative;
}

.biome-card::before,
.biome-card::after {
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.biome-card::before {
  background: linear-gradient(0deg, rgba(7, 24, 19, 0.84), transparent 62%);
}

.biome-card::after {
  background-repeat: no-repeat;
  opacity: 0.78;
}

.biome-plains {
  background: linear-gradient(#9db9b0 0 55%, #7e9256 55% 72%, #4e6335 72%);
}

.biome-plains::after {
  background-image: radial-gradient(circle at 80% 24%, #f8d36e 0 5%, transparent 5.3%), linear-gradient(155deg, transparent 0 55%, #64794a 55% 64%, transparent 64%);
}

.biome-forest {
  background: linear-gradient(#64807a 0 42%, #284e3c 42% 68%, #183b2e 68%);
}

.biome-forest::after {
  background-image: conic-gradient(from 210deg at 25% 46%, transparent 0 23%, #132f27 24% 45%, transparent 46%), conic-gradient(from 210deg at 70% 38%, transparent 0 23%, #1b3a2e 24% 45%, transparent 46%);
  background-size: 80% 86%, 85% 92%;
}

.biome-mountain {
  background: linear-gradient(#98aba8 0 42%, #71817e 42% 60%, #44544f 60%);
}

.biome-mountain::after {
  background-image: linear-gradient(135deg, transparent 50%, #d9ddd2 50% 56%, #647570 56% 77%, transparent 77%), linear-gradient(225deg, transparent 49%, #bac4bd 50% 56%, #536560 56% 77%, transparent 77%);
  background-position: -30% 0, 125% 15%;
  background-size: 85% 72%;
}

.biome-village {
  background: linear-gradient(#c6936e 0 48%, #9b704e 48% 57%, #5b633f 57%);
}

.biome-village::after {
  background-image: linear-gradient(145deg, transparent 40%, #412f28 41% 55%, transparent 56%), linear-gradient(35deg, transparent 40%, #5b3c2d 41% 55%, transparent 56%), linear-gradient(90deg, transparent 10%, #a7744d 10% 38%, transparent 38% 48%, #b17b51 48% 76%, transparent 76%);
  background-position: 0 17%, 100% 14%, center 50%;
  background-size: 60% 45%, 65% 46%, 100% 52%;
}

.biome-number {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  opacity: 0.7;
}

.biome-card h3 {
  font-family: var(--wilds-serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.1;
  margin: 0.6rem 0 0.4rem;
}

.biome-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0;
}

.field-guide {
  align-items: start;
  border-top: 1px solid var(--wilds-border);
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(19rem, 0.75fr) minmax(0, 1fr);
}

.field-guide-lead {
  position: sticky;
  top: 2rem;
}

.field-guide-lead > p:not(.eyebrow) {
  color: #56635f;
  font-family: var(--wilds-serif);
  font-size: 1.1rem;
  margin: 1.75rem 0;
  max-width: 34rem;
}

.text-link {
  color: var(--wilds-rust);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration-color: rgba(173, 94, 61, 0.4);
  text-underline-offset: 0.35rem;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, 1fr);
}

.feature-grid article {
  border: 1px solid var(--wilds-border);
  min-height: 19rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.feature-grid article:nth-child(2),
.feature-grid article:nth-child(4) {
  margin-top: 2rem;
}

.feature-icon {
  align-items: center;
  background: rgba(102, 121, 75, 0.12);
  border-radius: 50%;
  color: var(--wilds-green);
  display: flex;
  font-family: var(--wilds-serif);
  font-size: 1.45rem;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.feature-grid h3 {
  font-family: var(--wilds-serif);
  font-size: 1.5rem;
  line-height: 1.15;
  margin: 2.7rem 0 0.75rem;
}

.feature-grid p {
  color: #63706c;
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

.multiplayer {
  align-items: stretch;
  background: var(--wilds-ink);
  color: var(--wilds-cream);
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  max-width: none;
  padding-left: max(clamp(1.25rem, 6vw, 6rem), calc((100vw - 90rem) / 2 + 6rem));
  padding-right: max(clamp(1.25rem, 6vw, 6rem), calc((100vw - 90rem) / 2 + 6rem));
}

.multiplayer-copy {
  align-self: center;
  max-width: 43rem;
  padding-right: clamp(2rem, 8vw, 8rem);
}

.multiplayer-copy > p:not(.eyebrow) {
  color: rgba(243, 237, 218, 0.72);
  font-family: var(--wilds-serif);
  font-size: 1.16rem;
  margin: 1.75rem 0;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.check-list li {
  color: rgba(243, 237, 218, 0.77);
  font-size: 0.85rem;
  padding-left: 1.8rem;
  position: relative;
}

.check-list li::before {
  color: var(--wilds-sun);
  content: "✦";
  left: 0;
  position: absolute;
}

.camp-scene {
  background: linear-gradient(180deg, #46646b 0%, #28494a 52%, #132e29 52%);
  min-height: 35rem;
  overflow: hidden;
  position: relative;
}

.camp-moon {
  background: #f4e9b9;
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(244, 233, 185, 0.36);
  height: 4.2rem;
  position: absolute;
  right: 14%;
  top: 12%;
  width: 4.2rem;
}

.camp-tree {
  background: #102c25;
  bottom: 18%;
  clip-path: polygon(50% 0, 68% 28%, 58% 28%, 79% 60%, 64% 60%, 88% 100%, 12% 100%, 36% 60%, 21% 60%, 42% 28%, 32% 28%);
  position: absolute;
}

.camp-tree-one {
  height: 73%;
  left: -7%;
  width: 48%;
}

.camp-tree-two {
  height: 58%;
  right: -12%;
  width: 40%;
}

.camp-scene::after {
  background: #0b231e;
  border-radius: 50%;
  bottom: -24%;
  content: "";
  height: 55%;
  left: -12%;
  position: absolute;
  width: 125%;
}

.camp-fire {
  background: var(--wilds-sun);
  border-radius: 60% 35% 55% 42%;
  bottom: 17%;
  box-shadow: 0 0 45px rgba(244, 189, 77, 0.62);
  height: 3.8rem;
  left: calc(50% - 1.9rem);
  position: absolute;
  transform: rotate(45deg);
  width: 3.8rem;
  z-index: 3;
}

.camp-fire i {
  background: var(--wilds-rust);
  border-radius: 55%;
  height: 45%;
  left: 28%;
  position: absolute;
  top: 29%;
  width: 45%;
}

.camp-person {
  background: #081714;
  border-radius: 45% 45% 25% 25%;
  bottom: 17%;
  height: 5.6rem;
  position: absolute;
  width: 2.7rem;
  z-index: 2;
}

.camp-person::before {
  background: #c98b59;
  border: 0.32rem solid #081714;
  border-radius: 50%;
  content: "";
  height: 1.8rem;
  left: 0.12rem;
  position: absolute;
  top: -1.55rem;
  width: 1.8rem;
}

.camp-person-one { left: 28%; }
.camp-person-two { right: 28%; transform: scale(0.92); }

.quick-start {
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(18rem, 0.6fr) 1fr;
}

.steps {
  border-top: 1px solid var(--wilds-border);
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  align-items: start;
  border-bottom: 1px solid var(--wilds-border);
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 2rem 1fr;
  padding: 1.7rem 0;
}

.steps > li > span {
  color: var(--wilds-rust);
  font-family: var(--wilds-serif);
  font-size: 1.3rem;
  font-style: italic;
}

.steps h3 {
  font-family: var(--wilds-serif);
  font-size: 1.25rem;
  margin: 0 0 0.3rem;
}

.steps p {
  color: #64706d;
  font-size: 0.88rem;
  margin: 0;
}

.account-callout {
  align-items: center;
  background: #e6ddc6;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr auto;
  margin-bottom: clamp(4rem, 9vw, 8rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.account-callout h2 {
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
}

.account-callout > div:first-child > p:not(.eyebrow) {
  color: #53605b;
  max-width: 44rem;
}

.account-callout .privacy-note {
  font-size: 0.75rem;
  max-width: 48rem;
}

.account-actions {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  min-width: min(100%, 16.5rem);
}

.account-actions .button + .button {
  margin-top: 0.7rem;
}

.account-actions form {
  margin: 1rem 0 0;
  text-align: center;
}

.account-signout {
  background: transparent;
  border: 0;
  color: #6d554a;
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  padding: 0.45rem;
  text-decoration: underline;
  text-decoration-color: rgba(109, 85, 74, 0.35);
  text-underline-offset: 0.3rem;
  text-transform: uppercase;
}

.account-signout:hover {
  color: var(--wilds-deep);
}

.account-signout:focus-visible {
  outline: 3px solid var(--wilds-rust);
  outline-offset: 3px;
}

.account-sign-in {
  margin-top: 1.2rem;
  text-align: center;
}

.wilds-footer {
  align-items: center;
  background: var(--wilds-deep);
  color: var(--wilds-cream);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto 1fr;
  padding: 2.5rem clamp(1.25rem, 5vw, 5rem);
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  font-family: var(--wilds-serif);
  font-size: 1.1rem;
}

.footer-brand span,
.quiet-credit {
  color: rgba(243, 237, 218, 0.48);
  font-size: 0.66rem;
}

.wilds-footer nav {
  display: flex;
  gap: 1.5rem;
}

.quiet-credit {
  justify-self: end;
  margin: 0;
}

.quiet-credit a {
  color: rgba(243, 237, 218, 0.58);
  text-decoration-color: rgba(243, 237, 218, 0.22);
  text-underline-offset: 0.2rem;
}

@media (max-width: 900px) {
  .wilds-header {
    grid-template-columns: 1fr auto;
  }

  .wilds-nav {
    display: none;
  }

  .world-intro,
  .field-guide,
  .multiplayer,
  .quick-start {
    grid-template-columns: 1fr;
  }

  .biome-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }

  .biome-card {
    aspect-ratio: 1.15;
  }

  .field-guide-lead {
    position: static;
  }

  .multiplayer-copy {
    padding: 0 0 4rem;
  }

  .account-callout {
    grid-template-columns: 1fr;
  }

  .account-actions {
    max-width: 23rem;
  }

  .wilds-footer {
    grid-template-columns: 1fr auto;
  }

  .wilds-footer nav {
    display: none;
  }
}

@media (max-width: 620px) {
  .wilds-header {
    min-height: 4.4rem;
  }

  .wilds-brand {
    font-size: 1.1rem;
  }

  .wilds-brand img {
    height: 30px;
    width: 30px;
  }

  .wilds-header .button-small {
    min-height: 2.55rem;
    padding: 0.7rem 0.85rem;
  }

  .hero {
    align-items: end;
    min-height: 47rem;
    padding-bottom: 5.6rem;
  }

  .hero-art img {
    object-position: 61% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(7, 21, 18, 0.95) 0%, rgba(7, 21, 18, 0.65) 55%, rgba(7, 21, 18, 0.16) 100%);
  }

  .hero h1 {
    font-size: clamp(3.45rem, 17vw, 5rem);
  }

  .hero-copy {
    font-size: 1.03rem;
    line-height: 1.5;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-scroll {
    bottom: 1.1rem;
  }

  .biome-ribbon {
    grid-template-columns: 1fr;
  }

  .biome-card {
    aspect-ratio: 1.55;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 16rem;
  }

  .feature-grid article:nth-child(2),
  .feature-grid article:nth-child(4) {
    margin-top: 0;
  }

  .camp-scene {
    min-height: 26rem;
  }

  .account-actions {
    max-width: none;
    width: 100%;
  }

  .wilds-footer {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .quiet-credit {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}

@media (prefers-contrast: more) {
  .hero-shade {
    background: rgba(7, 21, 18, 0.8);
  }

  .wilds-nav a,
  .wilds-footer nav a,
  .hero-copy,
  .hero-note {
    color: var(--wilds-cream);
  }
}
