/* Lista: hero slice. Deep flavour colours, one cream for text, Big Shoulders for display,
   Schibsted Grotesk for text. Flavour colours arrive as --edge / --mid / --glow. */

:root {
  --cream: #fbf1e7;
  --cream-2: rgba(251, 241, 231, 0.76);
  --line: rgba(251, 241, 231, 0.22);
  --line-strong: rgba(251, 241, 231, 0.42);
  --edge: #2e0b05;
  --mid: #6e200e;
  --glow: #b9461f;
  --gutter: clamp(16px, 4.2vw, 72px);
  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --text: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --vh: 1vh;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--edge);
  color: var(--cream);
  font: 400 17px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
}
img, canvas, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--cream); color: var(--edge); }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--cream); color: var(--edge); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- top bar */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 20; height: 76px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
}
.bar__brand {
  justify-self: start; text-decoration: none; padding: 7px 0;
  font: 900 30px/1 var(--display); letter-spacing: 0.03em; text-transform: uppercase;
  font-variation-settings: "opsz" 72;
}
.bar__nav a { font-size: 15px; text-decoration: none; color: var(--cream-2); padding: 13px 6px; display: inline-block; transition: color 0.2s; }
.bar__nav a:hover { color: var(--cream); }
.bar__actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.demo-pill { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; padding: 5px 11px 6px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--cream-2); }
.cart { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background 0.2s; }
.cart:hover { background: rgba(251, 241, 231, 0.1); }
.cart__count {
  position: absolute; right: 2px; top: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--cream); color: var(--edge); font: 600 11px/18px var(--text); text-align: center;
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  height: max(640px, calc(var(--vh) * 100));
  --can-h: min(70 * var(--vh), 780px);
}
.hero__bg, .bg { position: absolute; inset: 0; }
.bg { background: radial-gradient(115% 88% at 50% 47%, var(--glow) 0%, var(--mid) 44%, var(--edge) 100%); }
.bg[data-bg="next"] { clip-path: circle(0 at 50% 50%); }

.hero__word {
  position: absolute; left: 0; right: 0; top: 33%; transform: translateY(-50%); z-index: 0;
  display: flex; justify-content: center; gap: 0.16em;
  font: 900 240px/0.8 var(--display); font-variation-settings: "opsz" 72;
  text-transform: uppercase; letter-spacing: 0;
  color: rgba(255, 236, 222, 0.13);
  pointer-events: none; user-select: none;
}
/* each line masks its own text for the change of flavour; at rest nothing is cut */
.word__line { display: block; overflow: clip; overflow-clip-margin: 0.06em; padding: 0.04em 0.02em 0; }
.word__in { display: inline-block; }

.stage { position: absolute; inset: 0; z-index: 1; }
.can {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--can-h) * 0.62); height: var(--can-h);
  margin: calc(var(--can-h) * -0.5) 0 0 calc(var(--can-h) * -0.31);
  padding: 0; border-radius: 40px; will-change: transform, filter;
  -webkit-tap-highlight-color: transparent;
}
.can:focus-visible { outline-offset: -12px; }
.can__float { position: absolute; inset: 0; z-index: 1; }
.can__still, .can__spin { position: absolute; inset: 0; width: 100%; height: 100%; }
.can__spin { opacity: 0; }
.can.is-spin .can__spin { opacity: 1; }
.can.is-spin .can__still { opacity: 0; }
.can__shadow {
  position: absolute; left: 18%; right: 18%; bottom: -7%; height: 9%; z-index: 0;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  filter: blur(6px);
}

.arrow {
  position: absolute; top: 50%; z-index: 3; width: 56px; height: 56px; margin-top: -28px;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--cream);
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.arrow:hover { background: rgba(251, 241, 231, 0.12); border-color: var(--cream); }
.arrow:active { transform: scale(0.94); }
.arrow--prev { left: calc(50% - var(--can-h) * 0.31 - 92px); }
.arrow--next { left: calc(50% + var(--can-h) * 0.31 + 36px); }

.hero__intro, .hero__buy { position: absolute; z-index: 4; bottom: 116px; }
.hero__intro { left: var(--gutter); width: min(330px, 26vw); }
.hero__intro h1 {
  font: 800 clamp(40px, 4.2vw, 64px)/0.92 var(--display); font-variation-settings: "opsz" 72;
  letter-spacing: -0.005em; text-wrap: balance; margin-bottom: 18px;
}
.hero__intro p { color: var(--cream-2); font-size: 17px; line-height: 1.5; max-width: 32ch; }
.hero__buy { right: var(--gutter); width: min(300px, 24vw); }
.buy__name { font: 800 28px/1 var(--display); font-variation-settings: "opsz" 72; margin-bottom: 10px; }
.buy__recipe { color: var(--cream-2); font-size: 15px; line-height: 1.45; margin-bottom: 22px; }
.btn {
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--cream); color: var(--edge); font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background 0.25s, transform 0.25s var(--ease);
}
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }

.flavours {
  position: absolute; z-index: 4; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 5px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(0, 0, 0, 0.16);
}
.chip {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px 0 14px;
  border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--cream-2); white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.chip:hover { color: var(--cream); background: rgba(251, 241, 231, 0.08); }
.chip[aria-checked="true"] { background: var(--cream); color: var(--edge); }
.chip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 1.5px rgba(251, 241, 231, 0.55); }

/* ---------------------------------------------------------------- shared */
:root { --page: #140a07; --page-2: #1c0f0a; --danger: #ffb39c; --accent: #b9461f; }
/* reveals follow the scroll itself (no script, nothing can stay hidden); browsers without
   scroll-linked animation simply show everything */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% entry 70%; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(32px); } }
.sec-head { max-width: 1320px; margin: 0 auto 48px; padding: 0 var(--gutter); }
.sec-head h2, .origin h2, .packs h2, .news h2, .inside h2 {
  font: 800 clamp(44px, 5.2vw, 84px)/0.92 var(--display); font-variation-settings: "opsz" 72;
  letter-spacing: -0.005em; text-wrap: balance;
}
.sec-head p { color: var(--cream-2); font-size: 17px; max-width: 52ch; margin-top: 16px; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.round {
  width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--cream); transition: background 0.25s, border-color 0.25s;
}
.round:hover { background: rgba(251, 241, 231, 0.1); border-color: var(--cream); }
.btn--wide { width: 100%; }
.btn--ghost { background: none; color: var(--cream); border: 1px solid var(--line-strong); }
.btn--ghost:hover { background: rgba(251, 241, 231, 0.1); }
.bar::before {
  content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(12, 6, 4, 0.82), rgba(12, 6, 4, 0));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent);
  opacity: 0; transition: opacity 0.4s;
}
.bar.is-scrolled::before, .page-checkout .bar::before { opacity: 1; }
.view[hidden] { display: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

/* ---------------------------------------------------------------- inside the can */
.inside { position: relative; height: calc(var(--vh) * 360); background: var(--edge); }
.inside__pin {
  position: sticky; top: 0; height: calc(var(--vh) * 100); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 40px;
  padding: 72px var(--gutter) 0;
}
.inside__bg { position: absolute; inset: 0; background: radial-gradient(70% 90% at 72% 52%, var(--glow) 0%, var(--mid) 42%, var(--edge) 100%); }
.inside__copy { position: relative; z-index: 1; max-width: 560px; }
.inside__lead { color: var(--cream-2); font-size: 17px; margin: 18px 0 30px; }
.inside__list { list-style: none; padding: 0; display: grid; gap: 6px; }
.ing {
  display: grid; grid-template-columns: 64px 84px 1fr; column-gap: 16px; align-items: center;
  padding: 8px 16px 8px 8px; border-radius: 22px; opacity: 0.46;
  transition: opacity 0.5s var(--ease), background 0.5s var(--ease), transform 0.5s var(--ease);
}
.ing.is-on { opacity: 1; background: rgba(0, 0, 0, 0.2); transform: translateX(6px); }
.ing.is-done { opacity: 0.66; }
.ing__dial { grid-row: span 2; position: relative; width: 64px; height: 64px; transition: transform 0.7s var(--ease); }
.ing.is-on .ing__dial { transform: scale(1.22); }
.ing__dial svg { position: absolute; inset: 0; transform: rotate(-90deg); overflow: visible; }
.ing__track { fill: none; stroke: rgba(251, 241, 231, 0.14); stroke-width: 2.5; }
.ing__fill {
  fill: none; stroke: var(--cream); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s var(--ease);
}
.ing.is-on .ing__fill, .ing.is-done .ing__fill { stroke-dashoffset: calc(100 - max(var(--p, 0), 1.2)); }
.ing__img {
  position: absolute; inset: 7px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 35% 30%, var(--glow), var(--mid) 70%); background-size: cover; background-position: center;
  box-shadow: inset 0 0 0 1px rgba(251, 241, 231, 0.12);
}
.ing.is-on .ing__img.has-photo { animation: ing-turn 24s linear infinite; }
@keyframes ing-turn { to { transform: rotate(360deg); } }
/* sparkling water has no photo: its disc fizzes */
.ing.is-water .ing__img::before, .ing.is-water .ing__img::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -40%; height: 140%;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 245, 235, 0.55) 0 1.5px, transparent 2px),
    radial-gradient(circle at 55% 60%, rgba(255, 245, 235, 0.45) 0 2px, transparent 2.5px),
    radial-gradient(circle at 75% 85%, rgba(255, 245, 235, 0.5) 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 40% 30%, rgba(255, 245, 235, 0.4) 0 1.6px, transparent 2.1px),
    radial-gradient(circle at 85% 40%, rgba(255, 245, 235, 0.35) 0 1px, transparent 1.5px);
}
.ing.is-water .ing__img::after { left: 12%; animation-delay: -1.3s !important; opacity: 0.7; }
.ing.is-water.is-on .ing__img::before, .ing.is-water.is-on .ing__img::after { animation: fizz-up 2.6s linear infinite; }
@keyframes fizz-up { to { transform: translateY(-45%); } }
.mix { margin-top: 24px; max-width: 420px; }
.mix__label { font-size: 13px; color: var(--cream-2); margin-bottom: 8px; }
.mix__bar { display: flex; gap: 3px; height: 10px; }
.mix__bar span {
  flex: var(--w, 1) 0 0; min-width: 4px; border-radius: 5px; background: rgba(251, 241, 231, 0.18);
  transition: background 0.5s var(--ease), transform 0.5s var(--ease);
}
.mix__bar span:nth-child(2) { background: color-mix(in srgb, var(--glow) 70%, transparent); }
.mix__bar span.is-on { background: var(--cream); transform: scaleY(1.5); }
.inside__fizz { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ing__pct { grid-row: span 2; font: 800 34px/1 var(--display); font-variation-settings: "opsz" 72; font-variant-numeric: tabular-nums; }
.ing__name { font-weight: 600; font-size: 17px; }
.ing__note { color: var(--cream-2); font-size: 15px; line-height: 1.4; max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.ing.is-on .ing__note { max-height: 60px; }
.inside__back { margin-top: 22px; color: var(--cream-2); font-size: 15px; opacity: 0.35; transition: opacity 0.5s; }
.inside.is-back .inside__back { opacity: 1; color: var(--cream); }
.inside__can { position: relative; z-index: 1; height: 100%; display: grid; place-items: center; }
.inside__can canvas { height: min(84 * var(--vh), 860px); width: auto; aspect-ratio: 694 / 1120; }

/* ---------------------------------------------------------------- shop: flavour cards */
.shop { background: var(--page); padding: clamp(96px, 12vw, 168px) 0; }
.cards { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 30%, var(--glow) 0%, var(--mid) 46%, var(--edge) 100%);
}
.card__link { position: relative; display: block; padding: 28px 24px 0; text-decoration: none; color: inherit; flex: 1; }
.card__photo {
  position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 66%; object-fit: cover;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent);
  opacity: 0.85; transition: transform 1.2s var(--ease), opacity 0.6s;
}
.card:hover .card__photo { transform: scale(1.05); opacity: 1; }
.card__can, .card__name, .card__blurb { position: relative; }
.card__can { width: 64%; height: auto; margin: 0 auto 18px; transform: rotate(-5deg); filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.45)); transition: transform 0.7s var(--ease); }
.card:hover .card__can { transform: translateY(-10px) rotate(-1deg); }
.card__name { font: 800 28px/1 var(--display); font-variation-settings: "opsz" 72; margin-bottom: 8px; text-wrap: balance; }
.card__blurb { color: var(--cream-2); font-size: 15px; line-height: 1.45; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px 24px; }
.card__price { font-size: 15px; font-weight: 500; }
.card__add { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--edge); transition: transform 0.25s var(--ease), background 0.25s; }
.card__add:hover { background: #fff; transform: rotate(90deg); }

/* ---------------------------------------------------------------- origin */
.origin {
  background: var(--page-2); padding: clamp(96px, 12vw, 168px) var(--gutter);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; row-gap: 40px; align-items: start;
}
.origin > * { max-width: none; }
.origin__intro { grid-column: 1 / span 5; padding-top: 24px; }
.origin__stat { font: 900 clamp(120px, 15vw, 230px)/0.8 var(--display); font-variation-settings: "opsz" 72; margin-bottom: 18px; }
.origin__stat span { color: #f0663a; }
.origin__intro > p:last-child { color: var(--cream-2); font-size: 17px; max-width: 42ch; margin-top: 18px; }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; border-radius: 24px; object-fit: cover; background: #2a1510; }
.photo figcaption { margin-top: 10px; font-size: 15px; color: var(--cream-2); }
.photo--wide { grid-column: 6 / span 7; }
.photo--wide img { aspect-ratio: 16 / 9; }
.photo:nth-of-type(2) { grid-column: 2 / span 4; }
.photo:nth-of-type(3) { grid-column: 7 / span 4; margin-top: 80px; }
.photo:not(.photo--wide) img { aspect-ratio: 4 / 5; }
.photo.is-missing { display: none; }

/* ---------------------------------------------------------------- packs and pickers */
.packs {
  background: radial-gradient(60% 80% at 28% 50%, #4a2014 0%, #24100a 55%, var(--page) 100%);
  padding: clamp(96px, 12vw, 168px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 80px); align-items: center;
}
.packs__img img { width: 100%; height: auto; }
.packs__lead { color: var(--cream-2); font-size: 17px; margin: 18px 0 28px; max-width: 44ch; }
.picker { display: grid; justify-items: start; gap: 16px; }
.picker h2 { margin-bottom: 0; }
.seg { border: 1px solid var(--line); border-radius: 999px; padding: 4px; display: inline-flex; gap: 4px; background: rgba(0, 0, 0, 0.16); }
.seg label, .every label { position: relative; cursor: pointer; }
.seg input, .every input, .switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--cream-2); transition: background 0.3s, color 0.3s; }
.seg input:checked + span { background: var(--cream); color: #1a0c08; }
.seg input:focus-visible + span, .every input:focus-visible + span { outline: 2px solid var(--cream); outline-offset: 2px; }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; font-weight: 500; min-height: 44px; }
.switch__track { position: relative; width: 48px; height: 28px; border-radius: 999px; background: rgba(251, 241, 231, 0.2); transition: background 0.3s; }
.switch__track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); transition: transform 0.35s var(--ease); }
.switch input:checked + .switch__track { background: #f0663a; }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--cream); outline-offset: 3px; }
.every { border: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; transition: opacity 0.3s; }
.every legend { float: left; font-size: 13px; color: var(--cream-2); margin-right: 8px; }
.every span { display: block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; }
.every input:checked + span { border-color: var(--cream); background: rgba(251, 241, 231, 0.1); }
.every[data-off] { opacity: 0.38; }
.every[data-off] label { cursor: default; }
.price { display: flex; align-items: baseline; gap: 14px; margin-top: 6px; }
.price__now { font: 800 54px/1 var(--display); font-variation-settings: "opsz" 72; }
.price__was { font-size: 17px; color: var(--cream-2); }
.picker__note { font-size: 13px; color: var(--cream-2); }

/* ---------------------------------------------------------------- reviews and newsletter */
.reviews { background: var(--page); padding: clamp(96px, 12vw, 168px) 0; }
.reviews__note { font-size: 15px !important; }
.reviews__nav { display: flex; gap: 8px; }
.reviews__row {
  overflow: hidden; padding: 4px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews__track { display: flex; gap: 18px; width: max-content; animation: reviews-loop var(--loop, 60s) linear infinite; }
.reviews__row:hover .reviews__track, .reviews__row:focus-within .reviews__track { animation-play-state: paused; }
@keyframes reviews-loop { to { transform: translateX(calc(-50% - 9px)); } }
.reviews__track .review { width: min(420px, 78vw); flex: none; }
@media (prefers-reduced-motion: reduce) {
  .reviews__row { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .reviews__track { animation: none; padding: 0 var(--gutter); }
  .reviews__track .review[aria-hidden="true"] { display: none; }
}
.review { margin: 0; border-radius: 24px; border: 1px solid var(--line); padding: 30px 28px; background: rgba(251, 241, 231, 0.03); }
.review__stars { letter-spacing: 0.18em; color: #f0b44a; font-size: 15px; margin-bottom: 18px; }
.review blockquote { font: 700 28px/1.1 var(--display); font-variation-settings: "opsz" 40; margin-bottom: 18px; }
.review figcaption { font-size: 15px; color: var(--cream-2); }
.news { position: relative; overflow: hidden; background: var(--page-2); padding: clamp(110px, 13vw, 190px) var(--gutter); }
.news__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.news::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20, 10, 7, 0.94) 0%, rgba(20, 10, 7, 0.8) 38%, rgba(20, 10, 7, 0.18) 78%), linear-gradient(rgba(20, 10, 7, 0.5), transparent 20%, transparent 80%, rgba(20, 10, 7, 0.6)); }
.news__inner { position: relative; z-index: 2; }
.news__inner { max-width: 760px; }
.news__inner > p { color: var(--cream-2); font-size: 17px; margin: 16px 0 28px; }
.news__form { display: flex; flex-wrap: wrap; gap: 10px; }
.news__form input {
  flex: 1 1 280px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--cream); font: inherit;
}
.news__form input::placeholder { color: rgba(251, 241, 231, 0.6); }
.news__form input[aria-invalid="true"], .field input[aria-invalid] { border-color: var(--danger); }
.field__error { flex-basis: 100%; min-height: 18px; color: var(--danger); font-size: 13px; }
.news__ok { flex-basis: 100%; font-size: 17px; }
.news__form.is-done input, .news__form.is-done button { display: none; }

