/* The Stop the Drop! landing and press pages (approved mockup A, 2026-11-04). */
@font-face {
  font-family: 'Caveat Brush';
  src: url(/fonts/caveat-brush-latin-400-normal.woff2) format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Patrick Hand';
  src: url(/fonts/patrick-hand-latin-400-normal.woff2) format('woff2');
  font-display: swap;
}
:root {
  --paper: #fbf7ec;
  --paper2: #fffdf6;
  --ink: #2b2b33;
  --muted: #5d5b62;
  --line: #d9d2bf;
  --blue: #2f6fd1;
  --rule: #cfdcf0;
  --margin: #eda7a3;
  --hl: #ffe27a;
  --green: #a8e6b0;
  --red: #d6453a;
  --display: 'Caveat Brush', 'Marker Felt', cursive;
  --hand: 'Patrick Hand', 'Marker Felt', cursive;
  --gutter: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--hand);
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--blue);
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 0.4em;
  letter-spacing: 0.01em;
}
h1 {
  font-size: clamp(3rem, 11vw, 6.2rem);
}
h2 {
  font-size: clamp(2.2rem, 6.5vw, 3.6rem);
}
h3 {
  font-size: 1.7rem;
}
p {
  margin: 0 0 1em;
}
.hl {
  background: linear-gradient(transparent 55%, var(--hl) 55% 92%, transparent 92%);
  padding: 0 0.12em;
}
.wrap {
  width: min(1080px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  position: relative;
}
.narrow {
  width: min(680px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* nav */
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px var(--gutter);
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.55rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.nav .brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}
.nav a.l {
  color: var(--ink);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 10px;
}
.nav a.l:hover {
  background: rgba(0, 0, 0, 0.06);
}
@media (max-width: 560px) {
  .nav a.l.opt {
    display: none;
  }
}

/* buttons */
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn {
  font-family: var(--display);
  font-size: 1.45rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--green);
  border: 3px solid var(--ink);
  border-radius: 16px 14px 18px 12px / 14px 18px 12px 16px;
  padding: 10px 20px 8px;
  box-shadow: 0 4px 0 var(--ink);
  transition:
    transform 0.12s,
    box-shadow 0.12s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  line-height: 1.1;
}
.btn:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--ink);
}
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 var(--ink);
}
.btn.soon {
  background: var(--paper2);
  box-shadow: none;
  border-style: dashed;
  border-width: 2.5px;
  cursor: default;
  font-size: 1.15rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 8px 16px 6px;
  transform: none;
  opacity: 0.92;
}
.btn.soon small {
  font-family: var(--hand);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn.small {
  font-size: 1.1rem;
  padding: 6px 14px 4px;
  box-shadow: 0 3px 0 var(--ink);
}
.btn.alt {
  background: var(--hl);
}
/* the App Store door: first in the row and the biggest thing in it */
.btn.primary {
  font-size: 1.9rem;
  padding: 14px 30px 11px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  background: var(--hl);
  box-shadow: 0 5px 0 var(--ink);
}
.btn.primary small {
  font-family: var(--hand);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cta .btn:not(.primary):not(.soon) {
  background: var(--paper2);
}

/* paper surfaces */
.paper {
  background: var(--paper2) url(art/paper/ruled-tile.png) 0 0 / 256px;
}
.ruled {
  background: #fffdf6 url(art/paper/ruled-cream.jpg) center / cover;
}
.sky {
  background: #e8f0fb url(art/paper/ruled-sky.jpg) center / cover;
}
.pink {
  background: #fbe9e6 url(art/paper/squared-pink.jpg) center / cover;
}
.sticky {
  background: #fff0a6 url(art/paper/ruled-sticky.jpg) center / cover;
}
.dots {
  background: #fffdf6 url(art/paper/dotted-cream.jpg) center / cover;
}
.sq {
  background: #fffdf6 url(art/paper/squared-cream.jpg) center / cover;
}
.card {
  position: relative;
  border: 2.5px solid var(--ink);
  border-radius: 6px;
  box-shadow:
    0 8px 0 rgba(43, 43, 51, 0.14),
    0 18px 30px rgba(43, 43, 51, 0.12);
  padding: 22px 22px 18px;
}
.tape {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 92px;
  height: 28px;
  margin-left: -46px;
  background: rgba(255, 238, 160, 0.8);
  border: 1px solid rgba(160, 140, 60, 0.35);
  transform: rotate(-3deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.hand {
  font-family: var(--display);
}
.note {
  font-size: 0.95rem;
  color: var(--muted);
}

/* the phone: a real in-app capture of the game */
.phone {
  position: relative;
  width: min(330px, 88vw);
  margin-inline: auto;
}
.phone .frame {
  position: relative;
  border: 9px solid var(--ink);
  border-radius: 46px;
  background: #fffdf6 url(art/paper/ruled-cream.jpg) center / cover;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 10px 0 rgba(43, 43, 51, 0.18),
    0 30px 50px rgba(43, 43, 51, 0.2);
}
.phone .frame::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  width: 82px;
  height: 22px;
  margin-left: -41px;
  background: var(--ink);
  border-radius: 12px;
}
.phone .screen {
  display: block;
  width: 100%;
  height: auto;
}
/* stickers / decorations */
.deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.deco img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 0 rgba(43, 43, 51, 0.12));
}
@media (max-width: 760px) {
  .deco.lg {
    display: none;
  }
  .deco {
    opacity: 0.9;
  }
}

/* sections */
section {
  position: relative;
}
.pad {
  padding: 64px 0;
}
.two {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 820px) {
  .two {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }
  .two.flip {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .two.flip > :first-child {
    order: 2;
  }
}
.hero {
  padding: 36px 0 56px;
}
.hero .lead {
  font-size: clamp(1.25rem, 3.4vw, 1.65rem);
  max-width: 30em;
}
.logo {
  width: min(520px, 90%);
}

/* how it plays */
.how {
  display: grid;
  gap: 22px;
}
@media (min-width: 820px) {
  .how {
    grid-template-columns: repeat(3, 1fr);
  }
}
.how .card {
  padding-top: 30px;
}
.how .card:nth-child(1) {
  transform: rotate(-1.4deg);
}
.how .card:nth-child(2) {
  transform: rotate(1deg);
}
.how .card:nth-child(3) {
  transform: rotate(-0.6deg);
}
.how img.icon {
  width: 76px;
  height: 76px;
  margin-bottom: 6px;
  object-fit: contain;
}

/* screenshots */
.shots {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 24px var(--gutter) 40px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shots img {
  flex: 0 0 auto;
  width: min(250px, 66vw);
  border-radius: 22px;
  border: 3px solid var(--ink);
  box-shadow:
    0 8px 0 rgba(43, 43, 51, 0.14),
    0 18px 28px rgba(43, 43, 51, 0.15);
  scroll-snap-align: center;
}
.shots img:nth-child(odd) {
  transform: rotate(-1.6deg);
}
.shots img:nth-child(even) {
  transform: rotate(1.4deg) translateY(10px);
}
@media (min-width: 1000px) {
  .shots {
    justify-content: center;
    overflow: visible;
    flex-wrap: nowrap;
  }
  .shots img {
    width: 19%;
  }
}

/* editor */
.cards3 {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.cards3 img {
  width: 31%;
  border: 2.5px solid var(--ink);
  border-radius: 6px;
  box-shadow:
    0 6px 0 rgba(43, 43, 51, 0.14),
    0 14px 20px rgba(43, 43, 51, 0.14);
  background: #fff;
}
.cards3 img:nth-child(1) {
  transform: rotate(-3deg);
}
.cards3 img:nth-child(2) {
  transform: translateY(14px) rotate(1deg);
}
.cards3 img:nth-child(3) {
  transform: rotate(3deg);
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
}
.checks li {
  padding-left: 38px;
  position: relative;
  margin-bottom: 0.45em;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 26px;
  height: 26px;
  background: url(art/st/sticker-star.png) center / contain no-repeat;
}
.hash {
  font-family: var(--display);
  font-size: 1.5rem;
  background: var(--hl);
  display: inline-block;
  padding: 2px 12px;
  transform: rotate(-1.5deg);
  border-radius: 4px;
}

/* footer */
footer {
  padding: 36px var(--gutter) 48px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  position: relative;
  z-index: 2;
}
footer a {
  color: inherit;
  margin: 0 8px;
}
footer .sleep {
  width: 54px;
  margin: 0 auto 10px;
  opacity: 0.9;
}

/* variant A: desk (parallax) */
.v-a {
  background: #f4ecd8 url(art/paper/ruled-tile.png) 0 0 / 300px;
}
.v-a .sect-sky {
  background: rgba(232, 240, 251, 0.86);
}
.v-a .band {
  position: relative;
}
.v-a .parallax {
  will-change: transform;
}
.v-a .pile {
  position: absolute;
  border: 2px solid rgba(43, 43, 51, 0.5);
  box-shadow: 0 10px 24px rgba(43, 43, 51, 0.18);
  border-radius: 4px;
}

/* variant B: notebook (no parallax) */
.v-b {
  background: #e9e1cc;
}
.v-b .page {
  position: relative;
  margin: 26px auto;
  width: min(1120px, 100% - 20px);
  border: 2.5px solid var(--ink);
  border-radius: 8px;
  box-shadow:
    0 10px 0 rgba(43, 43, 51, 0.12),
    0 24px 40px rgba(43, 43, 51, 0.14);
  overflow: hidden;
  padding-left: 36px;
}
.v-b .page::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 8px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 26px,
    rgba(43, 43, 51, 0.55) 26px 40px,
    transparent 40px 66px
  );
  border-radius: 4px;
  opacity: 0.35;
}
.v-b .page::after {
  content: '';
  position: absolute;
  left: 44px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--margin);
  opacity: 0.8;
}
.v-b .page .wrap {
  padding-left: 22px;
}
.v-b .deco {
  opacity: 0.95;
}

/* variant C: pile (title screen) */
.v-c {
  background: #f6f0df url(art/paper/ruled-tile.png) 0 0 / 300px;
}
.v-c .hero-pile {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #efe6cf url(art/title-square.jpg) center / cover;
}
.v-c .hero-pile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 70% at 30% 50%,
    rgba(251, 247, 236, 0.95),
    rgba(251, 247, 236, 0) 78%
  );
}
.v-c .hero-pile .wrap {
  z-index: 2;
}
.v-c .label {
  background: var(--paper2);
  border: 3px solid var(--ink);
  padding: 26px 26px 22px;
  max-width: 540px;
  transform: rotate(-1deg);
  box-shadow:
    0 10px 0 rgba(43, 43, 51, 0.16),
    0 24px 36px rgba(43, 43, 51, 0.2);
  position: relative;
}
.v-c .scatter {
  position: relative;
  min-height: 640px;
}
.v-c .scatter > * {
  position: absolute;
}
.v-c .scatter .sheet {
  border: 2.5px solid var(--ink);
  border-radius: 4px;
  box-shadow: 0 10px 20px rgba(43, 43, 51, 0.2);
  padding: 20px;
}
@media (max-width: 820px) {
  .v-c .scatter {
    min-height: 0;
    display: grid;
    gap: 22px;
  }
  .v-c .scatter > * {
    position: relative;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    width: auto !important;
  }
}

