/* =========================================================
   TrigoBake — "Oven & Flour" design system
   Fonts load from fonts.googleapis.com (see index.html):
   Bricolage Grotesque (display) · Outfit (body) · IBM Plex Mono 500 (spec labels)
   ========================================================= */

/* ============ TOKENS ============ */
:root {
  /* Grounds */
  --oven: #17120A;          /* warm near-black — hero, process, footer */
  --oven-2: #221B10;        /* raised dark surface */
  --flour: #F6F0E4;         /* warm cream ground */
  --flour-2: #EDE3D0;       /* recessed cream */

  /* Brand */
  --green: #0E3B21;         /* structure — bands, quality, links */
  --green-2: #124A2A;
  --crust: #DE8A38;         /* CTAs + heat accents only */
  --crust-deep: #C06F27;
  --wheat: #C9A227;         /* micro details */

  /* Text */
  --ink: #211B10;           /* text on cream */
  --dim: #6E6555;           /* dim text on cream */
  --milk: #F2EADA;          /* text on dark */
  --milk-dim: #B3A78E;      /* dim text on dark */

  /* Lines */
  --line-dark: rgba(242, 234, 218, .14);
  --line-light: rgba(33, 27, 16, .13);

  /* Type */
  --disp: 'Bricolage Grotesque', Georgia, serif;
  --body: 'Outfit', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --wrap: 1160px;
  --r: 18px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--body);
  background: var(--oven);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--disp);
  font-optical-sizing: auto;
  text-wrap: balance;
  line-height: 1.06;
  letter-spacing: -.015em;
  font-weight: 640;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px); }
::selection { background: var(--crust); color: var(--oven); }

.anchor-alias { position: relative; display: block; height: 0; visibility: hidden; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--crust);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 100;
  background: var(--crust);
  color: var(--oven);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ============ REVEAL ANIMATIONS ============ */
.rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.2, .6, .2, 1), transform .7s cubic-bezier(.2, .6, .2, 1);
}
.rv.on { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  html { scroll-behavior: auto; }
}

/* ============ TOP BAR ============ */
.topbar {
  background: var(--green);
  color: var(--milk);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--milk); text-decoration: none; }
.topbar a:hover { color: var(--crust); }
@media (max-width: 720px) {
  .topbar .tb-right, .topbar .tb-loc { display: none; }
  .topbar { font-size: 10px; letter-spacing: .07em; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .topbar .tb-left { white-space: nowrap; }
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 18, 10, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.wm {
  font-family: var(--disp);
  font-weight: 740;
  font-size: 24px;
  color: var(--milk);
  text-decoration: none;
  letter-spacing: -.02em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.wm b { color: var(--crust); font-weight: 740; }
.wm .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wheat); align-self: center; margin-left: 6px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  color: var(--milk-dim);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--milk); }
.nav-links a.btn-crust, .nav-links a.btn-crust:hover { color: var(--oven); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 26px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-crust { background: var(--crust); color: var(--oven); }
.btn-crust:hover { background: #EDA050; }
.btn-ghost { border-color: var(--line-dark); color: var(--milk); }
.btn-ghost:hover { border-color: var(--milk-dim); }
.nav .btn { padding: 10px 20px; font-size: 14px; }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--milk); margin: 5px 0; transition: .3s; }
@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    inset: 66px 0 auto 0;
    background: var(--oven);
    flex-direction: column;
    padding: 28px;
    gap: 20px;
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-130%);
    transition: transform .35s;
    align-items: flex-start;
  }
  body.menu-open .nav-links { transform: none; }
  .burger { display: block; }
  body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============ HERO ============ */
.hero { background: var(--oven); color: var(--milk); position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 600px at 78% 40%, rgba(222, 138, 56, .10), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  /* longhand only — the `padding: x 0 y` shorthand was wiping out .wrap's side padding */
  padding-top: clamp(52px, 7vh, 96px);
  padding-bottom: clamp(44px, 6vh, 80px);
  position: relative;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wheat);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--wheat); }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.35rem); font-weight: 660; color: var(--milk); }
