/* ==========================================================
   TROPICOR FOODS — 2026 DESIGN SYSTEM
   Editorial, warm, ingredient-led. Brand teal preserved.
   Type: Inter Tight (display: headlines, section headings,
   stats) + Geist (body, UI, buttons, nav, labels, forms).
   Both self-hosted as variable woff2 (latin subset).
   ========================================================== */

/* ============ FONT FACE — Inter Tight + Geist (self-hosted, variable) ============ */
@font-face {
  font-family: 'Inter Tight';
  src: url('../assets/fonts/InterTight-Variable.woff2') format('woff2');
  font-weight: 400 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('../assets/fonts/InterTight-Italic-Variable.woff2') format('woff2');
  font-weight: 400 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('../assets/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Brand */
  --teal: #28A398;
  --teal-deep: #166156;
  --teal-dark: #1F8277;

  /* Surfaces — cool, bright neutrals with a whisper of the brand green */
  --paper: #F8FAF9;        /* near-white cool — default background */
  --paper-deep: #EFF3F1;   /* cool mist for alternating bands */
  --white: #FFFFFF;
  --ink: #1A2B27;          /* deep green-charcoal — dark sections, text */
  --ink-soft: #24352F;

  /* Text */
  --text: #1A2B27;
  --muted: #5E6E68;
  --text-on-dark: #F2F5F4;
  --muted-on-dark: rgba(242, 245, 244, 0.64);

  /* Lines */
  --line: rgba(26, 43, 39, 0.14);
  --line-on-dark: rgba(244, 241, 234, 0.18);

  /* Type — two families:
     display (Inter Tight): headlines, section headings, big numbers
     body (Geist): paragraphs, buttons, nav, labels, forms, UI */
  --font-sans: 'Geist', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Inter Tight', var(--font-sans);
  --font-body: var(--font-sans);

  /* Fluid type scale */
  /* Type scale toned down one level (headings were oversized) */
  --fs-hero: clamp(2.25rem, 5vw, 4.25rem);
  --fs-display: clamp(1.85rem, 3.6vw, 3.1rem);
  --fs-title: clamp(1.5rem, 2.4vw, 2.15rem);
  --fs-subtitle: clamp(1.125rem, 1.5vw, 1.375rem);
  --fs-lead: clamp(1rem, 1.2vw, 1.15rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-meta: 0.75rem;

  /* Layout */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --max-w: 90rem;
  --section-pad: clamp(4.5rem, 9vw, 8.5rem);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;

  /* Radius — soft, premium geometry */
  --r-sm: 8px;    /* buttons, small chips */
  --r-md: 14px;   /* dropdowns, inputs */
  --r-lg: 18px;   /* media frames, cards */
  --r-xl: 24px;   /* large panels */
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

::selection { background: var(--teal); color: #fff; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: inherit;
}

/* Type hierarchy:
   Hero / display / titles — Inter Tight, weight-driven
   Body & UI — Geist */
.t-hero {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.t-hero em { font-style: normal; font-weight: 700; }

.t-display  { font-size: var(--fs-display); font-weight: 700; letter-spacing: -0.025em; }
.t-title    { font-size: var(--fs-title); font-weight: 700; letter-spacing: -0.02em; }
.t-subtitle { font-size: var(--fs-subtitle); line-height: 1.25; font-weight: 600; }

.t-lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--muted);
  font-weight: 400;
}

.t-meta {
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

em, .accent-italic {
  font-style: italic;
  font-weight: 500;
}

/* Kicker — the one eyebrow style used above every section heading.
   Doubles as the visitor's wayfinding through the page story:
   Who we are → Products → Brand → Spotlight → Range → Solutions → Proof. */
.kicker {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1.1rem;
}
.section--dark .kicker { color: var(--teal); }

/* Brand mark — a compact brand logo sitting above a heading */
.brand-mark {
  width: min(11rem, 55%);
  height: auto;
  margin-bottom: 1.5rem;
}

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Cards that ARE the container (split / solution-intro): drop the
   container's inline padding so edge-to-edge media bleeds to the card
   edge, and recreate the gutter as outer width instead of padding. */
.container.split,
.container.solution-intro {
  padding-inline: 0;
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--max-w) - 2 * var(--gutter));
}

.section { padding-block: var(--section-pad); }

.section--dark {
  background: var(--ink);
  color: var(--text-on-dark);
}
.section--dark .t-lead { color: var(--muted-on-dark); }
.section--dark .t-meta { color: var(--muted-on-dark); }

.section--deep { background: var(--paper-deep); }
.section--white { background: var(--white); }

.rule { border: 0; border-top: 1px solid var(--line); }
.section--dark .rule { border-top-color: var(--line-on-dark); }

/* ============ BUTTONS & LINKS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-sm);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }

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

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

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--paper); }

.btn--outline {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}
.btn--outline:hover { background: rgba(255,255,255,0.08); }

.btn--lg { padding: 1.2rem 2.75rem; font-size: 1rem; }

/* Hover sweep: a soft shine that crosses solid buttons once */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.16) 50%, transparent 62%);
  transform: translateX(-130%);
  pointer-events: none;
}
.btn:hover::before { transform: translateX(130%); transition: transform 0.7s var(--ease-out); }
.btn--light::before { background: linear-gradient(105deg, transparent 38%, rgba(26, 43, 39, 0.07) 50%, transparent 62%); }
.btn--outline::before { display: none; }
@media (prefers-reduced-motion: reduce) { .btn::before { display: none; } }

