/* =========================================================================
   Naturalive Global — Design System
   Inspired by Koala Eco's botanical-apothecary editorial style.
   Forest green spine, warm cream surfaces, serif display, sans body.
   ========================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  /* Brand greens */
  --green:        #1F4D2C;
  --green-deep:   #143820;
  --green-soft:   #2F6B40;
  --eucalyptus:   #6B8F71;
  --sage:         #B7C7B0;
  --mint:         #DDE7D4;

  /* Warm naturals */
  --cream:        #F5EFE3;
  --bone:         #EDE5D2;
  --sand:         #E2D6BC;
  --paper:        #FAF6EE;
  --white:        #FFFFFF;

  /* Ink */
  --ink:          #1A1A1A;
  --ink-2:        #3A3A3A;
  --ink-3:        #6E6E6E;
  --ink-4:        #9C9A92;
  --rule:         rgba(31, 77, 44, 0.18);
  --rule-strong:  rgba(31, 77, 44, 0.45);

  /* Type */
  --font-display: "Cormorant Garamond", "Garamond", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --fs-display:   clamp(56px, 8vw, 120px);
  --fs-h1:        clamp(40px, 5vw, 72px);
  --fs-h2:        clamp(32px, 3.6vw, 52px);
  --fs-h3:        24px;
  --fs-body:      16px;
  --fs-small:     14px;
  --fs-eyebrow:   12px;

  --lh-display:   1.05;
  --lh-heading:   1.15;
  --lh-body:      1.55;
  --lh-loose:     1.7;

  --ls-eyebrow:   0.18em;
  --ls-button:    0.10em;

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  --r-md: 8px;
  --r-pill: 999px;

  --shadow-image: 0 24px 64px rgba(20,56,32,0.18);
  --max-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
  margin: 0 0 var(--sp-5);
}
.display { font-size: var(--fs-display); line-height: var(--lh-display); font-weight: 400; }
h1       { font-size: var(--fs-h1);      line-height: var(--lh-heading); }
h2       { font-size: var(--fs-h2);      line-height: var(--lh-heading); }
h3       { font-size: var(--fs-h3);      line-height: 1.25; }
h4       { font-size: 18px;              line-height: 1.3; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; margin-bottom: var(--sp-3); }

h1 em, h2 em, .display em { font-style: italic; font-weight: 400; }

p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-2);
  margin: 0 0 var(--sp-4);
  text-wrap: pretty;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 180ms ease;
}
a:hover { color: var(--green-deep); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--green-soft);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  background: var(--green);
  color: var(--cream);
  border: 1px solid var(--green);
  border-radius: var(--r-pill);
  cursor: pointer;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease, transform 120ms ease;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--cream); }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}
.btn-ghost:hover { background: var(--green); color: var(--cream); }
.btn-cream {
  background: var(--cream);
  color: var(--green);
  border-color: var(--cream);
}
.btn-cream:hover { background: var(--bone); border-color: var(--bone); color: var(--green-deep); }

/* ---- Layout ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section {
  padding: var(--sp-9) 0;
}
.section-paper { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-bone  { background: var(--bone); }

.center { text-align: center; }
.editorial {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.editorial p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.5;
  color: var(--ink);
}

/* ---- Announcement bar ---- */
/* ---- Header ---- */
.header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(250, 246, 238, 0.94);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px var(--sp-6);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}
.header-inner .nav:not(.right) { justify-self: start; padding-right: var(--sp-5); }
.header-inner .nav.right { justify-self: end; padding-left: var(--sp-5); }
.nav.right {
  gap: 14px;
}
.socials-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.nav.right .nav-link {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 13px;
  font-size: 11px;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(31, 77, 44, 0.08);
  border: none;
  border-radius: 999px;
  line-height: 1;
  transition: background 180ms, color 180ms;
}
.nav.right .nav-link:hover {
  background: var(--green);
  color: var(--paper);
}
.nav.right .nav-link.active {
  background: var(--green);
  color: var(--paper);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  font-size: 12px;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1;
}
.nav.right { justify-content: flex-end; }
.nav > a,
.nav > .nav-dropdown > a {
  color: var(--ink);
  cursor: pointer;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transition: color 180ms;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--green); }

.logo {
  height: 38px;
  width: auto;
  display: block;
}
.logo-link { display: flex; align-items: center; justify-content: center; }

