/* ============================================================
   General Foods — main.css
   Ported exactly from page-homepage-final.html
   Columns Agency | generalfoods.com.au
   ============================================================ */

/* ── Tokens ──────────────────────────────── */
:root {
  --bg:           #ffffff;
  --white:        #ffffff;
  --ink:          #1D1D1D;
  --mid:          #5a5955;
  --rule:         #d4d2c8;
  --accent:       #FE4002;
  --accent-hover: color-mix(in srgb, var(--accent) 72%, var(--ink));
  --link-underline: color-mix(in srgb, var(--accent) 38%, transparent);
  --font-display: 'Archivo', 'Helvetica Neue', sans-serif;
  --font-body:    'Geist', 'Helvetica Neue', sans-serif;
  --nav-overlay-on-hero:  color-mix(in srgb, var(--ink) 42%, transparent);
  --nav-overlay-on-solid: color-mix(in srgb, var(--bg) 93%, transparent);
  /* Inner page header (`.ipage-hd`) — shared min height; spare space sits below copy, not under the H1 */
  --ipage-hd-min-height:         clamp(380px, 38vh, 520px);
  --ipage-hd-min-height-mobile: clamp(300px, 42vh, 440px);
  /* Editorial body copy — min measure across standalone text blocks (see design system) */
  --body-copy-max: 70%;
  /* Visible viewport — JS sets --app-vh-px / --vv-inset-bottom (viewport-fill.js) */
  --app-vh: 100vh;
  --app-vh: 100svh;
  --app-vh-px: var(--app-vh);
  --hero-safe-bottom: env(safe-area-inset-bottom, 0px);
  --vv-inset-bottom: 0px;
  --hero-pad-bottom: calc(72px + var(--hero-safe-bottom));
}

/* ── Reset ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* Lenis — smooth wheel scroll on desktop (see smooth-scroll.js) */
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Custom cursor ───────────────────────── */
* { cursor: none !important; }

#cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition:
    width  .25s cubic-bezier(.25,.46,.45,.94),
    height .25s cubic-bezier(.25,.46,.45,.94),
    background .25s cubic-bezier(.25,.46,.45,.94),
    opacity .2s;
  mix-blend-mode: multiply;
}

#cursor.expanded {
  width: 52px; height: 52px;
  background: rgba(29, 29, 29, 0.12);
}

/* ── NAV ─────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 68px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}

nav.solid {
  background: var(--bg);
  border-color: var(--rule);
}

/* Optional Customizer: navigation background image */
nav.nav--has-bg:not(.solid) {
  background-color: transparent;
  background-image:
    linear-gradient(var(--nav-overlay-on-hero), var(--nav-overlay-on-hero)),
    var(--nav-bg-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat, no-repeat;
}

nav.nav--has-bg.solid {
  background-color: transparent;
  background-image:
    linear-gradient(var(--nav-overlay-on-solid), var(--nav-overlay-on-solid)),
    var(--nav-bg-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat, no-repeat;
  border-color: var(--rule);
}

.nav-logo {
  display: inline-flex; align-items: center;
  text-decoration: none;
  transition: opacity .3s;
}

.nav-logo img {
  height: 22px; width: auto; display: block;
  filter: brightness(0) invert(1);
  transition: filter .3s;
}

nav.solid .nav-logo img { filter: none; }

.nav-links {
  display: flex; gap: 40px; list-style: none; align-items: center;
}

.nav-links > li {
  display: flex;
  align-items: center;
}

/* Same baseline/line box as plain links; block-level flex on only the dropdown parent misaligned the row */
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 300;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, .7);
  transition: color .2s;
}

nav.solid .nav-links a { color: var(--mid); }
.nav-links a:hover { color: #fff; }
nav.solid .nav-links a:hover { color: var(--ink); }

.nav-links .ncta {
  background: var(--accent); border: none;
  padding: 10px 22px;
  color: #fff !important;
  border-radius: 100px;
  font-size: 11px; letter-spacing: .08em;
}

nav.solid .nav-links .ncta { background: var(--accent); color: #fff !important; }
.nav-links .ncta:hover { opacity: .88; color: #fff !important; }

/* Desktop dropdown */
.nav-has-drop { position: relative; }
.nav-has-drop > a { gap: 5px; }

.nav-drop-arrow {
  width: 10px; height: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .25s cubic-bezier(.25,.46,.45,.94);
}

.nav-drop-arrow svg { display: block; }
.nav-has-drop:hover .nav-drop-arrow { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  padding-top: 12px;
  background: transparent;
  min-width: 220px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .2s cubic-bezier(.25,.46,.45,.94), transform .2s cubic-bezier(.25,.46,.45,.94), visibility .2s;
}

.nav-dropdown::before {
  content: '';
  display: block;
  position: absolute; top: 12px; left: 0; right: 0; bottom: 0;
  background: var(--bg); border: 1px solid var(--rule);
  z-index: -1;
}

.nav-has-drop:hover .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block; padding: 13px 20px;
  font-size: 11px; font-weight: 300; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink) !important; text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: background .15s, box-shadow .15s ease;
  white-space: nowrap;
}

.nav-dropdown a:last-child { border-bottom: none; }
/* No horizontal transform — it shifted borders/“underlines” outside the panel box */
.nav-dropdown a:hover {
  background: rgba(254, 64, 2, .05);
  box-shadow: inset 4px 0 0 rgba(254, 64, 2, 0.35);
}

/* Hamburger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px;
  cursor: pointer !important;
  z-index: 201; position: relative;
}

.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white);
  transition: background .3s, transform .3s, opacity .3s;
}

nav.solid .nav-burger span { background: var(--ink); }

.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 199;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-mobile.open { display: block; }

.nav-mobile-inner {
  padding: 32px 60px 32px;
  min-height: 100%;
  display: flex; flex-direction: column;
}

.nav-mobile > .nav-mobile-inner > a:not(.nm-cta),
.nav-mobile-inner > a:not(.nm-cta) {
  font-family: var(--font-body);
  font-size: clamp(26px, 7vw, 44px);
  font-weight: 400; letter-spacing: -.02em;
  color: var(--ink); text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  width: 100%; display: block;
  transition: color .2s;
}

.nm-has-drop { border-bottom: 1px solid var(--rule); }

.nm-drop-trigger {
  font-family: var(--font-body);
  font-size: clamp(26px, 7vw, 44px);
  font-weight: 400; letter-spacing: -.02em;
  color: var(--ink);
  padding: 14px 0; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: none;
  text-align: left;
}

.nm-drop-icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s cubic-bezier(.25,.46,.45,.94);
  flex-shrink: 0;
}

.nm-has-drop.open .nm-drop-icon { transform: rotate(45deg); }

.nm-sub {
  max-height: 0; overflow: hidden;
  transition: max-height .35s cubic-bezier(.25,.46,.45,.94);
}

.nm-has-drop.open .nm-sub {
  padding-bottom: 14px;
}

.nm-sub a {
  font-size: 14px !important;
  font-weight: 300;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--mid) !important;
  padding: 12px 0 12px 16px !important;
  border-bottom: none !important;
  text-decoration: none;
  display: block;
  transition: color .2s, padding-left .2s;
}

.nm-sub a:hover {
  color: var(--ink) !important;
  padding-left: 24px !important;
  text-decoration: none;
}

.nm-cta {
  margin-top: auto;
  margin-bottom: 0;
  padding: 18px 28px !important;
  border: none !important;
  border-bottom: none !important;
  text-decoration: none !important;
  border-radius: 100px;
  background: var(--accent);
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 400;
  letter-spacing: .08em !important;
  text-transform: uppercase;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100% !important;
  text-align: center;
  transition: opacity .25s cubic-bezier(.25,.46,.45,.94);
}

.nm-cta:hover,
.nm-cta:focus {
  opacity: .88;
  color: #fff !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* ── HERO ────────────────────────────────── */
.hero {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--app-vh-px, var(--app-vh));
  min-height: 740px;
  z-index: 0; overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: -15% 0;
  width: 100%;
  height: 130%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  transition: opacity .5s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-img-layer {
  position: absolute; inset: -15% 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity .6s ease;
  will-change: transform, opacity;
}

.hero-scrim {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .32);
  transition: none;
}

