/* ═══════════════════════════════════════════════════════════
   Dried Delight
   Layout: a pinned hero the range slides up over, the freeze-drying steps
   on a centre line, the stores with a map that loads on request, and one
   closing banner.
   Colours are taken from the pouch (orange ground, cream band, pineapple
   yellow, leaf green) and from the night-dark photo behind it. Light and
   dark follow the visitor's system setting.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Pouch colours (fixed in both appearances: they are the product) */
  --orange: #f99c1c;        /* ananas pouch ground */
  --orange-deep: #eb7423;   /* mango lettering */
  --sun: #f9ec00;           /* pineapple yellow */
  --lime: #9cbc3b;          /* mango pouch ground */
  --peach: #f7b39b;         /* persika, until its pouch exists */
  --cream: #fff3cb;         /* the band at the top of every pouch */
  --pine: #0c0e09;          /* the dark behind the hero photo */
  --pine-2: #171b11;
  --on-dark: #fffaf0;
  --on-colour: #1d2412;     /* text on orange, lime, sun and peach: 7:1 or better */

  /* Page (light). Contrast on --paper: ink 14.6:1, ink-2 7.6:1, ink-3 5.2:1, accent 5.5:1 */
  --paper: #fff8e1;
  --surface: #fffdf6;
  --surface-2: #fbeec6;
  --ink: #1d2412;
  --ink-2: #4d5340;
  --ink-3: #666b57;
  --accent: #a8480a;
  --line: rgba(29, 36, 18, 0.13);
  --shadow: 46, 32, 6;

  --font: "Nunito", ui-rounded, "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* One radius scale: frames 28, tiles and pictures 20, small parts 14; controls are pills */
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --gutter: clamp(16px, 3.2vw, 44px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  /* Contrast on --paper: ink 16.2:1, ink-2 10.4:1, ink-3 6.5:1, accent 10.1:1 */
  :root {
    --paper: #10130c;
    --surface: #171b11;
    --surface-2: #1f2517;
    --ink: #f6f0dc;
    --ink-2: #c6c4ae;
    --ink-3: #9c9c88;
    --accent: #ffb347;
    --line: rgba(246, 240, 220, 0.14);
    --shadow: 0, 0, 0;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; }

/* Keyboard focus is always visible, on light and dark ground alike */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.hero :focus-visible, .closing :focus-visible, .contact :focus-visible, .map__stage :focus-visible { outline-color: var(--on-dark); }
.product :focus-visible, .tile :focus-visible { outline-color: var(--on-colour); }
.skip {
  position: fixed; z-index: 100; left: 16px; top: 16px; padding: 12px 18px; border-radius: 999px;
  background: var(--surface); color: var(--ink); font-weight: 700; transform: translateY(-200%);
}
.skip:focus-visible { transform: none; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ─────────── Type ─────────── */
.h2 {
  font-weight: 900; text-wrap: balance;
  font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -0.035em;
}
.h2--xl { font-size: clamp(2.7rem, 6.2vw, 5.6rem); line-height: 0.98; letter-spacing: -0.04em; }
.h3 { font-weight: 800; font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.15; letter-spacing: -0.02em; }
.lede { font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.55; color: var(--ink-2); max-width: 36rem; }
.lede a, .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ─────────── Buttons ─────────── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 800; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--light { background: var(--on-dark); color: var(--on-colour); }
.btn--light:hover { background: var(--cream); }
.btn--ink { background: var(--on-colour); color: var(--on-dark); }
.btn--ink:hover { background: #33401f; }
.btn--arrow { padding-right: 6px; }
.btn--lg { min-height: 64px; padding: 0 32px; font-size: 17px; gap: 14px; }
.btn--lg.btn--arrow { padding-right: 7px; }
.btn--lg .btn__icon { width: 50px; height: 50px; }
.btn--lg .btn__icon svg { width: 16px; height: 16px; }
/* Frosted pill over the hero photo */
.btn--glass {
  color: var(--on-dark); background: rgba(255,250,240,.14); border: 1px solid rgba(255,250,240,.5);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
.btn--glass:hover { background: rgba(255,250,240,.26); border-color: var(--on-dark); }
@media (prefers-reduced-transparency: reduce) {
  .btn--glass { background: rgba(12,14,9,.85); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.btn__icon {
  width: 40px; height: 40px; border-radius: 999px; background: var(--orange);
  display: grid; place-items: center; overflow: hidden;
}
.btn__icon svg { width: 14px; height: 14px; fill: none; stroke: var(--on-colour); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .45s var(--ease); }
.btn--arrow:hover .btn__icon svg { transform: translateY(2px); }
.btn--arrow:hover .btn__icon--up svg { transform: translateY(-2px); }

.textbtn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px;
  font-size: 16px; font-weight: 700; color: inherit;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px;
  text-decoration-color: color-mix(in srgb, currentColor 30%, transparent);
}
.textbtn:hover { text-decoration-color: currentColor; }

/* ─────────── Brand ─────────── */
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__mark img { width: 100%; height: 100%; }
.brand__name { font-weight: 900; font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; }

/* ═══════════════════════ NAV ═══════════════════════ */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) calc(var(--gutter) + 12px) 18px;
  color: var(--on-dark);
  transition: transform .6s var(--ease), background-color .4s var(--ease), color .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.nav__links { display: flex; gap: 4px; font-size: 16px; font-weight: 700; }
.nav__links a { padding: 10px 14px; border-radius: 999px; transition: background-color .3s; }
.nav__links a:hover { background: rgba(255,250,240,.14); }
.nav__end { display: flex; align-items: center; gap: 8px; }
.nav.is-solid, .nav--static {
  padding-top: calc(10px + env(safe-area-inset-top, 0px)); padding-bottom: 10px;
  background: color-mix(in srgb, var(--paper) 84%, transparent); color: var(--ink);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
@media (prefers-reduced-transparency: reduce) { .nav.is-solid, .nav--static { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.nav.is-solid .nav__links a:hover, .nav--static .nav__links a:hover { background: var(--surface-2); }
.nav.is-solid .btn--light, .nav--static .btn--light { background: var(--ink); color: var(--paper); }
.nav.is-solid .btn--light:hover, .nav--static .btn--light:hover { background: var(--accent); color: var(--paper); }
.nav.is-hidden { transform: translateY(-110%); }
.nav--static { position: sticky; }

/* The menu button and its sheet exist only on narrow screens */
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 999px; flex-direction: column; align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease); }
.nav__toggle span + span { margin-top: 6px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu {
  position: fixed; z-index: 45; inset: 0; display: grid; align-content: center; gap: 6px;
  padding: 96px calc(var(--gutter) + 12px) 40px; background: var(--pine); color: var(--on-dark);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.menu a { font-weight: 900; font-size: clamp(2rem, 9vw, 3rem); line-height: 1.25; letter-spacing: -0.03em;
  opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu.is-open a { opacity: 1; transform: none; }
.menu.is-open a:nth-child(2) { transition-delay: .05s; }
.menu.is-open a:nth-child(3) { transition-delay: .1s; }
.menu.is-open a:nth-child(4) { transition-delay: .15s; }
.menu.is-open a:nth-child(5) { transition-delay: .2s; }
.menu.is-open a:nth-child(6) { transition-delay: .25s; }
.menu .menu__cta { justify-self: start; margin-top: 22px; font-size: 17px; font-weight: 800; letter-spacing: 0; line-height: 1; }
.has-menu .nav { color: var(--on-dark); background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.has-menu .nav .btn--light { background: var(--on-dark); color: var(--on-colour); }

/* ═══════════════════════ HERO ═══════════════════════ */
.stack { position: relative; }
.hero { position: sticky; top: 0; height: 100svh; min-height: 620px; padding: 12px; z-index: 0; }
.hero__frame {
  position: relative; height: 100%; overflow: hidden; border-radius: var(--radius-lg);
  color: var(--on-dark); background: var(--pine);
  transform-origin: 50% 0%; will-change: transform;
  clip-path: inset(0 round var(--radius-lg));
  transition: clip-path 1.4s var(--ease);
}
/* The photo is upright, so on a wide screen it stands to the right and its
   edges dissolve into the same dark it was shot against. */
.hero__media {
  position: absolute; top: 6%; right: clamp(0px, 5vw, 110px); height: 108%; aspect-ratio: 1179 / 1437;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 84%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 84%, transparent 100%);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12,14,9,.7) 0%, rgba(12,14,9,0) 30%, rgba(12,14,9,0) 60%, rgba(12,14,9,.82) 100%),
    linear-gradient(90deg, rgba(12,14,9,.55) 0%, rgba(12,14,9,0) 55%);
}
/* The signature: the name as it is drawn on the pouch, set across the frame */
.hero__wordmark {
  position: absolute; left: 0; right: 0; top: clamp(76px, 10vh, 118px);
  display: flex; justify-content: center; pointer-events: none; will-change: transform;
}
.hero__wordmark svg { width: min(86%, 150svh); height: auto; overflow: visible; }
.hero__wordmark path { transform-box: fill-box; transform: translateY(110%); opacity: 0; }
.hero__bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(20px, 3vw, 40px) clamp(24px, 4vh, 40px); }
.hero__title { font-weight: 900; font-size: clamp(2.5rem, 5.4vw, 5rem); line-height: 0.98; letter-spacing: -0.04em; }
.hero__sub { margin-top: 16px; max-width: 29rem; font-size: clamp(1.02rem, 1.25vw, 1.18rem); line-height: 1.5; color: rgba(255,250,240,.9); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* intro (JS adds .is-ready to <html>) */
[data-intro] { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.is-ready [data-intro] { opacity: 1; transform: none; }
.is-ready .hero__lead { transition-delay: .7s; }
.is-ready .hero__wordmark path { transform: none; opacity: 1; transition: transform 1.2s var(--ease), opacity .9s var(--ease); }
.is-ready .hero__wordmark path:nth-child(1) { transition-delay: .10s; }
.is-ready .hero__wordmark path:nth-child(2) { transition-delay: .15s; }
.is-ready .hero__wordmark path:nth-child(3) { transition-delay: .20s; }
.is-ready .hero__wordmark path:nth-child(4) { transition-delay: .25s; }
.is-ready .hero__wordmark path:nth-child(5) { transition-delay: .30s; }
.is-ready .hero__wordmark path:nth-child(6) { transition-delay: .38s; }
.is-ready .hero__wordmark path:nth-child(7) { transition-delay: .43s; }
.is-ready .hero__wordmark path:nth-child(8) { transition-delay: .48s; }
.is-ready .hero__wordmark path:nth-child(9) { transition-delay: .53s; }
.is-ready .hero__wordmark path:nth-child(10) { transition-delay: .58s; }
.is-ready .hero__wordmark path:nth-child(11) { transition-delay: .63s; }
.is-ready .hero__wordmark path:nth-child(12) { transition-delay: .68s; }
html:not(.is-ready) .hero__frame { clip-path: inset(6% 4% 6% 4% round var(--radius-lg)); }

/* ═══════════════════════ THE RANGE (slides over the hero) ═══════════════════════ */
.sheet {
  position: relative; z-index: 2; background: var(--paper);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -30px 60px -30px rgba(var(--shadow), .45);
}
.range { padding: clamp(80px, 10vw, 140px) 0 clamp(70px, 9vw, 120px); }
.range__head { display: grid; gap: 20px; margin-bottom: clamp(32px, 4vw, 52px); }

.range__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.product {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg);
  color: var(--on-colour); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
}
.product--ananas { background: var(--orange); min-height: clamp(520px, 46vw, 640px); }
/* The second pouch stands under its text and runs off the bottom of the card */
.product--mango { background: var(--lime); grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(240px, 1fr); }
.product__text { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.product__name { font-weight: 900; letter-spacing: -0.035em; line-height: 1; font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.product--ananas .product__name { font-size: clamp(2.4rem, 4.4vw, 4rem); }
.product__desc { font-size: 17px; line-height: 1.5; max-width: 24rem; }
.product--ananas .product__desc { font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.product__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.product__facts li { padding: 6px 14px; border-radius: 999px; font-size: 15px; font-weight: 700; background: rgba(29,36,18,.1); }
.product__buy { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.product__art { position: relative; min-height: 220px; }
/* A flat print of the pouch front, given a pouch's corners, tilt and weight */
.pouch {
  position: absolute; width: 86%; left: 4%; top: 12%; height: auto;
  border-radius: 14px 14px 22px 22px; transform: rotate(5deg);
  box-shadow: 0 2px 0 rgba(255,255,255,.35) inset, 0 40px 60px -28px rgba(var(--shadow), .7), 0 12px 24px -12px rgba(var(--shadow), .5);
  transition: transform 1s var(--ease);
}
.product:hover .pouch { transform: rotate(2deg) translateY(-6px); }
.product--ananas .pouch { width: 92%; left: -2%; top: 9%; }
.product--mango .pouch { width: 58%; left: 21%; top: 2%; transform: rotate(-6deg); }
.product--mango:hover .pouch { transform: rotate(-3deg) translateY(-6px); }
/* What is in the pouch: a small photo that opens full size */
.product__inset {
  position: absolute; z-index: 2; left: -14%; bottom: 7%; width: 46%; padding: 0; text-align: left;
  border-radius: var(--radius-md); overflow: hidden; background: var(--surface); color: var(--ink);
  border: 5px solid var(--surface); box-shadow: 0 24px 50px -20px rgba(var(--shadow), .6);
  transform: rotate(-4deg); cursor: zoom-in; transition: transform .8s var(--ease);
}
.product__inset:hover, .product__inset:focus-visible { transform: rotate(-1deg) scale(1.03); }
.product__inset img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.product__inset span { display: block; padding: 8px 8px 6px; font-size: 14px; font-weight: 800; line-height: 1.2; }

/* The whole range: one tile per flavour, in the fruit's own colour */
.flavours { margin-top: clamp(40px, 5vw, 72px); }
.flavours__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 20px; }
.flavours__head p { color: var(--ink-2); font-size: 16px; }
.flavours__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.flavour {
  height: 100%; min-height: clamp(104px, 9.5vw, 136px); padding: clamp(16px, 1.8vw, 24px); border-radius: var(--radius-md);
  background: var(--c); color: var(--on-colour); display: flex; flex-direction: column; gap: 2px;
  transition: transform .5s var(--ease);
}
a.flavour:hover { transform: translateY(-4px); }
a.flavour:focus-visible { outline-color: var(--ink); }
.flavour__name { font-weight: 900; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.05; letter-spacing: -0.03em; }
.flavour__more { margin-top: auto; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(29,36,18,.35); }
.flavours__note { margin-top: 16px; font-size: 15px; color: var(--ink-3); max-width: 44rem; }

/* How to eat it: four plain uses under the range */
.uses { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: 24px clamp(28px, 5vw, 72px); align-items: start; }
.uses__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.uses__list li { padding: 18px 0 20px; border-top: 1px solid var(--line); }
.uses__list h4 { margin: 0 0 4px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.uses__list p { color: var(--ink-2); font-size: 16px; line-height: 1.5; }

/* ═══════════════════════ FREEZE-DRYING ═══════════════════════ */
.how { position: relative; z-index: 2; background: var(--surface); padding: clamp(100px, 12vw, 170px) 0 clamp(90px, 11vw, 150px); }
.how__head { display: grid; gap: 22px; margin-bottom: clamp(56px, 8vw, 110px); }
.chapters { position: relative; }
.chapters__rail { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--line); }
.chapters__fill { position: absolute; inset: 0; background: var(--orange); transform: scaleY(var(--p, 0)); transform-origin: top; }
.chapters__list { display: grid; gap: clamp(80px, 10vw, 140px); }
.chapter { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; }
.chapter__media { grid-column: 1; grid-row: 1; position: relative; }
.chapter__num  { grid-column: 2; grid-row: 1; justify-self: center; }
.chapter__text { grid-column: 3; grid-row: 1; max-width: 30rem; }
.chapter--flip .chapter__media { grid-column: 3; }
.chapter--flip .chapter__text { grid-column: 1; justify-self: end; }
.chapter__img {
  aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  clip-path: inset(10% 8% 10% 8% round var(--radius-lg));
  transition: clip-path 1.2s var(--ease);
}
.chapter.is-in .chapter__img { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
/* Each step is shown by its one hard fact; the last by the fruit itself */
.tile { position: relative; display: grid; align-content: end; padding: clamp(22px, 3vw, 40px); color: var(--on-colour); }
.tile--sun { background: var(--sun); }
.tile--pine { background: radial-gradient(120% 90% at 75% 15%, #2d3b3f 0%, #162024 55%, #0d1416 100%); color: #eaf6f8; }
.tile--lime { background: var(--lime); }
.tile--photo { padding: 0; background: var(--surface-2); }
.tile--photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.chapter.is-in .tile--photo img { transform: scale(1); }
.tile__fig { font-weight: 900; font-size: clamp(5rem, 12.5vw, 11.5rem); line-height: 0.8; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile__fig small { font-size: 0.42em; letter-spacing: -0.03em; margin-left: 0.08em; }
.tile__cap { margin-top: 18px; font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 800; line-height: 1.25; max-width: 16rem; }
.chapter__num {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums;
  background: var(--surface); color: var(--ink-3); border: 2px solid var(--line);
  transition: background .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease), transform .6s var(--ease);
}
.chapter.is-active .chapter__num { background: var(--orange); color: var(--on-colour); border-color: var(--orange); transform: scale(1.08); }
.chapter__text > * { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.chapter.is-in .chapter__text > * { opacity: 1; transform: none; }
.chapter.is-in .chapter__text > :nth-child(2) { transition-delay: .1s; }
.chapter.is-in .chapter__text > :nth-child(3) { transition-delay: .2s; }
.chapter__title { font-weight: 900; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.03; letter-spacing: -0.035em; text-wrap: balance; }
.chapter__body { margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.chapter__out {
  margin-top: 28px; display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius-sm); background: var(--paper);
  font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.4;
}
.chapter__check { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
.chapter__check svg { width: 16px; height: 16px; fill: none; stroke: var(--on-colour); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Freeze-dried next to ordinary dried fruit */
.versus {
  margin-top: clamp(90px, 11vw, 150px); background: var(--paper); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 28px clamp(28px, 5vw, 72px); align-items: center;
}
.versus__text { display: grid; gap: 16px; justify-items: start; }
.versus__text p { color: var(--ink-2); max-width: 30rem; }
.versus__table { width: 100%; font-size: 16px; font-variant-numeric: tabular-nums; }
.versus__table th, .versus__table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.versus__table thead th { font-size: 15px; font-weight: 800; color: var(--ink-3); border-bottom: 2px solid var(--ink); }
.versus__table thead th:nth-child(2) { color: var(--ink); }
.versus__table tbody th { font-weight: 600; color: var(--ink-2); padding-left: 0; }
.versus__table tbody td:nth-child(2) { font-weight: 900; font-size: 19px; color: var(--ink); }
.versus__table tbody td:nth-child(3) { color: var(--ink-3); }
.versus__table tbody tr:last-child th, .versus__table tbody tr:last-child td { border-bottom: 0; }

/* ═══════════════════════ ABOUT ═══════════════════════ */
.about { position: relative; z-index: 2; background: var(--paper); padding: clamp(90px, 11vw, 150px) 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px clamp(28px, 6vw, 96px); align-items: end; }
.about__body { display: grid; gap: 16px; color: var(--ink-2); font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.55; }
.values { margin-top: clamp(48px, 6vw, 84px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.values li { padding: 20px 0 26px; border-top: 2px solid var(--ink); }
.values h3 { font-size: 20px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 6px; }
.values p { color: var(--ink-2); font-size: 16px; line-height: 1.5; }

/* ═══════════════════════ STORES ═══════════════════════ */
.stores { position: relative; z-index: 2; background: var(--surface); padding: clamp(90px, 11vw, 150px) 0; }
.stores__head { display: grid; gap: 20px; margin-bottom: clamp(32px, 4vw, 52px); }
.stores__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 24px clamp(24px, 4vw, 56px); align-items: start; }
.store { border-top: 1px solid var(--line); }
.store:last-child { border-bottom: 1px solid var(--line); }
.store__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding-right: 10px; border-radius: var(--radius-sm); transition: background-color .3s var(--ease); }
.store__row:hover { background: var(--paper); }
.store__pick { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 16px; padding: 14px 4px 14px 6px; text-align: left; border-radius: var(--radius-sm); }
.store.is-active .store__row { background: var(--surface-2); }
.store__num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; background: var(--paper); color: var(--ink-2); transition: background-color .3s var(--ease), color .3s var(--ease); }
.store.is-active .store__num, .store__pick:hover .store__num { background: var(--orange); color: var(--on-colour); }
.store__name { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.store__addr { display: block; font-size: 15px; color: var(--ink-3); line-height: 1.4; }
.store__go { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--ink-2); white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.store__go:hover { color: var(--ink); text-decoration-color: currentColor; }
.store__go { gap: 6px; }
.store__go svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stores__note { margin-top: 18px; font-size: 15px; color: var(--ink-3); }

.map { display: grid; gap: 12px; position: sticky; top: 88px; }
.map__stage {
  position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 3; width: 100%;
  border-radius: var(--radius-lg); color: var(--on-dark);
  background:
    radial-gradient(rgba(255,250,240,.13) 1.2px, transparent 1.6px) 0 0 / 26px 26px,
    radial-gradient(90% 80% at 50% 45%, #2a321e 0%, var(--pine-2) 55%, var(--pine) 100%);
  box-shadow: 0 40px 80px -40px rgba(var(--shadow), .55), inset 0 0 0 1px var(--line);
}
/* Until the real map is asked for: the seven shops, placed by their coordinates */
.map__pins { position: absolute; inset: 0; transition: opacity .6s var(--ease); }
.pin {
  position: absolute; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums;
  background: var(--orange); color: var(--on-colour); border: 2px solid var(--on-dark);
  box-shadow: 0 6px 16px rgba(0,0,0,.4); transition: transform .5s var(--ease), background-color .3s var(--ease);
}
.pin.is-active { transform: scale(1.35); background: var(--sun); z-index: 2; }
.map__start { position: absolute; left: 0; right: 0; bottom: 0; display: grid; justify-items: center; gap: 10px; padding: 20px 20px 24px; text-align: center;
  background: linear-gradient(180deg, rgba(12,14,9,0), rgba(12,14,9,.75)); transition: opacity .6s var(--ease); }
.map__note { font-size: 14px; color: rgba(255,250,240,.82); max-width: 26rem; }
.map__canvas { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); color: #1d2412; }
.map.is-live .map__canvas { opacity: 1; }
.map.is-live .map__start, .map.is-live .map__pins { opacity: 0; pointer-events: none; }
.map.is-loading .map__start .btn { opacity: .6; pointer-events: none; }
.map__hint { font-size: 15px; color: var(--ink-2); }
.leaflet-container { font: inherit; }
.leaflet-pin { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 900; background: #f99c1c; color: #1d2412; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.35); }

/* ═══════════════════════ FOR SHOPS ═══════════════════════ */
.offer { position: relative; z-index: 2; background: var(--paper); padding: clamp(90px, 11vw, 150px) 0; }
.offer__head { display: grid; gap: 20px; max-width: 54rem; margin-bottom: clamp(36px, 5vw, 64px); }
.offer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; align-items: stretch; }
.tier { background: var(--surface); border-radius: var(--radius-md); padding: clamp(24px, 3vw, 40px); display: grid; gap: 12px; align-content: start; }
.tier__list { margin-top: 6px; display: grid; gap: 12px; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.tier__list li { padding-left: 24px; position: relative; }
.tier__list li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 12px; height: 3px; border-radius: 2px; background: var(--orange); }
.tier__foot { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.proof { margin: 0; background: #fff; border-radius: var(--radius-md); overflow: hidden; display: grid; grid-template-rows: 1fr auto; }
.proof img { width: 100%; height: 100%; object-fit: contain; min-height: 260px; }
.proof figcaption { padding: 14px clamp(18px, 2.4vw, 28px) 18px; background: var(--surface); color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.proof figcaption strong { color: var(--ink); font-weight: 800; }

.contact { margin-top: 16px; background: var(--pine); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(24px, 3.6vw, 52px); box-shadow: inset 0 0 0 1px var(--line);
           display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px clamp(28px, 5vw, 72px); align-items: start; }
.contact__text { display: grid; gap: 14px; }
.contact__text > p { color: #cfd0bd; font-size: 17px; line-height: 1.55; max-width: 28rem; }
.contact__ways { margin-top: 8px; display: grid; }
.contact__ways a { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(255,250,240,.16); font-weight: 700; }
.contact__ways a:last-child { border-bottom: 1px solid rgba(255,250,240,.16); }
.contact__ways span { color: #a9ab97; font-weight: 600; }
.contact__ways a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.contact__ways b { font-weight: 800; }
.form__trap { position: absolute; left: -9999px; }
.form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.form__fields label { display: block; font-size: 15px; font-weight: 700; color: #cfd0bd; }
.form__fields input, .form__fields select, .form__fields textarea {
  display: block; width: 100%; margin-top: 6px; min-height: 50px; padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,250,240,.24); background: rgba(255,250,240,.07); color: var(--on-dark); font: inherit; font-size: 16px;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.form__fields input:hover, .form__fields select:hover, .form__fields textarea:hover { border-color: rgba(255,250,240,.45); }
.form__fields select option { color: #1d2412; }
.form__fields textarea { resize: vertical; line-height: 1.5; min-height: 120px; }
.form__fields input:focus-visible, .form__fields select:focus-visible, .form__fields textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.form__wide { grid-column: 1 / -1; }
.form__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; }
.form__legal { font-size: 14px; color: #a9ab97; max-width: 24rem; }
.form__status { margin-top: 14px; font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--on-dark); }
.form__status:empty { display: none; }
.form__status a { text-decoration: underline; text-underline-offset: 3px; }
.is-sent .form__fields, .is-sent .form__row { display: none; }

/* ═══════════════════════ QUESTIONS ═══════════════════════ */
.faq { position: relative; z-index: 2; background: var(--surface); padding: clamp(90px, 11vw, 150px) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 28px clamp(28px, 6vw, 96px); align-items: start; }
.faq__head { display: grid; gap: 18px; position: sticky; top: 100px; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 4px; font-size: clamp(1.08rem, 1.5vw, 1.3rem); font-weight: 800; letter-spacing: -0.015em; line-height: 1.3;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--paper);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat;
  transition: transform .5s var(--ease), background-color .3s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: var(--orange); background-image: linear-gradient(var(--on-colour), var(--on-colour)), linear-gradient(var(--on-colour), var(--on-colour)); }
.faq__list summary:hover::after { background-color: var(--surface-2); }
.faq__list details[open] summary:hover::after { background-color: var(--orange); }
.faq__list details p { padding: 0 60px 24px 4px; color: var(--ink-2); max-width: 44rem; }

/* ═══════════════════════ CLOSING ═══════════════════════ */
.closing { position: relative; z-index: 2; background: var(--surface); padding: 0 12px 12px; }
.closing__frame { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); background: var(--pine); color: var(--on-dark); }
.closing__bg { position: absolute; inset: -12% 0; z-index: -2; }
/* The photo is only a backdrop here: softened so the pouch's own lettering doesn't fight the headline */
.closing__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 88%; filter: blur(14px) saturate(1.1); transform: scale(1.08); }
.closing__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 80% at 50% 50%, rgba(12,14,9,.72), rgba(12,14,9,.5)); }
.closing__content { padding: clamp(90px, 14vw, 180px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; text-align: center; }
.closing__title { font-weight: 900; font-size: clamp(2.5rem, 6.2vw, 5.6rem); line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance; }
.closing__sub { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: rgba(255,250,240,.9); max-width: 30rem; }
.signup { margin-top: 14px; width: min(100%, 500px); }
.signup__field {
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(255,250,240,.14); border: 1px solid rgba(255,250,240,.5);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.signup__field input { flex: 1; min-width: 0; min-height: 50px; padding: 0 18px; border: 0; background: none; color: var(--on-dark); font: inherit; font-size: 17px; border-radius: 999px; }
.signup__field input::placeholder { color: rgba(255,250,240,.7); }
.signup .form__status { text-align: center; }
.signup.is-sent .signup__field { display: none; }

/* ═══════════════════════ FOOTER ═══════════════════════ */
.footer { position: relative; z-index: 2; background: var(--surface); padding: 32px 0 calc(40px + env(safe-area-inset-bottom, 0px)); color: var(--ink-3); }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; font-size: 16px; font-weight: 600; }
.footer__links a { color: var(--ink); padding: 10px 0; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.footer__links a:hover { text-decoration-color: currentColor; }
.footer__copy { font-size: 15px; flex-basis: 100%; padding-top: 16px; border-top: 1px solid var(--line); }
.brand--small .brand__name { font-size: 18px; color: var(--ink); }
.brand--small .brand__mark { width: 34px; height: 34px; }

/* ═══════════════════════ LIGHTBOX ═══════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px;
  background: rgba(12,14,9,.86); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(900px, 100%); max-height: 86vh; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.4); transform: scale(.96); transition: transform .45s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; background: var(--on-dark); color: var(--on-colour); font-size: 24px; font-weight: 800; line-height: 1; }

/* ═══════════════════════ REVEAL ON SCROLL ═══════════════════════ */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 1100px) {
  .range__grid { grid-template-columns: minmax(0, 1fr); }
  .product--ananas { min-height: 480px; }
  .product--ananas .pouch { width: 60%; left: 26%; top: 8%; }
  .product__inset { left: 0; width: 34%; }
  .product--mango { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); grid-template-rows: auto; min-height: 320px; }
  .product--mango .pouch { width: 56%; left: 24%; top: 10%; }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .uses, .versus, .about__grid, .stores__grid, .offer__grid, .contact, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flavours__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .map, .faq__head { position: static; }
  .stores__grid .map { order: -1; }
  .chapters__rail { left: 24px; }
  .chapter, .chapter--flip { grid-template-columns: 48px 1fr; column-gap: 20px; row-gap: 24px; align-items: start; }
  .chapter__num, .chapter--flip .chapter__num { grid-column: 1; grid-row: 1; width: 48px; height: 48px; font-size: 14px; }
  .chapter__media, .chapter--flip .chapter__media { grid-column: 2; grid-row: 1; }
  .chapter__text, .chapter--flip .chapter__text { grid-column: 2; grid-row: 2; justify-self: start; }
}
/* An upright screen: the photo fills the frame from the top and fades out
   where the headline begins. */
@media (max-width: 820px), (max-aspect-ratio: 1/1) {
  .hero__media {
    top: 0; left: 0; right: 0; width: auto; height: 78%; aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  }
  .hero__shade { background: linear-gradient(180deg, rgba(12,14,9,.72) 0%, rgba(12,14,9,0) 26%, rgba(12,14,9,0) 52%, rgba(12,14,9,.9) 78%); }
  .hero__wordmark svg { width: 88%; }
}
@media (max-width: 640px) {
  .hero { padding: 8px; }
  .btn--lg { min-height: 52px; padding: 0 18px; font-size: 15px; gap: 10px; }
  .btn--lg.btn--arrow { padding-right: 6px; }
  .btn--lg .btn__icon { width: 40px; height: 40px; }
  .hero__ctas { gap: 8px; margin-top: 22px; }
  .hero__sub { margin-top: 12px; }
  .hero__wordmark { top: calc(84px + env(safe-area-inset-top, 0px)); }
  .nav .btn--sm { display: none; }
  .product--ananas, .product--mango { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; min-height: 0; }
  .product__art { order: -1; height: 300px; min-height: 0; }
  .product--ananas .pouch { width: 52%; left: 30%; top: 10%; }
  .product--mango .pouch { width: 50%; left: 25%; top: 10%; }
  .product__inset { left: 6%; bottom: 6%; width: 32%; }
  .flavours__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .flavour { min-height: 92px; }
  .uses__list, .values, .form__fields { grid-template-columns: minmax(0, 1fr); }
  /* The comparison reads row by row on a phone: what is compared, then the two answers side by side */
  .versus__table, .versus__table thead, .versus__table tbody { display: block; }
  .versus__table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; }
  .versus__table thead td { display: none; }
  .versus__table thead th { padding: 0 0 10px; }
  .versus__table tbody tr { padding: 12px 0 14px; border-bottom: 1px solid var(--line); }
  .versus__table tbody tr:last-child { border-bottom: 0; }
  .versus__table tbody th { grid-column: 1 / -1; padding: 0 0 4px; border: 0; font-size: 15px; }
  .versus__table tbody td { padding: 0; border: 0; align-self: baseline; }
  .versus__table tbody td:nth-child(2) { font-size: 18px; }
  /* Directions shrink to a round button, so a shop's name gets the width */
  .store__row { padding-right: 4px; gap: 8px; }
  .store__go { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--paper); color: var(--ink); text-decoration: none; }
  .store__go-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .store__go svg { width: 16px; height: 16px; }
  .pin { width: 28px; height: 28px; margin: -14px 0 0 -14px; font-size: 13px; }
  .faq__list details p { padding-right: 8px; }
  .map__stage { aspect-ratio: 1; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}

/* Respect "reduce motion" settings */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  [data-reveal], [data-intro], .hero__wordmark path, .chapter__text > *, .menu a { opacity: 1 !important; transform: none !important; }
  .chapter__img { clip-path: none !important; }
  .tile--photo img { transform: none !important; }
  html:not(.is-ready) .hero__frame { clip-path: none; }
}