/* ---- Nav dropdown (Products hover) ---- */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.2px solid currentColor;
  border-bottom: 1.2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  transition: transform 180ms;
}
.nav-dropdown:hover > a::after,
.nav-dropdown:focus-within > a::after {
  transform: rotate(225deg) translateY(0);
}
.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--paper);
  border: 1px solid var(--rule);
  min-width: 240px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms, transform 200ms, visibility 0s 200ms;
  list-style: none;
  margin: 0;
}
.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 200ms, transform 200ms, visibility 0s;
}
.dropdown-panel li {
  padding: 0;
}
.dropdown-panel a {
  display: block;
  padding: 10px 24px;
  font-size: 12px;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}
.dropdown-panel a:hover {
  background: var(--cream);
  color: var(--green);
}

/* Mobile nav toggle (basic) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--green);
  padding: 8px;
}

/* ---- Header social icons (right nav) ---- */
.nav-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.nav-mobile-only { display: none !important; }
.mobile-socials-row {
  display: none;
  align-items: center;
  gap: 20px;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--rule);
  margin-top: var(--sp-2);
}
.mobile-socials-row a {
  display: inline-flex;
  width: 26px;
  height: 26px;
  color: var(--ink);
}
.mobile-socials-row svg { width: 22px; height: 22px; }
.socials-group a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  width: 22px;
  height: 22px;
  transition: color 180ms, transform 180ms;
}
.socials-group a:hover { color: var(--green); transform: translateY(-1px); }
.socials-group svg { width: 20px; height: 20px; display: block; }

/* Bigger logo variant for home header */
.logo--lg { height: 56px; }
@media (max-width: 640px) {
  .logo--lg { height: 44px; }
  .nav-socials { gap: 14px; }
}

/* ---- Footer brand row (Naturalive + HumaLiva) ---- */
.footer-brand-logos {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-bottom: var(--sp-4);
}
.footer-brand-logos img { height: 40px; width: auto; display: block; }
.footer-brand-logos img.huma { height: 34px; opacity: 0.92; }
.footer-brand .footer-contact {
  list-style: none;
  padding: 0;
  margin: var(--sp-3) 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}
.footer-brand .footer-contact li { margin-bottom: 4px; }
.footer-brand .footer-contact a { color: var(--ink); }
.footer-brand .footer-contact a:hover { color: var(--green); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 78vh;
  background: linear-gradient(180deg, var(--cream) 0%, var(--bone) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: var(--sp-10) var(--sp-6);
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Source already cropped + upscaled to 1920×960; no CSS upscale needed. */
}
/* Cinematic forest-green wash. Mutes source-compression artefacts and turns
   the video into a mood backdrop rather than the focal point. Vignette is
   stronger at the edges and slightly lifted in the centre so the slogan
   still has presence. */
.hero-video-tint {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%,
      rgba(20, 56, 32, 0.20) 0%,
      rgba(20, 56, 32, 0.40) 60%,
      rgba(14, 42, 24, 0.62) 100%),
    linear-gradient(180deg,
      rgba(14, 42, 24, 0.30) 0%,
      rgba(20, 56, 32, 0.30) 40%,
      rgba(14, 42, 24, 0.55) 100%);
  pointer-events: none;
}
/* Subtle warm cream highlight directly behind the slogan so the green text
   (or the swap to cream below) keeps a soft glow without lifting the whole
   image back to bright. */
