/* The Flour Craft: warm neutrals from kraft paper, peach from the logo arch. */
:root {
  --bg: #FBF7F1;
  --surface: #F4EDE3;
  --surface-2: #EDE3D6;
  --ink: #2E2119;
  --ink-2: #5E4D40;
  --muted: #8A796B;
  --line: rgba(46, 33, 25, .1);
  --peach: #F4B074;
  --peach-deep: #EF945B;
  --accent: #A04F1E;
  --accent-hover: #873F15;
  --wa: #1F7A4D;
  --display: "Zilla Slab", Rockwell, Georgia, serif;
  --body: "Montserrat", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r-control: 10px;
  --r-card: 16px;
  --arch: 50% 50% var(--r-card) var(--r-card) / 36% 36% var(--r-card) var(--r-card);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 16px; border-radius: var(--r-control); }
.skip:focus { top: 16px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon { flex: none; }

/* Type */
.display { font: 500 clamp(44px, 7vw, 92px)/1.02 var(--display); letter-spacing: -.02em; }
.display-sm { font-size: clamp(40px, 5.6vw, 72px); }
.h2 { font: 500 clamp(30px, 3.6vw, 46px)/1.1 var(--display); letter-spacing: -.01em; }
.h3 { font: 500 24px/1.2 var(--display); }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--accent); margin-bottom: 16px; }
.lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 36em; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--r-control); border: 1px solid transparent;
  font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgba(46, 33, 25, .22); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--surface); border-color: rgba(46, 33, 25, .35); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-wa { background: var(--wa); color: #fff; width: 100%; justify-content: center; }
.btn-wa:hover { background: #18633E; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); /* solid, so dark sections like the footer never show through */
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  view-transition-name: site-header;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -12px rgba(46, 33, 25, .18); }
/* The header never changes height (that would shift the whole page); the logo shrinks with a transform instead */
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 60px; width: auto; transform-origin: left center; transition: transform .35s var(--ease); }
.is-scrolled .brand img { transform: scale(.82); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); padding: 8px 0; position: relative; transition: color .2s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--peach-deep); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle .i-close { display: none; }