.hero-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: var(--vv-inset-bottom, 0);
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 60px var(--hero-pad-bottom);
  transition: opacity .1s linear;
}

.hero-copy {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-h1 {
  font-family: var(--font-body);
  font-size: clamp(28px, 3.8vw, 60px);
  font-weight: 400; line-height: 1.15;
  color: #ffffff;
  letter-spacing: -.02em;
  max-width: 100%;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin: 0;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-h1 .txt {
  transition: opacity .5s cubic-bezier(.25,.46,.45,.94);
}

.hero-kw {
  color: inherit;
  font-style: italic;
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  transition: opacity .5s cubic-bezier(.25,.46,.45,.94);
  cursor: default;
}

.hero-kw::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transform-origin: left center;
  transition: background .4s cubic-bezier(.25,.46,.45,.94), height .3s cubic-bezier(.25,.46,.45,.94);
}

.hero-kw:hover::after {
  background: rgba(255, 255, 255, 0.95);
  height: 1.5px;
}

.hero-h1.link-hovered .txt { opacity: 0.2; }
.hero-h1.link-hovered .hero-kw { opacity: 0.2; }
.hero-h1.link-hovered .hero-kw.active { opacity: 1; }

/* ── PAGE BODY ───────────────────────────── */
.page-body {
  position: relative; z-index: 10;
  margin-top: var(--app-vh);
  background: var(--bg);
}

/* ── LAYOUT HELPERS ─────────────────────── */
.label {
  font-family: var(--font-body);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--mid); display: inline-block;
}

.body-text {
  font-size: 15px; font-weight: 300; line-height: 1.85;
  color: var(--mid); margin-bottom: 20px;
}

/* Inline links in WYSIWYG / rich text */
.explainer-body a:not(.btn):not(.link-arr):not(.btn-icon),
.about-body a:not(.btn):not(.link-arr):not(.btn-icon),
.mcap-panel-body a:not(.btn):not(.link-arr):not(.btn-icon),
.fac-text a:not(.btn):not(.link-arr):not(.btn-icon),
.faq-a a:not(.btn):not(.link-arr):not(.btn-icon) {
  color: var(--accent);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.explainer-body a:not(.btn):not(.link-arr):not(.btn-icon):hover,
.about-body a:not(.btn):not(.link-arr):not(.btn-icon):hover,
.mcap-panel-body a:not(.btn):not(.link-arr):not(.btn-icon):hover,
.fac-text a:not(.btn):not(.link-arr):not(.btn-icon):hover,
.faq-a a:not(.btn):not(.link-arr):not(.btn-icon):hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

.why-body a:not(.btn):not(.link-arr):not(.btn-icon) {
  color: #fff;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.why-body a:not(.btn):not(.link-arr):not(.btn-icon):hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, .9);
}

.link-arr {
  font-family: var(--font-body);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
  text-underline-offset: 4px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  transition:
    gap .25s cubic-bezier(.25,.46,.45,.94),
    color .2s ease,
    text-decoration-color .2s ease;
}

.link-arr::after { content: '→\FE0E'; }
.link-arr:hover {
  gap: 16px;
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 400; letter-spacing: .01em;
  text-decoration: none;
  padding: 14px 28px; border-radius: 100px;
  transition: all .25s cubic-bezier(.25,.46,.45,.94);
  cursor: pointer; border: none;
}

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { opacity: .88; }

.btn-ghost { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.btn-icon {
  width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 16px; flex-shrink: 0;
}

.btn-icon:hover { opacity: .88; }

/* ── MARQUEE ─────────────────────────────── */
.mq-wrap {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden; padding: 14px 0;
  background: var(--bg);
}

.mq-track {
  display: flex; white-space: nowrap;
  animation: mq 36s linear infinite;
}

.mq-item {
  display: inline-flex; align-items: center; gap: 20px;
  padding: 0 48px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--mid);
}

.mq-item::before { content: '×'; color: var(--accent); font-size: 12px; }

@keyframes mq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── ABOUT ───────────────────────────────── */
.about-headline {
  padding: 80px 60px 72px;
  border-bottom: 1px solid var(--rule);
}

.about-headline .label { margin-bottom: 28px; }

.about-headline h2 {
  font-family: var(--font-body);
  font-size: clamp(36px, 5.5vw, 86px);
  font-weight: 400; line-height: 1.06; letter-spacing: -.03em;
  color: var(--ink);
}

.about-split {
  display: grid; grid-template-columns: 55% 1fr;
  border-bottom: 1px solid var(--rule);
  min-height: 600px;
}

.about-split--no-image {
  grid-template-columns: 1fr;
  min-height: auto;
}

.about-split--no-image .about-body {
  max-width: var(--body-copy-max);
}

.about-img {
  position: relative; overflow: hidden;
  border-right: 1px solid var(--rule);
  opacity: 1 !important; transform: none !important; transition: none !important;
}

.about-img img {
  position: absolute; inset: -12% 0;
  width: 100%; height: 124%;
  object-fit: cover;
  will-change: transform;
  opacity: 1 !important;
}

.about-body {
  padding: 64px 60px;
  display: flex; flex-direction: column; justify-content: space-between;
}

.about-body p {
  font-size: 15px; font-weight: 300; line-height: 1.85;
  color: var(--mid); margin-bottom: 20px;
}

.about-body p:last-of-type { margin-bottom: 0; }

.about-btns { display: flex; align-items: center; gap: 12px; padding-top: 32px; }

/* ── STATS BAR ───────────────────────────── */
.stats-bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rule);
}

