/* ============================================================
   VALA FRESH — design system
   Palette: emerald #059669 / spring #10B981 / amber #F59E0B
   Ink #06110C · Paper #F7FBF4 · Type: Calistoga + Inter
   ============================================================ */
:root {
  --pink: #F7619B;        /* Vala logo pink */
  --pink-deep: #E43E7F;
  --pink-rgb: 228, 62, 127;
  --pink-soft-rgb: 247, 97, 155;
  --pink-wash: #FDECF3;
  --pink-light: #FF9EC4;
  --leaf: #4C9F13;        /* Vala logo green */
  --leaf-deep: #37750E;
  --leaf-soft: #7BCB48;
  --sun: #FDD207;         /* Vala logo sun */
  --sun-deep: #E8B902;
  --ink: #170A11;
  --ink-2: #241019;
  --paper: #FFFFFF;
  --paper-2: #F7F7F8;
  --cream: #FFF6FA;
  --muted: #6E5B64;
  --muted-light: #B4A0AA;
  --border: #F1DCE6;
  --radius: 20px;
  --radius-lg: 32px;
  --font-display: "Calistoga", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --shadow-lg: 0 24px 64px -16px rgba(6, 17, 12, .35);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 92%); margin-inline: auto; }

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

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: grid; place-items: center;
  transition: opacity .6s var(--ease-out), visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-mark { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3.5rem); color: var(--cream); display: flex; gap: .18em; }
.preloader-word { display: inline-block; animation: preFloat 1.1s var(--ease-out) both; }
.preloader-word.accent { color: var(--sun); animation-delay: .12s; }
@keyframes preFloat { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: .85em 1.6em; border-radius: 999px;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s var(--ease-out), box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 1.05em 2em; font-size: 1.02rem; }
.btn-sm { padding: .6em 1.2em; font-size: .85rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(var(--pink-rgb), .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -8px rgba(var(--pink-rgb), .65); }
.btn-whatsapp {
  background: #25D366; color: #fff;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .5);
}
.btn-whatsapp:hover { transform: translateY(-2px); background: #1fc55c; box-shadow: 0 16px 38px -8px rgba(37, 211, 102, .6); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--cream); border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 0;
  transition: background .35s, padding .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav-inner { width: min(1280px, 94%); margin-inline: auto; display: flex; align-items: center; gap: 32px; }
.nav.scrolled {
  background: rgba(6, 17, 12, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 10px 0;
  box-shadow: 0 8px 40px -12px rgba(0,0,0,.5);
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand-leaf { width: 30px; height: 30px; color: var(--pink); }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; color: var(--cream); letter-spacing: .01em; }
.brand-name em { font-style: normal; color: var(--pink-light); }
.brand-name.big { font-size: 2rem; }
.nav-links { display: flex; gap: 28px; margin-inline: auto; }
.nav-links a {
  color: rgba(244, 251, 246, .82); font-size: .92rem; font-weight: 500;
  position: relative; padding: 4px 0; transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--sun); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease-out);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; gap: 7px; align-items: center; justify-content: center; }
.nav-burger span { width: 26px; height: 2.5px; background: var(--cream); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .3s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4.75px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: rgba(255,255,255,.985);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 30px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  padding: 108px 22px calc(env(safe-area-inset-bottom, 0px) + 160px);
}
/* keeps the items optically centred when they DO fit, without trapping them
   off-screen when they do not */
.mobile-menu > :first-child { margin-top: auto; }
.mobile-menu > :last-child  { margin-bottom: auto; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { color: var(--ink, #191B1D); font-size: 1.5rem; font-weight: 600; }
.mobile-menu .btn { font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--cream);
  isolation: isolate;
  padding: 130px 0 0;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 1.1s ease-in-out;
  transform: scale(1.06);
}
.hero-video.is-active { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,17,12,.62) 0%, rgba(6,17,12,.28) 40%, rgba(6,17,12,.72) 88%),
    radial-gradient(120% 90% at 20% 45%, rgba(6,17,12,.55) 0%, transparent 60%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}
.hero-content { width: min(1180px, 92%); margin-inline: auto; padding-bottom: 40px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em;
  color: var(--sun);
  background: rgba(var(--pink-soft-rgb), .16);
  border: 1px solid rgba(var(--pink-soft-rgb), .45);
  padding: .55em 1.1em; border-radius: 999px;
  backdrop-filter: blur(6px);
  margin-bottom: 28px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(253, 210, 7, .75); }
  70% { box-shadow: 0 0 0 10px rgba(253, 210, 7, 0); }
  100% { box-shadow: 0 0 0 0 rgba(253, 210, 7, 0); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1.04; font-weight: 400;
  letter-spacing: -.01em;
  margin-bottom: 26px;
  text-wrap: balance;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; }
.accent-script { color: var(--pink-deep); position: relative; }
.hero-title .accent-script, .section-title.light .accent-script { color: var(--pink-light); }
.hero-sub {
  max-width: 560px; font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(244, 251, 246, .85); font-weight: 400;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { display: flex; gap: 8px; margin-top: 42px; }
.hero-dots button {
  width: 26px; height: 4px; border-radius: 4px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.25); transition: background .3s, width .3s var(--ease-out);
  padding: 0;
}
.hero-dots button.active { background: var(--sun); width: 44px; }

.hero-stats {
  margin-top: auto;
  width: min(1180px, 92%); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.16);
  padding: 26px 0 34px;
  gap: 18px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); color: #fff; }
.stat-label { font-size: .82rem; color: rgba(244,251,246,.66); font-weight: 500; letter-spacing: .02em; }

.scroll-cue {
  position: absolute; bottom: 108px; right: 5%;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35);
  display: grid; place-items: center; color: var(--cream);
  animation: bob 2.6s ease-in-out infinite;
  transition: background .25s, border-color .25s;
}
.scroll-cue:hover { background: rgba(255,255,255,.12); border-color: #fff; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }

/* ---------- Marquee ---------- */
.marquee {
  background: linear-gradient(90deg, var(--leaf-deep), var(--leaf));
  color: #F3FFE8;
  overflow: hidden;
  padding: 15px 0;
  transform: rotate(-1.1deg) scale(1.02);
  margin: -14px 0 0;
  position: relative; z-index: 3;
  box-shadow: 0 14px 40px -12px rgba(76, 159, 19, .45);
}
.marquee-track {
  display: flex; gap: 34px; align-items: center;
  white-space: nowrap; width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display); font-size: 1.12rem; letter-spacing: .04em;
}
.marquee-track i { font-style: normal; opacity: .55; font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section-head { max-width: 660px; margin-bottom: clamp(40px, 5vw, 64px); }
.eyebrow {
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em;
  color: var(--leaf-deep); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--pink); border-radius: 2px; }
