/* =========================================================
   Staggering Leprechaun
   1. Tokens          5. Hero
   2. Reset/base      6. Sections
   3. Age gate        7. Waitlist form
   4. Nav             8. Footer / motion prefs
   ========================================================= */

/* ---------------------------------------------------------
   1. Tokens
   --------------------------------------------------------- */
:root {
  --night:      #07200f;
  --night-2:    #0d2b1d;
  --green:      #12704a;
  --green-lite: #23a06a;
  --mint:       #7ff0c0;
  --gold:       #f4c542;
  --gold-deep:  #d9a41f;
  --cream:      #fff6e2;
  --cream-2:    #f6e7c8;
  --pink:       #ff8fb1;
  --sky:        #8fd6ff;
  --ink:        #0b1f14;

  --shadow-hard: 0 6px 0 rgba(7, 32, 15, .35);
  --shadow-soft: 0 22px 50px -18px rgba(0, 0, 0, .55);
  --radius:      22px;

  --font-display: 'Luckiest Guy', 'Comic Sans MS', 'Trebuchet MS', cursive;
  --font-body:    'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --pad: clamp(1.1rem, 4vw, 2.5rem);
  --max: 1180px;
}

/* ---------------------------------------------------------
   2. Reset + base
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .3vw, 1.12rem);
  line-height: 1.65;
  color: var(--cream);
  background: var(--night);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img, svg { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .5px;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.6rem, 9vw, 5.6rem); }
h2 { font-size: clamp(2rem, 6vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 3.4vw, 1.7rem); }

p { margin: 0 0 1.1em; }

a { color: var(--gold); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { position: relative; padding: clamp(4rem, 11vw, 8rem) 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--night);
  background: var(--gold);
  padding: .45em 1.1em;
  border-radius: 999px;
  transform: rotate(-2deg);
  margin-bottom: 1rem;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .25);
}

.lede {
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  color: rgba(255, 246, 226, .82);
  max-width: 58ch;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--night);
  padding: .8rem 1.2rem;
  z-index: 999;
  font-weight: 800;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 52px;
  padding: .85em 1.8em;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .6px;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: var(--gold);
  color: var(--night);
  box-shadow: var(--shadow-hard);
  white-space: nowrap;
  transition: transform .16s cubic-bezier(.34, 1.8, .64, 1), box-shadow .16s, background .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover  { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 9px 0 rgba(7, 32, 15, .35); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(7, 32, 15, .35); }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(255, 246, 226, .35);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); box-shadow: none; }

/* ---- scroll progress (rainbow) ---- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 4px;
  z-index: 120;
  background: linear-gradient(90deg, #ff5f6d, var(--gold), var(--mint), var(--sky), var(--pink));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* ---- decorative background ---- */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  animation: drift 26s ease-in-out infinite;
}
.blob--1 { width: 46vw; height: 46vw; background: #17603f; top: -8vw;  left: -10vw; }
.blob--2 { width: 38vw; height: 38vw; background: #6b4b12; top: 42vh;  right: -12vw; animation-delay: -9s; }
.blob--3 { width: 30vw; height: 30vw; background: #0f4d6b; bottom: -8vw; left: 22vw;  animation-delay: -17s; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33%      { transform: translate3d(4vw, -3vh, 0) scale(1.12); }
  66%      { transform: translate3d(-3vw, 4vh, 0) scale(.94); }
}

/* floating shamrocks + coins in the page background */
.floaties { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.floatie {
  position: absolute;
  font-size: 1.4rem;
  opacity: .15;
  animation: floatUp linear infinite;
  will-change: transform;
}
@keyframes floatUp {
  0%   { transform: translate3d(0, 110vh, 0) rotate(0deg); }
  100% { transform: translate3d(var(--drift, 4vw), -18vh, 0) rotate(var(--spin, 360deg)); }
}

/* ---------------------------------------------------------
   3. Age gate
   --------------------------------------------------------- */
.agegate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(4, 18, 10, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.agegate[hidden] { display: none; }

.agegate__card {
  width: min(460px, 100%);
  text-align: center;
  background: var(--cream);
  color: var(--ink);
  border: 4px solid var(--gold);
  border-radius: 26px;
  padding: clamp(1.5rem, 5vw, 2.4rem);
  box-shadow: var(--shadow-soft);
  animation: popIn .5s cubic-bezier(.2, 1.5, .5, 1) both;
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.86) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.agegate__mascot { font-size: 3.4rem; line-height: 1; animation: bobble 2.2s ease-in-out infinite; }
@keyframes bobble {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-12px) rotate(6deg); }
}

.agegate__card h2 { color: var(--ink); margin-top: .4rem; font-size: clamp(1.6rem, 6vw, 2.1rem); }
.agegate__card p  { color: #4a4438; font-size: .98rem; }

.agegate__row { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }

.agegate__deny {
  background: transparent;
  color: #6b6152;
  border: 2px solid #cdbf9f;
  box-shadow: none;
}
.agegate__deny:hover { color: var(--ink); border-color: #9a8d70; box-shadow: none; }

.agegate__nope {
  margin-top: 1rem;
  font-size: .95rem;
  color: #8a2b2b;
  font-weight: 700;
}

.agegate__fine { font-size: .78rem; color: #7d7364; margin: 1rem 0 0; }

/* ---------------------------------------------------------
   4. Nav
   --------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding-block: .85rem;
}
.nav.is-stuck {
  background: rgba(7, 32, 15, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px #000;
  padding-block: .5rem;
}

.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.2vw, 1.3rem);
  color: var(--cream);
  text-decoration: none;
  letter-spacing: .4px;
}
.brand__mark {
  font-size: 1.5em;
  display: inline-block;
  animation: tipsy 3.5s ease-in-out infinite;
  transform-origin: 50% 90%;
}
@keyframes tipsy {
  0%, 100% { transform: rotate(-10deg); }
  25%      { transform: rotate(9deg)  translateY(-2px); }
  50%      { transform: rotate(-6deg) translateY(1px); }
  75%      { transform: rotate(12deg); }
}
.brand__text span:nth-child(2) { color: var(--gold); }

.nav__links { display: none; gap: 1.6rem; align-items: center; }
.nav__links a {
  color: rgba(255, 246, 226, .78);
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  position: relative;
  padding-block: .3rem;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .28s cubic-bezier(.6, 0, .2, 1);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

.nav .btn { min-height: 44px; padding: .6em 1.3em; font-size: .92rem; }

@media (min-width: 860px) {
  .nav__links { display: flex; }
}

@media (max-width: 420px) {
  .brand__text { font-size: .82em; line-height: 1.1; }
  .nav .btn { padding: .6em 1em; font-size: .82rem; }
}

@media (max-width: 520px) {
  .flavor .cone-art { --size: 92px; }
}

/* ---------------------------------------------------------
   5. Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 7vw, 4rem) 0 clamp(6rem, 14vw, 9rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 6vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}

.hero__title { margin-bottom: .35em; }

/* each letter leans a different way -> "staggering" */
.stagger { display: inline-block; }
.stagger span {
  display: inline-block;
  animation: sway 3.6s ease-in-out infinite;
  transform-origin: 50% 100%;
}
@keyframes sway {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(3deg)  translateY(-7px); }
}

.hero__title .pop {
  color: var(--gold);
  text-shadow: 0 5px 0 var(--gold-deep), 0 10px 22px rgba(0, 0, 0, .4);
}

.hero__sub { max-width: 46ch; }

.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

.hero__proofline {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.6rem;
  font-size: .9rem;
  color: rgba(255, 246, 226, .6);
}
.pulse-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(127, 240, 192, .7);
  animation: pulse 2s infinite;
  flex: none;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 14px rgba(127, 240, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 240, 192, 0); }
}

/* ---- hero art stage ---- */
.stage {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  max-width: 460px;
  margin-inline: auto;
  width: 100%;
}

.stage__rainbow {
  position: absolute;
  inset: 2% 0 auto 0;
  width: 100%;
  max-width: none;      /* the global svg max-width would squash it off-centre */
  opacity: .8;
}
.stage__rainbow path {
  fill: none;
  stroke-width: 15;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: drawArc 2.2s cubic-bezier(.6, 0, .2, 1) forwards;
}
@keyframes drawArc { to { stroke-dashoffset: 0; } }

.stage__glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 197, 66, .3), transparent 65%);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1);    opacity: .75; }
  50%      { transform: scale(1.14); opacity: 1; }
}