/* Hero */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-copy .lede { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.arch {
  position: relative; aspect-ratio: 4 / 4.6; max-width: 540px; margin-left: auto;
  border-radius: var(--arch);
  outline: 2px solid var(--peach-deep); outline-offset: 10px;
  overflow: hidden; isolation: isolate;
}
/* The fill is its own layer so it can rise into the arch without clipping the outline ring */
.arch-fill { position: absolute; inset: 0; z-index: -1; background: var(--peach); }
.dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.wheat { color: var(--peach-deep); }
.wheat-hero { position: absolute; left: 0; right: 0; margin-inline: auto; top: 17%; height: 44%; width: auto; color: #fff; opacity: .5; z-index: 0; }
.pack { position: absolute; bottom: 3%; width: 60%; height: auto; filter: drop-shadow(0 24px 28px rgba(90, 45, 10, .28)); z-index: 2; }
.pack-c { left: 0; width: 78%; bottom: 0; z-index: 3; }
.pack-l { left: -15%; bottom: 8%; transform: rotate(-9deg); }
.pack-r { right: 2%; bottom: 8%; transform: rotate(9deg); }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-flush { padding-top: 0; }
.section-tint { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.page-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.page-hero .lede { margin-top: 24px; }

/* Range tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border-radius: var(--r-card); padding: 12px 12px 24px; transition: background-color .3s var(--ease); }
.tile:hover { background: var(--surface-2); }
.tile-arch {
  display: block; position: relative; aspect-ratio: 1 / 1.05; overflow: hidden;
  border-radius: var(--arch); background: color-mix(in srgb, var(--pack) 24%, var(--bg));
  clip-path: inset(0 round 50% 50% var(--r-card) var(--r-card) / 36% 36% var(--r-card) var(--r-card));
  transition: background-color .4s var(--ease);
}
.tile:hover .tile-arch { background: color-mix(in srgb, var(--pack) 42%, var(--bg)); }
.tile-arch img { position: absolute; left: 50%; bottom: 5%; width: 74%; transform: translateX(-64.7%); filter: drop-shadow(0 16px 18px rgba(60, 30, 10, .22)); transition: transform .5s var(--ease); }
.tile:hover .tile-arch img { transform: translateX(-64.7%) translateY(-8px) rotate(-3deg); }
.tile-text { display: flex; flex-direction: column; gap: 4px; padding: 20px 8px 0; flex: 1; }
.tile-title { font: 500 22px/1.2 var(--display); }
.tile-line { font-size: 14px; color: var(--ink-2); flex: 1; }
.tile-meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--accent); }

/* Flour words */
.words-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.word-cycle { font: 500 clamp(44px, 6vw, 80px)/1.1 var(--display); color: var(--accent); margin: 4px 0 24px; }
.words { display: block; position: relative; height: 1.15em; overflow: hidden; }
.words span { display: block; }
.js-motion .words span { position: absolute; left: 0; top: 0; }
.js-motion .words span:not(:first-child) { opacity: 0; }
.diff { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.diff-title { font: 500 clamp(24px, 2.4vw, 32px)/1.2 var(--display); margin-bottom: 24px; max-width: 18em; }
/* The five things flour shapes, all visible; the current one in the cycle is highlighted */
.qualities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.qualities li { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .5); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.qualities .q-num { font: 500 12px/1 var(--display); color: var(--muted); font-variant-numeric: tabular-nums; transition: color .35s var(--ease); }
.qualities li.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.qualities li.is-on .q-num { color: rgba(255, 255, 255, .75); }
.diff li { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.diff li:nth-child(odd) { border-right: 1px solid var(--line); }
.diff li:nth-child(even) { padding-left: 24px; padding-right: 0; }
.diff h3 { font: 500 21px/1.25 var(--display); margin-bottom: 8px; }
.diff-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; background: color-mix(in srgb, var(--peach) 35%, #fff); color: var(--accent); transition: transform .4s var(--ease), background-color .3s var(--ease); }
.diff li:hover .diff-icon { transform: translateY(-3px) rotate(-6deg); background: var(--peach); }
.diff p { color: var(--ink-2); font-size: 15px; }

/* Clients marquee */
.clients .section-head { margin-bottom: 40px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* Height and width caps balance square badges against long wordmarks */
.marquee img { width: auto; height: auto; max-height: 72px; max-width: 170px; filter: grayscale(1); opacity: .6; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 36px)); } }

/* CTA */
/* Home trade-pricing panel: steps on the left, a fanned trio of packs in an arch on the right */
.cta2 { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; background: var(--surface); border-radius: 28px; padding: clamp(32px, 5vw, 72px); overflow: hidden; isolation: isolate; }
.cta2-watermark { position: absolute; right: -6%; top: -18%; height: 130%; width: auto; color: var(--peach); opacity: .18; z-index: -1; pointer-events: none; }
.cta2-copy .h2 { max-width: 14em; }
.cta2-steps { display: grid; gap: 4px; margin: 28px 0 32px; }
.cta2-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.cta2-steps li:last-child { border-bottom: 1px solid var(--line); }
.cta2-num { font: 500 26px/1 var(--display); color: var(--peach-deep); font-variant-numeric: tabular-nums; padding-top: 2px; }
.cta2-steps h3 { font: 500 19px/1.3 var(--display); margin-bottom: 4px; }
.cta2-steps p { font-size: 15px; color: var(--ink-2); }
.cta2-visual { display: flex; justify-content: center; }
.cta2-arch { position: relative; width: min(100%, 440px); aspect-ratio: 1 / 1.08; border-radius: var(--arch); background: var(--peach); outline: 2px solid var(--peach-deep); outline-offset: 9px; overflow: hidden; }
.cta2-pack { position: absolute; bottom: 3%; width: 60%; filter: drop-shadow(0 22px 26px rgba(90, 45, 10, .28)); }
.cta2-pack-c { left: 2%; width: 74%; bottom: 0; z-index: 2; }
.cta2-pack-l { left: -16%; bottom: 6%; transform: rotate(-11deg); }
.cta2-pack-r { right: 2%; bottom: 6%; transform: rotate(11deg); }

/* Products */
.range-section { padding-top: clamp(48px, 6vw, 80px); }
.filters { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter { position: relative; z-index: 1; border: 1px solid var(--line); background: transparent; padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .3s var(--ease), border-color .3s var(--ease); }
.filter:hover { border-color: rgba(46, 33, 25, .3); color: var(--ink); }
.filter[aria-selected="true"] { background: var(--peach); border-color: var(--peach); color: var(--ink); }
/* With JS, one peach pill slides behind the selected filter instead of each button filling */
.filter-thumb { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; background: var(--peach); pointer-events: none; transition: transform .55s var(--ease), width .55s var(--ease), height .55s var(--ease); }
.filters.has-thumb .filter[aria-selected="true"] { background: transparent; border-color: transparent; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; scroll-margin-top: 100px; }
.card[hidden] { display: none; }
.card-media { position: relative; padding: 16px 16px 0; }
.flip { position: relative; aspect-ratio: 1 / 1.08; perspective: 1100px; border-radius: var(--arch); background: color-mix(in srgb, var(--pack) 22%, var(--bg)); touch-action: pan-y; }
/* A pack you can turn: front image, a drawn white pouch carrying the back label, and two thin sides. */
.pack3d { position: absolute; left: 50%; bottom: 7%; height: 78%; aspect-ratio: var(--ratio, .68); transform: translateX(-64.7%); /* the bag, not the bag + bake, sits on the centre line */ container-type: inline-size; cursor: grab; }
.pack3d:active { cursor: grabbing; }
.p3-body { position: absolute; inset: 0; transform-origin: 64.7% 50%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.card.is-flipped .p3-body, .pd-pack.is-flipped .p3-body { transform: rotateY(180deg); }
.p3-face { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; user-select: none; }
img.p3-front { object-fit: contain; transform: translateZ(1px); filter: drop-shadow(0 14px 16px rgba(60, 30, 10, .18)); }
.p3-back { inset: 1.3% 1.7% 5.5% 31.2%; width: auto; height: auto; transform: rotateY(180deg) translateZ(1px); padding: 10% 5% 4%; border-radius: 10px 10px 14px 14px; background: linear-gradient(100deg, #f1f1f0 0%, #fff 30%, #fafafa 60%, #e6e6e5 100%); box-shadow: inset 0 3% 0 #f6f6f6, 0 14px 22px rgba(60, 30, 10, .16); }
.p3-back::before { content: ""; position: absolute; left: 6%; right: 6%; top: 6%; border-top: 2px dotted #cdbfa8; }
.p3-back img { width: 100%; height: 100%; object-fit: contain; border-radius: 3px; }
.p3-back.is-full { padding: 0; background: none; box-shadow: none; }
.p3-back.is-full::before { display: none; }
.p3-back.is-full img { object-fit: contain; }
.media-actions { display: flex; justify-content: space-between; gap: 6px; margin-top: 12px; }
.flip-btn, .zoom-btn { pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; white-space: nowrap; min-width: 0; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .94); font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .2s var(--ease), background-color .2s var(--ease); }
.flip-btn:hover, .zoom-btn:hover { color: var(--ink); background: #fff; }

.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-color: var(--peach-deep); text-underline-offset: 4px; }

/* Product page */
.pd-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 96px); }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.pd-pack { position: relative; padding: 0; }
.pd-pack .flip { aspect-ratio: 1 / 1.05; }
.pd-pack .media-actions { justify-content: center; margin-top: 16px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.pd-title { font-size: clamp(38px, 5vw, 64px); }
.pd-sub { font-size: 15px; color: var(--ink-2); margin-top: 12px; }
.pd-info .card-best { font-size: 16px; margin-top: 20px; }
.pd-info .lede { margin-top: 12px; }
.pd-info .chips { margin-top: 20px; }
.pd-info .chips li { font-size: 13px; padding: 5px 12px; }
.pd-stats { display: flex; gap: 32px; margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.pd-stats dt { font-size: 13px; color: var(--muted); }
.pd-stats dd { margin: 4px 0 0; font: 500 26px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.pd-stats small { font: 400 13px var(--body); color: var(--ink-2); }
.pd-label-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
/* Let columns shrink so wide tables scroll inside their own box instead of widening the page */
.pd-grid > *, .pd-label-grid > *, .pd-recipe-grid > *, .calc > * { min-width: 0; }
.nutri, .recipe-table { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 8px 20px 16px; overflow-x: auto; }
.nutri table, .recipe-table table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.nutri caption { text-align: left; font: 500 20px/1.3 var(--display); padding: 14px 0 10px; }
.nutri th, .nutri td, .recipe-table th, .recipe-table td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); }
.nutri thead th, .recipe-table thead th { font-size: 13px; font-weight: 500; color: var(--muted); }
.nutri tbody th, .recipe-table tbody th { font-weight: 500; }
.nutri td, .recipe-table td { color: var(--ink-2); white-space: nowrap; }
.nutri tbody tr:last-child > *, .recipe-table tbody tr:last-child > * { border-bottom: 0; }
.nutri-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.pd-facts { display: grid; gap: 16px; }
.fact { background: var(--surface); border-radius: var(--r-card); padding: 20px 24px; }
.fact h3 { font: 500 18px/1.3 var(--display); margin-bottom: 8px; }
.fact p, .fact li { font-size: 15px; color: var(--ink-2); }
.fact ul { display: grid; gap: 8px; }
.fact li { padding-left: 16px; position: relative; }
.fact li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--peach-deep); }
.fact-allergen { background: color-mix(in srgb, var(--peach) 30%, var(--bg)); }
.pd-recipe-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.pd-recipe-grid > div { position: sticky; top: 110px; }
.recipe-table { margin-top: 28px; }
.method { overflow-x: clip; display: grid; gap: 0; counter-reset: m; }
.method-step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.method-step:first-child { padding-top: 0; }
.method-num { font: 500 28px/1 var(--display); color: var(--peach-deep); font-variant-numeric: tabular-nums; }
.method-step p { font-size: 16px; color: var(--ink-2); }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 6vw, 88px); background: var(--ink); color: var(--bg); border-radius: 24px; padding: clamp(28px, 5vw, 64px); }
.calc .eyebrow { color: var(--peach); }
.calc .lede { color: rgba(251, 247, 241, .75); margin-top: 16px; }
.calc-form { display: grid; gap: 14px; align-content: start; }
.calc-field { display: grid; gap: 6px; font-size: 14px; color: rgba(251, 247, 241, .8); }
.calc-field small { color: rgba(251, 247, 241, .5); }
.calc-field input { width: 100%; padding: 14px 16px; border-radius: var(--r-control); border: 1px solid rgba(251, 247, 241, .2); background: rgba(251, 247, 241, .06); color: var(--bg); font: 500 20px/1 var(--body); font-variant-numeric: tabular-nums; transition: border-color .2s var(--ease); }
.calc-field input:focus { outline: none; border-color: var(--peach); }
.calc-out { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; border-top: 1px solid rgba(251, 247, 241, .12); padding-top: 28px; }
.calc-stat { display: grid; gap: 6px; }
.calc-num { font: 500 clamp(36px, 5vw, 64px)/1 var(--display); font-variant-numeric: tabular-nums; }
.calc-stat-main .calc-num { color: var(--peach); }
.calc-unit { font-size: 14px; color: rgba(251, 247, 241, .65); }
.calc-basis { grid-column: 1 / -1; font-size: 13px; color: rgba(251, 247, 241, .6); max-width: 70em; }
.calc-basis strong { color: rgba(251, 247, 241, .85); font-weight: 500; }
.calc-cta { grid-column: 1 / -1; justify-self: start; }
.pd-related-title { margin-bottom: 24px; }
/* As many equal columns as there are related packs (up to 4), so 2 or 3 still span the row */
.related { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.related-item { display: flex; flex-direction: column; text-decoration: none; }
.related-item .hs-arch { background: color-mix(in srgb, var(--pack) 24%, var(--bg)); }
.related-item .hs-name { font-size: 20px; margin-top: 14px; }
@media (max-width: 900px) {
  .pd-grid, .pd-label-grid, .pd-recipe-grid, .calc { grid-template-columns: 1fr; }
  .pd-recipe-grid > div { position: static; }
  .related { grid-template-columns: repeat(min(var(--n, 2), 2), minmax(0, 1fr)); }
  .calc-out { grid-template-columns: 1fr 1fr; }
  .calc-stat-main { grid-column: 1 / -1; }
}

/* Label viewer: full-screen, zoom and pan the high-resolution back of pack */
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(30, 21, 16, .96); color: var(--bg); display: none; flex-direction: column; }
.viewer[open] { display: flex; animation: viewer-in .35s var(--ease); }
.viewer::backdrop { background: transparent; }
@keyframes viewer-in { from { opacity: 0; transform: scale(.98); } }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter); border-bottom: 1px solid rgba(251, 247, 241, .1); }
.viewer-title { font: 500 18px/1.3 var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-tools { display: flex; align-items: center; gap: 4px; flex: none; }
.viewer-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 0; background: transparent; color: var(--bg); cursor: pointer; transition: background-color .2s var(--ease); }
.viewer-btn:hover { background: rgba(251, 247, 241, .1); }
.viewer-btn:disabled { opacity: .35; cursor: default; background: transparent; }
.viewer-close { margin-left: 8px; }
.viewer-level { min-width: 52px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; color: rgba(251, 247, 241, .75); }
.viewer-stage { position: relative; flex: 1; display: flex; overflow: auto; padding: 16px; cursor: zoom-in; overscroll-behavior: contain; touch-action: pan-x pan-y; scrollbar-color: rgba(251, 247, 241, .3) transparent; }
.viewer-stage.is-zoomed { cursor: grab; }
.viewer-stage.is-dragging { cursor: grabbing; }
.viewer-img { flex: none; margin: auto; max-width: none; height: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); user-select: none; transition: opacity .3s var(--ease); }
.viewer-img.is-loading { opacity: .3; }
.viewer-hint { text-align: center; font-size: 13px; color: rgba(251, 247, 241, .55); padding: 8px var(--gutter) 14px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.card-cat { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.card-title { font: 500 24px/1.2 var(--display); }
.card-sub { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.card-best { font-size: 14px; font-weight: 500; color: var(--accent); margin-top: 12px; }
.card-desc { font-size: 15px; color: var(--ink-2); margin-top: 8px; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chips li { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--pack) 14%, #fff); color: var(--ink-2); }
/* Row 1: the main action full width. Row 2: trade price beside a WhatsApp icon button */
.card-actions { display: grid; grid-template-columns: 1fr 40px; gap: 8px; margin-top: 20px; }
.card-actions .card-main { grid-column: 1 / -1; justify-content: center; }
.card-actions .card-trade { justify-content: center; }
.btn-wa-icon { justify-content: center; padding: 0; min-height: 40px; color: var(--wa); border: 1px solid color-mix(in srgb, var(--wa) 35%, transparent); background: color-mix(in srgb, var(--wa) 8%, #fff); }
.btn-wa-icon:hover, .btn-wa-icon:focus-visible { background: var(--wa); border-color: var(--wa); color: #fff; }
/* Every outlined WhatsApp button reads green and fills green on hover */
.btn-ghost[href*="wa.me"]:not(.btn-on-dark) { color: var(--wa); border-color: color-mix(in srgb, var(--wa) 35%, transparent); }
.btn[href*="wa.me"]:not(.btn-wa):hover, .btn[href*="wa.me"]:not(.btn-wa):focus-visible { background: var(--wa); border-color: var(--wa); color: #fff; }
.empty { padding: 48px 0; color: var(--ink-2); }

/* About */
.about-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: end; }
.about-intro p + p { margin-top: 16px; color: var(--ink-2); }
.process { background: var(--surface); overflow: hidden; }
.process-pin { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 128px 0 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; counter-reset: s; }
.step { border-top: 2px solid var(--line); padding-top: 20px; transition: opacity .4s var(--ease), border-color .4s var(--ease); }
.step-num { font: 500 15px/1 var(--display); color: var(--accent); }
.step h3 { font: 500 22px/1.25 var(--display); margin: 12px 0 8px; }
.step p { font-size: 15px; color: var(--ink-2); }
.js-motion .step { opacity: .35; }
.js-motion .step.is-on { opacity: 1; border-top-color: var(--peach-deep); }
/* Full width like the footer; the cap only kicks in on short screens so the pinned section still fits */
.farm { width: 100%; height: auto; max-height: min(52vh, 520px); margin-top: auto; color: var(--peach-deep); }
.farm path { stroke-dasharray: 1; stroke-dashoffset: 0; }
/* R&D: a compact 5½ badge, counters, and a journey whose line fills as you scroll */
.rnd-head { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 5vw, 72px); align-items: center; }
.rnd-head .lede { margin-top: 16px; max-width: 34em; }
.rnd-badge { display: flex; align-items: baseline; justify-content: center; width: clamp(150px, 16vw, 210px); aspect-ratio: 1 / 1.1; padding-top: 22%; background: var(--peach); border-radius: var(--arch); outline: 2px solid var(--peach-deep); outline-offset: 7px; }
.rnd-num { font: 500 clamp(56px, 6vw, 84px)/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.rnd-unit { font: 500 18px/1 var(--display); color: var(--ink); margin-left: 4px; }
.rnd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rnd-stat { padding: 28px 24px; }
.rnd-stat + .rnd-stat { border-left: 1px solid var(--line); }
.rnd-stat dt { font: 500 clamp(44px, 5vw, 68px)/1 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.rnd-stat dd { margin: 10px 0 0; font-size: 15px; color: var(--ink-2); max-width: 16em; }
.journey-wrap { position: relative; max-width: 980px; margin: 0 auto; }
.journey-line { position: absolute; left: 50%; top: 8px; bottom: 8px; width: 2px; margin-left: -1px; background: var(--line); border-radius: 2px; }
.journey-fill { position: absolute; inset: 0; background: var(--peach-deep); transform-origin: top; transform: scaleY(1); border-radius: 2px; }
.journey { display: grid; gap: clamp(20px, 3vw, 40px); }
.journey-step { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; }
.journey-dot { grid-column: 2; justify-self: center; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 2px solid var(--peach-deep); font: 500 17px/1 var(--display); color: var(--accent); transition: background-color .4s var(--ease), color .4s var(--ease); }
.journey-step.is-on .journey-dot { background: var(--peach-deep); color: #fff; }
.journey-card { grid-row: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 26px; }
.journey-step:nth-child(odd) .journey-card { grid-column: 1; text-align: right; }
.journey-step:nth-child(even) .journey-card { grid-column: 3; }
.journey-card h3 { font: 500 21px/1.25 var(--display); margin-bottom: 8px; }
.journey-card p { font-size: 15px; color: var(--ink-2); }
.rnd-cta { display: flex; justify-content: center; margin-top: clamp(40px, 6vw, 64px); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { position: relative; display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(20px, 3vw, 32px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: block; }
.field input, .field select, .field textarea {
  width: 100%; padding: 26px 14px 10px; border: 1px solid rgba(46, 33, 25, .18); border-radius: var(--r-control);
  background: var(--bg); transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field > span { position: absolute; left: 15px; top: 17px; color: var(--muted); font-size: 15px; pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s var(--ease); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field-select > span { transform: translateY(-9px) scale(.8); color: var(--ink-2); }
.field.has-error input { border-color: #B3261E; }
.field-msg { display: block; font-size: 13px; color: #B3261E; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.form-error { color: #B3261E; font-size: 14px; }
.form .btn { justify-self: start; }
.form-done[hidden] { display: none; }
.form-done { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 48px 16px; }
.form-done p { color: var(--ink-2); }
.wheat-done { height: 88px; width: auto; margin-bottom: 8px; }
.form.is-done > :not(.form-done) { display: none; }
.form.is-done .form-done { display: flex !important; }
.contact-aside { display: grid; gap: 24px; }
.contact-list { display: grid; gap: 16px; padding: 24px; background: var(--surface); border-radius: var(--r-card); }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.contact-list .icon { margin-top: 4px; color: var(--muted); }
.contact-list a { text-decoration: none; }
.contact-emails { display: grid; gap: 4px; }
.contact-list a:hover { color: var(--ink); text-decoration: underline; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(251, 247, 241, .72); padding: 72px 0 96px; margin-top: 40px; }
.footer-farm { margin: -24px 0 48px; }
.footer-farm .farm { width: 100%; max-height: none; color: rgba(244, 176, 116, .45); }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid rgba(251, 247, 241, .12); }
.footer-tagline { font: 500 clamp(26px, 3vw, 40px)/1.15 var(--display); color: var(--bg); max-width: 16em; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-on-dark { color: var(--bg); border-color: rgba(251, 247, 241, .3); }
.btn-on-dark:hover { background: rgba(251, 247, 241, .08); border-color: rgba(251, 247, 241, .5); }
.footer-grid { display: grid; grid-template-columns: minmax(300px, 2fr) .7fr 1fr 1.35fr 1.45fr; gap: 40px clamp(24px, 3vw, 48px); align-items: start; }
.footer-brand img { height: 72px; width: auto; margin-bottom: 18px; }
.footer-about { font-size: 14px; line-height: 1.7; text-align: justify; hyphens: manual; max-width: 34em; }
.footer-social { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--peach); text-decoration: none; }
.footer-social:hover { color: var(--bg); }
.footer-h { font: 500 16px/1.3 var(--display); color: var(--bg); margin-bottom: 16px; }
.footer-links { display: grid; gap: 12px; font-size: 14px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--bg); }
.footer-count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: rgba(251, 247, 241, .08); font-size: 12px; font-variant-numeric: tabular-nums; }
/* Each address line stays whole and gets its own row */
.footer-address { display: grid; gap: 6px; font-style: normal; font-size: 14px; line-height: 1.5; }
.footer-address span { white-space: nowrap; }
.footer-map { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; font-weight: 500; color: var(--peach); text-decoration: none; }
.footer-map:hover { color: var(--bg); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(251, 247, 241, .12); font-size: 13px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; box-shadow: 0 8px 24px rgba(20, 50, 30, .25); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.wa-float:hover { background: #18633E; transform: translateY(-2px); }

/* Motion start states, only when app.js has GSAP running */
.js-motion [data-reveal] { opacity: 0; transform: translateY(32px); }
.js-motion .card { clip-path: inset(100% 0 0 0 round var(--r-card)); }
.js-motion .marquee-track { animation: none; }
.js-motion [data-lines] .line > span { transform: translateY(110%); }

/* Page transition: a peach arch, the logo's shape, sweeps over the screen */
.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; overflow: hidden; }
.curtain-arch {
  position: absolute; left: -10vw; right: -10vw; bottom: 0; height: 135vh;
  background: var(--peach); border-radius: 50% 50% 0 0 / 28vh 28vh 0 0;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(101%); will-change: transform;
}
.js-motion .curtain-arch { transform: translateY(0); }
.curtain.is-active { pointer-events: auto; }
.curtain-mark { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 18vh; }
.curtain-mark img { width: 220px; height: auto; }
.wheat-curtain { height: 150px; width: auto; color: #fff; }

/* Split headings: each word rises from behind a mask */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi { display: inline-block; will-change: transform; }

/* Scroll-read statement: words darken as you read down */
.readline-pin { min-height: 100vh; display: flex; align-items: center; padding: 96px 0; }
.readline-text { font: 500 clamp(32px, 4.6vw, 68px)/1.12 var(--display); letter-spacing: -.015em; max-width: 20em; }
.rw { transition: none; }
.js-motion .rw { opacity: .14; }

/* Echoed sourdough: the word stacks, then fans out around the two rustic packs */
.echo { overflow: hidden; background: var(--ink); color: var(--bg); }
.echo-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 72px; gap: 32px; }
.echo-stage { position: relative; display: grid; place-items: center; }
.echo-stack { display: flex; flex-direction: column; align-items: center; }
.echo-stack span { font: 600 clamp(56px, 10.5vw, 168px)/.86 var(--display); letter-spacing: -.02em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(244, 176, 116, .6); white-space: nowrap; will-change: transform; }
.echo-stack span.is-solid { color: var(--peach); -webkit-text-stroke: 0; }
.echo-packs { position: absolute; inset: 0; translate: calc(clamp(180px, 22vw, 340px) * -.147); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.echo-pack { width: clamp(180px, 22vw, 340px); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.echo-pack-0 { transform: rotate(-8deg) translateX(12%); }
.echo-pack-1 { transform: rotate(8deg) translateX(-12%); }
.echo-copy { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.echo-copy .eyebrow { color: var(--peach); margin: 0; }
.echo-copy .h3 { font-size: clamp(24px, 2.6vw, 34px); max-width: 18em; }
.echo-copy .btn-ghost { color: var(--bg); border-color: rgba(251, 247, 241, .3); margin-top: 8px; }
.echo-copy .btn-ghost:hover { background: rgba(251, 247, 241, .08); }

/* Protein chart: a spotlight pack beside one range of bars at a time */
.protein { background: var(--surface); }
.protein-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.protein-head .lede { margin-top: 16px; max-width: 30em; }
.protein-tabs { margin: 0; background: rgba(255, 255, 255, .6); padding: 4px; border-radius: 999px; border: 1px solid var(--line); }
.protein-tabs .filter { border-color: transparent; }
.protein-board { display: grid; grid-template-columns: minmax(260px, .75fr) 1.6fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 40px); }
.protein-spot { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.spot-arch { position: relative; aspect-ratio: 1 / 1.05; border-radius: var(--arch); background: color-mix(in srgb, var(--pack) 30%, #fff); overflow: hidden; clip-path: inset(0 round 50% 50% var(--r-card) var(--r-card) / 36% 36% var(--r-card) var(--r-card)); transition: background-color .5s var(--ease); }
.spot-img { position: absolute; left: 2.1%; bottom: 5%; width: 74%; filter: drop-shadow(0 18px 22px rgba(60, 30, 10, .22)); }
.protein-spot figcaption { display: grid; gap: 2px; }
.spot-val { font: 500 clamp(44px, 5vw, 64px)/1 var(--display); font-variant-numeric: tabular-nums; color: var(--ink); }
.spot-val small { font: 500 16px var(--body); color: var(--ink-2); }
.spot-name { font: 500 20px/1.25 var(--display); margin-top: 8px; }
.spot-sub { font-size: 14px; color: var(--ink-2); }
.protein-chart { position: relative; display: flex; flex-direction: column; }
.pgroup { display: flex; flex-direction: column; flex: 1; }
.pgroup[hidden] { display: none; }
/* Scale and gridlines sit over the bar column only */
.bars-scale { position: relative; height: 20px; margin: 0 100px 6px 280px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bars-scale span { position: absolute; top: 0; transform: translateX(-50%); }
.bars-scale span:first-child { transform: none; }
.bars-scale span:last-child { transform: translateX(-100%); }
.bars { position: relative; display: grid; gap: 4px; }
/* Track column starts 280px in (thumb 48 + gap 16 + name 200 + gap 16) and ends 100px from the right (value 72 + gap 16 + padding 12) */
.bars::before { content: ""; position: absolute; top: 0; bottom: 0; left: 280px; right: 99px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / var(--ticks, 4))); border-right: 1px solid var(--line); pointer-events: none; }
.bar-link { position: relative; display: grid; grid-template-columns: 48px 200px 1fr 72px; align-items: center; gap: 16px; text-decoration: none; padding: 8px 12px 8px 0; border-radius: 14px; transition: background-color .25s var(--ease); }
.bar-link:hover, .bar-link:focus-visible, .bar-link.is-active { background: color-mix(in srgb, var(--pack) 10%, transparent); }
.bar-thumb { width: 48px; height: 56px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--pack) 20%, #fff); overflow: hidden; }
.bar-thumb img { position: relative; left: -5px; width: 40px; height: auto; filter: drop-shadow(0 4px 5px rgba(60, 30, 10, .2)); transition: transform .3s var(--ease); }
.bar-link:hover .bar-thumb img, .bar-link.is-active .bar-thumb img { transform: translateY(-2px) rotate(-4deg) scale(1.06); }
.bar-name { font: 500 16px/1.25 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-name small { display: block; font: 400 13px/1.3 var(--body); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; }
.bar-track { position: relative; height: 22px; border-radius: 11px; background: var(--surface); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--w); border-radius: 11px; background: var(--pack); transform-origin: left; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08); transition: filter .2s var(--ease); }
.bar-link:hover .bar-fill, .bar-link.is-active .bar-fill { filter: brightness(1.06) saturate(1.1); }
.bar-val { font: 500 16px/1 var(--body); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.bar-num { font: 500 20px/1 var(--display); }
@media (max-width: 1180px) {
  .protein-board { grid-template-columns: 1fr; }
  .protein-spot { flex-direction: row; align-items: center; gap: 24px; }
  .spot-arch { width: 150px; flex: none; }
}
.pgroup-note { margin-top: auto; padding-top: 20px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line); }

/* Sticky section pill in the header */
.section-pill { display: none; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 500; color: var(--ink-2); overflow: hidden; height: 32px; margin-left: 24px; margin-right: auto; }
.sp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--peach-deep); flex: none; }
.sp-text { display: inline-block; white-space: nowrap; }
@media (min-width: 1180px) { .js-motion .section-pill { display: inline-flex; } }

/* Bag by bag */
.hscroll { overflow: hidden; background: var(--bg); }
.hs-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 48px; padding: 96px 0 64px; }
.hs-track { display: flex; gap: clamp(24px, 3vw, 48px); padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.hs-item { scroll-snap-align: center; flex: none; }
.hs-ghost, .hs-glow, .hs-info { display: none; }
.hs-item { display: flex; flex-direction: column; width: clamp(240px, 23vw, 330px); text-decoration: none; }
/* clip-path, not just overflow: Chrome lets transformed children escape a rounded overflow box */
.hs-arch { position: relative; display: block; aspect-ratio: 1 / 1.2; border-radius: var(--arch); background: color-mix(in srgb, var(--pack) 30%, #fff); overflow: hidden; clip-path: inset(0 round 50% 50% var(--r-card) var(--r-card) / 36% 36% var(--r-card) var(--r-card)); }
.hs-arch img { position: absolute; left: 1.5%; bottom: 5%; width: 75%; filter: drop-shadow(0 20px 24px rgba(60, 30, 10, .25)); will-change: transform; }
.hs-num { font: 500 14px/1 var(--display); color: var(--accent); margin-top: 20px; font-variant-numeric: tabular-nums; }
.hs-name { font: 500 24px/1.2 var(--display); margin-top: 8px; }
.hs-sub { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
/* Coverflow (desktop with motion): packs glide on an arc; only the centre arch takes colour */
.hscroll.is-coverflow .hs-pin { height: 100vh; min-height: 640px; padding: 88px 0 40px; gap: 0; justify-content: flex-start; }
.hscroll.is-coverflow .hs-stage { position: relative; flex: 1; min-height: 0; perspective: 1400px; }
.hscroll.is-coverflow .hs-track { position: absolute; inset: 0; display: block; overflow: visible; padding: 0; transform-style: preserve-3d; }
.hscroll.is-coverflow .hs-item { position: absolute; left: 50%; top: 50%; width: min(clamp(210px, 20vw, 300px), 36vh); margin: 0; transform-origin: 50% 50%; will-change: transform, opacity; cursor: pointer; }
.hscroll.is-coverflow .hs-item .hs-num, .hscroll.is-coverflow .hs-item .hs-name, .hscroll.is-coverflow .hs-item .hs-sub { display: none; }
.hscroll.is-coverflow .hs-arch { background: color-mix(in srgb, var(--pack) 14%, #fff); transition: background-color .5s var(--ease); }
.hscroll.is-coverflow .hs-item.is-active .hs-arch { background: color-mix(in srgb, var(--pack) 34%, #fff); }
.hscroll.is-coverflow .hs-ghost { display: block; position: absolute; left: 50%; top: 50%; margin: 0; white-space: nowrap; pointer-events: none; font: 600 clamp(80px, 13vw, 210px)/1 var(--display); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px rgba(46, 33, 25, .09); }
.hscroll.is-coverflow .hs-glow { display: block; position: absolute; left: 50%; top: 50%; width: clamp(320px, 30vw, 460px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow, var(--peach)) 22%, transparent), transparent); transition: background .6s var(--ease); pointer-events: none; }
.hscroll.is-coverflow .hs-info { display: grid; justify-items: center; text-align: center; gap: 4px; padding-top: 8px; }
.hs-count { font: 500 14px/1 var(--display); color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.hs-count-now { color: var(--accent); }
.hs-info-cat { font-size: 13px; color: var(--muted); }
.hs-info-name { font: 500 clamp(24px, 2.4vw, 32px)/1.2 var(--display); }
.hs-info-best { font-size: 15px; color: var(--ink-2); }
.hs-info-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--accent); text-decoration: none; }
.hs-info-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Giant kinetic type, pushed sideways by scroll */
.bigtype { padding: clamp(48px, 8vw, 112px) 0; overflow: hidden; display: grid; gap: 8px; }
.bigtype-row { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); white-space: nowrap; width: max-content; font: 500 clamp(64px, 11vw, 168px)/1 var(--display); letter-spacing: -.02em; color: var(--ink); will-change: transform; }
.bigtype-row.is-outline { color: transparent; -webkit-text-stroke: 1.5px var(--peach-deep); }
.bigtype-row .wheat { height: .8em; width: auto; flex: none; color: var(--peach-deep); }

/* Cursor follower (fine pointers only, added by app.js) */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--peach-deep); pointer-events: none; display: flex; align-items: center; justify-content: center; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s var(--ease); }
.cursor span { font-size: 12px; font-weight: 600; color: #fff; opacity: 0; transition: opacity .2s var(--ease); }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(239, 148, 91, .25); }
.cursor.is-label { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(160, 79, 30, .82); }
.cursor.is-label span { opacity: 1; }
.cursor.is-hidden { opacity: 0; }

/* Responsive */
@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-address span { white-space: normal; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav-cta { margin-top: 16px; justify-content: center; }
  .menu-toggle[aria-expanded="true"] .i-open { display: none; }
  .menu-toggle[aria-expanded="true"] .i-close { display: block; }
  .hero-grid, .words-grid, .about-intro, .contact-grid, .protein-board, .cta2 { grid-template-columns: 1fr; }
  .cta2-visual { order: -1; }
  .cta2-arch { width: min(100%, 320px); }
  .readline-pin { min-height: 0; padding: 72px 0; }
  .echo-pin { min-height: 0; }
  .protein-spot { flex-direction: row; align-items: center; }
  .spot-arch { width: 120px; flex: none; }
  .spot-val { font-size: 40px; }
  .bars-scale, .bars::before { display: none; }
  .bar-link { grid-template-columns: 40px 1fr 72px; row-gap: 8px; padding-right: 8px; }
  .bar-thumb { width: 40px; height: 48px; grid-row: span 2; }
  .bar-track { grid-column: 2 / -1; grid-row: 2; height: 14px; }
  .protein-tabs { width: 100%; justify-content: space-between; }
  .arch { margin: 24px auto 12px; width: calc(100% - 24px); max-width: 440px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .process-pin { min-height: 0; padding-top: 72px; }
  .rnd-head { grid-template-columns: 1fr; }
  .rnd-badge { width: 140px; }
  .rnd-stats { grid-template-columns: 1fr 1fr; }
  .rnd-stat:nth-child(3) { border-left: 0; }
  .rnd-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .journey-line { left: 22px; }
  .journey-step { grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
  .journey-dot { grid-column: 1; }
  .journey-step:nth-child(n) .journey-card { grid-column: 2; text-align: left; }
}
@media (max-width: 640px) {
  .header-inner { height: 72px; }
  .brand img { height: 48px; }
  .grid, .diff, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .tiles { gap: 12px; }
  .tile { padding: 8px 8px 16px; }
  .tile-text { padding: 12px 4px 0; }
  .tile-title { font-size: 18px; }
  .tile-line { font-size: 13px; }
  .diff li, .diff li:nth-child(even) { padding: 24px 0; border-right: 0; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .marquee-track { gap: 48px; }
  .hs-pin { min-height: 0; gap: 32px; padding: 72px 0 56px; }
  .hs-item { width: 72vw; scroll-snap-align: center; }
  .marquee img { max-height: 52px; max-width: 120px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}

@media (max-width: 900px), (pointer: coarse) {
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; gap: 32px 48px; }
  .marquee-track img[aria-hidden="true"] { display: none; }
  @view-transition { navigation: none; }
}
