@font-face { font-family: "Chewy"; src: url("/fonts/chewy.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("/fonts/fredoka.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --berry: #E8425A;
  --berry-deep: #C92E46;
  --berry-soft: #FF7FA0;
  --lemon: #FFD84A;
  --lemon-pale: #FFF1A6;
  --ink: #2B1D14;
  --ink-soft: #5C4A3E;
  --cream: #FFF8EC;
  --sky: #9ED8F5;
  --sky-pale: #DDF2FC;
  --grass: #7CC85A;
  --grass-deep: #57A83F;
  --blush: #F59AA0;
  --white: #FFFFFF;
  --display: "Chewy", "Fredoka", cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Fredoka", ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: 1.08rem;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--berry-deep); }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  padding: .5rem 1rem; background: var(--white); border: 3px solid var(--ink); border-radius: .8rem;
}
.skip:focus { top: 1rem; }

/* ---------- Sky ---------- */
.sky {
  position: relative;
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-pale) 62%, var(--cream) 100%);
  overflow: hidden;
}
.sun {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 13rem;
  height: 13rem;
  pointer-events: none;
}
.sun .rays { transform-origin: 100px 100px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cloud {
  position: absolute;
  width: 9rem;
  height: auto;
  opacity: .95;
  pointer-events: none;
  animation: drift 60s linear infinite;
}
.cloud.c1 { top: 7rem; left: -10rem; }
.cloud.c2 { top: 18rem; left: -10rem; width: 6rem; animation-duration: 80s; animation-delay: -35s; }
@keyframes drift { to { transform: translateX(calc(100vw + 20rem)); } }

/* ---------- Header ---------- */
.top {
  position: relative;
  z-index: 3;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.1rem 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
}
.wordmark { display: block; flex: none; line-height: 0; }
.wordmark img { display: block; width: auto; height: 5.2rem; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-right: 9rem;
}
.nav a {
  display: block;
  padding: .35rem .9rem;
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--ink);
  transition: transform .1s, box-shadow .1s, background .15s;
}
.nav a:hover { background: var(--lemon-pale); }
.nav a:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.nav a[aria-current="page"] { background: var(--lemon); }
.nav a.shop-link { color: var(--white); background: var(--berry); }
.nav a.shop-link:hover { background: var(--berry-deep); }
.nav a.shop-link[aria-current="page"] { background: var(--berry-deep); }

/* ---------- Headings ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; }
h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.9rem, 11vw, 5.6rem);
  line-height: 1;
}
h1 .line { display: block; }
h1 .b {
  display: inline-block;
  -webkit-text-stroke: .09em var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 .06em 0 var(--ink);
  animation: hop 3.2s ease-in-out infinite;
}
h1 .w { display: inline-block; white-space: nowrap; }
h1 .y { color: var(--lemon); }
h1 .p { color: var(--berry); }
h1 .q { color: var(--berry-soft); }
h1 .wh { color: var(--white); }
h1 .sm { font-size: .55em; }
@keyframes hop { 0%, 80%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 88% { transform: translateY(-.12em) rotate(var(--r, 0deg)); } }
h2 {
  margin: 0 0 .8rem;
  font-size: clamp(2rem, 6vw, 2.9rem);
  line-height: 1.05;
}
h3 { margin: 0 0 .3rem; font-size: 1.6rem; line-height: 1.1; letter-spacing: .02em; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 0;
  text-align: center;
}
.hero.short { padding-bottom: 3rem; }
.hero.short h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); }
.lede {
  margin: 0 auto 1.6rem;
  max-width: 34rem;
  font-size: 1.18rem;
  color: var(--ink-soft);
}
.hero.short .lede { margin-bottom: 0; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin: 0 0 1rem; }

/* ---------- Buttons and cards ---------- */
.card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 1.4rem;
  box-shadow: 0 6px 0 var(--ink);
}
.btn, button {
  display: inline-block;
  padding: .8rem 1.3rem;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  background: var(--berry);
  border: 3px solid var(--ink);
  border-radius: .9rem;
  box-shadow: 0 4px 0 var(--ink);
  cursor: pointer;
  transition: transform .1s, box-shadow .1s, background .15s;
}
.btn:hover, button:hover { background: var(--berry-deep); }
.btn:active, button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn.alt { color: var(--ink); background: var(--lemon); }
.btn.alt:hover { background: #F5C928; }
.btn.soon { color: var(--ink); background: var(--white); }
.btn.soon:hover { background: var(--lemon-pale); }
button:disabled { opacity: .6; cursor: wait; }
input:focus-visible, button:focus-visible, a:focus-visible, .pal:focus-visible, summary:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 3px;
}