.eyebrow.light { color: var(--pink-light); }
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1; letter-spacing: -.01em;
  margin-bottom: 18px; text-wrap: balance;
}
.section-title.light { color: var(--cream); }
.section-sub { color: var(--muted); font-size: clamp(.98rem, 1.3vw, 1.1rem); }
.section-sub.light { color: var(--muted-light); }

/* ---------- Produce grid ---------- */
.produce { background: var(--paper); }
.produce-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
}
.produce-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-2);
  transform: translateZ(0);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.produce-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.produce-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(185deg, transparent 30%, rgba(6,17,12,.86) 92%);
  transition: opacity .35s;
}
.produce-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.produce-card:hover .produce-img { transform: scale(1.07); }
.card-tall { grid-row: span 2; }
.card-wide { grid-column: span 2; }
.produce-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px; z-index: 1; color: #fff; }
.produce-info h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin-bottom: 3px; }
.produce-info p { font-size: .85rem; color: rgba(244,251,246,.75); }
.produce-note { margin-top: 30px; text-align: center; color: var(--muted); font-size: .95rem; }

/* ---------- Night timeline ---------- */
.night { background: var(--ink); color: var(--cream); overflow: hidden; }
.night-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(var(--pink-soft-rgb), .13) 0%, transparent 60%),
    radial-gradient(50% 40% at 10% 90%, rgba(253, 210, 7, .07) 0%, transparent 60%);
}
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; margin-top: 20px; }
.timeline-line {
  position: absolute; top: 9px; left: 0; right: 0; height: 2px;
  background: rgba(255,255,255,.12); border-radius: 2px;
}
.timeline-progress { height: 100%; width: 0; background: linear-gradient(90deg, var(--pink), var(--sun)); border-radius: 2px; }
.timeline-item { position: relative; padding-top: 38px; }
.timeline-item::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink); border: 3px solid var(--leaf-soft);
  box-shadow: 0 0 0 5px rgba(123, 203, 72, .2);
}
.timeline-time {
  font-family: var(--font-display); color: var(--sun); font-size: 1.15rem;
  margin-bottom: 10px; letter-spacing: .02em;
}
.timeline-item h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.timeline-item p { font-size: .92rem; color: var(--muted-light); }

/* ---------- Why cards ---------- */
.why { background: var(--paper-2); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px -18px rgba(var(--pink-rgb), .22);
  border-color: var(--pink);
}
.why-icon {
  width: 52px; height: 52px; border-radius: 15px;
  background: linear-gradient(135deg, rgba(76, 159, 19, .12), rgba(123, 203, 72, .22));
  color: var(--leaf-deep);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: .9rem; color: var(--muted); }

