/* ==========================================================================
   Zorvilo — design system
   Sections: tokens / reset / typography / layout / header / buttons / hero
             / marquee / cards / products / split / stats / nutrition / forms
             / footer / modal / motion / responsive
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  --red: #e4222a;
  --red-bright: #ff2d36;
  --red-deep: #9c1017;
  --ink: #0b0b0d;
  --ink-soft: #16171c;
  --ink-line: #24262e;
  --paper: #ffffff;
  --sand: #f6f3ee;
  --sand-deep: #ece6dd;
  --gold: #c9a227;
  --navy: #16233f;

  --text: #12131a;
  --text-muted: #5c6070;
  --text-invert: #ffffff;
  --text-invert-muted: rgba(255, 255, 255, 0.62);

  --line: rgba(11, 11, 13, 0.1);
  --line-invert: rgba(255, 255, 255, 0.14);

  --font-display: "Anton", "Arial Narrow", "Haettenschweiler", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --shell: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(11, 11, 13, 0.06);
  --shadow-md: 0 18px 40px -18px rgba(11, 11, 13, 0.28);
  --shadow-lg: 0 40px 80px -32px rgba(11, 11, 13, 0.45);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* ---------------------------------------------------------------- reset -- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

img { height: auto; }

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

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; padding: 0; }

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

/* ----------------------------------------------------------- typography -- */
.display,
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.75rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.75rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.muted { color: var(--text-muted); }

.on-dark { color: var(--text-invert); }
.on-dark .lede,
.on-dark .muted { color: var(--text-invert-muted); }
.on-dark .eyebrow { color: var(--red-bright); }

/* --------------------------------------------------------------- layout -- */
.shell {
  width: min(100% - var(--gutter) * 2, var(--shell));
  margin-inline: auto;
}

.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--dark { background: var(--ink); color: var(--text-invert); }
.section--sand { background: var(--sand); }

.section-head {
  display: grid;
  gap: 1.25rem;
  max-width: 62ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}

@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; }
}

.stack { display: grid; gap: 1.5rem; }
.stack--sm { gap: 0.75rem; }

/* --------------------------------------------------------------- header -- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: #fff;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}

.header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 11, 13, 0.75), rgba(11, 11, 13, 0));
  transition: opacity 0.35s var(--ease);
}

.header.is-stuck {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  color: var(--text);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}

.header.is-stuck::after { opacity: 0; }

.header__inner {
  width: min(100% - var(--gutter) * 2, var(--shell));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* The supplied artwork is a single-colour wordmark, so both colourways ship as
   separate SVGs and the header swaps them as its background flips from the dark
   hero to the white stuck bar. */
.wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.wordmark__img {
  display: block;
  height: 26px;
  width: auto;
}

.wordmark__img--dark { display: none; }

.header.is-stuck .wordmark__img--light { display: none; }
.header.is-stuck .wordmark__img--dark { display: block; }

.footer .wordmark__img { height: 30px; }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.25rem);
}

.nav__link {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-block: 0.5rem;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  position: relative;
}

.nav__toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }

.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-bright); }

.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: currentColor; }
.btn--ghost:hover { color: var(--ink); }
.on-dark .btn--ghost:hover,
.section--dark .btn--ghost:hover { color: var(--ink); background: #fff; border-color: #fff; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-soft); }

.btn__arrow { width: 16px; height: 16px; fill: currentColor; transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.textlink svg { width: 15px; height: 15px; fill: currentColor; transition: transform 0.25s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.875rem; }

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}

.hero__glow--a {
  width: 46vw;
  aspect-ratio: 1;
  right: -6vw;
  top: 6%;
  background: radial-gradient(circle, var(--red) 0%, rgba(228, 34, 42, 0) 68%);
  animation: pulse 7s var(--ease) infinite alternate;
}

.hero__glow--b {
  width: 34vw;
  aspect-ratio: 1;
  left: -10vw;
  bottom: -12%;
  background: radial-gradient(circle, #6b0f14 0%, rgba(107, 15, 20, 0) 70%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

.hero__title { text-wrap: balance; }
.hero__title em { font-style: normal; color: var(--red-bright); }

.hero__copy { max-width: 46ch; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-invert);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.chip--light { border-color: var(--line); color: var(--text-muted); }

.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}

.hero__ring {
  position: absolute;
  width: min(78%, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.hero__ring--outer {
  width: min(96%, 520px);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.1);
  animation: spin 46s linear infinite;
}

.hero__can {
  position: relative;
  width: auto;
  height: clamp(340px, 48vw, 620px);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6))
          drop-shadow(0 0 70px rgba(228, 34, 42, 0.35));
  animation: float 6s ease-in-out infinite;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero__scroll i {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent);
}

/* page hero (inner pages) */
.pagehead {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.pagehead::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 48vw;
  aspect-ratio: 1;
  right: -10vw;
  top: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 34, 42, 0.55) 0%, rgba(228, 34, 42, 0) 68%);
  filter: blur(70px);
}

