:root {
  --ink: #050505;
  --paper: #ffffff;
  --soft: #f5f5f1;
  --line: #d9d9d2;
  --muted: #5f625d;
  --berry: #ff444f;
  --lemon: #ffeb00;
  --green: #6d8b65;
  --max: 1180px;
  --gutter: 6vw;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
}

section[id],
form[id] {
  scroll-margin-top: 104px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 24px var(--gutter);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.66)),
    rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
  box-shadow: 0 18px 60px rgba(5, 5, 5, 0.04);
  backdrop-filter: blur(22px) saturate(180%);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand-logo {
  display: block;
  width: auto;
  height: 50px;
  object-fit: contain;
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 850;
  justify-content: center;
}

.site-nav a,
.footer-links a,
.nav-cta {
  transition: color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--berry);
}

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 900;
}

.hero {
  --red-rotate: 0deg;
  --yellow-rotate: 0deg;
  --tilt-y: 0deg;
  --shift-x: 0px;
  --shift-y: 0px;
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 54px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 126px var(--gutter) 70px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 16% 8% auto auto;
  width: min(520px, 44vw);
  height: min(520px, 44vw);
  border: 1px solid rgba(5, 5, 5, 0.07);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.12)),
    radial-gradient(circle at 36% 28%, rgba(255, 235, 0, 0.28), transparent 36%),
    radial-gradient(circle at 74% 64%, rgba(255, 68, 79, 0.18), transparent 42%);
  filter: blur(0.2px);
  transform: translate3d(var(--shift-x), var(--shift-y), 0);
  transition: transform 420ms var(--ease-out);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 600px;
  animation: heroRise 780ms var(--ease-out) both;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  font-size: 124px;
  line-height: 0.84;
  font-weight: 950;
}

.hero-proof {
  margin: 34px 0 0;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 900;
}

.hero-line {
  max-width: 500px;
  margin: 18px 0 34px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  position: relative;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 0 28px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 950;
  text-align: center;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -80%;
  width: 58%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: skewX(-18deg);
  transition: left 500ms var(--ease-out);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover::after,
.button:focus-visible::after {
  left: 126%;
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--lemon);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 560px;
  margin: 56px 0 0;
}

.hero-facts div {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}

.hero-facts dt {
  margin: 0;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
}

.hero-facts dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
}

.hero-cans {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  isolation: isolate;
  perspective: 1400px;
  transform: translate3d(var(--shift-x), var(--shift-y), 0);
  transition: transform 420ms var(--ease-out);
}

.hero-glass {
  position: absolute;
  inset: 12% 4% 4%;
  z-index: -1;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.24)),
    radial-gradient(circle at 18% 16%, rgba(255, 68, 79, 0.12), transparent 34%),
    radial-gradient(circle at 84% 68%, rgba(255, 235, 0, 0.2), transparent 38%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 42px 110px rgba(5, 5, 5, 0.08);
  backdrop-filter: blur(28px) saturate(170%);
  animation: glassFloat 8s ease-in-out infinite;
}

