/* ==========================================================================
   Bagawan Brothers — styles
   Mobile first (phones are the main screen; bigger layouts are added below
   each block with @media min-width). Bright, mixed citrus colours — no dark
   sections. Hero: colour-changing lemon slider.
   ========================================================================== */

/* ---------- Fonts (local copy first, internet copy as backup) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2"),
       url("https://cdn.jsdelivr.net/npm/@fontsource-variable/bricolage-grotesque@5.3.0/files/bricolage-grotesque-latin-standard-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-italic.woff2") format("woff2"),
       url("https://cdn.jsdelivr.net/npm/@fontsource/instrument-serif@5.3.0/files/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Colours & sizes ---------- */
:root {
  /* page palette — bright and mixed */
  --cream: #FFF8E6;
  --paper: #FFFFFF;
  --ink: #1D1B12;            /* text colour */
  --ink-2: #57523F;          /* softer text */
  --line: rgba(29, 27, 18, .12);
  --line-strong: rgba(29, 27, 18, .26);
  --lemon: #FFD43B;
  --lemon-hover: #FFDF66;
  --lemon-deep: #E9B80E;
  --lime: #CFEF8F;
  --sky: #AEDFFF;
  --peach: #FFCB98;
  --lilac: #DCCBFF;
  --pink: #FFBFD2;
  --leaf: #168A45;
  --leaf-deep: #0E6B34;
  --wa: #25D366;
  --wa-ink: #05371B;
  --danger: #C62828;

  /* every section sets its own background, accent word colour and dot */
  --sec-bg: var(--cream);
  --accent: var(--leaf-deep);
  --dot: var(--leaf);

  /* hero colours — changed per lemon variety by main.js */
  --hero-bg: #FFD43B;
  --hero-bg-top: #DBB633;
  --hero-bg-bottom: #FFD84F;
  --hero-ink: #1D1B12;
  --hero-line: rgba(29, 27, 18, .38);
  --hero-soft: rgba(29, 27, 18, .14);
  --hero-pill: rgba(255, 255, 255, .42);
  --hero-btn: #FFFDF5;
  --hero-btn-ink: #1D1B12;
  --rind: #6FA52C;
  --pith: #F4F8DA;
  --flesh: #D6EE86;
  --leaf-f: #2A7F36;

  --font-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1240px;
  --header-h: 72px;
  --section: clamp(76px, 11vw, 150px);
  --overlap: 34px;           /* coloured sections slide over each other */
  --round: clamp(28px, 5vw, 48px);
  --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow: 0 1px 0 rgba(29, 27, 18, .04), 0 22px 40px -28px rgba(29, 27, 18, .38);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--lemon); color: var(--ink); }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 559px) {
  .hide-sm { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 14px 20px; border-radius: 14px; background: var(--lemon); color: var(--ink); font-weight: 700; opacity: 0; transition: top .2s, opacity .2s; }
.skip:focus { top: 12px; opacity: 1; }
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: var(--s5);
  font: 700 .78rem/1 var(--font-body);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--dot); box-shadow: 0 0 0 5px rgba(255, 255, 255, .6);
}
.h2 {
  font-family: var(--font-display);
  font-weight: 800; font-stretch: 78%;
  font-size: clamp(2.6rem, 1.3rem + 5.4vw, 5.6rem);
  line-height: .92; letter-spacing: -.035em;
  text-wrap: balance;
}
.h2 em, .accent {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; font-stretch: normal;
  font-size: 1.08em; letter-spacing: -.01em; color: var(--accent);
}
.lead { margin-top: var(--s5); max-width: 36ch; color: var(--ink-2); font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); line-height: 1.5; }

