/* VSP Botanics homepage refresh */

:root {
  /* Colour */
  --forest: #17351f;
  --forest-deep: #10260f;
  --forest-line: #2e4b33;
  --forest-border: #3f5e44;
  --forest-outline: #5e7d62;
  --leaf: #8cc63f;
  --leaf-soft: #a9d46b;
  --leaf-ink: #22401c;
  --moss: #3e7a1e;
  --paper: #f4f5ee;
  --sage: #e8eddc;
  --sage-deep: #e3ecd3;
  --mist: #cfdcc2;
  --mist-light: #e6edd9;
  --line: #dde2d2;
  --line-soft: #e1e6d7;
  --white: #ffffff;
  --tile: #eceee8;
  --text-muted: #4a5e4c;
  --text-subtle: #5b6e5c;
  --text-strike: #5f6e61;
  --text-body-on-sage: #2f4a33;
  --star: #b7791f;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Shape */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --container: 1280px;
  --gutter: 40px;
  --section-gap: 96px;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--forest);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--moss); }
p, h1, h2, h3 { margin: 0; }
button { font: inherit; cursor: pointer; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.disp {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: var(--section-gap); }

.eyebrow {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}

.section-title { font-size: 44px; line-height: 1.1; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.section-head__note { font-size: 15px; color: var(--text-muted); }

.text-link {
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1.5px solid var(--leaf);
  padding-bottom: 4px;
}

/* Buttons */
.btn {
  height: 52px;
  padding: 0 28px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
}
.btn--leaf { background: var(--leaf); color: var(--forest-deep); }
.btn--leaf:hover { color: var(--forest-deep); background: #9bd14f; }
.btn--forest { background: var(--forest); color: var(--paper); }
.btn--forest:hover { color: var(--paper); background: #224a2c; }
.btn--ghost-light { border: 1px solid var(--forest-outline); color: var(--paper); font-weight: 600; }
.btn--ghost-light:hover { color: var(--paper); border-color: var(--leaf-soft); }

.icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--forest);
  display: grid;
  place-items: center;
}
.icon-btn:hover { color: var(--moss); }

/* Announcement */
.announcement {
  background: var(--forest);
  color: var(--mist-light);
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 10px 24px;
  text-align: center;
}

/* Header */
/* the header stays on screen at every size; main.js keeps --header-h equal to its real height */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header__inner {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 60px; height: auto; }
.main-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 500;
  flex: 1;
}
.header-actions { display: flex; align-items: center; gap: 6px; }
.bag {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  background: var(--forest);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
}
.bag:hover { color: var(--paper); background: #224a2c; }

/* Trust strip */
.trust { padding-top: 28px; }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.trust__item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px;
  border-radius: 18px;
  background: var(--sage);
}
.trust__item svg { flex: none; }
.trust__title { font-weight: 700; font-size: 15px; }
.trust__sub { margin-top: 2px; font-size: 13px; color: var(--text-muted); }

/* Cards with image zoom */
.card img { transition: transform 0.5s ease; }
.card:hover img { transform: scale(1.04); }

/* Categories */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.category { display: flex; flex-direction: column; gap: 14px; }
.category__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.category__media img { width: 100%; height: 100%; object-fit: cover; }
.category__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.category__name { font-size: 24px; }
.category__desc { font-size: 14px; color: var(--text-muted); text-align: right; }

/* Products */
.product {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product__media {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--tile);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--white);
  color: var(--forest);
  display: grid;
  place-items: center;
}
.product__body { padding: 0 6px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product__cat { font-size: 13px; color: var(--text-subtle); }
.product__name { font-size: 17px; font-weight: 700; line-height: 1.3; }
.product__rating { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.product__stars { color: var(--star); letter-spacing: 1px; }
.product__price { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.product__now { font-size: 19px; font-weight: 700; }
.product__was { font-size: 14px; color: var(--text-strike); }
.product__off { font-size: 13px; font-weight: 700; color: var(--moss); }
.product__add {
  height: 46px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--forest);
  background: transparent;
  color: var(--forest);
  font: 600 14px var(--font-body);
}
.product__add:hover { background: var(--forest); color: var(--paper); }

/* Services */
.service {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
}
.service__name { font-size: 28px; }
.service__text { font-size: 15px; line-height: 1.6; color: var(--text-muted); flex: 1; }
.service__cta { font-weight: 600; font-size: 15px; color: var(--moss); }
.service--dark { background: var(--forest); color: var(--paper); }
.service--dark:hover { color: var(--paper); }
.service--dark .service__text { color: var(--mist); }
.service--dark .service__cta { color: var(--leaf-soft); }

/* Journal */
.post {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 190px;
  border: 1px solid var(--line-soft);
}
.post__tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--moss);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.post__title { font-size: 23px; line-height: 1.25; flex: 1; }
.post__more { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }

/* Newsletter */
.newsletter-wrap { padding-bottom: var(--section-gap); }
.newsletter {
  background: var(--leaf);
  border-radius: var(--r-xl);
  padding: 48px 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.newsletter__copy { flex: 1 1 380px; }
.newsletter__title { font-size: 38px; line-height: 1.1; color: var(--forest-deep); }
.newsletter__sub { margin-top: 10px; font-size: 16px; color: var(--leaf-ink); }
.newsletter__form { display: flex; gap: 10px; flex: 1 1 380px; flex-wrap: wrap; }
.newsletter__input {
  flex: 1 1 220px;
  height: 54px;
  border-radius: var(--r-sm);
  border: 0;
  padding: 0 24px;
  font: 500 15px var(--font-body);
  background: var(--paper);
  color: var(--forest);
}
.newsletter__input::placeholder { color: var(--text-subtle); }
.newsletter__form .btn { height: 54px; }

/* Footer */
.site-footer { background: var(--forest); color: var(--mist); }
.site-footer a { color: var(--mist); }
.site-footer a:hover { color: var(--paper); }
.footer__top {
  padding-top: 72px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.footer__brand { flex: 1.6 1 300px; display: flex; flex-direction: column; gap: 18px; }
.footer__logo { display: flex; align-items: center; gap: 12px; }
.footer__logo-badge img { width: 84px; height: auto; }
.footer__about { font-size: 15px; line-height: 1.7; max-width: 340px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--forest-border);
  display: grid;
  place-items: center;
  color: var(--paper);
}
.footer__social a:hover { border-color: var(--leaf-soft); }
.footer__col { flex: 1 1 150px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__heading { margin-bottom: 4px; color: var(--paper); font-weight: 700; }
.site-footer .footer__col a[aria-current] { color: var(--paper); font-weight: 600; }
.footer__bottom {
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid var(--forest-line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.site-footer .footer__bottom a { color: var(--paper); }

/* Focus */
:where(a, button, input):focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 2px;
}
.hero :where(a):focus-visible,
.site-footer :where(a):focus-visible { outline-color: var(--leaf-soft); }

/* Responsive */
@media (max-width: 1100px) {
  .trust__grid,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header__inner { gap: 28px; }
  .main-nav { gap: 20px; font-size: 14px; }
  .header-actions { gap: 0; }
}

@media (max-width: 900px) {
  .main-nav { order: 3; flex-basis: 100%; gap: 20px; }
  .header-actions { margin-left: auto; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Menu toggle (phones only) */
.menu-toggle { display: none; }
.menu-toggle__close { display: none; }
.is-menu-open .menu-toggle__open { display: none; }
.is-menu-open .menu-toggle__close { display: inline; }
.bag__count-short { display: none; }

@media (max-width: 640px) {
  :root { --gutter: 16px; --section-gap: 56px; }

  /* Announcement + header */
  .announcement { font-size: 12px; padding: 8px 16px; }
  .site-header__inner { gap: 8px 12px; padding-top: 10px; padding-bottom: 10px; }
  .brand img { width: 48px; height: auto; }
  .header-actions { gap: 2px; }
  .header-actions .icon-btn[data-hide-mobile] { display: none; }
  .bag { padding: 0 14px; gap: 6px; }
  .bag__label { display: none; }
  .bag__count-short { display: inline; }
  .menu-toggle { display: grid; }
  .main-nav { display: none; }
  .is-menu-open .main-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4px 0 8px;
    font-size: 17px;
  }
  .is-menu-open .main-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    border-top: 1px solid var(--line);
  }

  /* Trust strip: compact 2x2 */
  .trust { padding-top: 12px; }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trust__item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: var(--r-md); }
  .trust__item svg { width: 24px; height: 24px; }
  .trust__title { font-size: 14px; line-height: 1.3; }
  .trust__sub { font-size: 12px; line-height: 1.4; }

  /* Section heads */
  .section-head { margin-bottom: 20px; gap: 12px; }
  .section-title { font-size: 32px; }
  .eyebrow { font-size: 12px; }

  /* Categories: 2x2 */
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category { gap: 8px; }
  .category__media { border-radius: var(--r-md); }
  .category__meta { flex-direction: column; align-items: flex-start; gap: 2px; }
  .category__name { font-size: 20px; }
  .category__desc { font-size: 12px; text-align: left; }

  /* Products: 2 compact columns */
  .product { padding: 8px; gap: 10px; border-radius: var(--r-md); }
  .product__media { border-radius: 12px; }
  .product__wish { top: 4px; right: 4px; background: transparent; }
  .product__wish::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: var(--white);
  }
  .product__wish svg { position: relative; width: 16px; height: 16px; }
  .product__body { padding: 0 4px; gap: 4px; }
  .product__cat { font-size: 12px; }
  .product__name { font-size: 15px; }
  .product__rating { font-size: 12px; gap: 4px; }
  .product__stars { width: 70px; height: 12px; -webkit-mask-size: 14px 12px; mask-size: 14px 12px; }
  .product__price { gap: 2px 8px; margin-top: 4px; }
  .product__now { font-size: 16px; }
  .product__was { font-size: 12px; }
  .product__off { font-size: 12px; flex-basis: 100%; }
  .product__add { height: 44px; font-size: 13px; }

  /* Services */
  .grid-3 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .service { min-height: 0; padding: 24px; gap: 10px; border-radius: var(--r-md); }
  .service svg { width: 28px; height: 28px; }
  .service__name { font-size: 24px; }

  /* Journal: swipe row */
  .journal-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gutter);
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px;
    scrollbar-width: none;
  }
  .journal-grid::-webkit-scrollbar { display: none; }
  .post { scroll-snap-align: start; min-height: 200px; padding: 22px; border-radius: var(--r-md); }
  .post__title { font-size: 21px; }

  /* Newsletter */
  .newsletter { padding: 28px 20px; gap: 20px; border-radius: var(--r-lg); }
  .newsletter__title { font-size: 28px; }
  .newsletter__copy,
  .newsletter__form { flex-basis: 100%; }
  .newsletter__input { padding: 0 18px; }
  .newsletter__form .btn { flex: 1 1 100%; justify-content: center; }

  /* Footer */
  .footer__top { padding-top: 48px; padding-bottom: 24px; gap: 32px 16px; }
  .footer__brand { flex-basis: 100%; }
  .footer__col { flex: 1 1 calc(50% - 8px); gap: 0; }
  .footer__heading { margin-bottom: 6px; }
  .footer__col a { padding: 8px 0; }
  .footer__bottom { flex-direction: column; gap: 6px; padding-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .card img { transition: none; }
  .card:hover img { transform: none; }
}

/* =====================================================================
   Wow layer: ticker, hero bottles, lively cards, reveals, spray showpiece
   ===================================================================== */

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: var(--r-sm); background: var(--forest); color: var(--paper); font-weight: 600;
}
.skip-link:focus { top: 12px; }
.skip-link:hover, .skip-link:focus { color: var(--paper); }

