/* ============================================================
   Golden Egg Rush — website theme
   Leaf and Light Studio
   Palette and shapes are pulled straight from the game art:
   cream paper, butter gold, cocoa outlines, barn red, leaf green.
   ============================================================ */

/* ---------- 1. tokens ---------- */
:root {
  --cream: #fff6e2;
  --cream-2: #ffeec7;
  --cream-3: #fbdfa4;
  --paper: #fffdf7;

  --butter: #ffc93c;
  --gold: #f9a825;
  --gold-deep: #d97e07;
  --gold-glow: #ffe27a;

  --cocoa: #4a2e1c;
  --cocoa-2: #6d4a30;
  --cocoa-soft: #8a6446;

  --barn: #d9482e;
  --barn-deep: #ad3320;
  --leaf: #7cb342;
  --leaf-deep: #558b2f;
  --sky: #6ec6f0;
  --plum: #a463c9;

  --night: #26224a;
  --night-2: #3a3470;

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --line: 3px solid var(--cocoa);
  --shadow-drop: 0 6px 0 rgba(74, 46, 28, 0.22);
  --shadow-soft: 0 18px 34px -18px rgba(74, 46, 28, 0.55);
  --shadow-card: 0 6px 0 rgba(74, 46, 28, 0.16), 0 24px 40px -26px rgba(74, 46, 28, 0.6);

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);

  /* Swap these for a self-hosted rounded display face (Baloo 2 / Fredoka,
     SIL OFL) by dropping the woff2 in assets/fonts and adding @font-face. */
  --font-display: "Baloo 2", "Fredoka", "Nunito", "Segoe UI Variable Display",
    "Trebuchet MS", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Nunito", "Quicksand", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 0.6vw + 15px, 18px);
  line-height: 1.65;
  color: var(--cocoa);
  background-color: var(--cream);
  /* the paper texture is knocked back so section bands stay readable on top of it */
  background-image:
    linear-gradient(rgba(255, 250, 238, 0.62), rgba(255, 250, 238, 0.62)),
    url("../img/bg-paper.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-underline-offset: 3px; }
a:hover { color: var(--barn); }

:focus-visible {
  outline: 3px dashed var(--barn);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -70px;
  z-index: 999;
  background: var(--cocoa);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: var(--cream); }

/* ---------- 3. typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(30px, 4.2vw, 50px); }
h3 { font-size: clamp(21px, 2vw, 26px); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(18px, 1.2vw + 15px, 22px);
  color: var(--cocoa-2);
}

.outlined {
  color: var(--butter);
  text-shadow:
    -2px 0 var(--cocoa), 2px 0 var(--cocoa), 0 -2px var(--cocoa), 0 2px var(--cocoa),
    -2px -2px var(--cocoa), 2px -2px var(--cocoa), -2px 2px var(--cocoa),
    2px 2px var(--cocoa), 0 6px 0 rgba(74, 46, 28, 0.32);
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 10px;
}

/* ---------- 4. layout ---------- */
.wrap {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
}

.section { padding: clamp(56px, 8vw, 108px) 0; position: relative; }
.section--tight { padding: clamp(38px, 5vw, 68px) 0; }

.section-head { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 46px); }
.section-head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); }

.split {
  display: grid;
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split--flip > :first-child { order: 2; }
}