.stat-cell {
  padding: 52px 60px;
  border-right: 1px solid var(--rule);
}

.stat-cell:last-child { border-right: none; }

.stat-n {
  font-family: var(--font-body);
  font-size: clamp(48px, 5.5vw, 84px);
  font-weight: 300; line-height: 1; letter-spacing: -.04em;
  color: var(--ink); margin-bottom: 8px;
}

.stat-l {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mid);
}

/* ── PRODUCTS ────────────────────────────── */
.products { border-bottom: 1px solid var(--rule); }

.products-hd {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 72px 60px 60px;
  border-bottom: 1px solid var(--rule);
  align-items: end; gap: 60px;
}

.products-hd h2 {
  font-family: var(--font-body);
  font-size: clamp(32px, 4.5vw, 68px);
  font-weight: 400; line-height: 1.06; letter-spacing: -.03em;
}

.products-hd-r { display: flex; flex-direction: column; gap: 20px; }

.pgrid { display: grid; grid-template-columns: repeat(5, 1fr); }

.pcard {
  position: relative; height: 493px;
  overflow: hidden;
  border-right: 1px solid var(--rule);
  cursor: pointer;
  opacity: 1 !important; transform: none !important; transition: none !important;
}

.pcard:last-child { border-right: none; }

.pcard-img {
  position: absolute; inset: -12% 0;
  height: 124%;
  background-size: cover; background-position: center;
  will-change: transform;
  transition: filter .6s cubic-bezier(.25,.46,.45,.94);
  filter: brightness(.88);
}

.pcard:hover .pcard-img { filter: brightness(1); }

.pcard-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,8,.92) 0%, rgba(10,10,8,0) 55%);
}

.pcard-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 36px 32px;
}

.pcard-num {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.28); margin-bottom: 12px;
}

.pcard-title {
  font-family: var(--font-body);
  font-size: 20px; font-weight: 400;
  color: #fff; line-height: 1.15; margin-bottom: 10px; letter-spacing: -.01em;
}

.pcard-desc {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,.5); line-height: 1.65;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .45s cubic-bezier(.25,.46,.45,.94), opacity .35s;
}

.pcard:hover .pcard-desc { max-height: 80px; opacity: 1; }

.pcard-arr {
  position: absolute; top: 24px; right: 24px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,.3);
  transition: background .25s, color .25s, transform .25s;
}

.pcard:hover .pcard-arr { background: var(--accent); color: #fff; transform: translate(2px,-2px); }

/* ── PROCESS ─────────────────────────────── */
.process { border-bottom: 1px solid var(--rule); }

.process-hd {
  padding: 72px 60px 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end;
  border-bottom: 1px solid var(--rule);
}

.process-hd h2 {
  font-family: var(--font-body);
  font-size: clamp(28px, 3.8vw, 60px);
  font-weight: 400; letter-spacing: -.03em; line-height: 1.06;
}

.psteps { display: grid; grid-template-columns: repeat(4, 1fr); }

.pstep {
  padding: 52px 60px;
  border-right: 1px solid var(--rule);
}

.pstep:last-child { border-right: none; }

.pstep-num {
  font-size: 10px; letter-spacing: .2em;
  color: var(--accent); margin-bottom: 20px;
  display: block; font-weight: 400;
}

.pstep-title {
  font-family: var(--font-body);
  font-size: 22px; font-weight: 400; line-height: 1.15;
  margin-bottom: 14px; letter-spacing: -.01em;
}

.pstep-body {
  font-size: 14px; font-weight: 300;
  color: var(--mid); line-height: 1.78;
}

/* ── FACILITY ────────────────────────────── */
.facility {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--rule);
}

.facility--no-image {
  grid-template-columns: 1fr;
}

.facility--no-image .fac-text {
  max-width: var(--body-copy-max);
}

/* Alternating image / text (Contract Manufacturing process chapters) */
.facility--flip {
  direction: rtl;
}

.facility--flip > * {
  direction: ltr;
}

/* Contract Manufacturing — split sticky reveal (How it works) */
.process--reveal {
  --process-reveal-sticky-top: 68px;
  border-bottom: 1px solid var(--rule);
}

.process--reveal .process-hd {
  padding: 56px 60px 48px;
  gap: 40px;
}

.process-reveal-pins {
  position: sticky;
  top: var(--process-reveal-sticky-top);
  z-index: 4;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.process-reveal-pins-in {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
}

.process-reveal-pin {
  padding: 22px 60px 20px;
  margin-bottom: 0;
}

.process-reveal-pin--stage {
  padding: 22px 60px 20px;
  border-left: 1px solid var(--rule);
  text-align: right;
}

.process-reveal-cols {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
}

.process-reveal-main {
  min-width: 0;
}

.process-reveal-stage {
  position: sticky;
  border-left: 1px solid var(--rule);
  top: calc(var(--process-reveal-sticky-top) + var(--process-reveal-pins-h, 62px));
  align-self: start;
  height: calc(100vh - var(--process-reveal-sticky-top) - var(--process-reveal-pins-h, 62px));
  height: calc(100svh - var(--process-reveal-sticky-top) - var(--process-reveal-pins-h, 62px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.process-nums-viewport {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 60px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
}

.process-nums {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
  will-change: transform;
}

.process-step {
  border-bottom: 1px solid var(--rule);
}

.process-step-img {
  min-height: min(42vw, 420px);
  border-right: none;
  border-bottom: 1px solid var(--rule);
}

.process-step-copy {
  padding: 44px 60px 52px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: var(--body-copy-max);
}

.process-step-copy .label {
  margin-bottom: 0;
}

.process-step-headline {
  font-family: var(--font-body);
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.process-step-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
}

.process-step-body a:not(.btn):not(.link-arr):not(.btn-icon) {
  color: var(--accent);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.process-step-num-mobile {
  display: none;
  color: var(--accent);
  margin-bottom: 4px;
}

.process-num {
  font-family: var(--font-body);
  font-size: clamp(64px, 9vw, 140px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -.03em;
  padding: 0.12em 0;
  color: color-mix(in srgb, var(--ink) 12%, var(--rule));
  transform: scale(0.9);
  transform-origin: right center;
  opacity: 0.28;
  transition:
    color 0.45s ease,
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(.25, .46, .45, .94);
}

.process-num.is-active {
  color: var(--accent);
  opacity: 1;
  transform: scale(1);
}

.process-reveal .process-step:last-child {
  border-bottom: none;
}

@media (prefers-reduced-motion: reduce) {
  .process-num {
    transition: none;
  }

  .process-nums {
    will-change: auto;
  }
}

.fac-img {
  position: relative; min-height: 600px;
  overflow: hidden;
  border-right: 1px solid var(--rule);
  opacity: 1 !important; transform: none !important; transition: none !important;
}

.fac-img img {
  position: absolute; inset: -12% 0;
  width: 100%; height: 124%;
  object-fit: cover;
  will-change: transform;
  opacity: 1 !important;
}

.fac-text {
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
}

.fac-headline {
  font-family: var(--font-body);
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 400; letter-spacing: -.03em; line-height: 1.08;
}

.fac-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule); margin-top: 8px;
}

.fstat { padding: 28px 0; }
.fstat:first-child { padding-right: 32px; border-right: 1px solid var(--rule); }
.fstat:last-child  { padding-left: 32px; }

.fstat-n {
  font-family: var(--font-body);
  font-size: 36px; font-weight: 300; line-height: 1;
  margin-bottom: 4px; letter-spacing: -.03em;
}

.fstat-l {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mid);
}

/* ── VALUES ──────────────────────────────── */
.values {
  border-bottom: 1px solid var(--rule);
  background: var(--accent);
  position: relative; overflow: hidden;
}

/* Flush against dark certs strip — no light rule gap */
.values:has(+ .certs) {
  border-bottom: none;
}

.values::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: .06;
  pointer-events: none;
  animation: valGrain 8s steps(1) infinite;
}

@keyframes valGrain {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-3%, -4%); }
  20%  { transform: translate(5%, 2%); }
  30%  { transform: translate(-2%, 6%); }
  40%  { transform: translate(4%, -3%); }
  50%  { transform: translate(-5%, 4%); }
  60%  { transform: translate(3%, -6%); }
  70%  { transform: translate(-4%, 2%); }
  80%  { transform: translate(2%, 5%); }
  90%  { transform: translate(-3%, -2%); }
  100% { transform: translate(0, 0); }
}