/* ---- Announcement ticker ---- */
.announcement { padding: 10px 0; overflow: hidden; }
.ticker { display: flex; width: max-content; }
.ticker__set { display: flex; flex: none; }
.ticker__set span { display: inline-flex; align-items: center; white-space: nowrap; }
.ticker__set span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--leaf); margin: 0 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  .ticker { animation: ticker 48s linear infinite; }
  .announcement:hover .ticker { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker { width: auto; justify-content: center; }
  .ticker__set { flex-wrap: wrap; justify-content: center; padding: 0 16px; }
  .ticker__set[aria-hidden] { display: none; }
  .ticker__set span:not(:first-child) { display: none; }
  .ticker__set span::after { display: none; }
}

/* ---- Hero: scroll-played film ----
   Base (no JS, reduced motion): the product photograph, full width, copy over its darkened left.
   Live (.is-film, set by main.js once the first frame has loaded): the stage pins for 1.5 screens,
   the canvas plays the film with the scroll, and --e (0..1) dissolves the photograph in at the end. */
.hero { position: relative; background: var(--forest); color: var(--paper); }
.hero__stage {
  position: relative; isolation: isolate; overflow: hidden; display: flex;
  min-height: clamp(600px, calc(100svh - 132px), 860px);
}
.hero__stage picture { display: contents; }
.hero__end, .hero__canvas { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; }
.hero__end {
  /* composed for the full frame: copy over the shaded left, products on the right */
  object-fit: cover; object-position: 60% 74%;
}
.hero__canvas { z-index: -2; display: none; }
.hero__video { display: none; }
.hero__stage::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 38, 15, 0.9) 0%, rgba(16, 38, 15, 0.78) 30%, rgba(16, 38, 15, 0.3) 54%, rgba(16, 38, 15, 0) 70%),
    linear-gradient(0deg, rgba(16, 38, 15, 0.4) 0%, rgba(16, 38, 15, 0) 30%);
}
.hero__inner { width: 100%; display: flex; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero__copy { max-width: 700px; display: flex; flex-direction: column; gap: 22px; }
.hero__title { font-size: clamp(46px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -0.02em; }
.hero__line { display: block; }
.hero__lede { font-size: 18px; line-height: 1.6; color: var(--mist-light); max-width: 460px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.hero .btn--ghost-light { border-color: rgba(244, 245, 238, 0.5); background: rgba(16, 38, 15, 0.25); }
.hero__hint { display: none; }

.hero.is-film { height: 250svh; }
.hero.is-film .hero__stage { position: sticky; top: var(--header-h, 93px); height: calc(100svh - var(--header-h, 93px)); min-height: 0; }
.hero.is-film .hero__canvas { display: block; z-index: -3; }  /* film at the back; the photograph dissolves in over it */
/* Parallax. --p: progress through the pinned film (0..1). --q: progress of the hero leaving the screen (0..1).
   Copy drifts up at three rates while the film plays; the picture lags behind the page as the hero exits. */
.hero.is-film .hero__canvas {
  transform: translate3d(0, calc(var(--q, 0) * 110px), 0) scale(calc(1.07 - var(--p, 0) * 0.07));
  will-change: transform;
}
.hero.is-film .hero__end {
  z-index: -2; opacity: var(--e, 0);
  transform: translate3d(0, calc(var(--q, 0) * 110px), 0) scale(calc(1.07 - var(--e, 0) * 0.07)); transform-origin: 65% 70%;
  will-change: opacity, transform;
}
.hero.is-film .hero__title { transform: translate3d(0, calc(var(--p, 0) * -56px + var(--q, 0) * -46px), 0); }
.hero.is-film .hero__lede  { transform: translate3d(0, calc(var(--p, 0) * -36px + var(--q, 0) * -30px), 0); }
.hero.is-film .hero__ctas  { transform: translate3d(0, calc(var(--p, 0) * -18px + var(--q, 0) * -16px), 0); }
.hero.is-film .hero__copy > * { will-change: transform; }
.hero.is-film .hero__hint {
  display: flex; align-items: center; gap: 8px;
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist-light);
  opacity: calc(1 - var(--p, 0) * 8);
}
@keyframes hero-rise { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes film-in { from { opacity: 0; } }
@keyframes hint { 0%, 100% { translate: 0 0; } 50% { translate: 0 5px; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: hero-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--n, 0) * 0.09s); }
  .hero__copy > :nth-child(2) { --n: 1; } .hero__copy > :nth-child(3) { --n: 2; }
  .hero__hint svg { animation: hint 1.6s ease-in-out infinite; }
}

/* ---- Category tiles: label slides up on hover ---- */
.category__media { position: relative; }
.category__go {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
  border-radius: var(--r-sm); background: var(--white); color: var(--forest); font-weight: 700; font-size: 14px;
  opacity: 0; transform: translateY(12px); transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.category:hover .category__go, .category:focus-visible .category__go { opacity: 1; transform: none; }
.category:hover .category__name { color: var(--moss); }
.category__name { transition: color 0.25s ease; }

/* ---- Product cards: one standard card, used everywhere in the store ----
   A square photograph fills the tile. Built only from fields WooCommerce already has. */
.product { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease; }
.product:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(16, 38, 15, 0.45); }
.product__media { overflow: hidden; background: var(--tile); }
.product__photo { position: absolute; inset: 0; display: block; }
.product__media .product__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product:hover .product__photo img { transform: scale(1.05); }
.product__badge {
  position: absolute; z-index: 2; left: 10px; top: 10px;
  height: 28px; padding: 0 10px; border-radius: 8px; display: inline-flex; align-items: center;
  background: var(--leaf); color: var(--forest-deep); font-size: 12px; font-weight: 700;
}
.product__badge--out { background: var(--forest); color: var(--paper); }
.product__wish { z-index: 2; transition: transform 0.2s ease, color 0.2s ease; }
.product__wish:hover { transform: scale(1.08); color: var(--moss); }
.product__name a:hover { color: var(--moss); }
.product__add { transition: background-color 0.25s ease, color 0.25s ease; }
.product:hover .product__add:not(:disabled) { background: var(--forest); color: var(--paper); }
.product__add:disabled, .product__add:disabled:hover { border-color: var(--line); background: transparent; color: var(--text-subtle); cursor: not-allowed; }
.product--out .product__photo img { opacity: 0.6; }
/* star rating drawn from the product's average (--r, 0 to 5), so it shows part-filled stars */
.product__stars {
  display: inline-block; width: 80px; height: 14px; flex: none;
  background: linear-gradient(90deg, var(--star) calc(var(--r, 5) / 5 * 100%), #d5d9cb calc(var(--r, 5) / 5 * 100%));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M8 0l2.1 4.6 5 .5-3.8 3.300 1.100 4.900L8 10.800 3.600 13.300l1.100-4.900L.900 5.100l5-.5z'/%3E%3C/svg%3E") 0 0 / 16px 14px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M8 0l2.1 4.6 5 .5-3.8 3.300 1.100 4.900L8 10.800 3.600 13.300l1.100-4.900L.900 5.100l5-.5z'/%3E%3C/svg%3E") 0 0 / 16px 14px repeat-x;
}

/* ---- Other cards answer the pointer too ---- */
.service, .post, .trust__item { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease; }
.service:hover, .post:hover { transform: translateY(-4px); box-shadow: 0 22px 36px -26px rgba(16, 38, 15, 0.4); }
.post__more svg, .btn svg { transition: transform 0.25s ease; }
.post:hover .post__more svg, .btn:hover svg { transform: translateX(4px); }
.btn { transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.btn:active { transform: scale(0.98); }

/* ---- Scroll reveals (only when JS is on and motion is allowed) ---- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal], .js [data-reveal-group] > * {
    opacity: 0; transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--n, 0) * 0.08s);
  }
  .js [data-reveal].is-in, .js [data-reveal-group].is-in > * { opacity: 1; transform: none; }
  .js [data-reveal-group].is-done > * { transition-delay: 0s; }
  .js [data-reveal-group] .product__badge { scale: 0; transition: scale 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) 0.5s; }
  .js [data-reveal-group].is-in .product__badge { scale: 1; }
}

/* ---- Spray showpiece ---- */
.spot { margin-top: var(--section-gap); }
.spot__stage { position: relative; }
.spot__disc { display: none; }
/* Base (phones, reduced motion, no JS): a dark rounded panel */
.spot__inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  max-width: calc(var(--container) - var(--gutter) * 2); background: var(--forest); color: var(--paper);
  border-radius: var(--r-xl); padding: clamp(24px, 4vw, 56px);
}
.spot__film { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.spot__film img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 0.6s ease; }
.spot__film:hover img { transform: scale(1.03); }
.spot__play {
  position: absolute; left: 20px; bottom: 20px; height: 52px; padding: 0 22px 0 8px;
  border-radius: var(--r-sm); background: var(--white); color: var(--forest);
  display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14px;
  transition: transform 0.25s ease;
}
.spot__film:hover .spot__play { transform: translateY(-3px); }
.spot__play-dot { width: 38px; height: 38px; border-radius: 50%; background: var(--forest); display: grid; place-items: center; }
.spot__copy { display: flex; flex-direction: column; gap: 20px; }
.spot__eyebrow { margin-bottom: 0; color: var(--leaf-soft); }
.spot__title { font-size: clamp(34px, 3.4vw, 52px); line-height: 1.05; text-wrap: balance; }
.spot__text { font-size: 18px; line-height: 1.65; color: var(--mist); max-width: 560px; }
/* Facts: one ruled row, an icon over each, hairlines between. No boxes. */
.spot__facts {
  list-style: none; margin: 6px 0 4px; padding: 20px 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(244, 245, 238, 0.18); border-bottom: 1px solid rgba(244, 245, 238, 0.18);
}
.fact { display: flex; flex-direction: column; gap: 4px; padding: 0 20px; border-left: 1px solid rgba(244, 245, 238, 0.18); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact svg { color: var(--leaf-soft); margin-bottom: 8px; }
.fact__title { font-weight: 700; font-size: 16px; }
.fact__sub { font-size: 14px; color: var(--mist); }

/* Live (desktop, motion allowed): the stage pins and the disc floods the screen.
   --d disc 0..1, --c copy 0..1, --cover scale needed to cover the stage (set by main.js) */
.spot.is-live { height: 210svh; }
.spot.is-live .spot__stage { position: sticky; top: var(--header-h, 93px); height: calc(100svh - var(--header-h, 93px)); overflow: hidden; display: flex; align-items: center; }
.spot.is-live .spot__disc {
  display: block; position: absolute; left: var(--cx, 30%); top: var(--cy, 50%);
  width: 40vmin; height: 40vmin; border-radius: 50%; background: var(--forest);
  transform: translate(-50%, -50%) scale(calc(0.6 + var(--d, 0) * var(--cover, 6)));
  will-change: transform;
}
.spot.is-live .spot__inner { position: relative; width: 100%; max-width: var(--container); background: none; border-radius: 0; padding-block: 0; padding-inline: var(--gutter); }
.spot.is-live .spot__film { transform: translateX(calc((1 - var(--s, 1)) * var(--dx, 0px))) scale(calc(0.84 + var(--d, 0) * 0.16)) rotate(calc((1 - var(--s, 1)) * -4deg)); will-change: transform; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.5); max-height: calc(76svh - var(--header-h, 93px) * 0.6); justify-self: center; }
.spot.is-live .spot__copy > * { opacity: var(--c, 0); transform: translateY(calc((1 - var(--c, 0)) * 28px)); }
.spot.is-live .spot__copy > :nth-child(2) { transform: translateY(calc((1 - var(--c, 0)) * 40px)); }
.spot.is-live .spot__copy > :nth-child(n+3) { transform: translateY(calc((1 - var(--c, 0)) * 56px)); }
.spot.is-live:not(.is-shown) .spot__copy { visibility: hidden; }

.newsletter__status { flex-basis: 100%; min-height: 20px; font-size: 14px; color: var(--leaf-ink); }
.newsletter-wrap { padding-bottom: 72px; }

/* ---- Tablet ---- */
@media (max-width: 900px) {
  .spot__inner { grid-template-columns: 1fr; }
  .spot__film { aspect-ratio: 4 / 3; }
}

/* ---- Phone ---- */
@media (max-width: 640px) {
  .announcement { padding: 8px 0; }
  /* Hero on phones: a tall looping film fills the hero; the copy sits over its calm lower third.
     Until the film is ready (or if it cannot play) the product photograph stands in. */
  .hero__stage { display: flex; align-items: flex-end; min-height: clamp(540px, calc(100svh - 112px), 760px); }
  .hero__stage::before {
    background: linear-gradient(0deg, rgba(16, 38, 15, 0.94) 0%, rgba(16, 38, 15, 0.8) 34%, rgba(16, 38, 15, 0.25) 60%, rgba(16, 38, 15, 0) 76%);
  }
  /* taller than the stage and shifted up, so the fruit sits above the copy */
  .hero__video {
    position: absolute; z-index: -2; left: 0; top: -20%; width: 100%; height: 124%; object-fit: cover;
    display: block; opacity: 0;
  }
  /* --e (0..1) comes from the scroll: the film dissolves away to show the product shot beneath it */
  .hero__video.is-on { opacity: calc(1 - var(--e, 0)); animation: film-in 0.8s ease backwards; }
  /* anchored to the top, and the settle-in zoom grows from the top edge, so the bottle tops are never cropped */
  .hero__end { object-position: 50% 0; transform: translate3d(0, calc(var(--q, 0) * 60px), 0) scale(calc(1.06 - var(--e, 0) * 0.06)); transform-origin: 50% 0; }
  .hero.is-phone-film .hero__video { transform: translate3d(0, calc(var(--q, 0) * 60px), 0); }
  /* once the film is playing, the hero pins for a short scroll while it gives way to the products */
  .hero.is-phone-film { height: calc(100svh - var(--header-h, 61px) + 70svh); }
  .hero.is-phone-film .hero__stage { position: sticky; top: var(--header-h, 61px); height: calc(100svh - var(--header-h, 61px)); min-height: 0; }
  .hero__inner { display: block; padding-top: 28px; padding-bottom: 28px; }
  .hero__copy { max-width: none; gap: 16px; }
  .hero__title { font-size: 40px; }
  .hero__lede { font-size: 16px; }
  .hero__ctas { flex-direction: column; margin-top: 4px; }
  .hero__ctas .btn { justify-content: center; }
  .category__go { display: none; }
  .product__badge { left: 6px; top: 6px; height: 24px; padding: 0 8px; }
  .spot__inner { border-radius: var(--r-lg); padding: 16px 16px 28px; gap: 24px; margin-inline: var(--gutter); width: auto; }
  .spot__film { aspect-ratio: 1 / 1; border-radius: var(--r-md); }
  .spot__play { left: 12px; bottom: 12px; }
  .spot__copy { padding: 0 8px; gap: 16px; }
  .spot__text { font-size: 16px; }
  /* facts stack as a ruled list: icon on the left, text beside it */
  .spot__facts { grid-template-columns: 1fr; padding: 0; }
  .fact, .fact:first-child { display: grid; grid-template-columns: 24px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px 0; border-left: 0; border-top: 1px solid rgba(244, 245, 238, 0.14); }
  .fact:first-child { border-top: 0; }
  .fact svg { grid-row: 1 / 3; margin-bottom: 0; }
  .fact__title { font-size: 15px; }
  .fact__sub { font-size: 13px; }
  .spot__copy .btn { width: 100%; justify-content: center; }
}

/* Touch screens have no hover: keep the category label visible on larger touch devices */
@media (hover: none) and (min-width: 641px) {
  .category__go { opacity: 1; transform: none; }
}

/* links on the dark showpiece keep their own colours on hover */
.spot a:hover { color: inherit; }
.spot .spot__film:hover .spot__play { color: var(--forest); }
.spot .btn--leaf:hover { color: var(--forest-deep); }

/* Short phones: keep the headline clear of the fruit */
@media (max-width: 640px) and (max-height: 790px) {
  .hero__lede { display: none; }
}
@media (max-width: 640px) and (max-height: 720px) {
  .hero__video { top: -27%; height: 131%; }
}

/* Phone-only line breaks: each .line-m sits on its own line and never wraps */
@media (max-width: 640px) {
  .line-m { display: block; white-space: nowrap; }
}

/* Service cards: photograph on top, copy below */
.service { padding: 0; overflow: hidden; gap: 0; min-height: 0; }
.service__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sage); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service:hover .service__media img { transform: scale(1.04); }
.service__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 26px 28px 28px; }
@media (max-width: 640px) {
  .service__body { padding: 20px 22px 24px; gap: 8px; }
}