.hero-video-tint::after {
  content: "";
  position: absolute;
  left: 50%; top: 45%;
  transform: translate(-50%, -50%);
  width: 60%; height: 40%;
  background: radial-gradient(ellipse, rgba(245, 239, 227, 0.16) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero h1 {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  margin-bottom: var(--sp-5);
  font-weight: 400;
  color: var(--cream);
  /* Soft drop shadow keeps cream readable on any video frame. */
  text-shadow:
    0 2px 24px rgba(14, 42, 24, 0.55),
    0 1px 4px rgba(14, 42, 24, 0.4);
}
.hero h1 em {
  /* Italic phrase echoes the soft sage/eucalyptus tones in the video — a
     subtle in-brand accent against the cream main slogan. Soft white halo
     lifts it forward off the video without looking artificial. */
  color: var(--sage);
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.5),
    0 0 10px rgba(255, 255, 255, 0.22),
    0 0 24px rgba(255, 255, 255, 0.12),
    0 2px 6px rgba(14, 42, 24, 0.5);
}
.hero h1 .tm { font-family: var(--font-body); font-size: 0.3em; vertical-align: super; margin-left: 4px; font-weight: 400; }
.hero p {
  font-size: clamp(16px, 1.4vw, 20px);
  max-width: 540px;
  margin: 0 auto var(--sp-7);
  color: rgba(245, 239, 227, 0.92);
  text-shadow: 0 1px 12px rgba(14, 42, 24, 0.6);
}

/* ---- Categories carousel (home — 5 categories, infinite scroll) ---- */
.category-carousel {
  position: relative;
  overflow: hidden;
  /* fade edges so items at the boundary don't feel chopped */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.category-track {
  display: flex;
  gap: var(--sp-6);
  width: max-content;
  animation: cat-scroll 40s linear infinite;
}
.category-carousel:hover .category-track { animation-play-state: paused; }

@keyframes cat-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.category-card {
  width: 280px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: var(--sp-5) var(--sp-4);
  border: 1px solid transparent;
  transition: border-color 200ms ease, transform 200ms ease;
}
.category-card:hover {
  border-color: var(--rule);
  transform: translateY(-2px);
}
.category-card-image {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  overflow: hidden;
}
.category-card-image img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 400ms ease;
}
.category-card:hover .category-card-image img {
  transform: scale(1.04);
}
.category-card .eyebrow {
  margin-bottom: var(--sp-2);
  font-size: 11px;
}
.category-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: var(--sp-3);
  color: var(--ink);
}
.category-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  margin-bottom: var(--sp-4);
  flex: 1;
}
.category-card .cat-link {
  font-size: 11px;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
  display: inline-block;
}
.category-card .cat-link::after {
  content: " →";
}

/* ---- Product grid ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-7) var(--sp-6);
}
.product-grid.cols-5 { grid-template-columns: repeat(5, 1fr); gap: var(--sp-6) var(--sp-5); }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.product-card-image {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  margin-bottom: var(--sp-4);
}
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 400ms ease;
  /* Neutralises baked-in white backgrounds in JPG product shots so they sit
     uniformly on the cream card surface alongside transparent PNGs. */
  mix-blend-mode: multiply;
}
.product-card:hover .product-card-image img {
  transform: scale(1.02);
}
.product-card .name {
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 4px;
}
.product-card .sub {
  font-size: 13px;
  color: var(--ink-3);
  font-style: italic;
  font-family: var(--font-display);
}

/* ---- Filter bar (Products page) ---- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-bottom: var(--sp-8);
}
.filter-chip {
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 180ms ease;
  font-family: var(--font-body);
}
.filter-chip:hover {
  border-color: var(--green);
  color: var(--green);
}
.filter-chip.active {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}

.subfilter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
  margin-bottom: var(--sp-7);
  padding-top: var(--sp-3);
}
.subfilter-chip {
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  background: transparent;
  color: var(--ink-3);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all 180ms ease;
  font-family: var(--font-body);
}
.subfilter-chip:hover { color: var(--green); }
.subfilter-chip.active {
  background: var(--cream);
  color: var(--green);
  border-color: var(--rule);
}

.results-meta {
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: var(--sp-6);
  letter-spacing: 0.04em;
}

/* ---- Modal (product detail lightbox) ---- */
.modal-scrim {
  position: fixed;
  inset: 0;
  background: rgba(31, 77, 44, 0.45);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms, visibility 0s 280ms;
}
.modal-scrim.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 280ms, visibility 0s;
}
.modal {
  position: fixed;
  z-index: 210;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  pointer-events: none;
}
.modal.open { display: flex; }
.modal-card {
  background: var(--paper);
  max-width: 1080px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  pointer-events: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--ink-2);
  z-index: 5;
  width: 36px; height: 36px;
  border-radius: 50%;
  transition: background 180ms;
}
.modal-close:hover { background: var(--bone); color: var(--green); }
.modal-image {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-7);
}
.modal-image img {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.modal-body {
  padding: var(--sp-8) var(--sp-7);
}
.modal-body .eyebrow { margin-bottom: var(--sp-3); }
.modal-body h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: var(--sp-4);
}
.modal-body .desc {
  color: var(--ink-2);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-5);
}
.modal-body .section-head {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-soft);
  margin: var(--sp-5) 0 var(--sp-3);
}
.modal-body ul.features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-4);
}
.modal-body ul.features li {
  position: relative;
  padding-left: var(--sp-5);
  margin-bottom: var(--sp-2);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.modal-body ul.features li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--green);
}
.modal-body .usage,
.modal-body .ingredients,
.modal-body .free-from {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 var(--sp-4);
}
.modal-body .ingredients {
  font-style: italic;
  color: var(--ink-3);
  font-size: 13px;
}
.modal-body .meta-row {
  border-top: 1px solid var(--rule);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  font-size: 12px;
  color: var(--ink-3);
}
.modal-body .meta-row strong {
  color: var(--ink-2);
  font-weight: 500;
}