.stage__cone {
  position: relative;
  z-index: 2;
  animation: hover 5.5s ease-in-out infinite;
}
@keyframes hover {
  0%, 100% { transform: translateY(0)     rotate(-4deg); }
  50%      { transform: translateY(-22px) rotate(4deg); }
}

/* gold coins raining behind the cone */
.coin {
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffeeb0, var(--gold) 45%, var(--gold-deep));
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
  animation: coinFall 6s linear infinite;
  z-index: 1;
}
.coin::after {
  content: '$';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 700 11px/1 var(--font-body);
  color: rgba(120, 80, 0, .5);
}
@keyframes coinFall {
  0%   { transform: translate3d(0, -30%, 0) rotateY(0deg)   rotate(0deg);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translate3d(var(--cx, 10px), 320%, 0) rotateY(900deg) rotate(160deg); opacity: 0; }
}

/* ---- the reusable CSS ice cream cone ---- */
.cone-art {
  --size: 210px;
  --s1: var(--mint);
  --s2: var(--gold);
  --s3: var(--pink);
  position: relative;
  width: var(--size);
  /* the cone tip sits at 1.77x, so the box has to be taller than the scoops */
  height: calc(var(--size) * 1.82);
  margin-inline: auto;
}

.cone-art__scoop {
  position: absolute;
  left: 50%;
  width: var(--size);
  height: calc(var(--size) * .62);
  transform: translateX(-50%);
  border-radius: 52% 48% 46% 54% / 62% 60% 40% 38%;
  box-shadow: inset -12px -14px 0 rgba(0, 0, 0, .12), inset 10px 10px 0 rgba(255, 255, 255, .22);
  animation: wobble 4s ease-in-out infinite;
}
.cone-art__scoop--3 { top: 0;                        background: var(--s3); width: calc(var(--size) * .78); animation-delay: -.1s; }
.cone-art__scoop--2 { top: calc(var(--size) * .27);  background: var(--s2); width: calc(var(--size) * .90); animation-delay: -.5s; }
.cone-art__scoop--1 { top: calc(var(--size) * .56);  background: var(--s1); animation-delay: -.9s; }