/* Category tiles: the label sits on the photograph, over a soft fade, with an arrow button */
.category { gap: 0; }
.category__media { position: relative; isolation: isolate; }
/* the fade is the label's own background, so the text always has a dark ground behind it */
.category__label {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 96px 20px 20px;
  background-color: rgba(16, 38, 15, 0);
  background-image: linear-gradient(0deg, rgba(16, 38, 15, 0.86) 0%, rgba(16, 38, 15, 0.6) 38%, rgba(16, 38, 15, 0) 100%);
}
.category__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.category .category__name { font-size: 30px; line-height: 1.05; color: var(--paper); }
.category:hover .category__name { color: var(--paper); }
.category .category__desc { font-size: 14px; color: var(--mist-light); text-align: left; }
.category__arrow {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--forest);
  transition: background-color 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.category:hover .category__arrow, .category:focus-visible .category__arrow { background: var(--leaf); transform: translateX(4px); }
.category__go { display: none; }
@media (max-width: 640px) {
  .category__label { padding: 64px 12px 12px; gap: 8px; }
  .category .category__name { font-size: 22px; }
  .category .category__desc { font-size: 12px; }
  .category__arrow { width: 36px; height: 36px; }
  .category__arrow svg { width: 15px; height: 15px; }
}

/* Spray section backdrop: the sunlit garden from the end of the hero film, darkened for the white
   text, with a warm glow behind the photograph card. */