/* ---- round 2 (Noah picked A) ---- */
/* the hover and click target is the sticker's own fixed box (.deco: it only moves with the page, never with the effect); the effect moves .pop inside it, so a pointer at the edge cannot flicker */
.deco {
  pointer-events: auto;
  cursor: pointer;
}
.deco .pop {
  display: block;
  width: 100%;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
  transform-origin: 50% 50%;
  -webkit-tap-highlight-color: transparent;
}
.deco .pop img {
  filter: drop-shadow(0 3px 0 rgba(43, 43, 51, 0.12));
}
/* subtle hover, one per kind */
.deco[data-kind='sawspin']:hover .pop {
  transform: rotate(40deg);
}
.deco[data-kind='spin']:hover .pop {
  transform: rotate(24deg) scale(1.1);
}
.deco[data-kind='bounce']:hover .pop {
  transform: translateY(-8px) scale(1.06);
}
.deco[data-kind='pulse']:hover .pop {
  transform: scale(1.14);
}
.deco[data-kind='wobble']:hover .pop {
  transform: rotate(-9deg) scale(1.05);
}
.deco[data-kind='fling']:hover .pop {
  transform: scale(1.12);
}
.deco .pop:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 8px;
}
.stickrow {
  display: none;
}
@media (max-width: 760px) {
  .stickrow {
    display: flex;
    gap: 14px;
    margin: 16px 0 0;
    position: relative;
  }
  .stickrow .deco {
    position: relative;
    width: 54px;
  }
}
.cards3.lv img {
  width: 31%;
  aspect-ratio: 420 / 622;
  object-fit: cover;
}
.where {
  display: grid;
  gap: 26px;
  align-items: center;
}
@media (min-width: 820px) {
  .where {
    grid-template-columns: 1fr 1fr;
  }
}
.where ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.where li {
  padding-left: 38px;
  position: relative;
  margin-bottom: 0.5em;
}
.where li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 26px;
  height: 26px;
  background: url(art/b/ball-drop-hint.png) center / contain no-repeat;
}
.hashes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 12px;
}
.mark {
  font-family: var(--display);
  font-size: 1.6rem;
  text-align: center;
  margin: 0 0 18px;
  transform: rotate(-1.5deg);
}
@media (prefers-reduced-motion: reduce) {
  .deco .pop {
    transition: none;
  }
  .deco:hover .pop {
    transform: none;
  }
}
.v-a .hero {
  padding-top: 78px;
}
@media (max-width: 760px) {
  .v-a .hero {
    padding-top: 24px;
  }
  .rooster {
    left: -12px;
    top: -72px;
    width: 112px;
  }
}

.cards3.shotsrow img {
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  border-radius: 16px;
  border-width: 3px;
}

/* chicken scenes */
.sleeper {
  position: absolute;
  bottom: calc(100% - 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 3;
  -webkit-tap-highlight-color: transparent;
}
.sleeper:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 12px;
}
.sleeper svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.v-a .hero .two > div:last-child {
  padding-top: 150px;
}
.scn svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.how .scn {
  width: min(230px, 80%);
  margin: -6px 0 6px;
}
.scn.play {
  width: min(330px, 100%);
  margin: 0 auto 18px;
}
.worldrow {
  display: grid;
  gap: 18px;
  margin-top: 44px;
}
@media (min-width: 700px) {
  .worldrow {
    grid-template-columns: repeat(3, 1fr);
  }
}
.worldrow figure {
  margin: 0;
  text-align: center;
}
.worldrow .scn {
  width: min(300px, 100%);
  margin: 0 auto;
}
/* the brush scenes' balls come from and leave to outside the frame: clip them at the scene's box so none waits in view */
.worldrow .scn svg {
  overflow: hidden;
}
.worldrow figcaption {
  font-family: var(--display);
  font-size: 1.6rem;
  margin-top: 4px;
}

/* accessibility: skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 99;
  background: var(--paper2);
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  padding: 6px 12px;
  color: var(--ink);
}
.skip:focus {
  left: 8px;
}

/* the press page */
.fact {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 6px 18px;
  margin: 0;
}
.fact dt {
  font-family: var(--display);
  font-size: 1.25rem;
}
.fact dd {
  margin: 0;
}
.assets {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  margin: 18px 0 8px;
}
.asset {
  background: var(--paper2);
  border: 2.5px solid var(--ink);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 6px 0 rgba(43, 43, 51, 0.14);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
}
.asset .thumb {
  height: 130px;
  display: grid;
  place-items: center;
  background: #fbf7ec url(art/paper/ruled-tile.png) 0 0 / 160px;
  border-radius: 4px;
  overflow: hidden;
}
.asset .thumb img {
  max-height: 118px;
  max-width: 90%;
  width: auto;
  height: auto;
}
.asset b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.1;
}
.asset span {
  font-size: 0.92rem;
  color: var(--muted);
}
.asset .get {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-family: var(--display);
  font-size: 1.05rem;
}
.sect {
  padding: 44px 0 10px;
}
.shotrow {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 2px 16px;
}
.shotrow img {
  height: 230px;
  width: auto;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  flex: 0 0 auto;
}
.copyblock {
  background: var(--paper2);
  border: 2.5px dashed var(--ink);
  border-radius: 8px;
  padding: 16px 20px;
}
.copyblock p:last-child {
  margin: 0;
}
.shots img,
.shotrow img {
  height: auto;
}
.shotrow img {
  height: 230px;
  width: auto;
}
.phone .screen-link {
  display: block;
  cursor: pointer;
}
.phone .screen-link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -6px;
  border-radius: 28px;
}
.shotrow a {
  flex: 0 0 auto;
  display: block;
  border-radius: 14px;
}
.shotrow a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.shotrow a:hover img {
  transform: translateY(-3px);
}
.shotrow img {
  transition: transform 0.2s;
}
@media (prefers-reduced-motion: reduce) {
  .shotrow img {
    transition: none;
  }
  .shotrow a:hover img {
    transform: none;
  }
}

/* news: the list and the posts */
.post {
  padding: 28px 0 60px;
}
.post h1 {
  font-size: clamp(2.2rem, 7vw, 3.6rem);
}
.post h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.1rem);
  margin-top: 1.4em;
}
.post ul {
  padding-left: 1.2em;
}
.post li {
  margin-bottom: 0.4em;
}
.postcta {
  margin: 18px 0 8px;
}
.postfig {
  margin: 22px 0;
  text-align: center;
}
.postfig img {
  width: min(260px, 70%);
  height: auto;
  margin: 0 auto;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 8px 0 rgba(43, 43, 51, 0.14);
}
.postfig figcaption {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}
.postlist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 18px;
}
.postlist a {
  display: block;
  background: var(--paper2) url(art/paper/ruled-tile.png) 0 0 / 256px;
  border: 2.5px solid var(--ink);
  border-radius: 6px;
  padding: 16px 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 0 rgba(43, 43, 51, 0.14);
}
.postlist a:hover,
.postlist a:focus-visible {
  transform: translateY(-2px);
}
.postlist time {
  font-size: 0.9rem;
  color: var(--muted);
}
.postlist h2 {
  margin: 2px 0 4px;
  font-size: 1.7rem;
}
.postlist p {
  margin: 0;
}