.hero h1 em { font-style: normal; color: var(--crust); }
.hero-sub {
  margin: 24px 0 34px;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 300;
  color: var(--milk-dim);
  max-width: 54ch;
  line-height: 1.7;
}
.hero-sub strong { color: var(--milk); font-weight: 500; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 340px; }
.hero-visual img,
.hero-visual video {
  border-radius: 24px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 10 / 8.2;
  display: block;
  background: #000;
}
.chip {
  position: absolute;
  background: rgba(34, 27, 16, .82);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 11px 15px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .09em;
  color: var(--milk);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
  animation: floaty 7s ease-in-out infinite;
}
.chip .ok { color: #66C285; }
.chip small { display: block; color: var(--milk-dim); font-size: 9.5px; margin-top: 3px; letter-spacing: .12em; }
.chip-1 { top: 8%; left: -4%; }
.chip-2 { bottom: 10%; right: -3%; animation-delay: 2.2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 44px; }
  /* let the visual size itself from the video's aspect ratio,
     otherwise the chips float in empty space below it */
  .hero-visual { min-height: 0; }
  .chip-1 { left: 0; }
  .chip-2 { right: 0; }
}
@media (max-width: 520px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
}

/* Ticker */
.ticker {
  border-top: 1px solid var(--line-dark);
  background: var(--oven);
  overflow: hidden;
  position: relative;
  /* fade the marquee out at both edges so characters never look sliced off */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
}
.ticker-track { display: flex; gap: 0; width: max-content; animation: tick 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  color: var(--milk-dim);
  text-transform: uppercase;
  padding: 15px 0;
  white-space: nowrap;
}
.ticker-track span::after { content: '\25CF'; color: var(--crust); font-size: 7px; vertical-align: 2px; margin: 0 26px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ============ TRUSTED BY ============ */
.trust { background: var(--green); color: var(--milk); padding: 26px 0; }
.trust .wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.trust-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(242, 234, 218, .65);
  flex-shrink: 0;
}
.trust-logos { display: flex; gap: clamp(12px, 2vw, 20px); align-items: center; flex-wrap: wrap; }
.logo-tile {
  height: 54px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}
.logo-tile img { height: 100%; width: auto; display: block; }
.logo-tile.tile-text {
  padding: 0 20px;
  font-family: var(--disp);
  font-weight: 780;
  font-size: 19px;
  letter-spacing: .01em;
  white-space: nowrap;
}
.tn-chicking { color: #D62E2E; }
.tn-reliance { color: #1B58A8; }
.trust-more { font-size: 13px; color: rgba(242, 234, 218, .6); margin-left: auto; }
@media (max-width: 820px) { .trust-more { margin-left: 0; } }

/* ============ SECTION SCAFFOLD ============ */
.sec { padding: clamp(64px, 9vw, 110px) 0; }
.sec-flour { background: var(--flour); color: var(--ink); }
.sec-flour2 { background: var(--flour-2); color: var(--ink); }
.sec-oven { background: var(--oven); color: var(--milk); }
.sec-green { background: var(--green); color: var(--milk); }
.stage {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 6px;
  padding: 6px 12px;
  opacity: .75;
  margin-bottom: 26px;
}
.stage b { font-weight: 500; color: var(--crust); }
.sec h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 22ch; }
.sec-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.sec-head p { color: var(--dim); max-width: 46ch; }
.sec-oven .sec-head p, .sec-green .sec-head p { color: var(--milk-dim); }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } }

/* ============ THE RANGE ============ */
.range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pcard {
  grid-column: span 1;
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.2, .6, .2, 1), box-shadow .35s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(33, 27, 16, .16); }
.pcard-img { background: #000; aspect-ratio: 16 / 9.5; overflow: hidden; position: relative; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pcard h3 { font-size: 1.35rem; font-weight: 640; }
.sku {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--crust-deep);
  background: rgba(222, 138, 56, .12);
  padding: 4px 9px;
  border-radius: 5px;
  white-space: nowrap;
}
.pcard p { font-size: 14px; color: var(--dim); line-height: 1.55; }
.pcard-links { margin-top: auto; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.pcard-links a, .pcard-links .view-skus {
  font-family: var(--body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.pcard-links a:hover { color: var(--crust-deep); }
/* Whole card is clickable via its primary link */
.pcard-go::after { content: ''; position: absolute; inset: 0; }
.flag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--milk);
  background: var(--green);
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 5px;
}
.pcard-wide { grid-column: span 2; flex-direction: row; }
.pcard-wide .pcard-img { aspect-ratio: auto; flex: 1.1; }
.pcard-wide .pcard-body { flex: 1; justify-content: center; gap: 14px; }
.pcard-custom { background: var(--green); border-color: var(--green); }
.pcard-custom .pcard-body { justify-content: center; gap: 14px; height: 100%; }
.pcard-custom h3 { color: var(--milk); font-size: 1.5rem; }
.pcard-custom p { color: rgba(242, 234, 218, .75); }
.pcard-custom .link-crust { color: var(--crust); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.pcard-custom .link-crust:hover { color: #EDA050; }
@media (max-width: 960px) {
  .range-grid { grid-template-columns: 1fr 1fr; }
  .pcard-wide { grid-column: span 2; flex-direction: column; }
  .pcard-wide .pcard-img { aspect-ratio: 16 / 9.5; }
}
@media (max-width: 620px) {
  .range-grid { grid-template-columns: 1fr; }
  .pcard-wide { grid-column: span 1; }
}

/* ============ PROCESS ============ */
.process-rail { position: relative; margin-top: 14px; }
.process-line { position: absolute; top: 27px; left: 0; right: 0; height: 2px; background: var(--line-dark); }
.process-line i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--wheat), var(--crust));
  transition: width .15s linear;
  box-shadow: 0 0 14px rgba(222, 138, 56, .55);
}
.stations { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; position: relative; }
.station { padding-top: 52px; position: relative; opacity: .32; transition: opacity .5s; }
.station.lit { opacity: 1; }
.station::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--oven);
  border: 2px solid var(--milk-dim);
  transition: .4s;
}
.station.lit::before { border-color: var(--crust); background: var(--crust); box-shadow: 0 0 0 5px rgba(222, 138, 56, .18); }
.station .t { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--wheat); display: block; margin-bottom: 8px; }
.station h3 { font-family: var(--body); font-size: 1.02rem; font-weight: 600; color: var(--milk); margin-bottom: 6px; line-height: 1.25; letter-spacing: 0; }
.station p { font-size: 12.5px; color: var(--milk-dim); line-height: 1.5; }
.station svg {
  width: 26px;
  height: 26px;
  stroke: var(--milk);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 10px;
  opacity: .9;
}
@media (max-width: 1060px) {
  .stations { grid-template-columns: repeat(4, 1fr); row-gap: 36px; }
  .process-line { display: none; }
  .station { opacity: 1; padding-top: 0; }
  .station::before { display: none; }
}
@media (max-width: 620px) {
  /* Vertical timeline: rail down the left edge, the batch "travels" station
     to station as you scroll (JS fills height instead of width here) */
  .stations { grid-template-columns: 1fr; row-gap: 30px; }
  .process-line {
    display: block;
    top: 6px;
    bottom: 6px;
    left: 6.5px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .process-line i {
    position: relative;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--wheat), var(--crust));
    transition: height .15s linear;
  }
  .process-line i::after {
    /* glowing head riding the tip of the fill */
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--crust);
    box-shadow: 0 0 14px 3px rgba(222, 138, 56, .55);
  }
  .station { opacity: .32; padding: 0 0 0 36px; }
  .station.lit { opacity: 1; }
  .station::before { display: block; top: 4px; left: 0; }
}