/* ---------- Buttons (all at least 46–56px tall: easy to hit with a thumb) ---------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px;
  border-radius: 999px;
  font: 700 1rem/1 var(--font-body); letter-spacing: .01em; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--sm { --h: 46px; padding: 0 20px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--lemon { background: var(--lemon); color: var(--ink); box-shadow: 0 12px 24px -16px rgba(233, 184, 14, .9); }
.btn--lemon:hover { background: var(--lemon-hover); box-shadow: 0 16px 30px -14px rgba(233, 184, 14, .9); }
.btn--wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 12px 24px -16px rgba(18, 140, 74, .9); }
.btn--wa:hover { background: #3BE07A; }
.btn--wa-outline { border: 1.5px solid rgba(18, 140, 74, .55); color: var(--leaf-deep); background: rgba(37, 211, 102, .06); }
.btn--wa-outline:hover { background: rgba(37, 211, 102, .14); border-color: var(--leaf); }
.btn--ghost { border: 1.5px solid var(--line-strong); color: var(--ink); background: var(--paper); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--hero { background: var(--hero-btn); color: var(--hero-btn-ink); box-shadow: 0 16px 30px -18px rgba(29, 27, 18, .45); }
.btn--hero:hover { transform: translateY(-2px); }
.btn--hero-ghost { border: 1.5px solid var(--hero-line); color: var(--hero-ink); background: var(--hero-pill); }
.btn--hero-ghost:hover { border-color: var(--hero-ink); }
.btn--hero svg { transition: transform .3s var(--ease); }
.btn--hero:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: var(--hero-ink);
  transition: background-color .45s, color .45s, box-shadow .45s;
}
.site-header.is-solid {
  color: var(--ink);
  background: rgba(255, 248, 230, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__row { height: 100%; display: flex; align-items: center; gap: var(--s5); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; filter: drop-shadow(0 3px 6px rgba(29, 27, 18, .22)); }
.brand__name { font: 800 1.2rem/1 var(--font-display); font-stretch: 85%; letter-spacing: -.02em; }
.brand__name em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-stretch: normal; font-size: 1.14em; letter-spacing: 0; }
.nav { display: none; gap: 30px; font-weight: 600; font-size: .95rem; }
.nav a { position: relative; padding: 14px 0; opacity: .9; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { opacity: 1; }
.header__cta { display: none; background: var(--hero-btn); color: var(--hero-btn-ink); }
.site-header.is-solid .header__cta { background: var(--lemon); color: var(--ink); }
.menu-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-content: center; gap: 6px;
  border: 1.5px solid currentColor;
}
.menu-btn i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.menu-open .menu-btn i:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }
@media (min-width: 900px) { .nav { display: flex; } .menu-btn { display: none; } }

/* ---------- Full-screen menu (phones) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s6);
  padding: calc(var(--header-h) + 28px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: var(--lemon);
  color: var(--ink);
  transform: translateY(-102%);
  transition: transform .6s var(--ease), visibility 0s linear .6s;
  visibility: hidden;
}
.menu::before {
  content: ""; position: absolute; width: 120vw; aspect-ratio: 1; right: -60vw; bottom: -50vw;
  border-radius: 50%; background: var(--lime); opacity: .8; pointer-events: none;
}
.menu > * { position: relative; }
.menu-open .menu { transform: none; visibility: visible; transition: transform .6s var(--ease); }
.menu-open .site-header { color: var(--ink); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .site-header .header__cta { display: none; }
.menu-open { overflow: hidden; }
.menu__nav { display: grid; gap: 6px; }
.menu__link {
  display: block; padding: 8px 0;
  font: 800 clamp(2.6rem, 11vw, 3.6rem)/1 var(--font-display); font-stretch: 78%; letter-spacing: -.035em;
}
.menu__link em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-stretch: normal; color: var(--leaf-deep); }
.menu__link[aria-current="page"]::after {
  content: ""; display: inline-block; width: .2em; height: .2em; margin-left: .2em;
  border-radius: 50%; background: var(--leaf); vertical-align: .1em;
}
.menu__actions { display: grid; gap: 12px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100vh; min-height: 100svh;
  padding-top: var(--header-h);
  padding-bottom: var(--overlap);
  color: var(--hero-ink);
  background-color: var(--hero-bg);
  transition: background-color .9s var(--ease), color .6s;
  overflow: hidden;
  touch-action: pan-y;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 70% 58%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .08));
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(6px, 1.6vh, 20px);
  padding-top: clamp(10px, 2.4vh, 36px);
  text-align: center;
}
.hero__copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 999px;
  background: var(--hero-pill);
  font: 700 .74rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
  transition: background-color .6s;
}
.hero__eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.hero__title {
  --title-max: clamp(3.6rem, 1.2rem + 17vw, 9.5rem);
  width: 100%;
  margin-top: clamp(14px, 2.6vh, 26px);
  font-family: var(--font-display); font-weight: 800; font-stretch: 75%;
  font-size: var(--title-max);
  line-height: .86; letter-spacing: -.045em;
}
/* the box is a bit taller than the letters so the tail of g / y / p is never cut */
.roll { position: relative; display: grid; height: 1.14em; overflow: hidden; padding-inline: .06em; margin-inline: -.06em; margin-bottom: -.16em; }
.roll__item { grid-area: 1 / 1; align-self: end; justify-self: center; padding-bottom: .16em; white-space: nowrap; will-change: transform; }
.hero__measure { position: absolute; visibility: hidden; white-space: nowrap; pointer-events: none; }
.hero__tag {
  margin-top: clamp(8px, 1.4vh, 14px);
  min-height: 1.1em;
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.3rem); line-height: 1.1;
  transition: opacity .35s;
}
.hero__tag.is-swapping { opacity: 0; }
.hero__actions { display: flex; gap: 10px; margin-top: clamp(16px, 2.6vh, 28px); width: 100%; max-width: 420px; }
.hero__actions .btn { flex: 1; padding: 0 18px; }