.hero-can {
  width: 48%;
  max-width: 330px;
  height: 690px;
  object-fit: contain;
  filter: drop-shadow(0 34px 28px rgba(5, 5, 5, 0.16));
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-can-red {
  transform: translateX(18px) rotateY(var(--red-rotate)) rotateX(var(--tilt-y));
  z-index: 2;
  animation: canBreathRed 5.8s ease-in-out infinite;
}

.hero-can-yellow {
  transform: translateX(-18px) translateY(18px) rotateY(var(--yellow-rotate)) rotateX(var(--tilt-y));
  animation: canBreathYellow 6.4s ease-in-out infinite;
}

.promise-section,
.flavor-section,
.care-section,
.stockist-section,
.join-section {
  padding: 96px var(--gutter);
}

.promise-section,
.stockist-section {
  border-top: 1px solid var(--line);
}

.promise-section,
.flavor-section,
.stockist-section,
.join-section {
  max-width: 1440px;
  margin: 0 auto;
}

.section-copy {
  max-width: var(--max);
}

.section-note {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.section-copy h2,
.care-section h2,
.join-heading h2 {
  max-width: 820px;
  margin: 0;
  font-size: 72px;
  line-height: 0.94;
  font-weight: 950;
}

.section-copy > p:not(.section-note),
.join-heading > p {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
  font-weight: 700;
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--max);
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ingredient-grid article {
  min-height: 260px;
  padding: 34px 34px 34px 0;
}

.ingredient-grid article + article {
  border-left: 1px solid var(--line);
  padding-left: 34px;
}

.ingredient-grid span,
.flavor-number {
  color: var(--berry);
  font-size: 15px;
  font-weight: 950;
}

.ingredient-grid h3,
.care-list h3,
.form-heading h3 {
  margin: 24px 0 12px;
  font-size: 26px;
  line-height: 1;
  font-weight: 950;
}

.ingredient-grid p,
.care-list p,
.form-heading p,
.stockist-steps p,
.flavor-copy p:not(.flavor-number) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.flavor-intro {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.flip-note {
  max-width: 430px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 850;
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--max);
  margin: 68px auto 0;
}

.flavor-card {
  --flavor: var(--berry);
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(190px, 0.74fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  border: 1px solid rgba(5, 5, 5, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 34px 90px rgba(5, 5, 5, 0.06);
  backdrop-filter: blur(26px) saturate(160%);
  padding: 30px;
  overflow: hidden;
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}

.flavor-card::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--flavor), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.flavor-card:hover,
.flavor-card:focus-within {
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 42px 120px rgba(5, 5, 5, 0.11);
}

.flavor-citrus {
  --flavor: var(--lemon);
}

.flip-can {
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 540px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 1100px;
  transform: translateZ(0);
  outline: none;
  box-shadow: none;
}

.flip-can:focus,
.flip-can:active {
  outline: none !important;
  box-shadow: none !important;
}

.flip-can:focus-visible {
  outline: 2px solid rgba(5, 5, 5, 0.3);
  outline-offset: 8px;
}

.flip-can:focus-visible .flip-face img {
  box-shadow: none;
}

.flip-can-inner {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 900ms var(--ease-out);
  animation: autoCanFlip 6.5s var(--ease-out) infinite;
}

.flavor-citrus .flip-can-inner {
  animation-delay: 1.15s;
}

.flavor-card:hover .flip-can-inner,
.flavor-card:focus-within .flip-can-inner {
  animation-play-state: paused;
}

.flavor-card.is-flipped .flip-can-inner {
  animation: none;
  transform: rotateY(180deg);
}

.flavor-card.is-held .flip-can-inner {
  animation: none;
}

.flip-face {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 540px;
  backface-visibility: hidden;
}

.flip-front img,
.can-back-image {
  width: 100%;
  max-height: 530px;
  object-fit: contain;
  filter: drop-shadow(0 22px 20px rgba(5, 5, 5, 0.14));
}

.flip-back {
  transform: rotateY(180deg);
}

.can-back-image {
  width: auto;
  max-width: 86%;
}

.flavor-copy h3 {
  margin: 18px 0 16px;
  font-size: 50px;
  line-height: 0.94;
  font-weight: 950;
}

.flavor-berry h3 {
  color: var(--berry);
}

.flavor-citrus h3 {
  color: #d2bd00;
}

.care-section {
  max-width: none;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
}

.care-section > div {
  max-width: var(--max);
  margin: 0 auto;
}

.care-section .section-note {
  color: var(--lemon);
}

.care-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 66px;
  background: rgba(255, 255, 255, 0.22);
}

.care-list article {
  min-height: 230px;
  padding: 30px;
  background: var(--ink);
}

.care-list h3 {
  color: var(--paper);
}

.care-list p {
  color: #d4d4cf;
}

.stockist-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: 80px;
}

.stockist-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 2px solid var(--ink);
}

.stockist-steps div {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.stockist-steps div + div {
  border-left: 2px solid var(--ink);
}

.stockist-steps span {
  font-size: 38px;
  line-height: 0.95;
  font-weight: 950;
}

.stockist-steps div:nth-child(2) {
  background: var(--lemon);
}

.stockist-steps div:nth-child(3) {
  background: var(--berry);
}

.stockist-steps div:nth-child(3) p,
.stockist-steps div:nth-child(3) span {
  color: var(--paper);
}

.join-section {
  background:
    linear-gradient(90deg, rgba(255, 68, 79, 0.08), transparent 28%),
    linear-gradient(270deg, rgba(255, 235, 0, 0.18), transparent 30%),
    var(--paper);
  border-top: 1px solid var(--line);
}

.join-heading {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.join-heading h2,
.join-heading p {
  margin-left: auto;
  margin-right: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--max);
  margin: 58px auto 0;
}

.waitlist-form {
  --glow-x: 50%;
  --glow-y: 0%;
  position: relative;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(5, 5, 5, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.92), transparent 32%),
    rgba(255, 255, 255, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 30px 100px rgba(5, 5, 5, 0.07);
  backdrop-filter: blur(28px) saturate(170%);
  padding: 30px;
  overflow: hidden;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.waitlist-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.36), transparent 36%, rgba(255, 255, 255, 0.18));
  opacity: 0.72;
  pointer-events: none;
}