/* Text link — plain semibold text, no underline, no decoration. */
.link-line {
  display: inline-block;
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
  transition: opacity 0.25s;
}
.link-line:hover { opacity: 0.7; }
/* Beside section headings, keep the link on one line; long in-content
   links must stay free to wrap on phones or they force overflow. */
.categories-head .link-line,
.list-head .link-line,
.related-head .link-line { white-space: nowrap; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; right: 0; bottom: auto; left: 0;
  z-index: 1000;
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 5rem;
}

/* Transparent-over-hero state */
.site-header--overlay { color: #fff; }
.site-header--overlay .header-logo--dark { display: none; }

/* Solid state (scrolled, or pages without hero media) */
.site-header--solid,
.site-header.is-scrolled {
  background: rgba(248, 250, 249, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  color: var(--text);
}
.site-header--solid .header-logo--light,
.site-header.is-scrolled .header-logo--light { display: none; }
.site-header--solid .header-logo--dark,
.site-header.is-scrolled .header-logo--dark { display: block; }

.header-logo { height: 2.5rem; width: auto; }

.site-nav { display: flex; align-items: center; gap: 2.25rem; }

.site-nav > li { position: relative; }

/* Mobile-menu chrome: hidden on desktop */
.nav-brand, .nav-extra { display: none; }
@media (max-width: 63.99em) {
  .nav-brand, .nav-extra { display: block; }
  .site-nav > li.nav-brand { border: 0; }
}

.nav-link {
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding-block: 0.5rem;
  opacity: 0.92;
  transition: opacity 0.25s;
}
.nav-link:hover { opacity: 1; }

/* Dropdown */
.nav-drop {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: -1.25rem;
  min-width: 17rem;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.5rem 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
  box-shadow: 0 24px 48px -16px rgba(26, 43, 39, 0.18);
}
.site-nav > li:hover .nav-drop,
.site-nav > li:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-drop a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: var(--fs-small);
  transition: background-color 0.2s, color 0.2s;
}
.nav-drop a:hover { background: var(--paper); color: var(--teal-deep); }

.header-cta { flex-shrink: 0; }
.header-cta .btn { padding: 0.75rem 1.5rem; }

/* Mobile toggle — two hairlines, no icon font */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 2.5rem;
  height: 2.5rem;
  z-index: 1102;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: currentColor;
  margin-inline: auto;
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

/* ============ MOBILE NAV ============ */
@media (max-width: 63.99em) {
  /* backdrop-filter turns the header into the containing block for
     position:fixed children, clipping the menu overlay to the header
     bar — so no blur on mobile, just an opaque background. */
  .site-header--solid,
  .site-header.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--paper);
  }

  .site-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1100;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 5.5rem var(--gutter) 2rem;
    background: var(--ink);
    color: var(--text-on-dark);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s;
    overflow-y: auto;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }

  /* Menu chrome: logo + contact + CTA, injected via ::before/li pattern
     is brittle — real elements live in .nav-extra appended in markup. */
  .site-nav > li { width: 100%; border-bottom: 1px solid var(--line-on-dark); }
  /* The brand logo row carries no rules; the first real item opens the list */
  .site-nav > li.nav-brand { border: 0; }
  .site-nav > li.nav-brand + li { border-top: 1px solid var(--line-on-dark); }
  .site-nav > li.nav-extra {
    border: 0;
    margin-top: auto;
    padding-top: 2rem;
  }
  .nav-extra .btn { width: 100%; margin-bottom: 1.25rem; }
  .nav-extra .nav-contact {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: var(--fs-small);
    color: var(--muted-on-dark);
  }
  .nav-extra .nav-contact a { color: var(--text-on-dark); font-weight: 600; }

  .site-nav > li.nav-brand { padding-bottom: 2rem; }
  .nav-logo {
    display: block;
    height: 2.25rem;
    width: auto;
  }

  .nav-link {
    display: block;
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 600;
    padding-block: 1rem;
    opacity: 1;
  }

  .nav-drop {
    position: static;
    min-width: 0;
    background: transparent;
    color: inherit;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 1rem 0;
    display: none;
  }
  .site-nav > li.is-expanded .nav-drop { display: block; }
  .nav-drop a { padding: 0.4rem 0; color: var(--muted-on-dark); }
  .nav-drop a:hover { background: transparent; color: var(--text-on-dark); }

  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  body.nav-locked { overflow: hidden; }

  /* Action rows: stacked buttons go full width, clean edge */
  .hero-actions .btn,
  .contact-actions .btn,
  .product-hero-actions .btn,
  .hero-cta-row .btn,
  .enquiry-panel .actions .btn {
    width: 100%;
  }
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ MEDIA CARD (clean image, text set below it) ============
   The photo stays untouched — no scrim, no overlay text. Title and
   supporting line sit under the frame in the section's own colours. */