/* ---- Certifications strip ---- */
.cert-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-7);
}
.cert-strip img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(0.05);
  opacity: 0.95;
}

/* ---- Cert page grid ---- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-7);
}
.cert-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 200ms;
}
.cert-card:hover {
  border-color: var(--green-soft);
}
.cert-card-image {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--sp-5);
}
.cert-card-image img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.cert-card-body {
  padding: var(--sp-5);
  border-top: 1px solid var(--rule);
}
.cert-card-body .eyebrow {
  margin-bottom: var(--sp-2);
  font-size: 10px;
}
.cert-card-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: var(--sp-2);
}
.cert-card-body p {
  font-size: 14px;
  margin: 0;
  color: var(--ink-3);
  line-height: var(--lh-body);
}

/* ---- About page ---- */
.about-hero {
  background: var(--cream);
  padding: var(--sp-10) var(--sp-6);
  text-align: center;
}
.about-hero .display {
  max-width: 980px;
  margin: 0 auto var(--sp-6);
}
.about-hero p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 18px;
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-2);
}
.story-section {
  padding: var(--sp-10) var(--sp-6);
}
.story-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-9);
  align-items: center;
}
.story-grid.flip { direction: rtl; }
.story-grid.flip > * { direction: ltr; }
.story-image {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--cream);
  overflow: hidden;
  box-shadow: var(--shadow-image);
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-image img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Portrait variant — preserves native pixel size of the source image to
   avoid upscaling artefacts. Used for the founder photo. */
.story-image--portrait {
  aspect-ratio: 4/5;
  background: var(--cream);
  padding: var(--sp-7);
}
.story-image--portrait img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Product variant — preserves source crispness and applies the same
   multiply-blend treatment we use elsewhere so any baked-in white
   backgrounds disappear into the cream surface. */
.story-image--product {
  background: var(--cream);
  padding: var(--sp-9);
}
.story-image--product img {
  width: 100%; height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Landscape variant — for 3:2 / 4:3 illustrations and photos that
   would suffocate in a portrait frame. Contain (no crop) preserves
   illustrations; cover crops cleanly for photos. */
.story-image--landscape {
  aspect-ratio: 3/2;
  background: var(--cream);
  padding: 0;
}
.story-image--landscape img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.story-image--landscape.is-illustration img {
  object-fit: contain;
  padding: var(--sp-3);
  box-sizing: border-box;
}

/* Cinematic full-bleed section — for panoramic photography with a
   readable text card overlaid on the left. Used for the new
   Naturalive building photo. */
.story-cinematic {
  position: relative;
  width: 100%;
  min-height: clamp(460px, 64vh, 680px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: var(--sp-10) var(--sp-6);
  overflow: hidden;
}
.story-cinematic::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(8, 22, 14, 0.32);
  pointer-events: none;
}
.story-cinematic-inner {
  position: relative;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}
.story-cinematic-card {
  background: rgba(16, 34, 22, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  padding: clamp(28px, 4vw, 48px);
  max-width: 560px;
  color: white;
}
.story-cinematic-card .eyebrow { color: rgba(255,255,255,0.82); margin-bottom: var(--sp-4); display: inline-block; }
.story-cinematic-card h2 {
  color: white;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  margin-bottom: var(--sp-5);
}
.story-cinematic-card p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  line-height: var(--lh-loose);
  margin: 0;
}
@media (max-width: 640px) {
  .story-cinematic { min-height: 440px; padding: var(--sp-8) var(--sp-5); }
  .story-cinematic-card { max-width: 100%; }
}

/* Editorial centered block — for the certificates story section
   that no longer carries an image. */
.editorial-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.editorial-block .eyebrow { display: inline-block; margin-bottom: var(--sp-4); }
.editorial-block h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: var(--sp-6);
}
.editorial-block p {
  font-size: 17px;
  line-height: var(--lh-loose);
  color: var(--ink-2);
  margin-bottom: var(--sp-4);
}
.cert-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
  margin: var(--sp-7) auto var(--sp-6);
  max-width: 760px;
}
.cert-row img {
  height: 64px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(20%);
  transition: opacity 200ms, filter 200ms;
}
.cert-row img:hover { opacity: 1; filter: grayscale(0%); }
@media (max-width: 640px) {
  .cert-row img { height: 48px; }
  .story-cinematic { min-height: 420px; padding: var(--sp-8) var(--sp-5); }
  .story-cinematic::before {
    background: linear-gradient(180deg,
      rgba(20, 38, 26, 0.78) 0%,
      rgba(20, 38, 26, 0.55) 60%,
      rgba(20, 38, 26, 0.30) 100%);
  }
}
.story-text { max-width: 560px; }
.story-text .eyebrow { margin-bottom: var(--sp-4); display: inline-block; }
.story-text h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  margin-bottom: var(--sp-5);
}
.story-text p {
  font-size: 17px;
  line-height: var(--lh-loose);
  color: var(--ink-2);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-7);
}
.value-card {
  text-align: center;
  padding: var(--sp-6);
}
.value-card .eyebrow { margin-bottom: var(--sp-4); }
.value-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: var(--sp-3);
}
.value-card p {
  font-size: 15px;
  color: var(--ink-3);
  line-height: var(--lh-body);
}