/* stage — phones: the lemons grow into all the height that is left */
.hero__stage {
  position: relative; display: grid; place-items: center; min-width: 0;
  min-height: clamp(220px, 34svh, 520px);
  container-type: size;
}
.stage { position: relative; aspect-ratio: 1; width: min(84vw, 46svh, 560px); width: min(100vw - 24px, 96cqh, 600px); }
.stage__ring, .stage__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.stage__ring { inset: -6%; border: 1.5px solid var(--hero-line); opacity: .55; }
.stage__ring::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1.5px dashed var(--hero-line); opacity: .7; }
.stage__glow { inset: 8%; background: radial-gradient(circle, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 68%); }
.stage__prod { position: absolute; inset: 0; display: grid; z-index: 1; }
.prod { grid-area: 1 / 1; margin: 0; width: 100%; height: 100%; display: grid; place-items: center; will-change: transform, opacity; }
.prod img {
  width: 100%; height: 100%; object-fit: contain;
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none;
  animation: prodFloat 7s ease-in-out infinite alternate;
}
@keyframes prodFloat {
  from { transform: translateY(-1.6%) rotate(-1.2deg); }
  to { transform: translateY(1.6%) rotate(1.2deg); }
}
.stage__badge {
  position: absolute; z-index: 3; right: 3%; top: 7%;
  max-width: 82%; padding: 9px 14px; border-radius: 999px;
  background: var(--hero-btn); color: var(--hero-btn-ink);
  font: 800 .7rem/1.1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; text-align: center; white-space: nowrap;
  box-shadow: 0 12px 24px -12px rgba(29, 27, 18, .45);
  opacity: 0; transform: rotate(7deg) scale(.6);
  transition: opacity .45s, transform .6s var(--ease), background-color .6s, color .6s;
  pointer-events: none;
}
.stage__badge.is-on { opacity: 1; transform: rotate(7deg) scale(1); }
.prod--cutout img { filter: drop-shadow(0 30px 34px rgba(29, 27, 18, .26)); }
.prod--solid img {
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
}
.prod--framed img {
  width: 88%; height: 88%; object-fit: cover; border-radius: 50%;
  box-shadow: 0 0 0 6px var(--hero-soft), 0 40px 60px -24px rgba(29, 27, 18, .45);
}

/* floating slices & leaves */
.stage__back, .stage__front { position: absolute; inset: -4% -14%; pointer-events: none; }
.stage__back { z-index: 0; }
.stage__front { z-index: 2; }
.fl {
  position: absolute; left: 50%; top: 50%;
  width: 15%;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(var(--s, 1));
  transition: left 1.2s var(--ease), top 1.2s var(--ease), transform 1.2s var(--ease), opacity .6s;
}
.fl__in { display: block; animation: bob var(--d, 6s) ease-in-out var(--delay, 0s) infinite alternate; }
.fl svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 14px 14px rgba(29, 27, 18, .2)); }
.fl--half { width: 17%; }
.fl--leaf { width: 17%; }
.fl--sm { width: 9%; }
.fl--lg { width: 22%; }
.fl--drop { width: 5%; }
.fl--drop svg { filter: none; }
.fl--blur svg { filter: blur(3px) drop-shadow(0 14px 14px rgba(29, 27, 18, .14)); }
.fl--lg.fl--blur svg { filter: blur(5px); }
.stage__back .fl { opacity: .9; }
/* default spots (used before the script runs) */
.stage__back .fl:nth-child(1) { left: 16%; top: 22%; }
.stage__back .fl:nth-child(2) { left: 84%; top: 30%; }
.stage__front .fl:nth-child(1) { left: 12%; top: 70%; }
.stage__front .fl:nth-child(2) { left: 86%; top: 74%; }
.stage__front .fl:nth-child(3) { left: 24%; top: 10%; }
.stage__front .fl:nth-child(4) { left: 78%; top: 12%; }
.stage__front .fl:nth-child(5) { left: 64%; top: 6%; }
.stage__front .fl:nth-child(6) { left: 92%; top: 92%; }
@keyframes bob {
  from { transform: translateY(-7%) rotate(-7deg); }
  to { transform: translateY(7%) rotate(7deg); }
}