/* ---------------------------------------------------------------- product page */
.pdp {
  position: relative; min-height: max(640px, calc(var(--vh) * 100)); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px;
  padding: 110px var(--gutter) 72px;
}
.pdp__bg { position: absolute; inset: 0; background: radial-gradient(70% 90% at 28% 52%, var(--glow) 0%, var(--mid) 44%, var(--edge) 100%); }
.pdp__back { position: absolute; z-index: 2; top: 88px; left: var(--gutter); display: inline-flex; align-items: center; gap: 6px; font-size: 15px; text-decoration: none; color: var(--cream-2); padding: 10px 0; }
.pdp__back:hover { color: var(--cream); }
.pdp__stage {
  position: relative; z-index: 1; justify-self: center; height: min(76 * var(--vh), 780px); aspect-ratio: 694 / 1120;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; border-radius: 40px;
}
.pdp__stage.is-grab { cursor: grabbing; }
.pdp__stage img, .pdp__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pdp__stage canvas { opacity: 0; }
.pdp__stage.is-turning canvas { opacity: 1; }
.pdp__stage.is-turning img { opacity: 0; }
.pdp__hint { position: absolute; left: 0; right: 0; bottom: -34px; text-align: center; font-size: 13px; color: var(--cream-2); }
.pdp__info { position: relative; z-index: 1; max-width: 480px; }
.pdp__kicker { font-size: 15px; color: var(--cream-2); }
.pdp__info h1 { font: 800 clamp(46px, 5vw, 80px)/0.92 var(--display); font-variation-settings: "opsz" 72; text-wrap: balance; outline: none; }
.pdp__blurb { color: var(--cream-2); font-size: 17px; }
.recipe { list-style: none; padding: 0; display: grid; gap: 10px; margin: 6px 0 4px; width: 100%; }
.recipe li { display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; }
.recipe__pct { grid-row: span 2; font: 800 26px/1 var(--display); font-variation-settings: "opsz" 72; }
.recipe__name { font-weight: 600; font-size: 15px; }
.recipe__note { font-size: 13px; color: var(--cream-2); }
.nutrition { width: 100%; border-top: 1px solid var(--line); padding-top: 14px; }
.nutrition summary { cursor: pointer; font-size: 15px; font-weight: 500; min-height: 32px; }
.nutrition table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15px; }
.nutrition th, .nutrition td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.nutrition td { text-align: right; }
.fruit {
  background: var(--page); padding: clamp(80px, 10vw, 140px) var(--gutter) 40px;
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center;
}
.fruit h2 { font: 800 clamp(44px, 5.2vw, 84px)/0.92 var(--display); font-variation-settings: "opsz" 72; letter-spacing: -0.005em; margin-bottom: 18px; }
.fruit p { color: var(--cream-2); max-width: 40ch; }
.fruit__img { width: 100%; height: auto; border-radius: 28px; }
.more { background: var(--page); padding: 88px var(--gutter); }
.more h2 { font: 800 clamp(36px, 4vw, 56px)/1 var(--display); font-variation-settings: "opsz" 72; margin-bottom: 28px; }
.more__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.more__item {
  display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: 24px; text-decoration: none; color: inherit;
  background: radial-gradient(120% 120% at 20% 40%, var(--glow) 0%, var(--mid) 50%, var(--edge) 100%);
  font: 800 24px/1.05 var(--display); font-variation-settings: "opsz" 72;
}
.more__item img { width: 64px; height: auto; transform: rotate(-6deg); transition: transform 0.5s var(--ease); }
.more__item:hover img { transform: translateY(-6px) rotate(-2deg); }