.values > * { position: relative; z-index: 1; }

.values-hd {
  padding: 72px 60px 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.values-hd .label { color: rgba(255,255,255,.55); }

.values-hd h2 {
  font-family: var(--font-body);
  font-size: clamp(28px, 3.8vw, 56px);
  font-weight: 400; letter-spacing: -.03em; line-height: 1.06;
  color: #fff;
}

.values-hd p { color: rgba(255,255,255,.7) !important; }

.val-row {
  display: grid; grid-template-columns: 80px 280px 1fr;
  gap: 60px; align-items: start;
  padding: 48px 60px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  transition: background .3s cubic-bezier(.25,.46,.45,.94);
  position: relative;
}

.val-row:last-child { border-bottom: none; }

.val-row::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background .3s cubic-bezier(.25,.46,.45,.94);
}

.val-row:hover::after { background: rgba(0,0,0,.08); }

.val-idx {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.45); padding-top: 6px;
}

.val-name {
  font-family: var(--font-body);
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 400; letter-spacing: -.02em; line-height: 1.1;
  color: #fff;
}

.val-desc {
  font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,.65); line-height: 1.85; padding-top: 4px;
}

/* ── BRANDS ──────────────────────────────── */
.brands { background: var(--bg); border-bottom: 1px solid var(--rule); }

.brands-hd {
  padding: 56px 60px 40px;
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
}

.brands-hd .label { color: var(--mid); }
.brands-hd .link-arr {
  color: var(--ink);
  text-decoration-color: transparent;
}

.brands-hd .link-arr:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.bgrid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0; gap: 0;
}

.bcell {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 40px 20px;
  min-width: 0;
  border-right: 1px solid var(--rule);
}

.bcell:nth-child(3n) { border-right: none; }
.bcell:nth-child(n+4) { border-top: 1px solid var(--rule); }

.bcell-logo {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 60px;
}

.bcell-logo svg { opacity: .3; transition: opacity .25s cubic-bezier(.25,.46,.45,.94); }
.bcell:hover .bcell-logo svg { opacity: .75; }

.bcell-logo img {
  max-width: min(180px, 100%); max-height: 60px;
  width: auto; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.35;
  transition: filter .25s cubic-bezier(.25,.46,.45,.94), opacity .25s cubic-bezier(.25,.46,.45,.94);
}

.bcell:hover .bcell-logo img { filter: grayscale(0); opacity: .75; }

.bcell-name {
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mid); text-align: center;
  transition: color .25s;
}

.bcell:hover .bcell-name { color: var(--ink); }
.bcell-more-label { font-size: 13px; font-weight: 300; letter-spacing: .08em; color: var(--mid); text-align: center; height: auto; }

/* ── CERTIFICATIONS ──────────────────────── */
.certs { background: var(--ink); }

.cert-row {
  display: grid; grid-template-columns: repeat(var(--cert-cols, 2), 1fr);
  border-top: 1px solid rgba(255,255,255,.1);
}

.cert {
  padding: 52px 60px;
  border-right: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; gap: 16px;
}

.cert:last-child { border-right: none; }

.cert-logo {
  margin: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  min-height: 48px;
}

.cert-logo img {
  display: block;
  max-height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.cert-logo--white img {
  filter: brightness(0) invert(1);
}

.cert-mk {
  width: 48px; height: 48px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; letter-spacing: .06em; font-weight: 400;
  flex-shrink: 0; color: #fff;
}

.cert-nm {
  font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 2px; color: #fff;
}

.cert-sb {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,.4); line-height: 1.5;
}

/* ── CTA ─────────────────────────────────── */
.cta-sect { border-bottom: none; }

.cta-in { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }

/* Inner-page CTA: single modifier + optional image (Contract Manufacturing, Our Story) */
.cta-in.cta-in--single:not(.cta-in--text-only) {
  grid-template-columns: 1fr 1fr;
}

.cta-in.cta-in--single.cta-in--text-only {
  grid-template-columns: 1fr;
}

.cta-in.cta-in--single.cta-in--text-only .cta-txt {
  max-width: var(--body-copy-max);
}

.cta-txt {
  padding: 100px 60px;
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  border-right: 1px solid var(--rule);
}

.cta-txt h2 {
  font-family: var(--font-body);
  font-size: clamp(32px, 4.5vw, 68px);
  font-weight: 400; letter-spacing: -.03em; line-height: 1.06;
}

.cta-btns { display: flex; align-items: center; gap: 12px; margin-top: 8px; }

.cta-img-w {
  position: relative; overflow: hidden;
  min-height: 540px;
  opacity: 1 !important; transform: none !important; transition: none !important;
}

.cta-img-w img {
  position: absolute; inset: -12% 0;
  width: 100%; height: 124%;
  object-fit: cover;
  will-change: transform;
  display: block; border: none;
  opacity: 1 !important;
}

/* ── FOOTER ──────────────────────────────── */
footer { background: var(--ink); color: rgba(255,255,255,.6); }