.pagehead__inner { display: grid; gap: 1.25rem; max-width: 60ch; }

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a:hover { color: #fff; }

/* -------------------------------------------------------------- marquee -- */
.marquee {
  background: var(--red);
  color: #fff;
  padding-block: 0.9rem;
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  gap: 3rem;
  padding-right: 3rem;
  animation: slide 32s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}

.marquee__track span::after {
  content: "";
  width: 7px;
  height: 7px;
  background: #fff;
  transform: rotate(45deg);
}

/* ---------------------------------------------------------------- cards -- */
.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.75rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
/* Six range cards land as two clean rows of three on a desktop shell. */
.grid--ranges { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

/* range card — one per product family */
.range {
  position: relative;
  display: grid;
  align-content: end;
  gap: 0.75rem;
  min-height: 400px;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--accent, var(--ink));
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

/* The scrim sits between the product shot and the copy so the text stays
   readable over bright packaging. */
.range::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 38%, rgba(0, 0, 0, 0.78) 82%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.3));
}

.range:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Ranges that have not launched: greyed and inert, still shown so the client
   can see the full portfolio. */
.range--soon { cursor: default; filter: grayscale(1); }
.range--soon:hover { transform: none; box-shadow: none; }
.range--soon .range__media { opacity: 0.5; }
.range--soon:hover .range__media img { transform: none; }

.range__soon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* The shot is positioned rather than sized in flow: a percentage max-height
   will not resolve against an auto grid row, which lets the image overrun the
   card. Insets give the image box a definite size, and object-fit does the
   scaling. Same pattern is used for the product tiles below. */
.range__media {
  position: absolute;
  inset: 9% 10% 38%;
  z-index: -2;
}

.range__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.45));
  transition: transform 0.5s var(--ease);
}

.range:hover .range__media img { transform: translateY(-8px) scale(1.04); }

/* Ranges without a transparent cut-out use their line-up photograph full
   bleed instead, with a heavier scrim so the copy still reads. */
.range--photo .range__media { inset: 0; }
.range--photo .range__media img { object-fit: cover; filter: none; }
.range--photo::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.15) 35%, rgba(0, 0, 0, 0.88) 85%);
}
.range--photo:hover .range__media img { transform: scale(1.05); }

.range__count {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}

.range__title { font-family: var(--font-display); font-size: 1.75rem; text-transform: uppercase; line-height: 1; }
.range__text { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.82); }

/* generic content card */
.card {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.section--dark .card {
  background: var(--ink-soft);
  border-color: var(--ink-line);
}

.card__num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--red);
  line-height: 1;
}

.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(228, 34, 42, 0.1);
  color: var(--red);
}

.card__icon svg { width: 22px; height: 22px; fill: currentColor; }

.card h3 { font-size: 1.1875rem; }
.card p { font-size: 0.9375rem; color: var(--text-muted); }
.section--dark .card p { color: var(--text-invert-muted); }

/* ------------------------------------------------------------- products -- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.filter {
  padding: 0.6rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}

.filter:hover { border-color: var(--ink); color: var(--ink); }

.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.filter__count { opacity: 0.55; margin-left: 0.4rem; }

.product {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  width: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

/* Ranges that are not on sale yet: desaturated and inert, but still legible
   enough to show the client what is coming. */
.product--soon {
  cursor: default;
  background: var(--sand);
}

.product--soon:hover { transform: none; box-shadow: none; border-color: var(--line); }
.product--soon .product__media { filter: grayscale(1); opacity: 0.55; }
.product--soon .product__media img { transform: none; }
.product--soon .product__range { color: var(--text-muted); }
.product--soon .product__name,
.product--soon .product__size { opacity: 0.6; }

.product__media {
  position: relative;
  aspect-ratio: 62 / 100;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tint, var(--sand));
}

/* An absolutely positioned replaced element falls back to its intrinsic size
   when width/height are auto, so both are always stated explicitly here and
   object-fit does the scaling inside that box. */
.product__media img {
  position: absolute;
  transition: transform 0.45s var(--ease);
}

.product:hover .product__media img { transform: scale(1.06); }

/* Photographic crops are cut to the tile aspect, so they fill it edge to edge.
   Cut-outs float inside with room to breathe; the whitened fruit plates sit on
   a white tile, so they need neither a drop shadow nor a tint. */
.product--photo .product__media img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product--cutout .product__media img {
  inset: 8% 14%;
  width: 72%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.18));
}

.product--plate .product__media { background: #fff; }
.product--plate .product__media img {
  inset: 4%;
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.product__body { display: grid; gap: 0.35rem; align-content: start; }

.product__range {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent, var(--red));
}

.product__name {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  text-transform: uppercase;
  line-height: 1.05;
}

.product__size { font-size: 0.8125rem; color: var(--text-muted); }

.product__badge {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  z-index: 2;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product__badge--soon {
  background: #fff;
  color: var(--text-muted);
  border: 1px solid var(--line);
}

.product[hidden] { display: none; }

.empty {
  padding: 4rem 1rem;
  text-align: center;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------- split -- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--reverse .split__media { order: 2; }
}

.split--top { align-items: start; }

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.split__media img { width: 100%; object-fit: cover; }

.split__media--plain { border-radius: 0; overflow: visible; display: grid; place-items: center; }
.split__media--plain img { width: auto; max-height: 520px; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.35)); }