/* ============ FACILITY / STATS ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.stat { border-top: 2px solid var(--green); padding-top: 18px; }
.stat .n {
  font-family: var(--disp);
  font-optical-sizing: auto;
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat .n small { font-size: .55em; color: var(--crust-deep); font-weight: 640; }
.stat .l {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--dim);
  display: block;
  margin-top: 10px;
}
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fac {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.fac svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  stroke: var(--green);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}
.fac h3 { font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 4px; }
.fac p { font-size: 13.5px; color: var(--dim); line-height: 1.5; }
@media (max-width: 900px) { .fac-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fac-grid { grid-template-columns: 1fr; } }

/* ============ QUALITY ============ */
.q-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.q-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.q-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: var(--milk); }
.q-list li b { font-weight: 600; }
.q-list li span { color: rgba(242, 234, 218, .72); font-weight: 300; }
.q-tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(201, 162, 39, .16);
  color: var(--wheat);
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}
.batch-card {
  background: var(--flour);
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 36px 80px rgba(0, 0, 0, .4);
  position: relative;
  transform: rotate(1.2deg);
  font-family: var(--mono);
}
.batch-card::before {
  content: '';
  position: absolute;
  top: 26px;
  left: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
}
.batch-head {
  border-bottom: 1.5px dashed var(--line-light);
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.batch-head .id { font-size: 15px; letter-spacing: .06em; font-weight: 500; }
.batch-head .pass {
  font-size: 10px;
  letter-spacing: .14em;
  background: var(--green);
  color: var(--milk);
  padding: 5px 10px;
  border-radius: 4px;
}
.batch-rows { padding: 16px 28px 22px; }
.batch-rows div {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(33, 27, 16, .07);
  font-size: 12px;
  letter-spacing: .04em;
}
.batch-rows div:last-child { border: none; }
.batch-rows .st { color: var(--dim); }
.batch-rows .ok { color: var(--green); font-weight: 500; }
.batch-foot {
  border-top: 1.5px dashed var(--line-light);
  padding: 16px 28px;
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--dim);
  text-transform: uppercase;
}
@media (max-width: 880px) {
  .q-grid { grid-template-columns: 1fr; }
  .batch-card { transform: none; }
}

/* ============ COVERAGE ============ */
.cov-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
#simap { width: 100%; height: auto; }
/* dispatch routes: dashes march outward from Coimbatore once the map is in view */
@keyframes route-flow { to { stroke-dashoffset: -16; } }
#simap .route-flow { animation: route-flow 1.1s linear infinite; }
.states { list-style: none; display: flex; flex-direction: column; }
.states li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 19px 4px;
  border-bottom: 1px solid var(--line-light);
}
.states li:first-child { border-top: 1px solid var(--line-light); }
.states .s { font-family: var(--disp); font-weight: 640; font-size: 1.4rem; }
.states .c {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--crust-deep);
  text-align: right;
}
.cov-note { margin-top: 22px; font-size: 13.5px; color: var(--dim); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cov-note a { color: var(--green); font-weight: 600; }
.cov-note a:hover { color: var(--crust-deep); }
.cov-note i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--crust);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(222, 138, 56, .5); }
  70% { box-shadow: 0 0 0 10px rgba(222, 138, 56, 0); }
  100% { box-shadow: 0 0 0 0 rgba(222, 138, 56, 0); }
}
@media (max-width: 880px) { .cov-grid { grid-template-columns: 1fr; } }

/* ============ STRATEGIC PARTNERSHIP ============ */
.partner-sec { padding: clamp(56px, 7vw, 90px) 0; }
.partner-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.partner-sec h2 { color: var(--milk); }
.partner-sec h2 em { font-style: normal; color: var(--crust); }
.partner-copy { margin-top: 20px; color: var(--milk-dim); max-width: 52ch; font-weight: 300; line-height: 1.7; }
.partner-logos { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.5vw, 28px); }
.plogo {
  background: var(--flour);
  border-radius: 18px;
  width: clamp(128px, 14vw, 168px);
  height: clamp(128px, 14vw, 168px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  flex-shrink: 0;
}
.plogo img { max-width: 72%; max-height: 72%; width: auto; height: auto; display: block; object-fit: contain; }
.ptimes {
  font-family: var(--disp);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--wheat);
}
@media (max-width: 820px) {
  .partner-grid { grid-template-columns: 1fr; }
  .partner-logos { justify-content: flex-start; }
}

/* ============ FAQ ============ */
.faq-list { max-width: 780px; }
.faq-list details { border-bottom: 1px solid var(--line-light); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  font-family: var(--disp);
  font-weight: 600;
  font-size: 1.12rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-family: var(--body);
  font-weight: 300;
  font-size: 26px;
  color: var(--crust-deep);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 4px 24px; color: var(--dim); max-width: 64ch; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); }