.ft {
  display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 60px; padding: 72px 60px 64px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.ft-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 14px;
}

.ft-brand img {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.ft-tag {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,.4); line-height: 1.7; max-width: 280px;
}

.ft-ch {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.28); margin-bottom: 20px;
}

.ft-ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.ft-ul a {
  font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,.5); text-decoration: none;
  transition: color .2s;
}

.ft-ul a:hover { color: #fff; }

.ft-bot {
  padding: 28px 60px;
  display: flex; justify-content: space-between; align-items: center;
}

.ft-cp { font-size: 12px; font-weight: 300; color: rgba(255,255,255,.28); }

.ft-bot-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ft-legal,
.ft-agency {
  font-size: 12px; font-weight: 300;
  color: rgba(255,255,255,.28); text-decoration: none;
  transition: color .2s;
}

.ft-legal:hover,
.ft-agency:hover { color: rgba(255,255,255,.7); }

/* ── INNER PAGES (contact, etc.) ─────────── */
.page-body--inner {
  margin-top: 0;
  min-height: calc(100vh - 68px);
  padding-top: 68px;
}

.is-inner-page nav {
  background: var(--bg);
  border-color: var(--rule);
}

.is-inner-page .nav-logo img { filter: none; }
.is-inner-page .nav-links a { color: var(--mid); }
.is-inner-page .nav-links a:hover { color: var(--ink); }
.is-inner-page .nav-burger span { background: var(--ink); }

.ipage-hd {
  border-bottom: 1px solid var(--rule);
  min-height: var(--ipage-hd-min-height);
  display: flex;
  flex-direction: column;
}

/* No background image — footer grey band (photo variant: `.ipage-hd--has-bg`) */
.ipage-hd:not(.ipage-hd--has-bg) {
  background: var(--ink);
  border-bottom-color: rgba(255, 255, 255, .2);
}

.ipage-hd:not(.ipage-hd--has-bg) .ipage-hd-in .label {
  color: rgba(255, 255, 255, .55);
}

.ipage-hd:not(.ipage-hd--has-bg) .ipage-hd-in h1 {
  color: #fff;
}

.ipage-hd:not(.ipage-hd--has-bg) .ipage-hd-intro {
  color: rgba(255, 255, 255, .7);
}

.ipage-hd-in {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 80px 60px 72px;
  max-width: 920px;
}

/* Absorb band min-height below eyebrow/headline/intro/CTA — keeps H1 and intro adjacent */
.ipage-hd-in::after {
  content: '';
  flex: 1 1 auto;
  min-height: 0;
}

.ipage-hd-in .label { margin-bottom: 20px; }

.ipage-hd-in h1 {
  font-family: var(--font-body);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.06;
  margin-bottom: 24px;
}

.ipage-hd-intro {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
  max-width: var(--body-copy-max);
}

/* Inner page header strip — optional background via `--ipage-hd-bg` (Customizer / ACF) */
.ipage-hd--has-bg {
  position: relative;
  background-image: var(--ipage-hd-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.ipage-hd--has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--ink) 58%, transparent);
  pointer-events: none;
}

.ipage-hd--has-bg .ipage-hd-in {
  position: relative;
  z-index: 1;
}

.ipage-hd--has-bg .ipage-hd-in .label {
  color: color-mix(in srgb, var(--bg) 55%, transparent);
}

.ipage-hd--has-bg .ipage-hd-in h1 {
  color: var(--bg);
}

.ipage-hd--has-bg .ipage-hd-intro {
  color: color-mix(in srgb, var(--bg) 82%, transparent);
}

.ipage-hd-cta {
  margin-top: 20px;
}

/* ── 404 ─────────────────────────────────── */
.e404-links {
  border-bottom: 1px solid var(--rule);
}

.e404-links-in {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.e404-col {
  padding: 60px;
  border-right: 1px solid var(--rule);
}

.e404-col:last-child { border-right: none; }

.e404-ch {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 24px;
}

.e404-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.e404-ul a {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.e404-ul a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
}

.e404-links + .cta-sect .cta-txt p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
  max-width: var(--body-copy-max);
}

/* ── CONTACT ─────────────────────────────── */
.contact-sect { border-bottom: 1px solid var(--rule); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 0;
}

.contact-main {
  padding: 60px 60px 80px;
  border-right: 1px solid var(--rule);
}

.contact-aside {
  padding: 60px 60px 80px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-notice {
  padding: 16px 20px;
  margin-bottom: 28px;
  border: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.6;
}

.contact-notice--success {
  border-color: rgba(29, 29, 29, .15);
  background: rgba(29, 29, 29, .03);
}

.contact-notice--error {
  border-color: rgba(254, 64, 2, .35);
  background: rgba(254, 64, 2, .06);
}

.contact-info-label {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 12px;
}

.contact-address {
  font-style: normal;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink);
}

.contact-link {
  font-size: 15px;
  font-weight: 400;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--link-underline);
  transition: color .2s ease, border-color .2s ease;
}

.contact-link:hover {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.contact-quick-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-quick-links a {
  font-size: 14px;
  font-weight: 300;
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
  transition: color .2s ease, text-decoration-color .2s ease;
}

.contact-quick-links a:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

.contact-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--rule);
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact form */
.gf-contact-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.gf-contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gf-form-row {
  display: grid;
  gap: 24px;
}

.gf-form-row--2 { grid-template-columns: 1fr 1fr; }

.gf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gf-field label {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mid);
}

.gf-field .req { color: var(--accent); }

.gf-field input,
.gf-field select,
.gf-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 14px 16px;
  transition: border-color .2s;
  appearance: none;
}

.gf-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235a5955' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.gf-field input:focus,
.gf-field select:focus,
.gf-field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.gf-field textarea {
  resize: vertical;
  min-height: 140px;
}

.gf-form-actions { margin-top: 8px; }

.gf-contact-form .btn.is-submitting {
  opacity: .7;
  cursor: wait;
}

.contact-main .gf-contact-notice {
  margin-bottom: 24px;
}

.contact-main .gf-contact-notice[hidden] {
  display: none;
}

/* WPForms skin (when shortcode used) */
.contact-main .wpforms-container {
  margin: 0;
  max-width: none;
}

.contact-main .wpforms-field-label {
  font-size: 10px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: var(--mid) !important;
}

.contact-main .wpforms-field input,
.contact-main .wpforms-field select,
.contact-main .wpforms-field textarea {
  border-radius: 0 !important;
  border-color: var(--rule) !important;
  font-family: var(--font-body) !important;
}

.contact-main .wpforms-submit {
  background: var(--accent) !important;
  border: none !important;
  border-radius: 100px !important;
  font-family: var(--font-body) !important;
  padding: 14px 28px !important;
}