/* ---------- 5. bands ---------- */
.band { position: relative; }
.band--cream { background: linear-gradient(180deg, #fffaee 0%, #fff2d8 100%); }
.band--gold {
  background: linear-gradient(170deg, #ffd964 0%, #ffbe2e 55%, #f7a91c 100%);
}
.band--leaf { background: linear-gradient(170deg, #d9f0b4 0%, #bde394 100%); }
.band--night {
  background: radial-gradient(120% 90% at 20% 0%, #3d3776 0%, #26224a 55%, #1a1736 100%);
  color: #f4ecff;
}
.band--night h2,
.band--night h3 { color: #fff5d8; }
.band--night p { color: #ded6f5; }
.band--night .eyebrow { color: var(--butter); }

.band-edge { display: block; width: 100%; height: clamp(28px, 4vw, 58px); }
.band-edge path { fill: currentColor; }

/* ---------- 6. buttons ---------- */
.btn {
  --btn-bg: var(--butter);
  --btn-fg: var(--cocoa);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
  padding: 15px 26px;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-drop);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-3px);
  box-shadow: 0 9px 0 rgba(74, 46, 28, 0.24);
}
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(74, 46, 28, 0.24); }

.btn--barn { --btn-bg: var(--barn); --btn-fg: #fff6e2; }
.btn--cream { --btn-bg: var(--paper); }
.btn--leaf { --btn-bg: var(--leaf); --btn-fg: #fff; }

.btn-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  padding: 13px 22px;
  border: 3px dashed var(--cocoa-soft);
  border-radius: var(--radius-pill);
  color: var(--cocoa-2);
  background: rgba(255, 255, 255, 0.55);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- 7. header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 246, 226, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--cocoa);
  box-shadow: 0 12px 26px -20px rgba(74, 46, 28, 0.9);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
}
.brand img { width: 34px; height: auto; filter: drop-shadow(0 3px 0 rgba(74, 46, 28, 0.2)); }
.brand__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 1.5vw, 21px);
  letter-spacing: 0.01em;
  color: var(--butter);
  text-shadow:
    -1.6px 0 var(--cocoa), 1.6px 0 var(--cocoa), 0 -1.6px var(--cocoa),
    0 1.6px var(--cocoa), -1.6px -1.6px var(--cocoa), 1.6px -1.6px var(--cocoa),
    -1.6px 1.6px var(--cocoa), 1.6px 1.6px var(--cocoa);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--cocoa);
  text-decoration: none;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav a:hover { background: var(--butter); color: var(--cocoa); }
.nav a.is-current { background: var(--cocoa); color: var(--cream); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  background: var(--paper);
  color: var(--cocoa);
  border: var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px var(--gutter) 20px;
    background: var(--cream);
    border-bottom: var(--line);
    box-shadow: var(--shadow-soft);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 17px; }
}

/* ---------- 8. hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(46px, 7vw, 92px) 0 clamp(70px, 9vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/keyart-coop.jpg") center 30% / cover no-repeat;
  transform: scale(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 70% at 22% 45%, rgba(255, 246, 226, 0.96) 0%, rgba(255, 246, 226, 0.8) 42%, rgba(255, 240, 210, 0.25) 74%, rgba(255, 240, 210, 0) 100%),
    linear-gradient(180deg, rgba(255, 246, 226, 0.55) 0%, rgba(255, 246, 226, 0) 30%, rgba(255, 238, 199, 0.85) 100%);
}

.hero__grid {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
}

.hero__title {
  font-size: clamp(44px, 8.6vw, 104px);
  line-height: 0.92;
  margin: 6px 0 14px;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.hero__title span { display: block; }
.hero__title .rush { color: var(--paper); }

.hero__quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 1.5vw + 13px, 27px);
  color: var(--cocoa);
  margin: 0 0 14px;
}
.hero__blurb { max-width: 46ch; }

.hero__art { position: relative; }
.hero__art img {
  width: min(100%, 460px);
  margin-inline: auto;
  filter: drop-shadow(0 26px 24px rgba(74, 46, 28, 0.35));
}

.platform-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 8px 8px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-drop);
}
.platform-pill b { font-weight: 800; }
.platform-pill .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--leaf); border: 2px solid var(--cocoa);
}
.platform-pill .chip {
  background: var(--butter);
  border: 2px solid var(--cocoa);
  border-radius: var(--radius-pill);
  padding: 4px 11px;
  font-size: 13px;
}

/* floating eggs */
.floaters { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.floaters img {
  position: absolute;
  width: clamp(40px, 5vw, 74px);
  opacity: 0.92;
  filter: drop-shadow(0 10px 12px rgba(74, 46, 28, 0.3));
  animation: bob 7s ease-in-out infinite;
}
.floaters img:nth-child(1) { left: 4%;  top: 18%; animation-delay: -0.4s; }
.floaters img:nth-child(2) { right: 7%; top: 12%; animation-delay: -2.1s; }
.floaters img:nth-child(3) { right: 3%; bottom: 16%; animation-delay: -3.6s; }
.floaters img:nth-child(4) { left: 9%;  bottom: 10%; animation-delay: -5.2s; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-18px) rotate(6deg); }
}

/* ---------- 9. facts strip ---------- */
.facts {
  background: var(--cocoa);
  color: var(--cream);
  border-block: 3px solid var(--cocoa);
}
.facts ul {
  list-style: none;
  margin: 0;
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px clamp(16px, 3vw, 40px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.facts li { display: inline-flex; align-items: center; gap: 9px; }
.facts li::before {
  content: "";
  width: 10px; height: 12px;
  background: var(--butter);
  border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%;
  flex: none;
}

/* ---------- 10. cards ---------- */
.card {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 2.2vw, 28px);
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 10px 0 rgba(74, 46, 28, 0.16), 0 30px 46px -26px rgba(74, 46, 28, 0.7);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--cocoa-2); }

.card__icon {
  width: clamp(78px, 8vw, 104px);
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 8px rgba(74, 46, 28, 0.22));
}