/* ---------- Trade CTA ---------- */
.trade { background: var(--paper-2); padding-top: 0; }
.trade-card {
  width: min(1180px, 92%); margin-inline: auto;
  background:
    radial-gradient(80% 100% at 90% 0%, rgba(var(--pink-soft-rgb), .25) 0%, transparent 55%),
    radial-gradient(60% 80% at 0% 100%, rgba(253, 210, 7, .13) 0%, transparent 50%),
    var(--ink-2);
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 80px);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.trade-copy { max-width: 620px; }
.trade-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 26px 0 34px; }
.trade-list li { display: flex; align-items: center; gap: 9px; color: var(--cream); font-size: .95rem; font-weight: 500; }
.trade-list svg { color: var(--leaf-soft); flex-shrink: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted-light); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-brand p { margin-top: 14px; font-size: .92rem; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.footer-col p { font-size: .92rem; line-height: 1.8; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--pink-light); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; font-size: .8rem; color: rgba(157,180,168,.65); }
.footer-credits a { text-decoration: underline; }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 34px -6px rgba(37, 211, 102, .65);
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.wa-fab:hover { transform: scale(1.09); box-shadow: 0 18px 44px -6px rgba(37, 211, 102, .75); }
.wa-fab-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366;
  animation: fabRing 2.4s ease-out infinite;
}
@keyframes fabRing {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.65); opacity: 0; }
}
.wa-fab-tip {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--ink); color: var(--cream);
  font-size: .8rem; font-weight: 600; white-space: nowrap;
  padding: .55em 1em; border-radius: 10px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease-out);
}
.wa-fab:hover .wa-fab-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- Reveal helpers (GSAP sets final state) ---------- */
.reveal-up, .reveal-card { will-change: transform, opacity; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  /* the burger MUST appear at the same width the links disappear, or the
     641-1024px band has no navigation whatsoever */
  .nav-cta { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .produce-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-cta { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .hero { padding-top: 104px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .scroll-cue { display: none; }
  .produce-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .card-wide { grid-column: span 1; }
  .why-grid, .timeline { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .wa-fab { bottom: 18px; right: 18px; width: 56px; height: 56px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}

/* ---------- Brand logo (official Vala Fresh badge) ---------- */
.brand-logo { height: 52px; width: auto; filter: drop-shadow(0 3px 10px rgba(0,0,0,.35)); transition: transform .25s var(--ease-out); }
.brand:hover .brand-logo { transform: scale(1.05) rotate(-2deg); }
.nav.scrolled .brand-logo { height: 44px; }
.preloader-logo { width: clamp(130px, 22vw, 210px); animation: preFloat 1.1s var(--ease-out) both, preSpin 1.4s var(--ease-out) both; }
@keyframes preSpin { from { transform: rotate(-8deg) scale(.85); } to { transform: rotate(0) scale(1); } }
.footer-logo { height: 84px; width: auto; margin-bottom: 14px; }
@media (max-width: 640px) { .brand-logo { height: 44px; } .nav.scrolled .brand-logo { height: 38px; } }

/* ---------- Cookie consent ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(23, 10, 17, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--cream);
  border-top: 1px solid rgba(var(--pink-soft-rgb), .3);
  box-shadow: 0 -14px 44px -12px rgba(0, 0, 0, .55);
  transform: translateY(105%);
  transition: transform .5s var(--ease-out);
  padding: 20px 0;
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-inner {
  width: min(1180px, 92%); margin-inline: auto;
  display: flex; align-items: center; gap: 26px;
}
.cookie-text { font-size: .84rem; color: rgba(255, 246, 250, .82); max-width: 640px; line-height: 1.55; }
.cookie-actions { display: flex; gap: 10px; margin-left: auto; flex-shrink: 0; flex-wrap: wrap; }
.btn-cookie-ghost {
  background: rgba(255,255,255,.08); color: var(--cream);
  border-color: rgba(255,255,255,.28);
}
.btn-cookie-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.cookie-x {
  position: absolute; top: 10px; right: 14px;
  background: none; border: 0; color: rgba(255,246,250,.6);
  width: 34px; height: 34px; cursor: pointer; border-radius: 8px;
  display: grid; place-items: center;
  transition: color .2s, background .2s;
}
.cookie-x:hover { color: #fff; background: rgba(255,255,255,.1); }
.cookie-panel {
  width: min(1180px, 92%); margin: 16px auto 0;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12);
  display: grid; gap: 12px;
}
.cookie-panel[hidden] { display: none; }
.cookie-opt { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: rgba(255,246,250,.85); cursor: pointer; }
.cookie-opt input { margin-top: 3px; accent-color: var(--pink); width: 16px; height: 16px; }
.cookie-panel .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 860px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-actions { margin-left: 0; width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; min-width: 110px; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--pink), var(--sun));
  z-index: 90; border-radius: 0 3px 3px 0;
}

/* ---------- Site head / top bar ---------- */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.nav { position: static; }
.topbar {
  background: linear-gradient(90deg, var(--pink-deep), var(--pink));
  color: #fff;
  overflow: hidden;
  max-height: 44px;
  transition: max-height .4s var(--ease-out);
}
.topbar.collapsed { max-height: 0; }
.topbar-inner {
  width: min(1280px, 94%); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 0; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
}
.topbar-msgs { position: relative; flex: 1; min-height: 1.3em; }
.topbar-msg {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(8px);
  transition: opacity .45s, transform .45s var(--ease-out);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar-msg.is-on { opacity: 1; transform: none; }
.topbar-ig {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  opacity: .95; transition: opacity .2s, transform .2s;
}
.topbar-ig:hover { opacity: 1; transform: translateY(-1px); }

/* ---------- AI assistant section ---------- */
.ai { background: var(--ink); color: var(--cream); overflow: hidden; position: relative; }
.ai::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 45% at 15% 15%, rgba(var(--pink-soft-rgb), .14) 0%, transparent 60%),
    radial-gradient(45% 40% at 90% 85%, rgba(253, 210, 7, .07) 0%, transparent 60%);
}
.ai-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px);
  align-items: center; position: relative;
}
.ai .section-title { color: var(--cream); }
.ai .section-sub { color: var(--muted-light); }
.ai-feats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 26px 0 30px; }
.ai-feats li { display: flex; align-items: center; gap: 10px; font-size: .93rem; font-weight: 500; color: var(--cream); }
.ai-dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
  background: var(--sun);
  box-shadow: 0 0 0 0 rgba(253, 210, 7, .5);
  animation: pulse 2.4s infinite;
}
.chat-mock {
  background: #fff; color: var(--ink);
  border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55);
  transform: rotate(1.2deg);
}
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff;
}
.chat-head img { height: 40px; width: auto; }
.chat-head strong { display: block; font-size: .95rem; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: .74rem; opacity: .9; }
.chat-status i {
  width: 7px; height: 7px; border-radius: 50%; background: #5CFF9D;
  animation: pulse 2s infinite;
}
.chat-body {
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
  min-height: 250px; background: #FBF4F8;
}
.chat-msg {
  max-width: 82%; padding: .65em 1em; border-radius: 16px;
  font-size: .86rem; line-height: 1.45;
  opacity: 0; transform: translateY(10px);
  animation: chatIn .4s var(--ease-out) forwards;
}
@keyframes chatIn { to { opacity: 1; transform: none; } }
.chat-msg.from-c { align-self: flex-end; background: var(--leaf); color: #fff; border-bottom-right-radius: 5px; }
.chat-msg.from-v { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 5px; }
.chat-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: .8em 1em; background: #fff; border: 1px solid var(--border); border-radius: 16px; border-bottom-left-radius: 5px; }
.chat-typing b { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-light); animation: typing 1s infinite; }
.chat-typing b:nth-child(2) { animation-delay: .15s; }
.chat-typing b:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-foot { padding: 13px 20px; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--border); background: #fff; }