/* ── PAGE HEADER HERO (legacy — prefer `.ipage-hd` + `generalfoods_render_inner_page_header()`) ─ */
.hero.hero--page-header {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  height: auto;
  min-height: 0;
  z-index: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.hero--page-header .hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
  will-change: auto;
}

.hero--page-header:not(.has-hero-image) .hero-img {
  background-image: none;
  background: linear-gradient(135deg, var(--ink) 0%, rgba(29, 29, 29, .92) 55%, var(--ink) 100%);
}

.hero--page-header .hero-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .42);
  transition: none;
}

.hero--page-header .hero-content {
  position: relative;
  inset: auto;
  justify-content: flex-end;
  padding: clamp(104px, 14vw, 148px) 60px 56px;
  min-height: 0;
}

.hero--page-header .hero-copy {
  max-width: var(--body-copy-max);
}

.page-body--after-header {
  margin-top: 0;
}

.page-body--after-header.page-body--no-hero {
  padding-top: clamp(88px, 12vw, 120px);
}

.pcard-img--placeholder {
  background: linear-gradient(160deg, rgba(29, 29, 29, .85) 0%, var(--ink) 100%);
}

.cta-in--text-only {
  grid-template-columns: 1fr;
}

.cta-in--text-only .cta-txt {
  border-right: none;
}

/* ── PRODUCT PAGE (protein bars) ─────────── */
.capgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--rule);
}

.ccard {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.ccard:nth-child(2n) { border-right: none; }
.ccard:nth-last-child(-n+2) { border-bottom: none; }

.ccard-img {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.ccard-img img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}

.ccard-body {
  padding: 44px 48px 52px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ccard-title {
  font-family: var(--font-body);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.12;
  color: var(--ink);
}

.ccard-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--mid);
  margin: 0;
}

.customise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--accent);
  align-items: stretch;
}

.customise-hd {
  padding: 72px 60px 72px;
  border-right: 1px solid rgba(255, 255, 255, .2);
}

.customise-hd h2 {
  font-family: var(--font-body);
  font-size: clamp(28px, 3.8vw, 60px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.06;
  color: #fff;
}

.customise-body {
  padding: 72px 60px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, .7);
}

.customise-body p { margin-bottom: 20px; }
.customise-body p:last-child { margin-bottom: 0; }

.customise-body a:not(.btn):not(.link-arr):not(.btn-icon) {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, .35);
}

.customise-body a:not(.btn):not(.link-arr):not(.btn-icon):hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, .9);
}

.customise-macro {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .85);
}

.customise-cta {
  margin-top: 32px;
}

.customise .btn-customise {
  background: #fff;
  color: var(--ink);
}

.customise .btn-customise:hover {
  opacity: .88;
}

.dietary {
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
  color: #fff;
}

.dietary-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  padding: 72px 60px;
}

.dietary-in--links {
  grid-template-columns: 1fr;
  align-items: start;
}

.dietary-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.dietary-links .link-arr {
  color: #fff;
  text-decoration-color: transparent;
}

.dietary-links .link-arr:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* ── MANUFACTURING CAPABILITIES ─────────── */
.mcap-stack {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.mcap-panel {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.mcap-panel:last-child {
  border-bottom: none;
}

/* Visible rule as each panel stacks over the previous */
.mcap-panel + .mcap-panel {
  box-shadow: inset 0 1px 0 var(--rule);
}

.mcap-panel-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
}

.mcap-panel-copy {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.mcap-panel-copy .label {
  margin-bottom: 0;
}

.mcap-panel-copy h2 {
  font-family: var(--font-body);
  font-size: clamp(32px, 4.5vw, 68px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--ink);
  max-width: 900px;
  margin: 0;
}

.mcap-panel-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
}

.mcap-panel-body p {
  margin: 0 0 1em;
}

.mcap-panel-body p:last-child {
  margin-bottom: 0;
}

.mcap-panel-img {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-left: 1px solid var(--rule);
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.mcap-panel-img img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
  opacity: 1 !important;
}

.mcap-panel--no-image .mcap-panel-in {
  grid-template-columns: 1fr;
}

.mcap-panel--no-image .mcap-panel-copy {
  max-width: var(--body-copy-max);
}

.mcap-facility-addr {
  font-style: normal;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
  display: block;
}

/* Certifications — accent orange grid (Manufacturing Capabilities) */
.mcap-certs {
  background: var(--accent);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.mcap-certs-hd {
  padding: 72px 60px 60px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.mcap-certs-hd .label {
  display: block;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .55);
}

.mcap-certs-hd h2 {
  font-family: var(--font-body);
  font-size: clamp(28px, 3.8vw, 56px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.06;
  color: #fff;
  margin: 0;
  max-width: 900px;
}

.mcap-certs-grid {
  display: grid;
  grid-template-columns: repeat(var(--mcap-cert-cols, 4), 1fr);
  align-items: stretch;
}

.mcap-cert {
  padding: 48px 44px 44px;
  border-right: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mcap-cert:last-child {
  border-right: none;
}

.mcap-cert-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  text-align: left;
  width: 100%;
}

.mcap-cert-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 24px;
  width: 100%;
}

.mcap-cert-audit-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 16px 24px;
  width: 100%;
}

.mcap-cert-logos {
  min-height: 56px;
}

.mcap-cert-logo {
  margin: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mcap-cert-logo img {
  display: block;
  max-height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.mcap-cert-logo--audit img {
  max-height: 44px;
  max-width: 128px;
}

.mcap-cert-logo--white img {
  filter: brightness(0) invert(1);
}

.mcap-cert-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  line-height: 1.35;
  width: 100%;
  text-align: center;
}

.mcap-cert-detail {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, .88);
  margin: 0;
  width: 100%;
}

/* Audit band — pinned to bottom of each column (same baseline across the row) */
.mcap-cert-audit {
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  text-align: left;
}

.mcap-cert-audit-freq {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.mcap-cert-audit-label {
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 8px;
}

.mcap-cert-audit-freq p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, .88);
  margin: 0;
}

/* ── EXPLAINER (contract manufacturing) ─── */
.explainer {
  border-bottom: 1px solid var(--rule);
}

.explainer-hd {
  padding: 80px 60px 0;
}

.explainer-hd .label { margin-bottom: 28px; }

.explainer-hd h2 {
  font-family: var(--font-body);
  font-size: clamp(32px, 4.5vw, 68px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--ink);
  max-width: 900px;
}

.explainer-hd:last-child {
  padding-bottom: 80px;
}

.explainer-body:first-child {
  padding-top: 80px;
}

.explainer-body {
  padding: 48px 60px 80px;
  max-width: var(--body-copy-max);
}

.explainer-body--full {
  max-width: none;
}

.explainer-body p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
  margin-bottom: 20px;
}