.spot__bg { display: none; }
/* Base (phones, reduced motion, no JS): the garden fills the rounded panel */
.spot__inner {
  background-color: var(--forest);
  background-image:
    radial-gradient(60% 55% at 28% 38%, rgba(214, 232, 120, 0.26) 0%, rgba(214, 232, 120, 0) 70%),
    linear-gradient(rgba(16, 38, 15, 0.76), rgba(16, 38, 15, 0.8)),
    url("img/garden.jpg");
  background-size: cover; background-position: center;
}
/* Live (desktop): the garden layer is revealed through a growing circle centred on the card,
   in place of the flat green disc. --pp (0..1) drifts the picture for depth. */
.spot.is-live .spot__disc { display: none; }
.spot.is-live .spot__inner { background: none; }
.spot.is-live .spot__bg {
  display: block; position: absolute; inset: 0; overflow: hidden; background: var(--forest);
  clip-path: circle(calc(20vmin * (0.6 + var(--d, 0) * var(--cover, 6))) at var(--cx, 30%) var(--cy, 50%));
  will-change: clip-path;
}
.spot.is-live .spot__bg img {
  position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover;
  transform: translate3d(0, calc((var(--pp, 0.5) - 0.5) * -70px), 0);
  will-change: transform;
}
.spot.is-live .spot__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(38vmin 38vmin at var(--cx, 30%) var(--cy, 50%), rgba(222, 236, 130, 0.34) 0%, rgba(222, 236, 130, 0) 100%),
    linear-gradient(90deg, rgba(16, 38, 15, 0.66) 0%, rgba(16, 38, 15, 0.8) 46%, rgba(16, 38, 15, 0.84) 100%);
}