.card--step { position: relative; padding-top: 34px; }
.card__step-no {
  position: absolute;
  top: -18px;
  left: 22px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--cocoa);
  background: var(--butter);
  border: var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-drop);
}

/* frame / polaroid */
.frame {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius-xl);
  padding: 12px;
  box-shadow: var(--shadow-card);
  transform: rotate(-1.2deg);
}
.frame img { border-radius: calc(var(--radius-xl) - 14px); }
.frame figcaption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--cocoa-soft);
  padding: 12px 8px 4px;
  text-align: center;
}
.frame--flat { transform: rotate(1deg); }

/* ---------- 11. chips & tags ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 2px solid var(--cocoa);
  border-radius: var(--radius-pill);
  background: var(--cream-2);
  color: var(--cocoa);
}
.chip--gold { background: var(--butter); }
.chip--rare { background: var(--plum); color: #fff; }
.chip--bad { background: #b7c26a; }
.chip--barn { background: var(--barn); color: #fff6e2; }
.chip--leaf { background: var(--leaf); color: #fff; }
.chip--sky { background: var(--sky); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- 12. flock ---------- */
.bird-card {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 18px 18px 22px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}
.bird-card:hover { transform: translateY(-8px); }
.bird-card__stage {
  height: 168px;
  display: grid;
  place-items: end center;
  margin-bottom: 12px;
  background: radial-gradient(60% 42% at 50% 92%, rgba(74, 46, 28, 0.2) 0%, rgba(74, 46, 28, 0) 70%);
}
.bird-card__stage img {
  max-height: 160px;
  width: auto;
  transition: transform 0.25s ease;
}
.bird-card:hover .bird-card__stage img { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
.bird-card h3 { font-size: 20px; margin-bottom: 6px; }
.bird-card p { font-size: 14.5px; color: var(--cocoa-2); margin: 0; }
.bird-card .chip { margin-bottom: 10px; align-self: center; }

/* ---------- 13. eggs ---------- */
.egg-card {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px 16px 22px;
  text-align: center;
  height: 100%;
  transition: transform 0.2s ease;
}
.egg-card:hover { transform: translateY(-7px) rotate(1deg); }
.egg-card img {
  height: 128px;
  width: auto;
  margin: 0 auto 14px;
  filter: drop-shadow(0 12px 10px rgba(74, 46, 28, 0.28));
  animation: eggIdle 6s ease-in-out infinite;
}
.egg-card:nth-child(2n) img { animation-delay: -1.4s; }
.egg-card:nth-child(3n) img { animation-delay: -2.8s; }
.egg-card h3 { font-size: 18px; margin-bottom: 4px; }
.egg-card p { font-size: 14px; color: var(--cocoa-2); margin: 8px 0 0; }

@keyframes eggIdle {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-9px) rotate(2deg); }
}