/* ---------------------------------------------------------------- checkout */
.co { padding: 120px var(--gutter) 96px; max-width: 1240px; margin: 0 auto; }
.co h1 { font: 800 clamp(46px, 5vw, 76px)/0.95 var(--display); font-variation-settings: "opsz" 72; outline: none; }
.co__demo { color: var(--cream-2); margin: 12px 0 40px; }
.co__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.co__form fieldset { border: 0; padding: 0; margin: 0 0 28px; display: grid; gap: 4px; }
.co__form legend { font: 700 28px/1 var(--display); font-variation-settings: "opsz" 40; margin-bottom: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 500; }
.field input, .field select {
  min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: rgba(251, 241, 231, 0.04); color: var(--cream); font: inherit;
}
.field select option { color: #1a0c08; }
.field-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 14px; }
.co__empty { color: var(--danger); margin-bottom: 14px; }
.co__done h2 { font: 800 clamp(40px, 4.4vw, 64px)/0.95 var(--display); font-variation-settings: "opsz" 72; outline: none; margin-bottom: 16px; }
.co__done p { color: var(--cream-2); max-width: 48ch; margin-bottom: 28px; }
.co__done span { color: var(--cream); }
.co__sum { border: 1px solid var(--line); border-radius: 24px; padding: 24px; position: sticky; top: 96px; }
.co__sumtitle { font: 700 24px/1 var(--display); margin-bottom: 16px; }
.co__sum ul { list-style: none; padding: 0; display: grid; gap: 12px; margin-bottom: 18px; }
.sum__line { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; font-size: 15px; }
.sum__line img { width: 40px; height: auto; }
.co__sum dl div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.co__sum dd { margin: 0; }
.co__total { font-weight: 600; font-size: 17px !important; }