.explainer-body p:last-child { margin-bottom: 0; }

/* Editor-driven pages (Privacy Policy, etc.) */
.explainer-body :is(h2, h3, h4) {
  font-family: var(--font-body);
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 2.5em 0 .75em;
}

.explainer-body :is(h2, h3, h4):first-child {
  margin-top: 0;
}

.explainer-body h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
}

.explainer-body h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
}

.explainer-body h4 {
  font-size: 16px;
  font-weight: 500;
}

.explainer-body :is(ul, ol) {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
  margin: 0 0 20px;
  padding-left: 1.35em;
}

.explainer-body li {
  margin-bottom: .5em;
}

.explainer-body li:last-child {
  margin-bottom: 0;
}

.explainer-body .privacy-policy-tutorial {
  display: none;
}

.explainer-body .page-links {
  margin-top: 2em;
  padding-top: 1.5em;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--mid);
}

.page-edit-link {
  padding: 0 60px 48px;
  font-size: 12px;
}

.page-edit-link a {
  color: var(--mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-edit-link a:hover {
  color: var(--ink);
}

/* ── WHY (contract manufacturing) ──────── */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--rule);
  background: var(--accent);
  position: relative;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: .06;
  pointer-events: none;
  animation: valGrain 8s steps(1) infinite;
}

.why > * { position: relative; z-index: 1; }

.why-hd {
  padding: 80px 60px;
  border-right: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 28px;
}

.why-hd .label {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .55);
}

.why-hd h2 {
  font-family: var(--font-body);
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: #fff;
}

.why-body {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}

.why-body p,
.why-body ul:not(.why-list) {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, .7);
  margin: 0;
}

.why-body ul:not(.why-list) {
  padding-left: 1.2em;
}

.why-list {
  list-style: none;
  margin: 8px 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-list li {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.78;
  color: rgba(255, 255, 255, .65);
  padding-left: 20px;
  position: relative;
}

.why-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
}

.why-list strong {
  font-weight: 500;
  color: #fff;
}

.why .link-arr {
  color: #fff;
  text-decoration-color: transparent;
}

.why .link-arr:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, .75);
}

/* ── FAQ ─────────────────────────────────── */
.faq { border-bottom: 1px solid var(--rule); }

.faq-hd {
  padding: 72px 60px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  border-bottom: 1px solid var(--rule);
}

.faq-hd h2 {
  font-family: var(--font-body);
  font-size: clamp(28px, 3.8vw, 60px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.06;
}

.faq-list { border-top: 1px solid var(--rule); }

/* Header already has a bottom rule — avoid a double line above the first item */
.faq-hd + .faq-list { border-top: none; }

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item:last-child { border-bottom: none; }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 32px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  transition: background .3s cubic-bezier(.25,.46,.45,.94);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::marker { content: ''; }

.faq-item summary:hover { background: rgba(0, 0, 0, .02); }

.faq-q {
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
  padding-right: 24px;
}

.faq-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  transition: transform .35s cubic-bezier(.25,.46,.45,.94), border-color .25s, color .25s, background .25s;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(254, 64, 2, .06);
}

.faq-a {
  padding: 0 60px 36px 60px;
  max-width: var(--body-copy-max);
}

.faq-a p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
  margin: 0;
}

.cta-img-w[style*="background"] {
  min-height: 540px;
}

/* ── SCROLL REVEAL ───────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .9s cubic-bezier(.25,.46,.45,.94), transform .9s cubic-bezier(.25,.46,.45,.94);
}

.rv.on { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; }
.rv.d2 { transition-delay: .2s; }
.rv.d3 { transition-delay: .3s; }
.rv.d4 { transition-delay: .4s; }

/* Images never fade — containers always visible */
.about-img,
.fac-img,
.mcap-panel-img,
.mcap-panel-img img,
.cta-img-w,
.ccard-img,
.pcard {
  opacity: 1 !important;
}

.about-img,
.fac-img,
.cta-img-w,
.ccard-img,
.pcard {
  transform: none !important;
  transition: none !important;
}