.egg-card--golden {
  background:
    radial-gradient(70% 60% at 50% 12%, #fff3c4 0%, var(--paper) 70%);
  border-color: var(--gold-deep);
  box-shadow: 0 6px 0 rgba(217, 126, 7, 0.28), 0 26px 46px -24px rgba(217, 126, 7, 0.85);
}

.egg-btn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.lucky-note[hidden] { display: none; }
.lucky-note {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--butter);
  border: 2px solid var(--cocoa);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
}

/* ---------- 14. prop rail ---------- */
.props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
  gap: clamp(10px, 1.6vw, 18px);
}
.props--pair { grid-template-columns: repeat(2, 1fr); }
.prop {
  background: rgba(255, 253, 247, 0.86);
  border: var(--line);
  border-radius: var(--radius-md);
  padding: 14px 10px 12px;
  text-align: center;
  box-shadow: var(--shadow-drop);
  transition: transform 0.18s ease, background 0.18s ease;
}
.prop:hover { transform: translateY(-5px); background: var(--paper); }
.prop img {
  height: 76px;
  width: auto;
  margin: 0 auto 10px;
  filter: drop-shadow(0 7px 7px rgba(74, 46, 28, 0.24));
}
.prop span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13.5px;
  line-height: 1.25;
  display: block;
}

/* ---------- 15. callout ---------- */
.callout {
  display: grid;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  grid-template-columns: 1fr;
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: clamp(22px, 3vw, 38px);
}
@media (min-width: 760px) {
  .callout { grid-template-columns: 190px 1fr; }
}
.callout img { width: 190px; margin-inline: auto; }
.callout--warn { border-color: var(--barn); box-shadow: 0 6px 0 rgba(173, 51, 32, 0.24), var(--shadow-soft); }