/* ---------- Footer upgrades ---------- */
.footer-links { list-style: none; }
.footer-links li { font-size: .92rem; line-height: 1.9; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--pink-light); }
.footer-linkbtn {
  background: none; border: 0; padding: 0; color: inherit; font: inherit;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.footer-linkbtn:hover { color: var(--pink-light); }
.footer-linkbtn.inline { color: var(--pink-deep); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  color: var(--cream);
  transition: transform .2s var(--ease-out), background .2s, border-color .2s;
}
.footer-social a:hover { transform: translateY(-3px); background: rgba(var(--pink-soft-rgb),.2); border-color: var(--pink); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; gap: 9px; align-items: center; font-size: .82rem; font-weight: 500; }
.breadcrumb a { opacity: .75; transition: opacity .2s; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb span { opacity: .4; }
.breadcrumb em { font-style: normal; opacity: .95; }

/* ---------- Category pages ---------- */
.subpage { background: var(--paper); }
.catalog-main { min-height: 60vh; }
.cat-hero {
  position: relative; min-height: 46svh;
  display: flex; align-items: flex-end;
  color: var(--cream); isolation: isolate;
  padding: 170px 0 46px;
}
.cat-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cat-hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23,10,17,.55), rgba(23,10,17,.25) 45%, rgba(23,10,17,.78)); }
.cat-hero-all { background: linear-gradient(135deg, var(--ink), var(--ink-2)); min-height: 34svh; }
.cat-hero-content { width: min(1180px, 92%); margin-inline: auto; }
.cat-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 5.5vw, 4.4rem); margin: 14px 0 6px; }
.cat-tagline { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,246,250,.85); }
.cat-body { padding-top: clamp(46px, 6vw, 70px); }
.cat-story { max-width: 640px; font-size: 1.04rem; color: var(--muted); margin-bottom: clamp(34px, 4vw, 52px); }
.item-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.item-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.item-card:hover { transform: translateY(-6px); border-color: var(--pink); box-shadow: 0 22px 48px -18px rgba(var(--pink-rgb), .25); }
.item-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.item-card:hover .item-media img { transform: scale(1.06); }
.season-chip {
  position: absolute; top: 12px; left: 12px;
  background: rgba(23,10,17,.72); color: var(--sun);
  backdrop-filter: blur(6px);
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .45em .9em; border-radius: 999px;
}
.item-body { padding: 18px 20px 20px; }
.item-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.18rem; margin-bottom: 4px; }
.item-body p { font-size: .87rem; color: var(--muted); margin-bottom: 10px; }
.item-origin { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--leaf-deep); margin-bottom: 14px; }
.item-order {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .84rem; font-weight: 700; color: var(--pink-deep);
  border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: border-color .2s, gap .2s;
}
.item-order:hover { border-color: var(--pink); gap: 10px; }
.text-link { color: var(--pink-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cat-others { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 40px; font-size: .9rem; color: var(--muted); }
.pill {
  padding: .5em 1.15em; border-radius: 999px;
  border: 1.5px solid var(--border); background: #fff;
  font-size: .85rem; font-weight: 600;
  transition: border-color .2s, transform .2s var(--ease-out), background .2s;
}
.pill:hover { border-color: var(--pink); transform: translateY(-2px); background: var(--paper-2); }
.produce-grid-even { grid-auto-rows: 260px; }
.produce-grid-even .produce-card { grid-row: auto; grid-column: auto; }

/* ---------- Legal pages ---------- */
.legal-wrap { padding: 170px 0 90px; }
.legal-wrap .breadcrumb { color: var(--muted); margin-bottom: 20px; }
.legal-wrap h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.legal-updated { font-size: .84rem; color: var(--muted); margin-bottom: 38px; }
.legal-wrap h2 { font-size: 1.15rem; font-weight: 700; margin: 34px 0 10px; }
.legal-wrap p, .legal-wrap li { font-size: .95rem; color: #3E3138; line-height: 1.75; max-width: 760px; }
.legal-wrap ul { padding-left: 22px; margin: 8px 0; }
.legal-wrap a { color: var(--pink-deep); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1024px) {
  .ai-grid { grid-template-columns: 1fr; }
  .item-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .topbar-ig span { display: none; }
  .item-grid { grid-template-columns: 1fr; }
  .ai-feats { grid-template-columns: 1fr; }
  .chat-mock { transform: none; }
  .legal-wrap { padding-top: 150px; }
  .cat-hero { padding-top: 150px; }
}

/* topbar offset for fixed header */
.hero { padding-top: 172px; }
@media (max-width: 640px) { .hero { padding-top: 146px; } }

/* ---------- Item detail modal ---------- */
.item-view {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(255,255,255,.92); color: var(--ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: .5em 1em; border-radius: 999px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .25s, transform .25s var(--ease-out);
  pointer-events: none;
}
.item-card { cursor: pointer; }
.item-card:hover .item-view, .item-card:focus-visible .item-view { opacity: 1; transform: none; }
.item-card:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

.item-modal {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.item-modal.open { opacity: 1; visibility: visible; }
.im-backdrop {
  position: absolute; inset: 0;
  background: rgba(23, 10, 17, .78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.im-dialog {
  position: relative; z-index: 1;
  width: min(880px, 92vw); max-height: 88svh;
  background: #fff; border-radius: 28px; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr 1fr;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.6);
  transform: translateY(30px) scale(.96);
  transition: transform .45s var(--ease-out);
}
.item-modal.open .im-dialog { transform: none; }
.im-media { position: relative; min-height: 320px; background: var(--paper-2); }
.im-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.im-media .season-chip { top: 16px; left: 16px; }
@keyframes imFade { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.im-fade { animation: imFade .5s var(--ease-out); }
.im-body { padding: 34px 34px 30px; overflow-y: auto; }
.im-cat {
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em;
  color: var(--pink-deep); margin-bottom: 8px;
}
.im-body h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; margin-bottom: 4px; }
.im-note { color: var(--leaf-deep); font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
.im-desc { font-size: .95rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.im-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.im-meta > div { background: var(--paper-2); border-radius: 14px; padding: 12px 16px; }
.im-label { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 2px; }
.im-meta strong { font-size: .9rem; }
.im-promise { font-size: .8rem; color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 7px; }
.im-promise::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); flex-shrink: 0; }
.im-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink);
  border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  transition: transform .2s var(--ease-out), background .2s;
}
.im-close:hover { transform: rotate(90deg); background: #fff; }
.im-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink);
  border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  transition: transform .2s var(--ease-out), background .2s;
}
.im-prev { left: 14px; }
.im-next { right: 14px; }
.im-nav:hover { background: #fff; transform: translateY(-50%) scale(1.12); }
@media (max-width: 760px) {
  .im-dialog { grid-template-columns: 1fr; max-height: 92svh; overflow-y: auto; display: block; }
  .im-media { min-height: 220px; height: 230px; position: relative; }
  .im-body { padding: 24px 22px; }
  .im-nav { top: 190px; }
}

/* ---------- About page ---------- */
.about-hero {
  position: relative; min-height: 62svh;
  display: flex; align-items: flex-end;
  color: var(--cream); isolation: isolate;
  padding: 190px 0 60px; overflow: hidden;
}
.about-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.about-hero-content { width: min(1180px, 92%); margin-inline: auto; }
.split-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.split-badge {
  position: absolute; right: -18px; bottom: 26px;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff; border-radius: 18px; padding: 14px 20px;
  display: flex; flex-direction: column; line-height: 1.2;
  box-shadow: 0 16px 40px -10px rgba(var(--pink-rgb),.55);
  transform: rotate(3deg);
}
.split-badge span { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; opacity: .85; }
.split-badge strong { font-family: var(--font-display); font-size: 1.9rem; }
.split-copy p:not(.eyebrow) { color: var(--muted); margin-bottom: 14px; font-size: .98rem; }
.split-copy .section-title { margin-bottom: 20px; }
.stats-band { background: var(--ink); padding: clamp(44px, 6vw, 70px) 0; }
.stats-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-band .stat-num { color: var(--sun); }
.stats-band .stat-label { color: var(--muted-light); }
@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; }
  .stats-band-grid { grid-template-columns: repeat(2, 1fr); }
  .split-badge { right: 8px; }
}

/* ---------- Story & fact in item modal ---------- */
.im-story p { font-size: .92rem; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.im-story p:first-child { color: #3E3138; font-weight: 500; }
.im-fact {
  background: linear-gradient(135deg, rgba(253,210,7,.14), rgba(var(--pink-soft-rgb),.1));
  border: 1px solid rgba(232,185,2,.35);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 18px;
}
.im-fact-tag {
  display: inline-block; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
  color: var(--pink-deep); margin-bottom: 5px;
}
.im-fact p { font-size: .87rem; color: #4A3A28; line-height: 1.6; }

/* ---------- Payment strip ---------- */
.pay-strip {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 24px 0 2px;
}
.pay-label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-light); }
.pay-chips { display: flex; gap: 9px; flex-wrap: wrap; }
.pay-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border-radius: 9px;
  height: 34px; padding: 0 12px;
  transition: transform .2s var(--ease-out);
}
.pay-chip:hover { transform: translateY(-2px); }
.pay-chip img { height: 15px; width: auto; display: block; }
.pay-chip-bacs { font-size: .72rem; font-weight: 700; color: #2E3A4A; letter-spacing: .02em; }

/* trade login note */
.trade-login-note { margin-top: 18px; font-size: .9rem; color: var(--muted-light); }
.trade-login-note a { color: var(--pink-light); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* anchor targets clear the fixed header */
#trade, #night, #why, #produce, #ai { scroll-margin-top: 128px; }

/* ---------- Trade account gateway page ---------- */
.gateway { padding-top: clamp(46px, 6vw, 70px); }
.gateway-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.gateway-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 46px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.gateway-card:hover { transform: translateY(-6px); border-color: var(--pink); box-shadow: 0 26px 60px -20px rgba(var(--pink-rgb),.28); }
.gateway-card h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; }
.gateway-card p { color: var(--muted); font-size: .97rem; }
.gateway-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.btn-xl { padding: 1.15em 2em; font-size: 1.08rem; }
.btn-outline-dark { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.gateway-note { font-size: .8rem; color: var(--muted-light); margin-top: 4px; }
.gateway-card-new { background: linear-gradient(180deg, #FFF6FA, #fff); }
.gateway-steps {
  display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 60px); color: var(--muted);
}
.gstep { display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.45; }
.gstep strong { color: var(--ink); }
.gstep-num {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep)); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem;
}
.gstep-arrow { color: var(--pink-light); flex-shrink: 0; }
@media (max-width: 820px) {
  .gateway-grid { grid-template-columns: 1fr; }
  .gstep-arrow { transform: rotate(90deg); }
  .gateway-steps { flex-direction: column; align-items: flex-start; }
}

/* ---------- Nav dropdown (Sysco-style) ---------- */
.nav-item.has-drop { position: relative; display: flex; align-items: center; }
.nav-item.has-drop > a::before {
  content: ""; position: absolute; left: -10px; right: -10px; top: 0; bottom: -18px; /* hover bridge */
}
.nav-drop {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 230px;
  background: #fff; border-radius: 16px; padding: 18px 20px 14px;
  box-shadow: 0 24px 60px -18px rgba(23,10,17,.35); border: 1px solid #F5E2EB;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s cubic-bezier(.22,1,.36,1), visibility .25s;
  z-index: 60;
}
.nav-item.has-drop:hover .nav-drop,
.nav-item.has-drop:focus-within .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-drop-head {
  display: block; font-size: .78rem; font-weight: 800; color: var(--ink);
  letter-spacing: .02em; margin-bottom: 10px;
}
.nav-drop a {
  display: block; padding: 7px 0; font-size: .9rem; color: var(--muted) !important; font-weight: 500;
  transition: color .2s, padding-left .2s;
}
.nav-drop a:hover { color: var(--pink-deep) !important; padding-left: 6px; }
.nav-drop a::after { display: none; }
.mob-sub { font-size: 1.05rem !important; opacity: .75; margin-top: -18px; }
.mob-sub::before { content: "— "; color: var(--pink-light); }

/* ---------- Sysco-style solid white header ---------- */
.site-head { background: #fff; box-shadow: 0 2px 18px rgba(23,10,17,.07); }
.nav { padding: 14px 0; }
.nav.scrolled { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 6px 24px rgba(23,10,17,.10); }
.nav-links a { color: #3E3138; font-weight: 600; }
.nav-links a:hover { color: var(--pink-deep); }
.nav-links a::after { background: var(--pink); }
.nav-burger span { background: var(--ink); }
.brand-logo { filter: none; }
.nav-cta .btn-ghost {
  background: #fff; color: var(--ink); border-color: #E9D9E1; backdrop-filter: none;
}
.nav-cta .btn-ghost:hover { background: var(--paper-2); border-color: var(--pink); }
.nav-login { font-size: .92rem; font-weight: 700; color: var(--pink-deep); margin-right: 2px; }
.nav-login:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-item.has-drop > a { color: #3E3138; }
@media (max-width: 640px) { .nav-login { display: none; } }
.nav-drop-sep { border: 0; border-top: 1px solid var(--border, #F1DCE6); margin: 12px 0; }
#purpose { scroll-margin-top: 128px; }

/* ---------- Footer: Sysco-style dark slate ---------- */
.footer { background: #2E3238; }
.footer .footer-social a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.footer, .footer .footer-links li, .footer-col p, .footer-brand p { color: #C4C9CF; }
.footer-col h4, .footer .footer-links a:hover { color: #FFFFFF; }
.footer .footer-links a:hover { color: var(--pink-light); }
.footer-bottom { color: #9AA1A9; border-top-color: rgba(255,255,255,.12); }

/* ---------- Header CTA: Sysco-style flat green ---------- */
.nav-cta .btn-primary, .mobile-menu .btn-primary {
  background: var(--leaf); border-radius: 7px;
  box-shadow: 0 4px 14px -4px rgba(76,159,19,.5);
  font-weight: 700;
}
.nav-cta .btn-primary:hover, .mobile-menu .btn-primary:hover {
  background: #3F8A0F; transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(76,159,19,.6);
}

/* ---------- Header CTA: pink variant (Become A Supplier) ---------- */
.nav-cta .btn-pink, .mobile-menu .btn-pink {
  background: var(--pink); color: #fff; border: 0; border-radius: 7px;
  box-shadow: 0 4px 14px -4px rgba(var(--pink-rgb), .5);
  font-weight: 700;
}
.nav-cta .btn-pink:hover, .mobile-menu .btn-pink:hover {
  background: var(--pink-deep); transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(var(--pink-rgb), .6);
}
.nav-login { color: var(--leaf); }
.nav-login:hover { color: #3F8A0F; }

/* ---------- Product Categories landing (Sysco-style, light) ---------- */
.cat-intro { padding: 190px 0 34px; background: linear-gradient(180deg, #FDF3F8 0%, var(--paper) 100%); }
.breadcrumb.dark { color: var(--muted); }
.cat-title-dark { color: var(--ink); }
.cat-intro-text { max-width: 780px; font-size: clamp(1rem, 1.5vw, 1.13rem); line-height: 1.8; color: #4A3E45; margin-top: 18px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hub-card {
  background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--border);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.hub-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -22px rgba(var(--pink-rgb),.3); }
.hub-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.hub-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.hub-card:hover .hub-media img { transform: scale(1.06); }
.hub-count {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.92); color: var(--ink);
  font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: .5em 1em; border-radius: 999px;
}
.hub-body { padding: 22px 24px 24px; }
.hub-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; margin-bottom: 4px; }
.hub-body p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.hub-more { display: inline-flex; align-items: center; gap: 7px; color: var(--leaf-deep); font-weight: 700; font-size: .88rem; transition: gap .2s; }
.hub-card:hover .hub-more { gap: 11px; color: var(--pink-deep); }
@media (max-width: 1024px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hub-grid { grid-template-columns: 1fr; } .cat-intro { padding-top: 160px; } }

/* ---------- Products landing hero (light, Sysco-style) ---------- */
.cat-hero-light .cat-hero-scrim { background: linear-gradient(90deg, rgba(255,247,242,.94) 0%, rgba(255,247,242,.72) 45%, rgba(255,247,242,.15) 100%); }
.cat-hero-light .cat-title, .cat-hero-light .cat-tagline { color: var(--ink); text-shadow: none; }
.cat-hero-light .breadcrumb, .cat-hero-light .breadcrumb a { color: #6B5C64; }
.prod-hero-sub { max-width: 620px; font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.75; }
.cat-intro-after { padding: 72px 0 34px; background: var(--paper); }
.cat-title-sm { font-size: clamp(2rem, 4vw, 3rem); }
a.nav-drop-headlink { text-decoration: none; transition: color .18s; }
a.nav-drop-headlink:hover { color: var(--pink-deep); }

/* ---------- Light re-theme: night / AI / trade sections (Sysco-style white) ---------- */
.night { background: #fff; color: var(--ink); }
.night-bg {
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(var(--pink-soft-rgb), .06) 0%, transparent 60%),
    radial-gradient(50% 40% at 10% 90%, rgba(76, 159, 19, .05) 0%, transparent 60%);
}
.night .eyebrow.light { color: var(--pink-deep); }
.night .section-title.light { color: var(--ink); }
.night .section-title.light .accent-script { color: var(--pink-deep); }
.night .section-sub.light { color: var(--muted); }
.timeline-line { background: rgba(23, 10, 17, .1); }
.timeline-item::before { background: #fff; box-shadow: 0 0 0 5px rgba(123, 203, 72, .16); }
.timeline-time { color: var(--leaf-deep); }
.timeline-item h3 { color: var(--ink); }
.timeline-item p { color: var(--muted); }

.ai { background: #fff; color: var(--ink); }
.ai::before {
  background:
    radial-gradient(55% 45% at 15% 15%, rgba(var(--pink-soft-rgb), .07) 0%, transparent 60%),
    radial-gradient(45% 40% at 90% 85%, rgba(76, 159, 19, .05) 0%, transparent 60%);
}
.ai .eyebrow.light { color: var(--pink-deep); }
.ai .section-title { color: var(--ink); }
.ai .section-title.light .accent-script { color: var(--pink-deep); }
.ai .section-sub { color: var(--muted); }
.ai-feats li { color: var(--ink); }
.chat-mock { box-shadow: 0 26px 60px -22px rgba(23, 10, 17, .25); border: 1px solid var(--border); }

.trade-card {
  background:
    radial-gradient(80% 100% at 90% 0%, rgba(var(--pink-soft-rgb), .09) 0%, transparent 55%),
    radial-gradient(60% 80% at 0% 100%, rgba(253, 210, 7, .08) 0%, transparent 50%),
    #fff;
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px -30px rgba(23, 10, 17, .18);
}
.trade-card .eyebrow.light { color: var(--pink-deep); }
.trade-card .section-title.light { color: var(--ink); }
.trade-card .section-title.light .accent-script { color: var(--pink-deep); }
.trade-card .section-sub.light { color: var(--muted); }
.trade-list li { color: var(--ink); }
.trade-list svg { color: var(--leaf-deep); }
.trade-card .btn-ghost-light { background: #fff; color: var(--ink); border-color: var(--border-dark, #D8CCD2); }
.trade-card .btn-ghost-light:hover { background: var(--paper-2); border-color: var(--pink); }
.trade-login-note { color: var(--muted); }
.trade-login-note a { color: var(--pink-deep); }

/* Centre the Product Categories intro (Sysco-style) */
.cat-intro-after { text-align: center; }
.cat-intro-after .cat-intro-text { margin-left: auto; margin-right: auto; }

/* ---------- All-white theme: stats band ---------- */
.stats-band { background: var(--paper-2); }
.stats-band .stat-num { color: var(--leaf-deep); }
.stats-band .stat-label { color: var(--muted); }

/* ---------- Clear hero photos: no wash, same layout ---------- */
.cat-hero-light .cat-hero-scrim { background: none; }
.cat-hero-light .cat-title,
.cat-hero-light .cat-tagline,
.cat-hero-light .prod-hero-sub {
  text-shadow: 0 0 14px rgba(255,255,255,.85), 0 1px 3px rgba(255,255,255,.9);
}
.cat-hero-light .breadcrumb, .cat-hero-light .breadcrumb a {
  text-shadow: 0 0 10px rgba(255,255,255,.9);
}

/* ---------- Hero text panel: human-readable over clear photos ---------- */
.cat-hero-light .cat-hero-content { max-width: none; }
.cat-hero-light .hero-panel {
  display: block; background: none; border-radius: 0; padding: 0;
  box-shadow: none; max-width: min(680px, 94%);
}
.cat-hero-light .hero-panel .cat-title {
  line-height: 1.04; letter-spacing: .005em; margin: 16px 0 14px;
  text-shadow: 0 0 18px rgba(255,255,255,.95), 0 0 6px rgba(255,255,255,.95), 0 1px 2px rgba(255,255,255,.9);
}
.cat-hero-light .hero-panel .cat-tagline,
.cat-hero-light .hero-panel .prod-hero-sub {
  font-weight: 600; max-width: 100%;
  text-shadow: 0 0 14px rgba(255,255,255,.95), 0 0 5px rgba(255,255,255,.95);
}
.cat-hero-light .hero-panel .breadcrumb {
  font-weight: 600;
  text-shadow: 0 0 12px rgba(255,255,255,.95), 0 0 4px rgba(255,255,255,.95);
}

/* ---------- Contact section subnav (Sysco-style) ---------- */
.contact-subnav { background: #fff; border-bottom: 1px solid var(--border); }
.contact-subnav-inner { display: flex; gap: 34px; justify-content: center; padding: 16px 0; }
.contact-subnav a {
  font-weight: 700; font-size: .95rem; color: var(--muted);
  padding: 6px 2px; border-bottom: 2.5px solid transparent; transition: color .2s, border-color .2s;
}
.contact-subnav a:hover { color: var(--ink); }
.contact-subnav a.is-on { color: var(--pink-deep); border-bottom-color: var(--pink-deep); }
@media (max-width: 600px) { .contact-subnav-inner { gap: 18px; } }


/* collapse emptied copy blocks (headings removed by request) so pages don't leave big gaps */
.section-head:empty,
.hero-panel:empty,
.cat-hero-content:empty,
.section:empty { display: none !important; margin: 0 !important; padding: 0 !important; }
.section-head > :only-child:empty { display: none; }

@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }
