:root {
  --ink: #142033;
  --muted: #3d5166;
  --paper: #f3efe6;
  --line: rgba(20, 32, 51, 0.12);
  --bucket: #1766f2;
  --bucket-deep: #0c45b8;
  --ball: #ff2a2a;
  --gold: #e2a514;
  --card: #fffaf2;
  --shadow: 0 18px 40px rgba(16, 48, 80, 0.12);
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--bucket-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  background: rgba(243, 239, 230, 0.92);
  border-bottom: 1px solid var(--line);
}
body.home .nav {
  background: linear-gradient(rgba(232, 244, 255, 0.72), rgba(232, 244, 255, 0));
  border-bottom-color: transparent;
}
body.home .nav.lifted,
.nav.lifted {
  background: #f3efe6;
  border-bottom-color: var(--line);
  backdrop-filter: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(20, 50, 80, 0.18);
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav-links a:hover { background: rgba(23, 102, 242, 0.08); }

.drop { position: relative; }
html.story .drop { height: 480vh; }
.drop-pin {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: linear-gradient(#67b7f6 0%, #c5e6ff 42%, #e7f3c9 58%, #3f9a38 100%);
}
html.story .drop-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 0;
}

.atmosphere { position: absolute; inset: 0; pointer-events: none; }
.sun {
  position: absolute;
  width: 220px;
  height: 220px;
  right: 8%;
  top: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 220, 0.95) 0 14%, rgba(255, 214, 120, 0.45) 28%, rgba(255, 196, 80, 0) 68%);
}
.sun::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #fff 0 16%, #ffe7a4 42%, #ffc14d 100%);
  box-shadow: 0 0 28px rgba(255, 196, 80, 0.85);
}
.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 40px;
  height: 28px;
  transform: translate3d(var(--drift, 0), 0, 0);
}
.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.cloud.a { width: 120px; top: 16%; left: 8%; }
.cloud.a::before { width: 46px; height: 46px; left: 18px; top: -24px; }
.cloud.a::after { width: 64px; height: 52px; left: 48px; top: -26px; }
.cloud.b { width: 86px; top: 22%; left: 34%; height: 22px; transform: translate3d(calc(var(--drift, 0px) * 0.45), 0, 0); }
.cloud.b::before { width: 34px; height: 34px; left: 12px; top: -16px; }
.cloud.b::after { width: 44px; height: 36px; left: 34px; top: -16px; }
.cloud.c { width: 70px; top: 12%; right: 28%; height: 18px; opacity: 0.8; }
.cloud.c::before { width: 26px; height: 26px; left: 10px; top: -12px; }
.cloud.c::after { width: 32px; height: 26px; left: 28px; top: -12px; }
.hill {
  position: absolute;
  border-radius: 50%;
  background: #9ed56c;
}
.hill.far {
  left: -8%;
  width: 46%;
  bottom: 30%;
  height: 18%;
  background: #b6e48a;
}
.hill.near {
  right: -6%;
  width: 38%;
  bottom: 27%;
  height: 14%;
  background: #8dce63;
  transform: translateX(calc(var(--drift, 0px) * -0.25));
}
.ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36%;
  background:
    radial-gradient(120% 80% at 50% -10%, #8ed45f 0%, #4eaa3c 38%, #217430 100%);
}
.ground::before {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  top: -22%;
  height: 48%;
  border-radius: 50%;
  background: linear-gradient(#b6e58a, #6fbe4c);
}
.daisies {
  position: absolute;
  left: 6%;
  bottom: 7%;
  display: flex;
  gap: 18px;
  align-items: flex-end;
}
.daisies svg { width: 34px; height: 40px; }
.daisies svg:nth-child(2) { width: 26px; height: 32px; transform: translateY(6px); }
.daisies svg:nth-child(3) { transform: translateY(-4px); }

.pin-grid {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  padding: 78px 18px 10px;
  gap: 4px;
}
html.story .pin-grid { min-height: 0; height: 100%; }
.story-copy { position: relative; z-index: 3; max-width: 36rem; }
.eyebrow {
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #0d3f86;
}
.story-copy h1,
.sheet h2,
.close h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 0.94;
}
.story-copy h1 {
  font-size: clamp(2.35rem, 7vw, 4.8rem);
  color: #102033;
}
.story-copy h1 em {
  font-style: italic;
  font-weight: 560;
  color: #0c3f86;
}
.story-copy h1.swap { animation: rise 0.35s ease; }
@keyframes rise {
  from { transform: translateY(6px); }
  to { transform: none; }
}
.lede, .intro {
  color: #24384c;
  line-height: 1.45;
  font-size: 1.05rem;
}
.story-copy .lede {
  margin: 12px 0 0;
  max-width: 28rem;
  color: #1b3344;
}
.hint {
  margin: 12px 0 0;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: #0d3f86;
  transition: opacity 0.3s ease;
}
.cta { display: flex; gap: 12px; margin-top: 14px; }
.soon {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.82);
  color: #3e5164;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: inset 0 0 0 1px rgba(20, 40, 60, 0.08);
}

.field {
  position: relative;
  flex: 1;
  min-height: 280px;
  width: 100%;
}
.rig {
  position: absolute;
  z-index: 3;
  left: 2%;
  right: 7%;
  top: 0;
  height: 48%;
}
.beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(#e7c091, #c48a4e 38%, #8a5428 80%, #6b3f1c);
  box-shadow: 0 8px 12px rgba(60, 30, 8, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.beam::before,
.beam::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 10px;
  height: 26px;
  border-radius: 3px;
  background: linear-gradient(#d7dbe0, #8d949c);
}
.beam::before { left: 8px; }
.beam::after { right: 8px; }
.tubes {
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.cord {
  width: 3px;
  flex: 0 0 12px;
  background: linear-gradient(#a56b3c, #6e4322);
}
.tube {
  position: relative;
  flex: 1;
  width: 62%;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.18) 16%,
      rgba(170, 214, 255, 0.22) 48%,
      rgba(255, 255, 255, 0.42) 78%,
      rgba(210, 236, 255, 0.2) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 7px 0 10px rgba(255, 255, 255, 0.35),
    inset -7px 0 12px rgba(40, 110, 170, 0.16),
    0 12px 16px rgba(20, 60, 100, 0.06);
}
.tube::after {
  content: "";
  position: absolute;
  left: 16%;
  top: 8%;
  bottom: 12%;
  width: 16%;
  border-radius: 20px;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
}
.gate {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -3px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(#f4fbff, rgba(186, 220, 255, 0.4));
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.tube.open .gate { transform: scaleY(0.15); opacity: 0; }
.tube.open {
  box-shadow:
    inset 7px 0 10px rgba(255, 255, 255, 0.35),
    inset 0 -18px 16px rgba(255, 220, 160, 0.28);
}

.buckets {
  position: absolute;
  left: 2%;
  right: 7%;
  bottom: 2%;
  height: 27%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  z-index: 4;
}
.bucket {
  position: relative;
  height: 92%;
  width: 92%;
  margin: 0 auto;
  transition: transform 0.18s ease;
}
.bucket.landed { transform: translateY(3px) scale(1.05, 0.94); }
.bucket .shade {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -8px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(10, 40, 16, 0.35), transparent 70%);
}
.bucket .body {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 22%;
  bottom: 6%;
  background: linear-gradient(180deg, #5aa0ff 0%, #1a6bf0 36%, #0c45c0 100%);
  clip-path: polygon(7% 0, 93% 0, 82% 100%, 18% 100%);
  box-shadow: inset -10px -8px 14px rgba(4, 24, 90, 0.35), inset 6px 0 8px rgba(255, 255, 255, 0.22);
}
.bucket .body::after {
  content: "";
  position: absolute;
  left: 12%;
  top: 8%;
  bottom: 10%;
  width: 18%;
  background: linear-gradient(rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  border-radius: 8px;
}
.bucket b {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  top: 46%;
  text-align: center;
  color: white;
  font-weight: 800;
  font-size: clamp(13px, 2.4vw, 20px);
  text-shadow: 0 1px 0 rgba(0, 20, 60, 0.28);
}
.bucket .rim {
  position: absolute;
  z-index: 5;
  left: 4%;
  right: 4%;
  top: 14%;
  height: 16%;
  border-radius: 50%;
  background: linear-gradient(#e7f1ff, #6aa6ff 42%, #0c49c8 78%);
  box-shadow: 0 3px 0 #08348f, inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.bucket .handle {
  position: absolute;
  z-index: 6;
  left: 18%;
  right: 18%;
  top: 0;
  height: 46%;
  border: 3.5px solid #8d5a32;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: inset 0 0 0 1px rgba(255, 220, 170, 0.25);
}
.bucket.picked .rim {
  box-shadow: 0 0 0 3px var(--gold), 0 3px 0 #08348f, 0 0 0 7px rgba(226, 165, 20, 0.28);
}
.bucket.picked .shade {
  background: radial-gradient(ellipse, rgba(226, 165, 20, 0.55), transparent 72%);
}

.shovel {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 1%;
  width: 52px;
  height: 118px;
  filter: drop-shadow(4px 8px 4px rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

.fall-ball {
  position: absolute;
  z-index: 5;
  left: 62%;
  top: 28%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 32% 30%, #fff 0 8%, #ffb4ae 14%, #ff3030 42%, #d00000 74%, #8a0000 100%);
  box-shadow: inset -4px -5px 8px rgba(80, 0, 0, 0.25), 0 8px 10px rgba(80, 0, 0, 0.12);
}
.fall-ball.in-tube { z-index: 2; }
.fall-ball.falling::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 88%;
  width: 3px;
  height: 48px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95));
}
.contact {
  position: absolute;
  z-index: 2;
  width: 36px;
  height: 12px;
  border-radius: 50%;
  background: rgba(10, 30, 10, 0.45);
  filter: blur(1px);
  opacity: 0;
  pointer-events: none;
}
.ring {
  position: absolute;
  z-index: 5;
  width: 64px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 0 6px rgba(190, 230, 255, 0.35);
}
.spray {
  position: absolute;
  z-index: 6;
  width: 0;
  height: 0;
  pointer-events: none;
}
.spray i {
  position: absolute;
  width: 7px;
  height: 7px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  opacity: 0;
}
.spray.on i { animation: spray 680ms ease-out forwards; }
.spray i:nth-child(1) { --dx: -26px; --dy: -34px; }
.spray i:nth-child(2) { --dx: -8px; --dy: -42px; animation-delay: 20ms; }
.spray i:nth-child(3) { --dx: 16px; --dy: -36px; animation-delay: 40ms; }
.spray i:nth-child(4) { --dx: 30px; --dy: -18px; animation-delay: 10ms; }
.spray i:nth-child(5) { --dx: -32px; --dy: -12px; width: 5px; height: 5px; }
.spray i:nth-child(6) { --dx: 8px; --dy: -22px; width: 5px; height: 5px; animation-delay: 30ms; }
@keyframes spray {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.35); }
}
.pay {
  position: absolute;
  z-index: 6;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1203;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  opacity: 0;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(120, 80, 0, 0.18);
}
.rail {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: rgba(16, 32, 51, 0.08);
  z-index: 4;
}
html.story .rail { display: block; }
.rail span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
  background: linear-gradient(#f0c14b, #c4321a);
}

.sheet { padding: 88px 0; }
.wrap { width: min(1040px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); }
.sheet h2, .close h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 16ch; }
.intro { max-width: 38rem; }

.steps {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
html.story .steps { display: none; }
.steps li {
  padding: 16px 18px;
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.45;
}
.steps strong { color: var(--ink); }

.choices, .menu, .board-list { list-style: none; margin: 28px 0 0; padding: 0; }
.choices { border-top: 1px solid var(--line); }
.choices li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.choices span {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 560;
  font-size: 1.7rem;
  color: #c4321a;
}
.choices h3, .menu h3 { margin: 0 0 6px; font-size: 1.45rem; letter-spacing: -0.03em; }
.choices p, .menu p { margin: 0; color: var(--muted); line-height: 1.5; }

.shop {
  background:
    radial-gradient(520px 220px at 12% 0%, rgba(226, 165, 20, 0.18), transparent 70%),
    #1a120c;
  color: #f6ead7;
}
.shop .eyebrow { color: var(--gold); }
.shop h2, .shop .intro { color: #f6ead7; }
.shop .intro { color: rgba(246, 234, 215, 0.78); }
.shop-grid { display: grid; gap: 28px; }
.menu li {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid rgba(246, 234, 215, 0.16);
}
.menu b {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: -0.04em;
}
.menu h3 { color: #fff8ee; }
.menu p { color: rgba(246, 234, 215, 0.7); }

.board { background: #f7f1e6; }
.board-row { display: grid; gap: 28px; align-items: center; }
.sample {
  margin: 28px 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.board-list {
  margin-top: 8px;
  background: var(--card);
  border-radius: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.board-list li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.board-list li:last-child { border-bottom: 0; }
.board-list .you { background: #fff4d2; }
.board-list em { font-style: normal; font-weight: 700; }
.board-list b { font-variant-numeric: tabular-nums; font-size: 1.15rem; }

.close {
  padding: 20px 0 72px;
}
.close .soon { margin-top: 18px; }

footer { padding: 8px 0 36px; color: var(--muted); }
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.foot nav { display: flex; gap: 14px; }
.foot a { color: var(--muted); font-weight: 600; }

.prose {
  width: min(740px, calc(100% - 32px));
  margin: 108px auto 48px;
}
.prose h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
  letter-spacing: -0.04em;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 8px;
}
.prose h2 { margin-top: 1.6em; font-size: 1.25rem; }
.prose p, .prose li { line-height: 1.55; color: var(--muted); }
.prose strong { color: var(--ink); }
.updated { color: var(--muted); margin-top: 0; }

@media (min-width: 900px) {
  .pin-grid {
    display: grid;
    grid-template-columns: minmax(280px, 440px) minmax(460px, 620px);
    grid-template-rows: 1fr;
    align-items: stretch;
    justify-content: center;
    gap: 28px;
    padding: 96px 7vw 28px;
  }
  .story-copy { align-self: center; padding-bottom: 8vh; }
  .field { height: 100%; min-height: 0; flex: none; }
  .fall-ball { width: 40px; height: 40px; }
  .shop-grid, .board-row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .choices { max-width: 760px; }
  .daisies { left: 10%; bottom: 10%; }
}
@media (max-width: 899px) {
  .sun { top: 42%; right: 2%; width: 150px; height: 150px; }
}
@media (max-width: 720px) {
  .nav { padding: 10px 12px; }
  .nav-links a { padding: 8px; font-size: 0.88rem; }
  .nav-links a[href="/support"] { display: none; }
  .fall-ball { width: 28px; height: 28px; }
  .shovel { width: 36px; height: 84px; }
  .bucket .handle { border-width: 3px; }
  .daisies { display: none; }
  .sheet { padding: 64px 0; }
}
@media (max-height: 760px) and (max-width: 899px) {
  .story-copy h1 { font-size: 2rem; }
  .lede { font-size: 0.95rem; margin-top: 6px; }
  .hint, .cta { margin-top: 8px; }
  .pin-grid { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story-copy h1.swap,
  .spray.on i { animation: none; }
}