/* ── RESPONSIVE — ≤900px ─────────────────── */
@media (max-width: 900px) {
  html { scroll-behavior: auto; }

  :root {
    /* Locked in px by viewport-fill.js — do not use 100dvh (resizes while scrolling) */
    --app-vh: var(--hero-locked-h, 100svh);
    --vv-inset-bottom: 0px;
    --hero-pad-bottom: calc(28px + max(44px, var(--hero-safe-bottom)));
  }

  #cursor { display: none; }
  * { cursor: auto !important; }

  nav { padding: 0 24px; }
  .nav-mobile-inner {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: calc(24px + var(--hero-safe-bottom));
  }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  /* Scroll-away hero (not fixed) — fixed + cover image looked like “zoom” while scrolling */
  .hero:not(.hero--page-header) {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: var(--app-vh);
    min-height: 0;
    max-height: none;
  }

  .page-body:not(.page-body--inner):not(.page-body--no-hero) {
    margin-top: 0;
  }

  .hero-img,
  .hero-img-layer {
    inset: 0;
    height: 100%;
    will-change: auto;
    transform: none !important;
  }
  .hero--page-header { min-height: 0 !important; height: auto !important; }
  .hero--page-header .hero-content {
    bottom: 0;
    padding: 92px 24px calc(44px + var(--hero-safe-bottom));
  }
  .hero--page-header .hero-h1 { font-size: clamp(24px, 7vw, 42px); max-width: 100%; }

  .page-body--after-header.page-body--no-hero { padding-top: 80px; }
  .hero:not(.hero--page-header) .hero-content {
    bottom: 0;
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero-copy { max-width: 100%; gap: 18px; }
  .hero-h1 { font-size: clamp(24px, 7vw, 42px); max-width: 100%; }

  .about-headline { padding: 52px 24px 48px; }
  .about-split { grid-template-columns: 1fr; min-height: auto; }
  .about-img { min-height: 320px; border-right: none; border-bottom: 1px solid var(--rule); }
  .about-img img { position: absolute; inset: -12% 0; width: 100%; height: 124%; }
  .about-body { padding: 40px 24px; }

  .stats-bar { grid-template-columns: 1fr; }
  .stat-cell { padding: 36px 24px; border-right: none; border-bottom: 1px solid var(--rule); }
  .stat-cell:last-child { border-bottom: none; }

  .products-hd { grid-template-columns: 1fr; padding: 48px 24px 40px; gap: 20px; }
  .pgrid { grid-template-columns: 1fr 1fr; }
  .pcard { height: 357px; border-right: none; border-bottom: 1px solid var(--rule); }
  .pcard:nth-child(odd) { border-right: 1px solid var(--rule); }
  .pcard:nth-last-child(1):nth-child(odd),
  .pcard:nth-last-child(2):nth-child(even) { border-bottom: none; }

  .process-hd { grid-template-columns: 1fr; padding: 48px 24px 40px; gap: 20px; }
  .psteps { grid-template-columns: 1fr 1fr; }
  .pstep { padding: 36px 24px; border-right: none; border-bottom: 1px solid var(--rule); }
  .pstep:last-child { border-bottom: none; }
  .pstep:nth-child(odd)          { border-right: 1px solid var(--rule); }
  .pstep:nth-last-child(-n+2)    { border-bottom: none; }

  .facility { grid-template-columns: 1fr; }
  .facility--flip { direction: ltr; }
  .fac-img { min-height: 320px; border-right: none; border-bottom: 1px solid var(--rule); }
  .fac-text { padding: 48px 24px; }

  .process-reveal-cols,
  .process-reveal-pins-in {
    grid-template-columns: 1fr;
  }

  .process-reveal-pin--stage,
  .process-reveal-stage {
    display: none;
  }

  .process-reveal-pin {
    padding: 18px 24px 16px;
  }

  .process-step-num-mobile {
    display: inline-block;
  }

  .process-step-copy {
    padding: 36px 24px 44px;
    max-width: none;
  }

  .process-step-img {
    min-height: 280px;
  }

  .process--reveal .process-hd {
    padding: 48px 24px 40px;
    gap: 20px;
  }

  .values-hd { grid-template-columns: 1fr; padding: 48px 24px 40px; gap: 20px; }
  .val-row { grid-template-columns: 40px 1fr; gap: 20px; padding: 32px 24px; border-bottom: 1px solid rgba(255,255,255,.2); }
  .val-desc { grid-column: 2; }

  .brands-hd { padding: 40px 24px 28px; }
  .brands-hd .link-arr { display: none; }
  .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcell { padding: 28px 16px; }
  .bcell:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .bcell:nth-child(3n) { border-right: 1px solid var(--rule); }
  .bcell:nth-child(2n) { border-right: none; }
  .bcell:nth-child(n+4) { border-top: none; }
  .bcell:nth-child(n+3) { border-top: 1px solid var(--rule); }

  .certs { background: var(--ink); }
  .cert-row { grid-template-columns: repeat(var(--cert-cols-tablet, 2), 1fr); border-top: 1px solid rgba(255,255,255,.1); }
  .cert { padding: 36px 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .cert:nth-child(odd)        { border-right: 1px solid rgba(255,255,255,.1); }
  .cert:nth-last-child(-n+2)  { border-bottom: none; }
  .cert-mk { border-color: rgba(255,255,255,.25); color: #fff; }
  .cert-nm { color: #fff; }
  .cert-sb { color: rgba(255,255,255,.4); }

  .explainer-hd { padding: 52px 24px 0; }
  .explainer-hd:last-child { padding-bottom: 52px; }
  .explainer-body:first-child { padding-top: 52px; }
  .explainer-body { padding: 32px 24px 52px; max-width: none; }
  .page-edit-link { padding: 0 24px 40px; }

  .mcap-panel {
    position: static;
    top: auto;
    min-height: 0;
  }
  .mcap-panel + .mcap-panel {
    box-shadow: none;
  }
  .mcap-panel-in {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .mcap-panel-copy {
    padding: 52px 24px 40px;
    max-width: none;
    justify-content: flex-start;
  }
  .mcap-panel-img {
    min-height: 320px;
    border-left: none;
    border-top: 1px solid var(--rule);
    order: -1;
  }
  .mcap-panel--no-image .mcap-panel-img {
    display: none;
  }

  .capgrid { grid-template-columns: 1fr; }
  .ccard { border-right: none !important; }
  .ccard:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .ccard:last-child { border-bottom: none; }
  .ccard-img { min-height: 320px; }
  .ccard-body { padding: 36px 24px 40px; }

  .customise { grid-template-columns: 1fr; }
  .customise-hd { padding: 48px 24px 32px; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .customise-body { padding: 32px 24px 48px; }

  .dietary-in { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px; }

  .mcap-certs-hd { padding: 48px 24px 40px; }
  .mcap-certs-grid {
    grid-template-columns: 1fr;
  }
  .mcap-cert {
    padding: 36px 24px 40px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
  }
  .mcap-cert:last-child {
    border-bottom: none;
  }
  .mcap-cert-logos {
    min-height: 48px;
  }

  .mcap-cert-audit {
    padding-top: 24px;
  }

  .why { grid-template-columns: 1fr; }
  .why-hd { padding: 48px 24px 32px; gap: 20px; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .why-body { padding: 32px 24px 48px; }

  .faq-hd { grid-template-columns: 1fr; padding: 48px 24px 40px; gap: 20px; }
  .faq-item summary { padding: 28px 24px; gap: 20px; }
  .faq-a { padding: 0 24px 28px; max-width: none; }

  /* CTA — stacked text then image (all pages) */
  .cta-in,
  .cta-in.cta-in--single,
  .cta-in.cta-in--single:not(.cta-in--text-only),
  .cta-in--text-only {
    grid-template-columns: 1fr;
  }
  .cta-txt,
  .cta-in--text-only .cta-txt,
  .cta-in.cta-in--single.cta-in--text-only .cta-txt {
    padding: 60px 24px;
    border-right: none;
    border-bottom: none;
    max-width: none;
  }
  .cta-in:has(.cta-img-w) .cta-txt {
    border-bottom: 1px solid var(--rule);
  }
  .cta-btns { flex-wrap: wrap; }
  .cta-img-w {
    position: relative;
    min-height: 280px;
  }
  .cta-img-w img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .ft { grid-template-columns: 1fr 1fr; gap: 40px; padding: 52px 24px 44px; }
  .ft-bot { padding: 24px; flex-direction: column; align-items: flex-start; gap: 8px; }

  .ipage-hd {
    min-height: var(--ipage-hd-min-height-mobile);
  }

  .ipage-hd-in { padding: 52px 24px 48px; }

  .e404-links-in { grid-template-columns: 1fr; }
  .e404-col {
    padding: 40px 24px;
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .e404-col:last-child { border-bottom: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-main { padding: 40px 24px 48px; border-right: none; border-bottom: 1px solid var(--rule); }
  .contact-aside { padding: 40px 24px 52px; }
  .gf-form-row--2 { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .pgrid { grid-template-columns: 1fr; }
  .pcard { border-right: none !important; }
  .pcard:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .pcard:last-child { border-bottom: none; }

  .psteps { grid-template-columns: 1fr; }
  .pstep { border-right: none !important; border-bottom: 1px solid var(--rule) !important; }
  .pstep:last-child { border-bottom: none !important; }

  .val-row { grid-template-columns: 1fr; gap: 12px; }
  .val-desc { grid-column: 1; }

  .ft { grid-template-columns: 1fr; gap: 36px; }
}
