:root {
  --ink: #173f36;
  --ink-soft: #46675f;
  --cream: #fffaf0;
  --paper: #f6f0de;
  --sky: #a8dfe1;
  --leaf: #387b56;
  --leaf-dark: #1f5a45;
  --grass: #78b95b;
  --gold: #eba93f;
  --line: rgba(23, 63, 54, 0.18);
  --shadow: 0 24px 70px rgba(23, 63, 54, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Trebuchet MS", "Avenir Next", Avenir, system-ui, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 40px));
  height: 84px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 63, 54, 0.22);
}

.studio-mark {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  font-weight: 800;
}

.studio-mark__bird {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 45% 55%;
  color: var(--gold);
  background: var(--ink);
  font-size: 0.55rem;
  box-shadow: inset -4px -3px 0 rgba(255,255,255,.12);
}

nav { display: flex; gap: 30px; }
nav a { text-decoration: none; font-size: 0.9rem; font-weight: 700; }
nav a:hover { color: var(--leaf); }

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  padding: 148px max(6vw, calc((100vw - 1180px) / 2)) 90px;
  background: var(--sky);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24px;
  background: var(--cream);
  clip-path: polygon(0 80%, 5% 30%, 11% 72%, 17% 25%, 25% 76%, 33% 34%, 41% 80%, 50% 22%, 58% 78%, 67% 36%, 76% 77%, 85% 26%, 93% 71%, 100% 40%, 100% 100%, 0 100%);
}