/* bottom bar: thumbnails (computer) + controls */
.hero__bar {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s5);
  padding-block: clamp(14px, 2.4vh, 26px) 6px;
}
.hero__thumbs { display: none; }
.hero__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }
.icon-btn {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--hero-line); color: var(--hero-ink);
  transition: background-color .25s, transform .2s var(--ease);
}
.icon-btn:hover { background: var(--hero-soft); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn--sm { width: 44px; height: 44px; border-color: transparent; }
.icon-btn--sm svg { width: 20px; height: 20px; }
.hero__dots { display: flex; align-items: center; gap: 8px; margin-inline: auto; }
.hero__dots i { position: relative; overflow: hidden; width: 8px; height: 8px; border-radius: 99px; background: var(--hero-line); transition: width .45s var(--ease), background-color .3s; }
.hero__dots i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--hero-ink); transform: scaleX(0); transform-origin: left; }
.hero__dots i.is-on { width: 30px; }
.hero__dots i.is-on::after { transform: none; }
.hero.is-playing .hero__dots i.is-on::after { transform: scaleX(0); animation: progress var(--autoplay, 6s) linear forwards; }
.hero__nav.is-many .hero__dots { display: none; }
.hero__nav.is-many .hero__count { display: block; margin-inline: auto; }
.hero__count { display: none; font: 600 .82rem/1 var(--font-body); letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.hero__count b { font-weight: 800; }
.hero__end { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; }

.thumb {
  display: grid; justify-items: center; gap: 8px; width: 92px;
  color: var(--hero-ink); opacity: .75;
  transition: opacity .3s;
}
.thumb:hover, .thumb[aria-current="true"] { opacity: 1; }
.thumb__img {
  width: 58px; height: 58px; border-radius: 50%; overflow: hidden;
  background: var(--hero-soft);
  box-shadow: inset 0 0 0 1.5px var(--hero-line);
  transition: transform .4s var(--ease), box-shadow .3s;
}
.thumb__img img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] .thumb__img { transform: translateY(-4px); box-shadow: 0 0 0 2.5px var(--hero-ink), 0 10px 20px -8px rgba(29, 27, 18, .4); }
.thumb__name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 .68rem/1.1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.thumb__bar { width: 34px; height: 2px; border-radius: 2px; background: var(--hero-line); overflow: hidden; opacity: 0; }
.thumb[aria-current="true"] .thumb__bar { opacity: 1; }
.thumb__bar i { display: block; width: 100%; height: 100%; background: var(--hero-ink); transform: scaleX(0); transform-origin: left; }
.hero.is-playing .thumb[aria-current="true"] .thumb__bar i { animation: progress var(--autoplay, 6s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto;
    align-items: center; align-content: center;
    padding-top: 0; text-align: left;
  }
  .hero__copy { align-items: flex-start; padding-bottom: 4vh; }
  .roll__item { justify-self: start; }
  .hero__actions { width: auto; }
  .hero__actions .btn { flex: none; padding: 0 28px; }
  .hero__stage { container-type: normal; min-height: 0; }
  .stage { width: min(40vw, 64svh, 600px); }
  .stage__back, .stage__front { inset: -14%; }
  .stage__badge { right: -2%; top: 6%; }
  .hero__thumbs {
    display: flex; gap: 10px; min-width: 0;
    overflow-x: auto; scrollbar-width: none; padding-top: 6px;
  }
  .hero__thumbs::-webkit-scrollbar { display: none; }
  .thumb { flex: none; }
  .hero__nav { width: auto; flex: none; }
  .hero__dots { display: none; }
  .hero__count, .hero__nav.is-many .hero__count { display: block; margin: 0 6px 0 0; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .hero__title { --title-max: clamp(3.2rem, 1rem + 14vw, 5.2rem); }
  .hero__stage { min-height: 190px; }
  .hero__actions { margin-top: 14px; }
}

/* ==========================================================================
   COLOURED SECTIONS — each one slides over the one before, like cards
   ========================================================================== */
.section {
  position: relative;
  margin-top: calc(-1 * var(--overlap));
  padding-block: var(--section) calc(var(--section) + var(--overlap));
  background: var(--sec-bg);
  border-radius: var(--round) var(--round) 0 0;
  box-shadow: 0 -16px 36px -26px rgba(29, 27, 18, .35);
}
.origin { --sec-bg: var(--lime);  --accent: #0E6B34; --dot: #168A45; }
.why    { --sec-bg: var(--sky);   --accent: #1146A8; --dot: #1C64F2; }
.supply { --sec-bg: var(--peach); --accent: #B23C0A; --dot: #E8590C; }
.how    { --sec-bg: var(--lilac); --accent: #5A2BC4; --dot: #7C3AED; }
.order  { --sec-bg: var(--cream); --accent: #0E6B34; --dot: #168A45; }
.picks   { --sec-bg: var(--sky);   --accent: #1146A8; --dot: #1C64F2; }
.range   { --sec-bg: var(--cream); --accent: #0E6B34; --dot: #168A45; }
.specs   { --sec-bg: var(--peach); --accent: #B23C0A; --dot: #E8590C; }
.numbers { --sec-bg: var(--cream); --accent: #0E6B34; --dot: #168A45; }
.journey { --sec-bg: var(--lilac); --accent: #5A2BC4; --dot: #7C3AED; }
.cta     { --sec-bg: var(--lilac); --accent: #5A2BC4; --dot: #7C3AED; }
.cta--peach { --sec-bg: var(--peach); --accent: #B23C0A; --dot: #E8590C; }

/* "See all / Our story" style links under a section */
.more-wrap { margin-top: var(--s6); }
.more-wrap .btn { width: 100%; }
@media (min-width: 560px) { .more-wrap .btn { width: auto; } }

/* origin */
.origin__head { display: grid; gap: var(--s7); align-items: center; }
.stamp { width: min(46vw, 220px); justify-self: start; }
.stamp > svg { width: 100%; height: auto; overflow: visible; }
.stamp text { font: 700 15.5px/1 var(--font-body); letter-spacing: .24em; fill: var(--ink); }
.stamp__ring { transform-origin: 120px 120px; animation: spin 26s linear infinite; }
.stamp__disc { fill: var(--paper); stroke: rgba(29, 27, 18, .14); }
@keyframes spin { to { transform: rotate(360deg); } }
.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px; margin-top: var(--s8);
}
.stat {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: clamp(150px, 18vw, 210px); padding: clamp(20px, 3vw, 36px);
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat:nth-child(2), .stat:nth-child(3) { background: var(--lemon); }
.stat__value {
  font: 800 clamp(2.5rem, 1.5rem + 3.4vw, 4.2rem)/.9 var(--font-display); font-stretch: 75%;
  letter-spacing: -.04em; color: var(--ink);
}
.stat__value em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-stretch: normal; letter-spacing: -.01em; color: var(--accent); }
.stat__label { font-size: .92rem; line-height: 1.3; color: var(--ink-2); }
.stats--3 .stat:last-child { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats--3 .stat:last-child { grid-column: auto; }
}
@media (min-width: 900px) {
  .origin__head { grid-template-columns: 1fr auto; }
  .stamp { width: 240px; justify-self: end; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}

/* why cards */
.cards { display: grid; gap: var(--s4); margin-top: var(--s7); }
.card {
  --art: var(--leaf);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 300px; padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:nth-child(2) { --art: #E8590C; }
.card:nth-child(3) { --art: #1C64F2; }
.card::after {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -25%; top: -30%;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 212, 59, .45), transparent 65%);
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(29, 27, 18, .04), 0 30px 50px -30px rgba(29, 27, 18, .45); }
.card__num { font: 700 .8rem/1 var(--font-body); letter-spacing: .2em; color: var(--ink-2); }
.card__art { width: min(72%, 240px); margin: var(--s5) auto var(--s6); color: var(--art); transition: transform .6s var(--ease); }
.card:hover .card__art { transform: translateY(-6px) scale(1.03); }
.card__title { margin-top: auto; font: 800 clamp(1.8rem, 1.3rem + 1.3vw, 2.4rem)/.95 var(--font-display); font-stretch: 78%; letter-spacing: -.03em; }
.card__text { margin-top: 10px; color: var(--ink-2); }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .card { min-height: 420px; } }

/* who we supply — every tile has its own colour */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: var(--s7); }
.tile {
  --c: var(--lemon);
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  min-height: 150px; padding: 20px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease);
}
.tile:nth-child(2) { --c: var(--lime); }
.tile:nth-child(3) { --c: var(--sky); }
.tile:nth-child(4) { --c: var(--lilac); }
.tile:nth-child(5) { --c: var(--pink); }
.tile:hover { transform: translateY(-3px); }
.tile svg { width: 54px; height: 54px; padding: 12px; border-radius: 50%; background: var(--c); color: var(--ink); }
.tile span { font: 700 1.12rem/1.15 var(--font-display); font-stretch: 88%; letter-spacing: -.01em; }
.tile:last-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } .tile { min-height: 200px; } .tile:last-child { grid-column: auto; } }

/* how it works */
.steps { display: grid; gap: 12px; margin-top: var(--s7); }
.step {
  --n: var(--leaf);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 6px; align-items: start;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.step:nth-child(2) { --n: #E8590C; }
.step:nth-child(3) { --n: #1C64F2; }
.step:nth-child(4) { --n: #7C3AED; }
.step__num { grid-row: span 2; font: 400 clamp(3.4rem, 2.4rem + 3vw, 5rem)/.78 var(--font-serif); font-style: italic; color: var(--n); }
.step__title { margin-top: 4px; font: 800 1.5rem/1 var(--font-display); font-stretch: 80%; letter-spacing: -.02em; }
.step__text { color: var(--ink-2); }
.step__icon { position: absolute; right: 20px; top: 20px; width: 28px; height: 28px; color: var(--n); opacity: .8; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step { grid-template-columns: 1fr; min-height: 260px; align-content: space-between; }
  .step__num { grid-row: auto; margin-bottom: var(--s6); }
  .step__icon { width: 34px; height: 34px; right: 28px; top: 28px; }
}

/* ==========================================================================
   PAGE TOP (Lemons, About, Order pages)
   ========================================================================== */
.page-hero {
  --ph-bg: var(--lemon); --accent: #0E6B34; --dot: #168A45;
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(40px, 9vw, 110px)) 0 calc(clamp(64px, 10vw, 130px) + var(--overlap));
  background: var(--ph-bg); color: var(--ink);
}
.page-hero--about { --ph-bg: var(--lime); }
.page-hero--order { --ph-bg: var(--sky); --accent: #1146A8; --dot: #1C64F2; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title {
  max-width: 10ch;
  font-family: var(--font-display); font-weight: 800; font-stretch: 75%;
  font-size: clamp(3.3rem, 1.3rem + 9.5vw, 8.2rem);
  line-height: .86; letter-spacing: -.045em;
  text-wrap: balance;
}
.page-hero__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-stretch: normal; font-size: 1.04em; letter-spacing: -.01em; color: var(--accent); }
.page-hero .lead { max-width: 30ch; }
.page-hero__art {
  position: absolute; z-index: 0; pointer-events: none;
  width: clamp(190px, 50vw, 460px); aspect-ratio: 1;
  right: calc(clamp(190px, 50vw, 460px) * -.3); top: calc(var(--header-h) - 18px);
}
.ph-art { position: absolute; overflow: visible; filter: drop-shadow(0 18px 20px rgba(29, 27, 18, .18)); }
.ph-art--big { inset: 0; width: 100%; height: 100%; animation: spin 70s linear infinite; }
.ph-art--leaf { width: 46%; left: -20%; top: 62%; transform: rotate(-28deg); }
.ph-art--small { width: 30%; left: -12%; top: -4%; }
.page-hero__art.stamp { width: clamp(112px, 31vw, 190px); right: 14px; top: calc(var(--header-h) - 14px); justify-self: auto; }
@media (min-width: 900px) {
  .page-hero__art { right: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); top: 50%; transform: translateY(-46%); }
  .page-hero__art.stamp { width: 300px; right: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + 40px)); top: 50%; }
  .page-hero .lead { max-width: 36ch; }
}

/* ==========================================================================
   LEMON CARDS (written into the pages by scripts/build.mjs)
   ========================================================================== */
.vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: var(--s7); }
.range .vgrid { margin-top: 0; }
@media (min-width: 700px) { .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .vgrid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .vgrid--all { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vcard {
  position: relative; display: flex; flex-direction: column;
  padding-bottom: 12px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--vc-bg, var(--lemon)); color: var(--vc-ink, var(--ink));
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.vcard:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(29, 27, 18, .04), 0 30px 50px -30px rgba(29, 27, 18, .5); }
.vcard__pic { position: relative; aspect-ratio: 1; }
.vcard__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vcard--solid .vcard__pic img {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
}
.vcard--cutout .vcard__pic img { object-fit: contain; padding: 7%; filter: drop-shadow(0 16px 18px rgba(29, 27, 18, .25)); }
.vcard--framed .vcard__pic img { width: 82%; height: 82%; margin: 9%; border-radius: 50%; }
.vcard__badge {
  position: absolute; z-index: 1; left: 10px; top: 10px; max-width: calc(100% - 20px);
  padding: 6px 10px; border-radius: 999px; background: #FFFDF5; color: var(--ink);
  font: 800 .6rem/1.15 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
}
.vcard__name { padding-inline: 14px; font: 800 clamp(1.3rem, .8rem + 2.6vw, 2.3rem)/.92 var(--font-display); font-stretch: 78%; letter-spacing: -.03em; }
.vcard__tag { margin: 6px 0 14px; padding-inline: 14px; font: 400 clamp(.98rem, .9rem + .3vw, 1.15rem)/1.2 var(--font-serif); font-style: italic; }
.vcard__cta {
  margin: auto 10px 0; min-height: 46px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; background: rgba(255, 253, 245, .94); color: var(--ink);
  font-weight: 700; font-size: .92rem;
  transition: background-color .2s;
}
.vcard__cta:hover { background: #fff; }
.vcard__cta svg { width: 18px; height: 18px; color: var(--leaf); flex: none; }

/* ==========================================================================
   CALL-TO-ACTION BAND
   ========================================================================== */
.cta { text-align: center; }
.cta__inner { display: grid; justify-items: center; gap: var(--s4); }
.cta .h2 { max-width: 14ch; }
.cta .lead { margin-top: 0; }
.cta__actions { display: grid; gap: 12px; width: 100%; max-width: 420px; margin-top: var(--s3); }
@media (min-width: 560px) { .cta__actions { grid-template-columns: 1fr 1fr; max-width: 540px; } }

/* ==========================================================================
   ORDER FORM
   ========================================================================== */
.order { overflow: hidden; }
.order::before, .order::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.order::before { width: 520px; height: 520px; right: -220px; top: -120px; background: radial-gradient(circle, rgba(255, 212, 59, .55), transparent 65%); }
.order::after { width: 460px; height: 460px; left: -220px; bottom: 60px; background: radial-gradient(circle, rgba(207, 239, 143, .8), transparent 65%); }
.order__grid { position: relative; z-index: 1; display: grid; gap: var(--s7); }
.direct { display: grid; gap: 12px; margin-top: var(--s6); max-width: 420px; }
.direct__item {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 18px 10px 10px;
  border-radius: 20px; background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease);
}
.direct__item:hover { transform: translateY(-2px); }
.direct__item small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.direct__item b { display: block; font-size: 1.05rem; font-weight: 700; letter-spacing: .01em; }
.direct__icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--lemon); color: var(--ink); }
.direct__icon svg { width: 22px; height: 22px; }
.direct__icon--wa { background: rgba(37, 211, 102, .18); color: var(--leaf); }

.order__card {
  position: relative;
  padding: clamp(20px, 4vw, 44px);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(29, 27, 18, .05), 0 40px 70px -40px rgba(29, 27, 18, .45);
}
.form { display: grid; gap: 26px; }
.form__row { display: grid; gap: 14px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; min-height: 62px; padding: 26px 18px 9px;
  border: 1.5px solid rgba(29, 27, 18, .16); border-radius: 16px;
  background: #FFFCF3; color: var(--ink);
  font: 600 1.06rem/1.2 var(--font-body);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 112px; padding-top: 30px; resize: vertical; line-height: 1.4; }
.field label {
  position: absolute; left: 19px; top: 31px;
  transform: translateY(-50%); transform-origin: left center;
  color: var(--ink-2); font-size: 1.02rem; pointer-events: none;
  transition: top .2s var(--ease), transform .2s var(--ease), color .2s;
}
.field input::placeholder { color: transparent; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--leaf);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(22, 138, 69, .16);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--phone label {
  top: 17px; transform: translateY(-50%) scale(.76); color: var(--leaf-deep);
}
.field--phone label { color: var(--ink-2); }
.field--phone input:focus + label { color: var(--leaf-deep); }
.field--phone input { padding-left: 58px; }
.field--phone input:focus::placeholder { color: rgba(29, 27, 18, .3); }
.field__prefix { position: absolute; left: 19px; top: 38px; transform: translateY(-50%); font-weight: 700; font-size: 1.06rem; color: var(--ink-2); }
.field.is-invalid input { border-color: var(--danger); }
.field__err { margin: 7px 0 0 4px; font-size: .88rem; font-weight: 600; color: var(--danger); }
.field--other { margin-top: 12px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }

.group { border: 0; margin: 0; padding: 0; min-width: 0; }
.group legend { padding: 0; margin-bottom: 12px; font: 700 .76rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.group legend small { margin-left: 8px; font-size: .95em; font-weight: 500; letter-spacing: .02em; text-transform: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 18px;
  border: 1.5px solid rgba(29, 27, 18, .18); border-radius: 999px;
  background: var(--paper);
  font-weight: 600; font-size: .98rem; color: var(--ink);
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
  user-select: none;
}
.chip:hover span { border-color: rgba(29, 27, 18, .45); }
.chip input:active + span { transform: scale(.96); }
.chip input:checked + span { background: var(--lemon); border-color: var(--lemon-deep); color: var(--ink); }
.chip input:checked + span::before {
  content: ""; width: 7px; height: 12px; margin: -3px 2px 0 0;
  border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.chip input:focus-visible + span { outline: 3px solid var(--leaf); outline-offset: 3px; }

.add-note { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 4px; font-weight: 700; color: var(--leaf-deep); }
.add-note svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.add-note[aria-expanded="true"] svg { transform: rotate(45deg); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { padding: 14px 16px; border-radius: 14px; background: #FDECEA; border: 1px solid rgba(198, 40, 40, .3); color: #9B1C1C; font-size: .95rem; font-weight: 600; }
.form__actions { display: grid; gap: 12px; }
.form__fine { margin-top: -10px; font-size: .84rem; color: var(--ink-2); text-align: center; }
@media (min-width: 560px) { .form__actions { grid-template-columns: 1.3fr 1fr; } }
[data-submit].is-busy { pointer-events: none; opacity: .85; }
[data-submit].is-busy svg { animation: spin .9s linear infinite; }
.form.email-off .form__actions { grid-template-columns: 1fr; }
.form.email-off [data-submit] { display: none; }
.form.email-off [data-send-wa] { background: var(--wa); border-color: var(--wa); color: var(--wa-ink); }

.done { display: grid; justify-items: center; gap: 12px; padding: 12px 0 6px; text-align: center; outline: none; }
.done__slice { width: 96px; height: 96px; margin-bottom: 8px; animation: pop 1s var(--ease) both; filter: drop-shadow(0 18px 22px rgba(29, 27, 18, .25)); }
.done .eyebrow { margin-bottom: 0; }
.done__title { font: 800 clamp(2rem, 1.4rem + 2vw, 2.8rem)/1 var(--font-display); font-stretch: 78%; letter-spacing: -.03em; }
.done__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-stretch: normal; color: var(--accent); }
.done__text { max-width: 34ch; color: var(--ink-2); }
.done__actions { display: grid; gap: 10px; width: 100%; max-width: 340px; margin-top: 8px; }
@keyframes pop { from { transform: scale(.3) rotate(-160deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 960px) {
  .order__grid { grid-template-columns: .85fr 1.15fr; align-items: start; }
  .order__intro { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ==========================================================================
   FOOTER — lemon yellow with a giant green wordmark
   ========================================================================== */
.footer {
  position: relative; overflow: hidden;
  margin-top: calc(-1 * var(--overlap));
  padding-top: var(--section);
  background: var(--lemon); color: var(--ink);
  border-radius: var(--round) var(--round) 0 0;
  box-shadow: 0 -16px 36px -26px rgba(29, 27, 18, .35);
}
.footer__top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.footer__brand, .footer__col:last-child { grid-column: 1 / -1; }
.footer__brand p { margin-top: 14px; max-width: 30ch; color: var(--ink-2); }
.footer__label { margin-bottom: 10px; font: 700 .74rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.footer__col { display: grid; gap: 6px; align-content: start; }
.footer__col a { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; font-weight: 700; }
.footer__col a:hover { color: var(--leaf-deep); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid rgba(29, 27, 18, .18); font-size: .88rem; color: var(--ink-2); }
.footer__legal a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__legal a:hover { color: var(--ink); }
.footer__mark { margin-top: var(--s5); line-height: 0; text-align: center; user-select: none; pointer-events: none; }
.footer__mark span {
  display: inline-block;
  font: 800 var(--wordmark-size, 25vw)/.8 var(--font-display); font-stretch: 75%;
  letter-spacing: -.055em; white-space: nowrap;
  background: linear-gradient(180deg, #34C56A 0%, #168A45 55%, #0E6B34 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(16%);
}
.footer__col a[aria-current="page"] { color: var(--leaf-deep); }
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; }
  .footer__brand, .footer__col:last-child { grid-column: auto; }
}

/* ---------- WhatsApp floating button ---------- */
.fab {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(18, 140, 74, .6);
  transform: translateY(150%) scale(.8); opacity: 0;
  transition: transform .5s var(--ease), opacity .3s;
}
.fab.is-on { transform: none; opacity: 1; }
.fab svg { width: 30px; height: 30px; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }

/* ---------- Hero entrance ---------- */
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } }
@keyframes heroPop { from { opacity: 0; transform: scale(.84) rotate(-8deg); } }
.js .hero__copy > * { animation: heroUp 1s var(--ease) backwards; }
.js .hero__copy > :nth-child(2) { animation-delay: .07s; }
.js .hero__copy > :nth-child(3) { animation-delay: .14s; }
.js .hero__copy > :nth-child(4) { animation-delay: .21s; }
.js .stage { animation: heroPop 1.25s var(--ease) .1s backwards; }
.js .hero__bar { animation: heroUp 1s var(--ease) .3s backwards; }

/* ---------- Scroll reveals (only when JavaScript runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .1em 0; margin: 0 -.08em -.1em 0; }
.js [data-split] .w > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-split].is-in .w > span { transform: none; }

/* ---------- Less motion for people who ask for it ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-split] .w > span { opacity: 1; transform: none; }
  .fl__in, .stamp__ring, .fab::after, .prod img, .ph-art { animation: none !important; }
}