/* ---------- 16. day / night ---------- */
.cycle {
  border: var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 34px);
  height: 100%;
  box-shadow: var(--shadow-card);
}
.cycle--day { background: linear-gradient(165deg, #fff3c9 0%, #ffd97a 100%); }
.cycle--night {
  background: linear-gradient(165deg, #453f86 0%, #241f47 100%);
  color: #efe9ff;
  border-color: #14112b;
}
.cycle--night h3 { color: #ffe27a; }
.cycle ul { margin: 14px 0 0; padding-left: 0; list-style: none; display: grid; gap: 9px; }
.cycle li { display: flex; gap: 10px; font-size: 15.5px; }
.cycle li::before { content: "◆"; color: var(--gold-deep); flex: none; }
.cycle--night li::before { color: var(--butter); }
.cycle__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border: 2px solid currentColor;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

/* ---------- 17. gallery ---------- */
.shots { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: 1fr; }
@media (min-width: 720px) { .shots { grid-template-columns: repeat(2, 1fr); } }
.shot {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 0;
  display: flex;
  flex-direction: column;
}
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot figcaption { margin-top: auto; }
.shot figcaption {
  font-size: 14px;
  color: var(--cocoa-2);
  padding: 12px 16px 14px;
  border-top: 3px solid var(--cocoa);
  background: var(--cream-2);
}
.wip-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--barn);
  color: #fff6e2;
  border: 2px solid var(--cocoa);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  margin-bottom: 14px;
}

/* ---------- 18. final CTA ---------- */
.cta {
  position: relative;
  text-align: center;
  border: 3px solid #22140b;
  border-radius: var(--radius-xl);
  padding: clamp(30px, 5vw, 58px) clamp(20px, 4vw, 56px);
  background:
    radial-gradient(90% 120% at 50% -12%, rgba(255, 201, 60, 0.26) 0%, rgba(255, 201, 60, 0) 58%),
    linear-gradient(165deg, #5c3a20 0%, #402812 55%, #2e1b0c 100%);
  box-shadow: 0 8px 0 rgba(34, 20, 11, 0.35), 0 34px 54px -30px rgba(34, 20, 11, 0.95);
  overflow: hidden;
  color: #fdf0d8;
}
.cta .eyebrow { color: var(--butter); }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta p { max-width: 58ch; margin-inline: auto; color: #ecd9bd; }
.cta .btn-soon { color: #e3cba9; border-color: #9a7b5c; background: rgba(255, 255, 255, 0.06); }
.cta .btn-row { justify-content: center; margin-top: 22px; }
.cta__bird {
  position: absolute;
  bottom: -14px;
  width: clamp(96px, 12vw, 168px);
  opacity: 0.95;
  pointer-events: none;
}
.cta__bird--l { left: -10px; transform: rotate(-6deg); }
.cta__bird--r { right: -10px; transform: rotate(6deg) scaleX(-1); }
@media (max-width: 900px) { .cta__bird { display: none; } }

/* ---------- 19. footer ---------- */
.site-footer {
  background: var(--cocoa);
  color: #f6e7d2;
  padding: clamp(38px, 5vw, 62px) 0 30px;
}
.site-footer a { color: var(--butter); }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  align-items: start;
}
.site-footer h4 {
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--butter);
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.site-footer__brand img { width: 40px; }
.site-footer p { font-size: 14.5px; color: #e0cdb4; }
.site-footer__legal {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 246, 226, 0.22);
  font-size: 13px;
  color: #cbb69b;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

/* ---------- 20. legal / policy page ---------- */
.page-hero {
  padding: clamp(40px, 6vw, 78px) 0 clamp(28px, 4vw, 46px);
  background: linear-gradient(180deg, #fff8e8 0%, #ffeec7 100%);
  border-bottom: var(--line);
}
.page-hero h1 { font-size: clamp(34px, 5.4vw, 60px); text-transform: uppercase; }
.page-hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.legal-layout {
  display: grid;
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
  grid-template-columns: 1fr;
  padding: clamp(34px, 5vw, 66px) 0 clamp(50px, 7vw, 92px);
}
@media (min-width: 980px) {
  .legal-layout { grid-template-columns: 262px 1fr; }
  .toc { position: sticky; top: 96px; }
}

.toc {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.toc h2 {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 7px; font-size: 14.5px; }
.toc a { color: var(--cocoa); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--barn); text-decoration: underline; }

.legal {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 3.4vw, 48px);
}
.legal h2 {
  font-size: clamp(23px, 2.4vw, 30px);
  margin-top: 2em;
  padding-top: 0.6em;
  border-top: 2px dashed var(--cream-3);
}
.legal > h2:first-of-type { margin-top: 0.6em; }
.legal h3 { font-size: 19px; margin-top: 1.6em; color: var(--gold-deep); }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }
.legal li::marker { color: var(--gold); }
.legal strong { color: var(--cocoa); }
.legal a { font-weight: 700; }

.legal-summary {
  background: var(--cream-2);
  border: 3px dashed var(--gold);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 26px;
}
.legal-summary h2 { margin: 0 0 10px; border: 0; padding: 0; font-size: 20px; }
.legal-summary ul { margin: 0; }

.legal-contact {
  margin-top: 34px;
  background: linear-gradient(165deg, #fff3c9 0%, #ffdc8a 100%);
  border: var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.legal-contact img { width: 72px; }
.legal-contact div { flex: 1 1 240px; }
.legal-contact p { margin: 0; font-size: 15px; }

/* ---------- 21. reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .floaters img,
  .egg-card img { animation: none; }
  .btn:hover,
  .card:hover,
  .bird-card:hover,
  .egg-card:hover,
  .prop:hover { transform: none; }
}

/* ---------- 22. print ---------- */
@media print {
  .site-header, .site-footer, .toc, .btn-row, .floaters { display: none !important; }
  body { background: #fff; }
  .legal { border: 0; box-shadow: none; padding: 0; }
}