.c-left h2 { color: var(--milk); }
.c-left > p { color: var(--milk-dim); margin: 20px 0 30px; max-width: 44ch; }
.c-ways { display: flex; flex-direction: column; gap: 10px; }
.c-way {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: rgba(242, 234, 218, .06);
  border: 1px solid rgba(242, 234, 218, .12);
  border-radius: 14px;
  text-decoration: none;
  color: var(--milk);
  transition: transform .25s, background .25s, border-color .25s, box-shadow .25s;
}
.c-way:hover {
  transform: translateY(-3px);
  background: rgba(242, 234, 218, .1);
  border-color: rgba(242, 234, 218, .28);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .25);
}
.c-ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(201, 162, 39, .16);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.c-way svg {
  width: 20px;
  height: 20px;
  stroke: var(--wheat);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.c-way .lab {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(242, 234, 218, .55);
  display: block;
}
.c-way .val { font-size: 15.5px; font-weight: 500; }
.c-arrow { margin-left: auto; opacity: .45; font-size: 18px; transition: transform .25s, opacity .25s; }
.c-way:hover .c-arrow { transform: translateX(5px); opacity: 1; }
/* WhatsApp card — the loudest thing in the rail, on purpose */
.c-way-wa { background: #25D366; border-color: #25D366; color: #08331A; }
.c-way-wa:hover { background: #3AE07A; border-color: #3AE07A; box-shadow: 0 16px 38px rgba(37, 211, 102, .3); }
.c-way-wa .c-ico { background: rgba(255, 255, 255, .85); }
.c-way-wa svg { stroke: #128C4B; }
.c-way-wa .lab { color: rgba(8, 51, 26, .65); }
.c-way-wa .val { font-weight: 650; }
/* Instagram card — brand gradient icon */
.c-way-ig .c-ico { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.c-way-ig svg { stroke: #fff; }
.form-card {
  background: var(--flour);
  border-radius: 20px;
  padding: clamp(26px, 3.4vw, 42px);
  color: var(--ink);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .35);
}
.form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card > p { font-size: 14px; color: var(--dim); margin-bottom: 24px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.f-field { display: flex; flex-direction: column; gap: 6px; border: none; }
.f-field.full { grid-column: 1 / -1; }
.f-field label, .f-field legend {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.f-field legend { margin-bottom: 6px; }
.f-field input, .f-field select, .f-field textarea {
  font-family: var(--body);
  font-size: 15px;
  padding: 13px 15px;
  border: 1.5px solid var(--line-light);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { border-color: var(--crust); }
.prod-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.prod-chips label { display: inline-flex; align-items: center; cursor: pointer; position: relative; }
.prod-chips input { position: absolute; opacity: 0; width: 0; }
.prod-chips span {
  border: 1.5px solid var(--line-light);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dim);
  transition: .2s;
  font-family: var(--body);
  letter-spacing: 0;
  text-transform: none;
}
.prod-chips input:checked + span { background: var(--green); border-color: var(--green); color: var(--milk); }
.prod-chips input:focus-visible + span { outline: 2px solid var(--crust); outline-offset: 2px; }
.submit-btn { width: 100%; justify-content: center; }
.submit-btn:disabled { opacity: .6; cursor: wait; }
#form-message {
  display: none;
  margin-top: 14px;
  font-size: 13.5px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 500;
}
#form-message.show { display: block; }
#form-message.ok {
  background: rgba(14, 59, 33, .08);
  border: 1px solid rgba(14, 59, 33, .25);
  color: var(--green);
}
#form-message.err {
  background: rgba(192, 111, 39, .1);
  border: 1px solid rgba(192, 111, 39, .35);
  color: var(--crust-deep);
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  /* 16px minimum stops iOS Safari from auto-zooming (and leaving the page
     zoomed/panned) when a field gets focus */
  .f-field input, .f-field select, .f-field textarea { font-size: 16px; }
}
.plant-map { margin-top: clamp(36px, 5vw, 64px); }
.plant-map-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(242, 234, 218, .18);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
}
.plant-map-frame iframe { display: block; width: 100%; }
.plant-map-note {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(242, 234, 218, .6);
}
.plant-map-note a { color: var(--crust); text-decoration: none; }
.plant-map-note a:hover { color: #EDA050; }

/* ============ FOOTER ============ */
.footer {
  background: var(--oven);
  color: var(--milk-dim);
  border-top: 1px solid var(--line-dark);
  padding: 56px 0 34px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 44px; }
.foot-grid h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wheat);
  margin-bottom: 16px;
  font-weight: 500;
}
.foot-grid a { display: block; color: var(--milk-dim); text-decoration: none; font-size: 14px; padding: 4px 0; }
.foot-grid a:hover { color: var(--milk); }
.foot-grid a.wm { display: flex; margin-bottom: 14px; padding: 0; }
.foot-grid p { font-size: 13.5px; line-height: 1.7; margin-bottom: 10px; }
.foot-phones a { display: block; padding: 2px 0; }
.foot-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  /* brand blurb + full postal address get the full row; link columns stay paired */
  .foot-grid > div:first-child, .foot-grid > div:last-child { grid-column: 1 / -1; }
}

/* ============ WHATSAPP FAB ============ */
.whatsapp-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 70;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
  opacity: 0;
  transform: translateY(14px) scale(.9);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.whatsapp-fab.visible { opacity: 1; transform: none; pointer-events: auto; }
.whatsapp-fab:hover { transform: scale(1.06); }

/* ============ PRODUCT LINE PAGES ============ */
.lp-hero { background: var(--oven); color: var(--milk); position: relative; overflow: hidden; padding: clamp(48px, 6vw, 80px) 0; }
.lp-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 500px at 80% 30%, rgba(222, 138, 56, .09), transparent 60%); }
.crumbs { display: flex; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--milk-dim); margin-bottom: 24px; position: relative; flex-wrap: wrap; }
.crumbs a { color: var(--milk-dim); text-decoration: none; }
.crumbs a:hover { color: var(--milk); }
.crumbs b { color: var(--wheat); font-weight: 500; }
.lp-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; }
.lp-hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); color: var(--milk); }
.lp-hero .lead { margin: 20px 0 28px; color: var(--milk-dim); font-weight: 300; line-height: 1.7; max-width: 56ch; }
.lp-hero img { border-radius: 20px; box-shadow: 0 34px 80px rgba(0, 0, 0, .5); width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 3; background: #000; }
.lp-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.lp-badges span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-dark); border-radius: 6px; padding: 5px 10px; color: var(--milk-dim); }
@media (max-width: 880px) { .lp-hero-grid { grid-template-columns: 1fr; } }
.tbl-wrap { border: 1px solid var(--line-light); border-radius: 16px; overflow: hidden; background: #fff; overflow-x: auto; }
.sku-table { width: 100%; border-collapse: collapse; }
.sku-table th { font-family: var(--mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; text-align: left; color: var(--milk); background: var(--green); padding: 13px 18px; font-weight: 500; }
.sku-table td { padding: 14px 18px; border-top: 1px solid rgba(33, 27, 16, .08); font-size: 14.5px; vertical-align: top; }
.sku-table td:first-child { font-weight: 600; white-space: nowrap; }
.sku-table td:last-child { color: var(--dim); }
.sku-table tr:hover td { background: var(--flour-2); }
.lp-note { margin-top: 14px; font-size: 13px; color: var(--dim); }
.lp-cross { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-cross a { border: 1.5px solid var(--line-light); border-radius: 999px; padding: 9px 18px; font-size: 13.5px; font-weight: 600; color: var(--green); text-decoration: none; background: #fff; transition: border-color .2s, color .2s; }
.lp-cross a:hover { border-color: var(--crust); color: var(--crust-deep); }
.lp-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-cta-inner h2 { color: var(--milk); }
.lp-cta-inner .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ PRODUCT-PAGE HEADER (single bar with line pills) ============ */
.nav-lines .wrap { gap: 18px; }
.line-pills {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  margin-left: 6px;
}
.line-pills::-webkit-scrollbar { display: none; }
.line-pills a {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--milk-dim);
  text-decoration: none;
  padding: 7px 13px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.line-pills a:hover { color: var(--milk); }
.line-pills a[aria-current="page"] { background: var(--crust); color: var(--oven); font-weight: 600; }
/* Home pill — deliberately louder than the line pills (cream fill on the dark bar) */
.line-pills a.ls-home {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--milk);
  color: var(--oven);
  font-weight: 600;
  padding: 7px 15px;
  margin-right: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
}
.line-pills a.ls-home:hover { background: #fff; color: var(--oven); }
.ls-home svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.nav-lines .nav-cta { flex-shrink: 0; }
@media (max-width: 960px) {
  /* fold into one header block: wordmark + CTA on top, pill tab-row beneath */
  .nav-lines .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; row-gap: 2px; }
  .nav-lines .wm { order: 1; }
  .nav-lines .nav-cta { order: 2; margin-left: auto; }
  .line-pills { order: 3; flex-basis: 100%; margin-left: 0; padding: 8px 0 10px; }
}