/* ---------- Sign-up ---------- */
form.signup {
  max-width: 32rem;
  margin: 0 auto;
  padding: 1.2rem 1.2rem 1rem;
  text-align: left;
}
form.signup label { display: block; margin-bottom: .5rem; font-weight: 600; }
.row { display: flex; flex-wrap: wrap; gap: .6rem; }
.row button { flex: 1 0 auto; }
input[type="email"] {
  flex: 1 1 13rem;
  min-width: 0;
  padding: .8rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: .9rem;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { margin: .6rem 0 0; font-size: .9rem; color: var(--ink-soft); }
.status { margin: .5rem 0 0; font-weight: 600; }
.status:empty { display: none; }
.status.ok { color: #1B6B3A; }
.status.err { color: var(--berry-deep); }

/* ---------- Lemonade Falls scene ---------- */
.scene { position: relative; margin-top: 2.5rem; }
.land {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 78%;
  display: block;
}
.falls {
  display: none;
  position: absolute;
  left: max(1rem, calc(50% - 46rem));
  bottom: 3.6rem;
  width: 8.5rem;
  height: auto;
}
.gang {
  position: relative;
  z-index: 1;
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 .75rem 1.5rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .25rem .5rem;
  align-items: end;
}
.pal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 1rem;
}
.pal img {
  display: block;
  width: 100%;
  max-width: 10rem;
  height: auto;
  aspect-ratio: 600 / 760;
  transform-origin: 50% 100%;
  animation: bob 2.8s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.pal.wiggle img { animation: wiggle .6s ease-in-out; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wiggle {
  0% { transform: rotate(0) scale(1); }
  25% { transform: rotate(-7deg) scale(1.06); }
  50% { transform: rotate(6deg) scale(1.08) translateY(-10px); }
  75% { transform: rotate(-3deg) scale(1.03); }
  100% { transform: rotate(0) scale(1); }
}
.tag {
  margin-top: -.4rem;
  padding: .25rem .7rem .3rem;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: .8rem;
  line-height: 1.15;
}
.tag b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: .02em; }
.tag span { font-size: .82rem; color: var(--ink-soft); }
.hint {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 1rem 1.6rem;
  text-align: center;
  font-weight: 600;
  color: #1F4D16;
}
.hint a { color: #1F4D16; }

/* ---------- Sections ---------- */
section.band { padding: 3.5rem 1.25rem; }
.inner { max-width: 66rem; margin: 0 auto; }
.narrow { max-width: 42rem; margin: 0 auto; }
.center { text-align: center; }
.kicker {
  display: inline-block;
  margin: 0 0 .7rem;
  padding: .2rem .75rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
  background: var(--berry);
  border-radius: 999px;
}
.sub { margin: 0 auto 2rem; max-width: 36rem; text-align: center; color: var(--ink-soft); }
.lemon-band { background: var(--lemon-pale); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.pink-band { background: #FFE3E8; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.sky-band { background: var(--sky-pale); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.lemon-band h2, .pink-band h2, .sky-band h2 { text-align: center; }

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.split p { margin: 0 0 1rem; max-width: 34rem; }
.tilt {
  margin: 0 auto;
  width: min(100%, 30rem);
  transform: rotate(-2.5deg);
}
.tilt.right { transform: rotate(2deg); }
.tilt img, .framed {
  display: block;
  width: 100%;
  height: auto;
  border: 4px solid var(--ink);
  border-radius: 1rem;
  box-shadow: 0 8px 0 var(--ink);
}
.price { font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--berry-deep); }
.price small { font-family: "Fredoka", sans-serif; font-size: .9rem; color: var(--ink-soft); }

/* Three things */
.things {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.things li { padding: 1.2rem 1.3rem 1.3rem; text-align: center; }
.things img { display: block; width: 6.5rem; height: 6rem; margin: 0 auto .4rem; object-fit: contain; }
.things p { margin: 0; color: var(--ink-soft); }
.things li:nth-child(1) { transform: rotate(-1deg); }
.things li:nth-child(3) { transform: rotate(1deg); }
.things a { color: inherit; text-decoration: none; }

/* ---------- Meet the gang page ---------- */
.roster { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.friend {
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem 1.5rem;
  padding: 1.3rem;
  align-items: center;
  scroll-margin-top: 1rem;
}
.friend .art {
  margin: 0 auto;
  width: 100%;
  max-width: 13rem;
  border-radius: 1rem;
  background: var(--c, var(--sky-pale));
  border: 3px solid var(--ink);
  padding: .5rem .5rem 0;
  cursor: pointer;
}
.friend .art img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 760; transform-origin: 50% 100%; }
.friend .art.wiggle img { animation: wiggle .6s ease-in-out; }
.friend h3 { font-size: 2.2rem; margin-bottom: .1rem; }
.friend .role {
  display: inline-block;
  margin: 0 0 .7rem;
  padding: .1rem .7rem;
  font-weight: 700;
  font-size: .9rem;
  background: var(--lemon);
  border: 2px solid var(--ink);
  border-radius: 999px;
}
.friend p { margin: 0 0 .7rem; }
.friend .says { font-weight: 600; color: var(--berry-deep); }
.facts { margin: 0; padding: 0; list-style: none; font-size: .98rem; color: var(--ink-soft); }
.facts li { margin: .15rem 0; }
.facts b { color: var(--ink); }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.jump a {
  display: block; padding: .3rem .8rem; font-weight: 600; color: var(--ink); text-decoration: none;
  background: var(--white); border: 3px solid var(--ink); border-radius: 999px;
}
.jump a:hover { background: var(--lemon-pale); }

/* ---------- Shop page ---------- */
.products { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.product { display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 1rem; }
.product > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 3px solid var(--ink); }
.product .body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.4rem; }
.product h3 { font-size: 1.9rem; }
.product p { margin: 0 0 .8rem; }
.product ul { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--ink-soft); }
.product li { margin: .15rem 0; }
.product .buy-row { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; }
.product.best { position: relative; }
.ribbon {
  position: absolute; top: 1rem; right: -2.6rem; z-index: 1;
  width: 10rem; padding: .25rem 0; text-align: center;
  font-weight: 700; font-size: .85rem; color: var(--ink); background: var(--lemon);
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: rotate(35deg);
}
.peek { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.peek li:nth-child(odd) { transform: rotate(-1.2deg); }
.peek li:nth-child(even) { transform: rotate(1.2deg); }
.peek img { display: block; width: 100%; height: auto; border: 3px solid var(--ink); border-radius: .8rem; box-shadow: 0 5px 0 var(--ink); }
.faq { max-width: 44rem; margin: 0 auto; display: grid; gap: .9rem; }
.faq details { padding: .9rem 1.2rem; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: .6rem 0 0; color: var(--ink-soft); }

/* ---------- About page ---------- */
.prose p { margin: 0 0 1rem; }
.prose h2 { margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .3rem 0; }

/* ---------- Footer ---------- */
footer {
  padding: 2.5rem 1.25rem 2rem;
  text-align: center;
  font-size: .95rem;
  color: var(--ink-soft);
}
footer .foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; margin: 0 0 1rem; padding: 0; list-style: none; }
footer .foot-nav a { font-weight: 600; color: var(--ink); }
footer .hello { margin: 0 0 1rem; font-size: 1.05rem; color: var(--ink); }
footer .hello a { font-weight: 700; }
footer .small { max-width: 40rem; margin: 0 auto .6rem; font-size: .82rem; }

/* ---------- Layout breakpoints ---------- */
@media (min-width: 40rem) {
  .gang { grid-template-columns: repeat(6, 1fr); }
  .things { grid-template-columns: repeat(3, 1fr); }
  .friend { grid-template-columns: 13rem 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .peek { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .split.flip > :first-child { order: 2; }
  .sun { width: 16rem; height: 16rem; top: -3rem; right: -3rem; }
  .roster { grid-template-columns: repeat(2, 1fr); }
  .friend { grid-template-columns: 11rem 1fr; }
}
@media (min-width: 72rem) {
  .falls { display: block; }
}
@media (max-width: 56rem) {
  .nav { margin-right: 0; }
  .top { justify-content: center; }
}
@media (max-width: 30rem) {
  .wordmark img { height: 4rem; }
  .nav { justify-content: center; gap: .4rem; }
  .nav a { font-size: .88rem; padding: .3rem .7rem; }
  .sun { width: 9rem; height: 9rem; top: -2.8rem; right: -2.8rem; }
  .tag { padding: .2rem .45rem .25rem; }
  .tag b { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