.media-card {
  display: block;
  position: relative;
}

.media-card .media-frame {
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
  border-radius: var(--r-lg);
  overflow: hidden;
}
/* <picture> wrappers must fill the frame so the img's 100% sizing holds */
.media-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}
.media-card .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.media-card:hover .media-frame img { transform: scale(1.05); }

/* Lift on hover: the frame rises; text stays planted */
.media-card .media-frame {
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.media-card:hover .media-frame {
  transform: translateY(-5px);
  box-shadow: 0 26px 52px -26px rgba(26, 43, 39, 0.32);
}
@media (prefers-reduced-motion: reduce) {
  .media-card:hover .media-frame { transform: none; }
}

.media-card .media-body {
  padding: 1.1rem 0.25rem 0;
}
.media-card .media-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
  transition: color 0.3s;
}
.media-card:hover .media-title { color: var(--teal-deep); }
.media-card .media-sub {
  margin-top: 0.4rem;
  font-size: var(--fs-small);
  color: var(--muted);
}
.section--dark .media-card .media-sub { color: var(--muted-on-dark); }
.section--dark .media-card:hover .media-title { color: var(--teal); }

/* Overlay variant — reserved for the "What we make" mosaic: title set
   on the photo behind a soft grade, whole card lifts on hover. */
.media-card--overlay {
  overflow: hidden;
  border-radius: var(--r-lg);
  isolation: isolate;
}
.media-card--overlay .media-frame { border-radius: 0; }
.media-card--overlay::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to top, rgba(10, 18, 16, 0.88) 0%, rgba(10, 18, 16, 0.55) 42%, rgba(10, 18, 16, 0.14) 72%, rgba(10, 18, 16, 0) 100%);
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.media-card--overlay:hover::after { opacity: 0.92; }
.media-card--overlay .media-body {
  position: absolute;
  top: auto; right: 0; bottom: 0; left: 0;
  z-index: 1;
  padding: 1.5rem 1.5rem 1.4rem;
}
.media-card--overlay .media-title,
.media-card--overlay:hover .media-title { color: #fff; font-size: 1.4rem; }
.media-card--overlay .media-sub,
.section--dark .media-card--overlay .media-sub { color: rgba(255, 255, 255, 0.78); }
.media-card--overlay:not(.reveal),
.media-card--overlay.is-visible {
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.media-card--overlay:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 52px -26px rgba(26, 43, 39, 0.32);
}
.media-card--overlay:hover .media-frame { transform: none; box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
  .media-card--overlay:hover { transform: none; }
}

/* ============ INDEX LIST (editorial rows) ============ */
.index-list { border-top: 1px solid var(--line); }
.index-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease-out);
}
.index-row:hover { padding-left: 1rem; }