/* ---- Footer ---- */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: var(--sp-9) var(--sp-6) var(--sp-6);
}
.footer-cols {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-7);
  margin-bottom: var(--sp-8);
}
.footer-brand img {
  height: 32px;
  margin-bottom: var(--sp-5);
}
.footer-brand p {
  font-size: 13px;
  color: var(--ink-3);
  line-height: var(--lh-loose);
  max-width: 280px;
}
.footer h5 {
  font-size: 12px;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--green-soft);
  font-weight: 500;
  margin-bottom: var(--sp-4);
  font-family: var(--font-body);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer li {
  margin-bottom: var(--sp-2);
}
.footer li a {
  font-size: 14px;
  color: var(--ink-2);
  border: none;
}
.footer li a:hover { color: var(--green); }

.footer-ack {
  max-width: var(--max-width);
  margin: 0 auto var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-3);
  line-height: var(--lh-loose);
  font-style: italic;
  font-family: var(--font-display);
}
.footer-meta {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--rule);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.footer-meta a {
  color: var(--ink-3);
  margin-left: var(--sp-5);
}
.footer-meta a:hover { color: var(--green); }

/* ---- WhatsApp floating bubble ---- */
.wa-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  display: flex;
  align-items: center;
  background: #25D366;
  color: #fff;
  padding: 12px 18px 12px 14px;
  border-radius: var(--r-pill);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.32), 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 240ms ease;
  border: none;
  cursor: pointer;
}
.wa-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.08);
  color: #fff;
}
.wa-bubble svg {
  width: 22px; height: 22px;
  margin-right: 8px;
  flex-shrink: 0;
}
.wa-bubble .wa-label { line-height: 1; }
.wa-close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px; height: 22px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 180ms;
}
.wa-close:hover { background: var(--green); }
.wa-bubble.hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }

@media (max-width: 640px) {
  .wa-bubble { bottom: 16px; right: 16px; padding: 10px 14px 10px 12px; font-size: 12px; }
  .wa-bubble .wa-label { display: none; }
  .wa-bubble svg { margin-right: 0; width: 24px; height: 24px; }
}

/* ---- Responsive ---- */

/* Tablet landscape / small laptop (iPad Pro 12.9 portrait, etc.) */
@media (max-width: 1100px) {
  .header-inner { gap: clamp(28px, 4vw, 56px); padding: 16px var(--sp-5); }
  .nav { gap: var(--sp-5); font-size: 11px; }
  .nav-socials { gap: 14px; }
  .logo { height: 36px; }
  .logo--lg { height: 50px; }
}