/* ---------------------------------------------------------------- receipt printer (checkout done) */
.printer { justify-self: center; width: min(400px, 100%); position: relative; }
.printer__body {
  position: relative; z-index: 2; border-radius: 28px; padding: 16px 16px 22px;
  background: linear-gradient(#2b1611, #1b0d09); border: 1px solid rgba(251, 241, 231, 0.12);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(251, 241, 231, 0.08);
}
.printer__top { display: flex; justify-content: space-between; align-items: center; padding: 2px 6px 12px; }
.printer__brand { font: 900 20px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.printer__led { width: 8px; height: 8px; border-radius: 50%; background: #f0b44a; box-shadow: 0 0 10px #f0b44a; animation: led 0.8s ease-in-out infinite alternate; }
.printer:has(.is-done) .printer__led { background: #7fd18b; box-shadow: 0 0 10px #7fd18b; animation: none; }
@keyframes led { to { opacity: 0.35; } }
.printer__screen { display: grid; grid-template-columns: 1fr auto; row-gap: 14px; padding: 16px 18px; border-radius: 18px; background: #120806; border: 1px solid rgba(251, 241, 231, 0.08); }
.printer__title { font-weight: 600; font-size: 17px; }
.printer__sub { font-size: 13px; color: var(--cream-2); }
.printer__total { text-align: right; font-size: 13px; color: var(--cream-2); display: grid; }
.printer__total strong { color: var(--cream); font-size: 17px; }
.printer__status { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--cream-2); }
.printer__spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(251, 241, 231, 0.25); border-top-color: var(--cream); animation: spin 0.8s linear infinite; }
.printer__status.is-done { color: var(--cream); }
.printer__status.is-done .printer__spin { animation: none; border: 0; background: #7fd18b; position: relative; }
.printer__status.is-done .printer__spin::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #12340f; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.printer__slot { position: absolute; left: 22px; right: 22px; bottom: 9px; height: 6px; border-radius: 3px; background: #050202; box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.9); }
.printer__out { position: relative; z-index: 1; margin: -12px 34px 0; overflow: hidden; padding-bottom: 14px; }
.receipt {
  background: #f6f1e8; color: #231a15; padding: 26px 22px 30px;
  font: 400 13px/1.55 "IBM Plex Mono", ui-monospace, monospace;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}
.receipt__brand { font: 900 30px/1 var(--display); letter-spacing: 0.06em; text-align: center; margin-bottom: 14px; }
.receipt__meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: #5b4c43; padding-bottom: 12px; border-bottom: 1px dashed #b9aa9c; }
.receipt__lines { list-style: none; padding: 12px 0; margin: 0; border-bottom: 1px dashed #b9aa9c; display: grid; gap: 8px; }
.receipt__lines li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; }
.receipt__lines small { grid-column: 1 / -1; font-size: 12px; color: #6b5a4f; }
.receipt__sums { margin: 0; padding: 12px 0; border-bottom: 1px dashed #b9aa9c; }
.receipt__sums div { display: flex; justify-content: space-between; }
.receipt__sums dd { margin: 0; }
.receipt__total { font-weight: 600; font-size: 15px; margin-top: 6px; }
.receipt__paid { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; font-size: 12px; color: #5b4c43; }
.receipt__code { display: flex; justify-content: center; align-items: stretch; height: 44px; gap: 1px; margin: 6px 0 10px; }
.receipt__code span { background: #231a15; }
.receipt__thanks { text-align: center; font-size: 12px; color: #5b4c43; }
.co__grid:has(.printer:not([hidden])) { align-items: start; }

/* ---------------------------------------------------------------- cart drawer */
.drawer {
  margin: 0 0 0 auto; padding: 0; border: 0; height: 100%; max-height: 100%; width: min(440px, 100vw);
  background: #1a0c08; color: var(--cream);
}
.drawer[open] { animation: drawer-in 0.42s var(--ease); }
.drawer.is-closing { animation: drawer-out 0.26s ease-in forwards; }
.drawer::backdrop { background: rgba(5, 2, 1, 0.55); }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes drawer-out { to { transform: translateX(100%); } }
.drawer__panel { display: flex; flex-direction: column; height: 100%; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 800 28px/1 var(--display); font-variation-settings: "opsz" 72; }
.drawer__delivery { padding: 16px 24px; font-size: 15px; color: var(--cream-2); }
.progress { display: block; height: 4px; border-radius: 2px; background: var(--line); margin-top: 10px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: #f0663a; transform-origin: left; transform: scaleX(0); transition: transform 0.6s var(--ease); }
.drawer__lines { list-style: none; padding: 8px 24px; margin: 0; flex: 1; overflow-y: auto; display: grid; align-content: start; gap: 18px; }
.line { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: start; }
.line__img { width: 52px; height: auto; }
.line__name { font-weight: 600; font-size: 15px; }
.line__detail { font-size: 13px; color: var(--cream-2); margin-bottom: 8px; }
.line__price { font-size: 15px; font-weight: 500; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.qty__btn { width: 32px; height: 32px; border-radius: 50%; font-size: 17px; }
.qty__btn:hover { background: rgba(251, 241, 231, 0.1); }
.qty__n { min-width: 22px; text-align: center; font-size: 15px; }
.drawer__empty { padding: 32px 24px; display: grid; gap: 18px; justify-items: start; color: var(--cream-2); }
.drawer__empty[hidden], .drawer__foot[hidden] { display: none; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.drawer__sub { display: flex; justify-content: space-between; font-size: 17px; font-weight: 600; }
.drawer__note { font-size: 13px; color: var(--cream-2); text-align: center; }

/* ---------------------------------------------------------------- cursor (desktop, fine pointers only) */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input:not([type="radio"]):not([type="checkbox"]), html.has-cursor textarea { cursor: text !important; }
html.has-cursor select { cursor: default !important; }
.cursor { position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.cursor.is-on { opacity: 1; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--cream); transition: opacity 0.2s; }
.cursor__ring { width: 0; height: 0; }
.cursor__ring::before {
  content: ""; position: absolute; left: -19px; top: -19px; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(251, 241, 231, 0.6);
  transition: transform 0.45s var(--ease), background 0.3s, border-color 0.3s;
}
.cursor.is-hot .cursor__ring::before { transform: scale(1.5); background: color-mix(in srgb, var(--cursor-fill, var(--accent)) 50%, transparent); border-color: transparent; }
.cursor.is-label .cursor__ring::before { transform: scale(2.3); background: var(--cream); border-color: transparent; }
.cursor.is-down .cursor__ring::before { transform: scale(0.8); }
.cursor.is-hot.is-down .cursor__ring::before { transform: scale(1.25); }
.cursor.is-label.is-down .cursor__ring::before { transform: scale(2); }
.cursor.is-hot .cursor__dot, .cursor.is-label .cursor__dot, .cursor.is-text .cursor__dot, .cursor.is-text .cursor__ring { opacity: 0; }
.cursor__label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); white-space: nowrap;
  font: 600 13px/1 var(--text); color: #1a0c08; opacity: 0; transition: opacity 0.25s;
}
.cursor.is-label .cursor__label { opacity: 1; }
.cursor__bubble { position: fixed; border-radius: 50%; border: 1px solid rgba(251, 241, 231, 0.7); pointer-events: none; animation: cursor-bubble 0.9s ease-out forwards; }
@keyframes cursor-bubble { from { transform: translate(-50%, -50%); opacity: 0.9; } to { transform: translate(-50%, calc(-50% - 42px)) scale(0.4); opacity: 0; } }

/* ---------------------------------------------------------------- footer */
.footer { position: relative; padding: 64px var(--gutter) 32px; background: #140805; border-top: 1px solid var(--line); }
.credit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; padding-bottom: 40px; }
.credit__tag { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; margin-bottom: 10px; }
.credit__tag span { font-size: 11px; padding: 3px 8px 4px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--cream-2); }
.credit__note { color: var(--cream-2); max-width: 58ch; font-size: 15px; }
.credit__by { display: grid; justify-items: end; gap: 10px; text-align: right; }
.credit__lead { font-size: 13px; color: var(--cream-2); }
.credit__logo { width: 188px; height: auto; }
.credit__links { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.credit__mailrow { display: inline-flex; align-items: center; gap: 8px; }
.credit__mail { cursor: pointer; }
.credit__links a { display: inline-flex; align-items: center; min-height: 44px; }
.credit__copy { border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; padding: 4px 14px; min-height: 44px; }
.credit__copy:hover { border-color: var(--cream); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--cream-2); }

/* ---------------------------------------------------------------- smaller laptops: text joins one row under the can */
@media (max-width: 1180px) {
  .hero { --can-h: min(60 * var(--vh), 640px); }
  .can, .arrow { top: 44%; }
  .hero__word { top: 30%; }
  .hero__intro { width: min(360px, 40vw); bottom: 100px; }
  .hero__buy { width: min(320px, 38vw); bottom: 100px; }
}

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .packs { grid-template-columns: 1fr; }
  .origin__intro { grid-column: 1 / -1; }
  .photo--wide { grid-column: 1 / -1; }
  .photo:nth-of-type(2) { grid-column: 1 / span 6; }
  .photo:nth-of-type(3) { grid-column: 7 / span 6; margin-top: 48px; }
  .co__grid { grid-template-columns: 1fr; }
  .fruit { grid-template-columns: 1fr; }
  .co__sum { position: static; }
  .more__row { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 760px) {
  .bar { height: 64px; grid-template-columns: 1fr auto; }
  .bar__nav { display: none; }
  .bar__brand { font-size: 26px; }
  .hero { height: max(600px, calc(var(--vh) * 100)); --can-h: min(47 * var(--vh), 430px); }
  .can { top: 38%; }
  .hero__word { top: 24%; }
  .arrow { display: none; }
  .hero__intro { left: var(--gutter); right: var(--gutter); width: auto; bottom: 200px; }
  .hero__intro h1 { font-size: 38px; margin-bottom: 0; }
  .hero__intro p { display: none; }
  .hero__buy { left: var(--gutter); right: var(--gutter); width: auto; bottom: 24px; }
  .buy__text { display: none; }
  .btn { width: 100%; }
  .flavours {
    left: 0; right: 0; transform: none; bottom: 92px; border: 0; background: none; border-radius: 0;
    padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; justify-content: flex-start;
  }
  .flavours::-webkit-scrollbar { display: none; }
  .chip { border: 1px solid var(--line); }
  .credit { grid-template-columns: 1fr; }
  .credit__by { justify-items: start; text-align: left; }
  .footer__legal { flex-direction: column; }
  .inside__pin { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 72px var(--gutter) 24px; gap: 8px; }
  .inside__can { grid-row: 1; height: auto; }
  .inside__can canvas { height: min(40 * var(--vh), 380px); }
  .inside__copy { grid-row: 2; }
  .inside h2 { font-size: 34px; }
  .inside__lead { display: none; }
  .ing { grid-template-columns: 44px 62px 1fr; padding: 6px 10px 6px 6px; column-gap: 10px; }
  .ing__dial { width: 44px; height: 44px; }
  .ing__img { inset: 5px; }
  .ing.is-on .ing__dial { transform: scale(1.12); }
  .mix { margin-top: 12px; }
  .ing__pct { font-size: 26px; }
  .ing__name { font-size: 15px; }
  .ing__note { font-size: 13px; }
  .ing:not(.is-on) .ing__note { display: none; }
  .inside__back { font-size: 13px; margin-top: 10px; }
  .cards { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78vw; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .card { scroll-snap-align: center; }
  .origin { display: block; }
  .photo { margin-top: 28px !important; }
  .sec-head--row { flex-direction: column; align-items: flex-start; }
  .pdp { grid-template-columns: 1fr; padding-top: 120px; }
  .pdp__stage { height: min(52 * var(--vh), 480px); }
  .field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}