.split__body { display: grid; gap: 1.5rem; }

/* flavour pills used beside a range */
.flavours { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.flavour {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.section--dark .flavour { border-color: var(--ink-line); }

.flavour::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot, var(--red));
}

/* ---------------------------------------------------------------- stats -- */
.stats {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}

.stat { display: grid; gap: 0.35rem; }

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
  color: var(--red);
}

.stat__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.on-dark .stat__label,
.section--dark .stat__label { color: var(--text-invert-muted); }

/* ------------------------------------------------------------ nutrition -- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.section--dark .table-wrap { border-color: var(--ink-line); }

table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }

caption {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--sand);
}

.section--dark caption { background: var(--ink-soft); }

th, td { padding: 0.8rem 1.25rem; text-align: left; border-top: 1px solid var(--line); }
.section--dark th,
.section--dark td { border-color: var(--ink-line); }

thead th {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section--dark thead th { color: var(--text-invert-muted); }

tbody th { font-weight: 600; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }

.advisory {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--red);
  background: rgba(228, 34, 42, 0.06);
  border-radius: 0 12px 12px 0;
  font-size: 0.875rem;
}

.section--dark .advisory { background: rgba(228, 34, 42, 0.12); }

.advisory strong { font-weight: 800; }

/* ---------------------------------------------------------------- forms -- */
.form { display: grid; gap: 1.25rem; }

.field { display: grid; gap: 0.45rem; }

.field label {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(228, 34, 42, 0.12);
}

.field-row { display: grid; gap: 1.25rem; }

@media (min-width: 640px) {
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.form__note { font-size: 0.8125rem; color: var(--text-muted); }

.contact-panel {
  display: grid;
  gap: 2rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--sand);
}

.info-list { display: grid; gap: 1.5rem; }
.info-list dt {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.info-list dd { margin: 0; font-size: 0.9375rem; line-height: 1.6; }
.info-list a:hover { color: var(--red); }

/* --------------------------------------------------------------- footer -- */
.footer {
  background: var(--ink);
  color: var(--text-invert);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--ink-line);
}

.footer__brand { display: grid; gap: 1rem; max-width: 34ch; }
.footer__brand p { font-size: 0.875rem; color: var(--text-invert-muted); }

.footer h4 {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}

.footer li + li { margin-top: 0.6rem; }
.footer li a { font-size: 0.9375rem; color: var(--text-invert-muted); transition: color 0.2s var(--ease); }
.footer li a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------------------------------------------------------------- modal -- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal__panel {
  position: relative;
  width: min(100%, 860px);
  max-height: min(88svh, 720px);
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.modal.is-open .modal__panel { transform: none; }

.modal__grid { display: grid; }

@media (min-width: 720px) {
  .modal__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}

.modal__media {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 2rem;
  background: var(--tint, var(--sand));
}

.modal__media img { max-height: 340px; width: auto; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.22)); }
.modal__media--photo { padding: 0; }
.modal__media--photo img { max-height: none; height: 100%; width: 100%; min-height: 320px; object-fit: cover; filter: none; }
.modal__media--plate { background: #fff; padding: 1rem; }
.modal__media--plate img { filter: none; }

.modal__body { display: grid; gap: 1rem; align-content: start; padding: clamp(1.75rem, 3vw, 2.5rem); }
.modal__body h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.modal__body p { font-size: 0.9375rem; color: var(--text-muted); }

.modal__specs { display: grid; gap: 0.75rem; margin-top: 0.25rem; }
.modal__spec { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
.modal__spec dt { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.6875rem; color: var(--text-muted); }
.modal__spec dd { margin: 0; text-align: right; }

.modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease);
}

.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 16px; height: 16px; fill: var(--ink); }

/* --------------------------------------------------------------- motion -- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes pulse {
  from { opacity: 0.4; transform: scale(0.94); }
  to { opacity: 0.7; transform: scale(1.06); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes slide {
  to { transform: translateX(-50%); }
}

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

/* ----------------------------------------------------------- responsive -- */
@media (max-width: 860px) {
  .nav__toggle { display: block; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s var(--ease);
  }

  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav__link { padding-block: 0.9rem; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
  .nav__link::after { display: none; }
  .nav .btn { margin-top: 1.25rem; }
}

@media (max-width: 640px) {
  .modal__spec { display: grid; gap: 0.2rem; }
  .modal__spec dd { text-align: left; }

  .hero { min-height: auto; }
  .hero__stage { min-height: 300px; }
  .range { min-height: 340px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