/* iPad portrait + smaller tablets */
@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6) var(--sp-5); }
  .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .product-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .product-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card { width: 240px; }
  .story-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .story-grid.flip { direction: ltr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .modal-card { grid-template-columns: 1fr; max-height: 92vh; }
  .modal-image { padding: var(--sp-6); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--sp-8) 0; }
  .story-cinematic { min-height: 480px; }
  .story-cinematic-card { max-width: 92%; }
  .editorial-block h2 { font-size: clamp(24px, 4vw, 36px); }
}

/* Phone + very small tablets */
@media (max-width: 640px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
    padding: 12px var(--sp-4);
    gap: var(--sp-3);
  }
  .header-inner > .logo-link { justify-self: start; padding: 0 var(--sp-3); }
  .header-inner .nav.right { padding-left: 0; }
  .nav { display: none; }
  .nav.mobile-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    border-top: 1px solid var(--rule);
    padding: var(--sp-5);
    gap: var(--sp-4);
    font-size: 13px;
    z-index: 90;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }
  .nav.mobile-open.right { display: none; }
  .menu-toggle { display: block; font-size: 24px; padding: 6px 10px; }
  .nav-mobile-only { display: inline-flex !important; }
  .mobile-socials-row { display: flex; }
  .nav-dropdown .dropdown-panel {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    border: none;
    padding: var(--sp-2) 0 var(--sp-2) var(--sp-4);
    min-width: 0;
  }
  .nav-dropdown > a::after { display: none; }
  .container { padding: 0 var(--sp-5); }
  .hero { min-height: 58vh; padding: var(--sp-8) var(--sp-5); }
  .hero h1 { font-size: clamp(36px, 9vw, 56px); }
  .hero p { font-size: 16px; }
  .logo { height: 30px; }
  .logo--lg { height: 40px; }
  .product-grid, .product-grid.cols-3, .product-grid.cols-2, .product-grid.cols-5 { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5) var(--sp-4); }
  .cert-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: var(--sp-2); }
  .filter-chip { padding: 8px 12px; font-size: 11px; letter-spacing: 0.04em; }
  .subfilter-bar { gap: var(--sp-2); }
  .footer-cols { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer-meta { flex-direction: column; align-items: flex-start; }
  .footer-meta a { margin-left: 0; margin-right: var(--sp-4); }
  .footer-ack { font-size: 12px; padding: var(--sp-5) var(--sp-5) var(--sp-4); }
  .footer-brand-logos img { height: 32px; }
  .footer-brand-logos img.huma { height: 28px; }
  .values-grid { grid-template-columns: 1fr; }
  .story-section { padding: var(--sp-8) var(--sp-5); }
  .story-text h2 { font-size: clamp(24px, 6vw, 32px); }
  .story-text p { font-size: 15px; }
  .story-cinematic { min-height: 440px; padding: var(--sp-7) var(--sp-4); }
  .story-cinematic-card {
    max-width: 100%;
    padding: var(--sp-5);
  }
  .story-cinematic-card h2 { font-size: clamp(22px, 6vw, 28px); line-height: 1.25; }
  .story-cinematic-card p { font-size: 15px; }
  .editorial-block { padding: 0 var(--sp-3); }
  .editorial-block h2 { font-size: clamp(22px, 6vw, 30px); }
  .editorial-block p { font-size: 15px; }
  .cert-row { gap: 14px; margin: var(--sp-5) auto var(--sp-4); }
  .cert-row img { height: 40px; }
  .modal-card {
    max-width: calc(100vw - 16px);
    margin: 8px;
    border-radius: 8px;
  }
  .modal-image { padding: var(--sp-5); aspect-ratio: 1/1; }
  .modal-body { padding: var(--sp-5); }
  .about-hero { padding: var(--sp-8) var(--sp-5); }
  .about-hero .display { font-size: clamp(24px, 6.5vw, 36px) !important; }
  .category-card { width: 220px; }
  .category-card h3 { font-size: 16px; }
  .category-card p { font-size: 13px; }
  .contact-grid { grid-template-columns: 1fr; }
  .wa-bubble { bottom: 14px; right: 14px; }
}

/* Tiny phones */
@media (max-width: 380px) {
  .logo--lg { height: 34px; }
  .logo { height: 28px; }
  .hero h1 { font-size: clamp(28px, 10vw, 44px); }
  .hero p { font-size: 14px; }
  .footer-brand-logos { gap: var(--sp-3); }
  .filter-chip { padding: 6px 10px; font-size: 10px; }
  .nav.mobile-open { padding: var(--sp-4); gap: var(--sp-3); }
}