.index-row .index-title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  transition: color 0.3s;
}
.index-row:hover .index-title { color: var(--teal-deep); }
.index-row .index-sub {
  margin-top: 0.35rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 46rem;
}
.index-row .index-cue {
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.index-row:hover .index-cue { color: var(--teal-deep); }

/* Phones: stack the row so the cue stops squeezing the description */
@media (max-width: 39.99em) {
  .index-row { grid-template-columns: 1fr; gap: 0; align-items: start; }
  .index-row .index-sub { max-width: none; }
  .index-row .index-cue { margin-top: 0.9rem; color: var(--teal); }
  .index-row:hover { padding-left: 0; }
}

/* ============ FORMS ============ */
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.9rem 1rem;
  transition: border-color 0.25s;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.field textarea { resize: vertical; min-height: 8rem; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark);
  padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3.5rem;
}
.footer-logo { height: 2.75rem; width: auto; margin-bottom: 1.5rem; }
.footer-desc {
  font-size: var(--fs-small);
  color: var(--muted-on-dark);
  max-width: 24rem;
  line-height: 1.7;
}
.footer-col h3 {
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a {
  font-size: var(--fs-small);
  color: var(--text-on-dark);
  opacity: 0.85;
  transition: opacity 0.25s, color 0.25s;
}
.footer-col a:hover { opacity: 1; color: var(--teal); }

.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-meta);
  color: var(--muted-on-dark);
}
.footer-bottom a { color: var(--text-on-dark); }
.footer-bottom a:hover { color: var(--teal); }

@media (max-width: 63.99em) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 39.99em) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  position: relative;
  padding-top: clamp(9rem, 16vw, 13rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}
.page-hero .t-hero { max-width: 18ch; }
.page-hero .t-lead { max-width: 52ch; margin-top: 1.5rem; }

/* Breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: var(--fs-meta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}
.crumbs a { transition: color 0.25s; }
.crumbs a:hover { color: var(--teal-deep); }
.crumbs .sep { opacity: 0.4; }

/* ============ TRUST BAR (shared: home + landing) ============ */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(2rem, 3.5vw, 3rem);
}
.trust-label {
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 9rem;
  line-height: 1.5;
  padding-right: clamp(1.5rem, 3vw, 3rem);
  border-right: 1px solid var(--line);
}
.trust-marks {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(2rem, 4.5vw, 4.5rem);
}
.trust-marks img {
  height: clamp(3.5rem, 5.5vw, 5rem);
  width: auto;
  object-fit: contain;
  transition: transform 0.4s var(--ease-out);
}
.trust-marks img:hover { transform: scale(1.08); }
.trust-facts {
  display: flex;
  gap: clamp(1.75rem, 3vw, 3rem);
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid var(--line);
}
.trust-fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--teal-deep);
}
.trust-fact span {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--fs-meta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 63.99em) {
  .trust-inner { grid-template-columns: 1fr; text-align: center; }
  .trust-label { max-width: none; border-right: 0; padding-right: 0; }
  .trust-facts { justify-content: center; border-left: 0; padding-left: 0; }
  .trust-fact { text-align: center; }
}

/* ============ PACKAGING SHOTS (show whole product on a soft ground) ============ */
.shot-contain { background: var(--paper-deep); }
.shot-contain img {
  object-fit: contain !important;
  padding: clamp(1rem, 5%, 2.5rem);
  box-sizing: border-box;
}

/* ============ SECTION FOOT (centered follow-on action) ============ */
.section-foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* ============ FOOTER SOCIALS ============ */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.footer-social a:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: var(--text-on-dark);
}

/* ============ FILM / VIDEO SECTIONS ============ */
.film-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16 / 9;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.film-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -28px rgba(26, 43, 39, 0.4);
}
@media (prefers-reduced-motion: reduce) {
  .film-frame:hover { transform: none; }
}
.film-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Brand-film intro: copy beside a right-sized video (not full-width) */
.film-intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.film-intro-copy .t-display { max-width: 12ch; }
.film-intro-copy .t-lead { margin-top: 1.25rem; max-width: 40ch; }
.film-intro-copy .link-line { margin-top: 1.75rem; display: inline-block; }
@media (max-width: 63.99em) {
  .film-intro-grid { grid-template-columns: 1fr; }
  .film-intro-copy { max-width: 42rem; }
}
/* Title row sits above the frame: heading title + small meta */
.film-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.1rem;
}
.film-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
}
.film-sub {
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--dark .film-sub { color: rgba(255, 255, 255, 0.7); }

.film-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.film-row--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 63.99em) { .film-row { grid-template-columns: 1fr; } }