.waitlist-form > * {
  position: relative;
}

.waitlist-form:hover,
.waitlist-form:focus-within {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 40px 130px rgba(5, 5, 5, 0.1);
}

.waitlist-form.is-saved {
  border-color: rgba(109, 139, 101, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 32px 120px rgba(109, 139, 101, 0.18);
}

.supplier-form {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.9), transparent 32%),
    rgba(245, 245, 241, 0.72);
}

.form-heading {
  margin-bottom: 4px;
}

.form-heading h3 {
  margin-top: 0;
  font-size: 32px;
}

.waitlist-form label {
  display: grid;
  gap: 8px;
}

.waitlist-form .honeypot {
  display: none;
}

.waitlist-form label span {
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.waitlist-form input,
.waitlist-form select {
  width: 100%;
  min-height: 54px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 0 14px;
  font-size: 16px;
  font-weight: 800;
  outline: none;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(255, 235, 0, 0.8);
  transform: translateY(-1px);
}

.waitlist-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 750;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 44px;
  padding: 48px var(--gutter) 56px;
  border-top: 1px solid var(--line);
}

.site-footer .brand-logo {
  height: 46px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glassFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.015);
  }
}

@keyframes canBreathRed {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes canBreathYellow {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

@keyframes autoCanFlip {
  0%,
  34% {
    transform: rotateY(0deg);
  }
  50%,
  84% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .flip-can-inner,
  .hero-can,
  .hero-glass {
    animation: none !important;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 120px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    max-width: 720px;
    font-size: 92px;
  }

  .hero-cans {
    min-height: auto;
  }

  .hero-can {
    height: 560px;
  }

  .flavor-grid,
  .stockist-section,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .stockist-section {
    gap: 48px;
  }
}

@media (max-width: 780px) {
  :root {
    --gutter: 22px;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .nav-cta {
    min-width: 112px;
    justify-self: end;
  }

  .site-nav {
    display: none;
  }

  .brand-logo {
    height: 42px;
  }

  .hero {
    padding-top: 104px;
  }

  .hero h1 {
    font-size: 66px;
  }

  .hero-proof {
    font-size: 22px;
  }

  .hero-line {
    font-size: 18px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-facts,
  .ingredient-grid,
  .care-list,
  .stockist-steps,
  .field-row,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    display: none;
  }

  .hero-can {
    width: 53%;
    height: 390px;
  }

  .promise-section,
  .flavor-section,
  .care-section,
  .stockist-section,
  .join-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-copy h2,
  .care-section h2,
  .join-heading h2 {
    font-size: 48px;
  }

  .section-copy > p:not(.section-note),
  .join-heading > p {
    font-size: 18px;
  }

  .ingredient-grid {
    margin-top: 44px;
  }

  .ingredient-grid article,
  .ingredient-grid article + article {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 26px 0;
  }

  .ingredient-grid article:first-child {
    border-top: 0;
  }

  .flavor-card {
    min-height: auto;
    grid-template-columns: 0.72fr 1fr;
    gap: 18px;
    padding: 22px;
  }

  .flip-can,
  .flip-face {
    min-height: 360px;
  }

  .can-back-image {
    max-height: 360px;
  }

  .flavor-card img {
    max-height: 360px;
  }

  .flavor-copy h3 {
    font-size: 34px;
  }

  .stockist-steps div,
  .stockist-steps div + div {
    min-height: 150px;
    border-left: 0;
    border-top: 2px solid var(--ink);
  }

  .stockist-steps div:first-child {
    border-top: 0;
  }

  .waitlist-form {
    padding: 22px;
  }

  .site-footer {
    justify-items: start;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 58px;
  }

  .hero-cans {
    margin-left: -12px;
    margin-right: -12px;
  }

  .hero-can {
    width: 58%;
    height: 360px;
  }

  .hero-can-red {
    transform: translateX(24px);
  }

  .hero-can-yellow {
    transform: translateX(-24px) translateY(14px);
  }

  .flavor-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .flip-can,
  .flip-face {
    min-height: 340px;
  }

  .can-back-image {
    max-height: 340px;
  }

  .flavor-card img {
    justify-self: center;
    max-height: 340px;
  }
}