.hero__copy { position: relative; z-index: 3; max-width: 630px; }
.eyebrow {
  margin: 0 0 14px;
  color: #9c641d;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.game-logo { width: min(390px, 85%); margin: 0 0 18px -18px; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero__lede { max-width: 590px; color: #31584f; font-size: clamp(1rem, 1.8vw, 1.2rem); }
.hero__actions { margin-top: 34px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.availability {
  display: inline-flex;
  padding: 13px 20px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  box-shadow: 0 8px 18px rgba(23,63,54,.2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.text-link { font-weight: 800; text-underline-offset: 5px; }

.hero__scene { position: relative; z-index: 2; min-height: 510px; }
.sun { position: absolute; top: 20px; right: 40px; width: 120px; aspect-ratio: 1; border-radius: 50%; background: #ffe38a; box-shadow: 0 0 0 18px rgba(255,227,138,.25); }
.hill { position: absolute; border-radius: 50% 50% 0 0; transform-origin: bottom; }
.hill--back { inset: auto -45% -90px -15%; height: 320px; background: #91c96a; transform: rotate(5deg); }
.hill--front { inset: auto -25% -120px 8%; height: 290px; background: #4f965b; transform: rotate(-7deg); }
.hero-bird { position: absolute; z-index: 3; object-fit: contain; filter: drop-shadow(0 18px 15px rgba(23,63,54,.18)); }
.hero-bird--goldfinch { width: 220px; right: 24%; bottom: 136px; transform: rotate(-4deg); }
.hero-bird--cardinal { width: 145px; right: 1%; bottom: 74px; transform: scaleX(-1) rotate(-5deg); }

.hero__cloud { position: absolute; z-index: 1; width: 110px; height: 28px; border-radius: 999px; background: rgba(255,255,245,.83); }
.hero__cloud::before, .hero__cloud::after { content: ""; position: absolute; bottom: 8px; border-radius: 50%; background: inherit; }
.hero__cloud::before { left: 22px; width: 43px; height: 43px; }
.hero__cloud::after { right: 18px; width: 55px; height: 55px; }
.hero__cloud--one { top: 175px; left: -35px; }
.hero__cloud--two { top: 235px; right: -20px; transform: scale(.75); }

.section { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.intro { padding: 110px 0 95px; }
.section-heading { max-width: 760px; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.08; letter-spacing: -.035em; }
.section-heading > p:last-child, .map-copy > p { color: var(--ink-soft); font-size: 1.08rem; }

.feature-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid article { padding: 32px 34px 38px 0; }
.feature-grid article + article { padding-left: 34px; border-left: 1px solid var(--line); }
.feature-number { color: #b5782b; font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
h3 { margin: 11px 0 8px; font-size: 1.22rem; }
.feature-grid p { margin: 0; color: var(--ink-soft); }

.map-story { display: grid; grid-template-columns: minmax(320px, .95fr) minmax(320px, .8fr); gap: clamp(45px, 8vw, 100px); align-items: center; padding: 80px 0 120px; }
.map-frame { padding: 18px; background: #d7efee; border: 1px solid rgba(23,63,54,.12); border-radius: 44px; box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.map-frame img { border-radius: 30px; }
.map-copy ul { padding: 0; margin: 28px 0 0; list-style: none; border-top: 1px solid var(--line); }
.map-copy li { padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); position: relative; font-weight: 700; }
.map-copy li::before { content: "✦"; position: absolute; left: 2px; color: var(--gold); }

.field-note { min-height: 300px; display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 45px; padding: 40px 8%; color: white; background: var(--leaf-dark); border-radius: 38px; overflow: hidden; }
.field-note img { width: 200px; filter: drop-shadow(0 16px 12px rgba(0,0,0,.2)); }
blockquote { margin: 0; }
blockquote p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.2; }

.about { padding: 120px 0; max-width: 850px; text-align: center; }
.about > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.15rem; }
.about .about__status { display: inline-block; margin: 20px 0 0; padding: 9px 17px; border: 1px solid var(--line); border-radius: 99px; font-size: .83rem; font-weight: 800; }

footer { min-height: 100px; padding: 28px max(20px, calc((100vw - 1120px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #dbe9df; background: var(--ink); font-size: .8rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: inherit; text-underline-offset: 4px; }

.legal-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 125px 20px 90px;
  background-color: var(--sky);
  background-image:
    radial-gradient(circle at 84% 112px, #ffe38a 0 49px, rgba(255,227,138,.28) 50px 67px, transparent 68px),
    radial-gradient(ellipse at 8% 185px, rgba(255,255,245,.86) 0 45px, transparent 47px),
    radial-gradient(ellipse at 94% 280px, rgba(255,255,245,.78) 0 54px, transparent 56px),
    linear-gradient(174deg, transparent 0 335px, rgba(81,151,88,.22) 336px 390px, transparent 391px),
    linear-gradient(180deg, transparent 0 360px, #7fbd5c 361px 100%);
}
.legal-shell::before {
  content: "";
  position: absolute;
  inset: 360px 0 0;
  opacity: .18;
  background-image: repeating-linear-gradient(78deg, transparent 0 45px, rgba(28,100,64,.7) 46px 48px, transparent 49px 90px);
  pointer-events: none;
}
.legal-card { position: relative; z-index: 1; width: min(850px, 100%); margin: 0 auto; padding: clamp(32px, 6vw, 70px); background: rgba(255,250,240,.985); border: 1px solid rgba(23,63,54,.14); border-radius: 42px; box-shadow: 0 26px 70px rgba(23,63,54,.22); }
.legal-card h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
.legal-card h2 { margin-top: 45px; font-size: clamp(1.55rem, 3vw, 2.1rem); }
.legal-card h3 { margin-top: 28px; }
.legal-card p, .legal-card li { color: var(--ink-soft); }
.legal-card li + li { margin-top: 8px; }
.legal-card a { color: var(--leaf-dark); font-weight: 800; text-underline-offset: 4px; }
.legal-card__logo { width: 235px; margin: -12px 0 25px -15px; }
.legal-meta { padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.legal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.legal-button { display: inline-flex; padding: 12px 18px; border-radius: 999px; text-decoration: none; color: white !important; background: var(--ink); }
.legal-button--secondary { color: var(--ink) !important; background: transparent; border: 1px solid var(--line); }

@media (max-width: 800px) {
  .site-header { height: 70px; }
  nav { gap: 18px; }
  nav a:last-child { display: none; }
  .hero { min-height: 760px; grid-template-columns: 1fr; padding: 115px 22px 20px; text-align: center; }
  .hero__copy { margin: 0 auto; }
  .game-logo { width: 290px; margin: 0 auto 14px; }
  .hero__actions { justify-content: center; margin-top: 25px; }
  .hero__scene { min-height: 270px; margin-top: -25px; }
  .sun { width: 85px; top: 15px; right: 8%; }
  .hero-bird--goldfinch { width: 150px; right: 41%; bottom: 73px; }
  .hero-bird--cardinal { width: 98px; right: 15%; bottom: 35px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article, .feature-grid article + article { padding: 25px 5px; border-left: 0; border-bottom: 1px solid var(--line); }
  .feature-grid article:last-child { border-bottom: 0; }
  .map-story { grid-template-columns: 1fr; padding-top: 55px; }
  .map-frame { width: min(490px, 100%); margin: auto; }
  .field-note { grid-template-columns: 1fr; gap: 0; text-align: center; }
  .field-note img { width: 150px; margin: 0 auto -10px; }
  footer { flex-direction: column; justify-content: center; text-align: center; }
  .legal-shell { padding-top: 95px; }
  .legal-card { border-radius: 28px; }
  .legal-card__logo { width: 210px; margin-left: -10px; }
}

@media (max-width: 450px) {
  .studio-mark { letter-spacing: .08em; font-size: .65rem; }
  .hero { min-height: 720px; }
  h1 { font-size: 2.35rem; }
  .hero__lede { font-size: .97rem; }
  .hero__actions { gap: 14px; }
  .availability { padding: 11px 16px; }
  .intro { padding-top: 80px; }
  .section { width: min(100% - 28px, 1120px); }
  .field-note { padding: 30px 20px 40px; border-radius: 28px; }
}

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