/* Header: white, with a frosted blur so the page shows softly through as it scrolls underneath.
   The blur lives on its own layer (::before) behind the header's content, never on the header
   itself: Chrome drops a frame of blur when a blurred element's own children repaint (hover
   states, the bag count), which shows as flicker. The layer is promoted once and left alone. */
.site-header { background: transparent; border-bottom-color: rgba(23, 53, 31, 0.1); isolation: isolate; }
.site-header::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
/* A second, plain white layer fades in over the frost while a pinned section sits beneath the
   header (hero film, spray showpiece: see main.js) or the phone menu is open. Fading a solid
   layer keeps the blur layer untouched, so there is no snap and nothing for Chrome to rebuild. */
.site-header::after {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: var(--white); opacity: 0; transition: opacity 0.3s ease;
}
.site-header.is-solid::after, .site-header.is-menu-open::after { opacity: 1; }
/* browsers without backdrop blur get the solid white layer all the time */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header::after { opacity: 1; }
}
.icon-btn:hover { background: rgba(23, 53, 31, 0.06); border-radius: 50%; }

/* the account link lives in the phone menu only; on wider screens the header icon covers it */
.main-nav__extra { display: none; }
@media (max-width: 640px) { .is-menu-open .main-nav__extra { display: flex; } }
a.icon-btn { border-radius: 50%; }

/* ---------- Services on country homepages: two cards, or one wide card ---------- */
.services--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.services--two .service__media { aspect-ratio: 2 / 1; }
.service--wide { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: stretch; }
.service--wide .service__media { aspect-ratio: auto; min-height: 380px; }
.service--wide .service__body { justify-content: center; gap: 16px; padding: clamp(28px, 5vw, 64px); }
.service--wide .service__name { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; }
.service--wide .service__text { flex: none; font-size: 18px; max-width: 420px; }
.service--wide .service__cta { font-size: 16px; }
@media (max-width: 900px) {
  .service--wide { grid-template-columns: 1fr; }
  .service--wide .service__media { min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 640px) { .services--two { grid-template-columns: minmax(0, 1fr); } }