@keyframes wobble {
  0%, 100% { border-radius: 52% 48% 46% 54% / 62% 60% 40% 38%; }
  50%      { border-radius: 46% 54% 52% 48% / 58% 64% 36% 42%; }
}

.cone-art__cone {
  position: absolute;
  left: 50%;
  top: calc(var(--size) * .95);
  width: calc(var(--size) * .72);
  height: calc(var(--size) * .82);
  transform: translateX(-50%);
  background:
    repeating-linear-gradient( 48deg, rgba(120, 72, 20, .28) 0 2px, transparent 2px 13px),
    repeating-linear-gradient(-48deg, rgba(120, 72, 20, .28) 0 2px, transparent 2px 13px),
    linear-gradient(180deg, #e2a860, #c07f34);
  clip-path: polygon(0 0, 100% 0, 52% 100%, 48% 100%);
  border-radius: 8px 8px 0 0;
}

.cone-art__cherry {
  position: absolute;
  left: 50%;
  top: calc(var(--size) * -.08);
  width: calc(var(--size) * .17);
  height: calc(var(--size) * .17);
  transform: translateX(-50%);
  background: radial-gradient(circle at 34% 30%, #ff8a8a, #d92b2b 60%);
  border-radius: 50%;
  animation: cherryBop 4s ease-in-out infinite;
}
.cone-art__cherry::before {
  content: '';
  position: absolute;
  left: 50%; bottom: 88%;
  width: 3px; height: calc(var(--size) * .13);
  background: #4e7a2a;
  border-radius: 3px;
  transform: rotate(14deg);
}
@keyframes cherryBop {
  0%, 100% { transform: translateX(-50%) translateY(0)    rotate(-8deg); }
  50%      { transform: translateX(-50%) translateY(-8px) rotate(8deg); }
}

/* drip that runs down the side */
.cone-art__drip {
  position: absolute;
  top: calc(var(--size) * .95);
  width: calc(var(--size) * .10);
  height: calc(var(--size) * .10);
  background: var(--s1);
  border-radius: 0 0 60% 60%;
  animation: drip 3.4s ease-in-out infinite;
}
.cone-art__drip--a { left: 20%; animation-delay: -.4s; }
.cone-art__drip--b { right: 22%; animation-delay: -1.9s; }
@keyframes drip {
  0%, 60%, 100% { transform: scaleY(1); }
  80%           { transform: scaleY(2.1); }
}

/* ---- melty divider ---- */
.melt-wrap { line-height: 0; font-size: 0; }
.melt { display: block; width: 100%; height: clamp(34px, 6vw, 62px); }

/* visually hidden but read aloud by screen readers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------
   6. Sections
   --------------------------------------------------------- */

/* ---- ticker ---- */
/* The tickers are deliberately rotated + scaled past the viewport edge,
   so they need a parent that clips instead of relying on body overflow. */
.ticker-band { overflow: hidden; position: relative; z-index: 3; }

.ticker {
  background: var(--gold);
  color: var(--night);
  padding: .8rem 0;
  overflow: hidden;
  border-block: 4px solid var(--night);
  transform: rotate(-1.4deg) scale(1.04);
  position: relative;
}
.ticker--reverse { background: var(--mint); transform: rotate(1.4deg) scale(1.04); margin-top: -1px; }

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.ticker--reverse .ticker__track { animation-direction: reverse; animation-duration: 32s; }
.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__item {
  font-family: var(--font-display);
  font-size: clamp(.9rem, 2.4vw, 1.15rem);
  letter-spacing: 1.5px;
  padding-inline: 1.4rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
}
.ticker__item::after { content: '\002605'; opacity: .55; }

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---- flavors ---- */
.flavors { background: linear-gradient(180deg, var(--night), var(--night-2) 45%, var(--night)); }

.grid-flavors {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  margin-top: 2.6rem;
}

/* Only two flavors, so keep them a comfortable size instead of letting
   them stretch across the whole row. */
.grid-flavors--pair {
  max-width: 720px;
  margin-inline: auto;
}

.flavor {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(255, 246, 226, .09), rgba(255, 246, 226, .03));
  border: 2px solid rgba(255, 246, 226, .14);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.4rem;
  text-align: center;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2, 1.2, .4, 1), border-color .35s, background .35s;
  transform-style: preserve-3d;
}
.flavor::before {
  content: '';
  position: absolute;
  inset: -40% -40% auto;
  height: 80%;
  background: radial-gradient(circle, rgba(244, 197, 66, .22), transparent 62%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.flavor:hover,
.flavor:focus-within {
  transform: translateY(-10px);
  border-color: var(--gold);
  background: linear-gradient(165deg, rgba(255, 246, 226, .14), rgba(255, 246, 226, .04));
}
.flavor:hover::before { opacity: 1; }
.flavor:hover .cone-art { transform: scale(1.06) rotate(-3deg); }

.flavor .cone-art {
  --size: 108px;
  margin: .4rem auto 1.1rem;
  transition: transform .4s cubic-bezier(.2, 1.4, .4, 1);
}

.flavor h3 { margin-bottom: .2rem; color: var(--cream); }
.flavor__base { font-size: .88rem; color: var(--mint); font-weight: 700; margin-bottom: .7rem; }
.flavor__note { font-size: .95rem; color: rgba(255, 246, 226, .72); margin-bottom: 1.2rem; }

/* ---- process ---- */
.process { background: var(--cream); color: var(--ink); }
.process h2 { color: var(--ink); }
.process .lede { color: #5a5346; }

.grid-steps {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  margin-top: 2.8rem;
}

.step {
  position: relative;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem 1.5rem;
  box-shadow: 8px 8px 0 var(--green);
  transition: transform .3s cubic-bezier(.2, 1.3, .4, 1), box-shadow .3s;
}
.step:nth-child(2) { box-shadow: 8px 8px 0 var(--gold-deep); }
.step:nth-child(3) { box-shadow: 8px 8px 0 var(--pink); }
.step:hover { transform: translate(-4px, -4px); box-shadow: 13px 13px 0 currentColor; }
.step:hover { color: var(--green); }
.step:nth-child(2):hover { color: var(--gold-deep); }
.step:nth-child(3):hover { color: var(--pink); }

.step__emoji {
  font-size: 2.6rem;
  line-height: 1;
  display: inline-block;
  animation: jiggle 4s ease-in-out infinite;
}
.step:nth-child(2) .step__emoji { animation-delay: -1.3s; }
.step:nth-child(3) .step__emoji { animation-delay: -2.6s; }
@keyframes jiggle {
  0%, 88%, 100% { transform: rotate(0) scale(1); }
  92%           { transform: rotate(-14deg) scale(1.12); }
  96%           { transform: rotate(12deg)  scale(1.12); }
}

.step__num {
  position: absolute;
  top: .1rem; right: .7rem;
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: rgba(11, 31, 20, .09);
}
.step h3 { color: var(--ink); margin-top: .6rem; }
.step p  { color: #55503f; margin: 0; font-size: .98rem; }

/* ---- FAQ ---- */
.faq-list { max-width: 780px; margin: 2.4rem auto 0; }

.faq {
  border: 2px solid rgba(255, 246, 226, .16);
  border-radius: 16px;
  margin-bottom: .8rem;
  background: rgba(255, 246, 226, .04);
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.faq[open] { border-color: var(--gold); background: rgba(244, 197, 66, .07); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 3.2rem 1.1rem 1.2rem;
  font-weight: 800;
  font-size: 1.02rem;
  position: relative;
  color: var(--cream);
  min-height: 56px;
  display: flex;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 1.1rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  transition: transform .3s cubic-bezier(.3, 1.4, .5, 1);
}
.faq[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.faq summary:hover { color: var(--gold); }

.faq__body {
  padding: 0 1.2rem 1.2rem;
  color: rgba(255, 246, 226, .78);
  animation: slideDown .35s ease;
}
.faq__body p { margin: 0; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------
   7. Waitlist
   --------------------------------------------------------- */
.waitlist {
  background:
    radial-gradient(ellipse at 50% -20%, rgba(244, 197, 66, .18), transparent 60%),
    var(--night);
  text-align: center;
}

.waitlist__card {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  background: linear-gradient(160deg, rgba(255, 246, 226, .1), rgba(255, 246, 226, .03));
  border: 2px solid rgba(255, 246, 226, .18);
  border-radius: 28px;
  padding: clamp(1.6rem, 5vw, 2.8rem);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.form__row { display: grid; gap: .75rem; margin-bottom: .75rem; }
@media (min-width: 620px) {
  .form__row--split { grid-template-columns: 1fr 1fr; }
}

.field { text-align: left; }
.field > label {
  display: block;
  font-size: .78rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 246, 226, .6);
  margin-bottom: .35rem;
  font-weight: 800;
}

.input, .select {
  width: 100%;
  min-height: 54px;
  padding: .9rem 1.1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--cream);
  background: rgba(0, 0, 0, .3);
  border: 2px solid rgba(255, 246, 226, .2);
  border-radius: 14px;
  transition: border-color .25s, background .25s, transform .25s;
}
.input::placeholder { color: rgba(255, 246, 226, .38); }
.input:focus, .select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(0, 0, 0, .45);
  transform: translateY(-2px);
}
.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
                    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 15px) 50%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
  padding-right: 2.6rem;
}
.select option { background: var(--night-2); color: var(--cream); }

/* honeypot - hidden from humans, irresistible to bots */
.pot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form .btn { width: 100%; margin-top: .5rem; }
@media (min-width: 620px) { .form .btn { width: auto; min-width: 260px; } }

.form__fine {
  font-size: .8rem;
  color: rgba(255, 246, 226, .48);
  margin: 1rem 0 0;
}

.form__direct {
  font-size: .9rem;
  color: rgba(255, 246, 226, .6);
  margin: .6rem 0 0;
}
.form__direct a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(244, 197, 66, .35);
  word-break: break-word;
}
.form__direct a:hover { border-bottom-color: var(--gold); }

.form__msg {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: .95rem;
  display: none;
  animation: popIn .4s cubic-bezier(.2, 1.5, .5, 1) both;
}
.form__msg.is-shown { display: block; }
.form__msg--ok  { background: rgba(127, 240, 192, .16); color: var(--mint);  border: 1px solid rgba(127, 240, 192, .4); }
.form__msg--bad { background: rgba(255, 143, 177, .14); color: var(--pink);  border: 1px solid rgba(255, 143, 177, .4); }

.btn.is-busy { pointer-events: none; opacity: .75; }
.btn.is-busy::after {
  content: '';
  width: 16px; height: 16px;
  border: 3px solid rgba(7, 32, 15, .3);
  border-top-color: var(--night);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* success takeover */
.waitlist__done {
  display: none;
  animation: popIn .55s cubic-bezier(.2, 1.5, .5, 1) both;
}
.waitlist__card.is-done .form,
.waitlist__card.is-done .waitlist__intro { display: none; }
.waitlist__card.is-done .waitlist__done  { display: block; }

.done__mascot { font-size: 4rem; animation: bobble 1.8s ease-in-out infinite; }

.counter {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  margin-top: 1.4rem;
  font-size: .9rem;
  color: rgba(255, 246, 226, .6);
}
.counter b {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold);
}

/* confetti */
.confetti {
  position: fixed;
  top: -20px;
  z-index: 300;
  pointer-events: none;
  border-radius: 2px;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  to { transform: translate3d(var(--dx, 0), 105vh, 0) rotate(var(--rot, 720deg)); opacity: 0; }
}

/* ---------------------------------------------------------
   8. Footer
   --------------------------------------------------------- */
.footer {
  background: var(--night-2);
  border-top: 4px solid var(--gold);
  padding: clamp(2.5rem, 7vw, 4rem) 0 2rem;
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.footer h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--gold);
  margin: 0 0 .7rem;
}
.footer a { color: rgba(255, 246, 226, .75); text-decoration: none; display: inline-block; padding-block: .25rem; }
.footer a:hover { color: var(--gold); transform: translateX(3px); }
.footer ul { list-style: none; margin: 0; padding: 0; }

.footer__legal {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 246, 226, .12);
  font-size: .8rem;
  color: rgba(255, 246, 226, .45);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  justify-content: space-between;
}

.drink-safe {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(244, 197, 66, .12);
  border: 1px solid rgba(244, 197, 66, .35);
  color: var(--gold);
  font-weight: 800;
  font-size: .82rem;
  padding: .5em 1em;
  border-radius: 999px;
}

/* ---------------------------------------------------------
   Scroll reveal
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal--left  { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--pop   { transform: scale(.88); }

/* Elements meant to sit at a jaunty angle would be straightened by
   `.reveal.is-visible { transform: none }`. Restore their tilt afterwards. */
.eyebrow.is-visible { transform: rotate(-2deg); }

/* ---------------------------------------------------------
   Reduced motion: keep the layout, drop the movement
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .floaties, .confetti { display: none; }
}