/* Placeholder tile for media still to come */
.media-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  background: var(--paper-deep);
}
.media-slot span {
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--dark .media-slot { border-color: var(--line-on-dark); background: rgba(255, 255, 255, 0.05); }
.section--dark .media-slot span { color: var(--muted-on-dark); }

/* ============ GALLERY CAROUSEL (side-scroll, snap) ============
   Holds media-slot placeholders now; swap each slot for
   <img class="gallery-item"> (same footprint) as photos arrive. */
.gallery-scroll {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  overflow-y: hidden; /* overflow-x:auto alone lets the strip drag vertically */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.75rem;
  scrollbar-width: none;
}
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll > * {
  flex: 0 0 auto;
  width: clamp(16rem, 38vw, 24rem);
  scroll-snap-align: start;
}
@media (max-width: 39.99em) {
  .gallery-scroll > * { width: 76vw; }
}
/* NB: no `width: 100%` here — gallery images are the flex items
   themselves, and their width comes from `.gallery-scroll > *` above
   (a hard-won lesson: 100% used to override the strip sizing). */
.gallery-scroll img.gallery-item {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.gallery-hint {
  margin-top: 0.75rem;
  font-size: var(--fs-meta);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============ WHATSAPP FLOATING BUTTON ============ */
.wa-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 12px 32px -8px rgba(12, 22, 19, 0.45);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.wa-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 40px -10px rgba(12, 22, 19, 0.5);
}
.wa-fab svg {
  width: 1.9rem;
  height: 1.9rem;
  fill: #fff;
}

/* ============ MOTION PRIMITIVES ============ */
/* Curtain reveal for imagery: a cover panel slides away.
   (Never clip the observed element itself — a fully clipped target
   never intersects, so the reveal would deadlock and images
   inside would never lazy-load.) */
.mask-reveal { position: relative; }
.mask-reveal::before {
  content: '';
  position: absolute;
  top: -1px; right: -1px; bottom: -1px; left: -1px;
  z-index: 2;
  background: var(--paper-deep);
  transform: translateY(0);
  transition: transform 1s var(--ease-out);
  pointer-events: none;
}
.mask-reveal.is-visible::before { transform: translateY(-101%); }

/* Scroll parallax (JS-driven translate) */
[data-parallax] { will-change: transform; }
[data-parallax] > img, [data-parallax] > video {
  will-change: transform;
  transition: none !important; /* parallax writes transform per frame; a transition makes it lag */
}

/* Word-stagger hero (JS splits into .w spans) */
.split-words .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(2deg);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--wi) * 55ms);
}
.split-words.is-visible .w { opacity: 1; transform: none; }

/* Header hides scrolling down, returns scrolling up */
.site-header.is-hidden { transform: translateY(-100%); }

@media (prefers-reduced-motion: reduce) {
  .mask-reveal { clip-path: none; transition: none; }
  .split-words .w { opacity: 1; transform: none; transition: none; }
}

/* ============ STATEMENT GRID (shared: heading + side copy) ============ */
.statement-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: end;
}
.statement-side p + p { margin-top: 1.25rem; }
.statement-side .link-line { margin-top: 1.75rem; color: var(--teal-deep); }
@media (max-width: 63.99em) {
  .statement-grid { grid-template-columns: 1fr; }
}

/* ============ UTILITIES ============ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 2.5vw, 2rem); }

@media (max-width: 63.99em) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 39.99em) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.measure { max-width: 62ch; }
.center { text-align: center; margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================
   MOBILE LAYER — designed for the thumb, not shrunk to fit
   ========================================================== */

/* ---------- Swipe strips (phones): card grids become horizontal
   scroll-snap strips with a peek of the next card. ---------- */
@media (max-width: 39.99em) {
  .grid-3, .grid-4, .film-row {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .grid-3::-webkit-scrollbar, .grid-4::-webkit-scrollbar, .film-row::-webkit-scrollbar { display: none; }
  .grid-3 > *, .grid-4 > * { flex: 0 0 76%; scroll-snap-align: start; }
  .film-row > * { flex: 0 0 86%; scroll-snap-align: start; }

  /* Tighter vertical rhythm on phones: same story, denser pacing */
  :root { --section-pad: clamp(3.5rem, 14vw, 4.5rem); }
}

/* ---------- Press states: the craft layer for touch ---------- */
@media (hover: none) {
  .btn:active {
    transform: scale(0.97);
    filter: brightness(0.94);
    transition-duration: 0.12s;
  }
  .media-card:active,
  .film-frame:active,
  .puree-block:active {
    transform: scale(0.985);
    transition-duration: 0.15s;
  }
  .index-row:active .index-title,
  .index-row:active .index-cue { color: var(--teal-deep); }
  .media-card, .film-frame, .puree-block { transition-duration: 0.2s; }
}

/* ---------- Floating WhatsApp: respect content while scrolling ---------- */
.wa-fab {
  bottom: calc(clamp(1rem, 3vw, 2rem) + env(safe-area-inset-bottom, 0px));
  transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out), box-shadow 0.3s;
}
.wa-fab.is-parked {
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  pointer-events: none;
}
