/*
 * Home page. Values transcribed from "Mitchells Home.dc.html".
 *
 * Section order matches the design: hero, promise strip, spoons, product showcase,
 * kinetic words, farm-to-table, certifications, footprint, breather, contact.
 */

/* =============================================================== 1 · HERO */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #f3ead8;
  overflow: hidden;
}

.hero-slides { position: absolute; inset: 0; z-index: 0; background: #7a0a0a; }

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  /* Slow push-in on the active frame, off-centre so the product stays in shot. */
  transform-origin: 62% 50%;
  transition: opacity 1s ease, transform 4.4s ease-out;
}

.hero-slide.is-active { opacity: 1; }
.hero-slide.is-zooming { transform: scale(1.06); }

/* ------------------------------------------------------------- intro video */

.hero-video { position: absolute; inset: 0; z-index: 4; background: #000; }
.hero-video.is-done { display: none; }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hero-video-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .34) 0%, rgba(0, 0, 0, 0) 22%);
}

.hero-video-skip {
  position: absolute;
  right: 26px;
  bottom: 26px;
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  color: #fff;
  background: rgba(0, 0, 0, .38);
  border: 1px solid rgba(255, 255, 255, .5);
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .2s ease, color .2s ease;
}

.hero-video-skip:hover { background: #fff; color: var(--blue-deep); }

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(20, 26, 16, .55) 0%, rgba(20, 26, 16, .34) 26%, rgba(20, 26, 16, .08) 46%, rgba(20, 26, 16, 0) 60%);
  transition: background .8s ease;
}

.hero-pad {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  padding: 120px var(--content-pad) 110px;
}

.hero-copy { max-width: 560px; }

/*
 * The headline is always two lines. The <br> is in the markup, not a wrap.
 *
 * Colours and shadows are the rendered values the design's script applies on mount,
 * not the inline values in its markup, which are a pre-script state nobody sees.
 */
.hero-h1 {
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-size: clamp(54px, 5.6vw, 82px);
  line-height: .98;
  letter-spacing: -.015em;
  margin: 24px 0 0;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .3);
}

.hero-h1-a { color: #ffffff; transition: color .6s ease; }
.hero-h1-b { color: #F79A2B; transition: color .6s ease; }

.hero-body {
  font-family: 'Bricolage Grotesque';
  font-weight: 500;
  font-size: 20px;
  line-height: 1.6;
  color: #F3EEE4;
  max-width: 560px;
  margin: 24px 0 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .28);
  transition: color .6s ease;
}

.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

.mfx-heroBtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-deep);
  border: 1.5px solid var(--blue-deep);
  color: #fff;
  font-family: 'Bricolage Grotesque';
  font-weight: 600;
  font-size: 16px;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(22, 48, 127, .30);
  transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.mfx-heroBtn:hover {
  background: #1b3a94;
  color: #fff;
  border-color: #1b3a94;
  box-shadow: 0 18px 38px rgba(22, 48, 127, .42);
  transform: translateY(-2px);
}

.mfx-philBtn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1.5px solid rgba(22, 48, 127, .16);
  color: var(--blue-deep);
  font-family: 'Bricolage Grotesque';
  font-weight: 600;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(22, 48, 127, .14);
  transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.mfx-philBtn:hover {
  background: #fff;
  color: var(--blue-deep);
  border-color: var(--gold-dark);
  box-shadow: 0 16px 32px rgba(22, 48, 127, .20);
  transform: translateY(-2px);
}

.hero-cue {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(3px);
}

.hero-cue span { font-size: 22px; line-height: 1; animation: mfxBob 1.8s ease-in-out infinite; }

/* ==================================================== 2 · BRAND PROMISE */

.promise { position: relative; background: var(--cream); padding: 52px 48px; overflow: hidden; }

.promise-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0 40px;
  align-items: center;
}

.promise-item { display: flex; align-items: center; gap: 20px; padding: 6px 8px; }
.promise-icon { width: 66px; height: 66px; object-fit: contain; flex: none; }
.promise-rule { width: 1px; height: 78px; background: var(--cream-3); justify-self: center; }

.promise-title { font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 22px; color: var(--ink); }
.promise-body { font-family: 'Bricolage Grotesque'; font-weight: 500; font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin: 6px 0 0; max-width: 230px; }

/* =========================================================== 3 · SPOONS */

.spoons {
  position: relative;
  background: radial-gradient(120% 90% at 50% 0%, #16307F 0%, var(--blue-deep) 58%, #0C1B4A 100%);
  overflow: hidden;
  padding: 0 24px 104px;
}

.spoons-dots {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image: radial-gradient(circle, #fff 1.6px, transparent 1.7px);
  background-size: 30px 30px;
  pointer-events: none;
}

.spoons-wrap { position: relative; display: flex; justify-content: center; margin-top: -66px; }

.spoons-img {
  width: min(790px, 90%);
  height: auto;
  transform-origin: 50% 0%;
  animation: mfxSway 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .4));
}

.spoons-copy { position: relative; text-align: center; max-width: 760px; margin: 18px auto 0; }

.spoons-kicker { font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 13px; letter-spacing: .26em; color: var(--gold-text); }

.spoons-h2 {
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: .98;
  color: #fff;
  margin: 14px 0 0;
  letter-spacing: .045em;
}

.spoons-h2 span { color: #ef9c2e; }

.spoons-body {
  font-family: 'Bricolage Grotesque';
  font-weight: 500;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  max-width: 520px;
  margin: 20px auto 0;
}

.spoons-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  background: #ef9c2e;
  color: var(--blue-deep);
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-size: 17px;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(239, 156, 46, .34);
  transition: transform .2s ease, box-shadow .2s ease;
}

.spoons-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(239, 156, 46, .48); }

/* ================================================= 4 · PRODUCT SHOWCASE */

.products-sec { position: relative; background: var(--cream); padding: 114px 48px; overflow: hidden; }
.products-inner { max-width: calc(1240px * var(--container-scale)); margin: 0 auto; position: relative; }
.products-head { text-align: center; max-width: 680px; margin: 0 auto; }

.products-kicker { font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--gold-text); }

.prod-h2 {
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-size: 52px;
  line-height: 1.06;
  color: var(--ink);
  margin: 14px 0 0;
}

.prod-pills-wrap { display: flex; justify-content: center; margin: 34px 0 0; }

.prod-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--cream-3);
  padding: 6px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(36, 28, 18, .08);
}

/* Values measured off the design: a tinted pill and navy text, not a filled navy one. */
.prod-pill {
  font-family: 'Bricolage Grotesque';
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .01em;
  color: var(--ink-soft);
  background: none;
  border: none;
  padding: 11px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.prod-pill:hover { background: rgba(36, 28, 18, .06); }

.prod-pill.is-on {
  background: rgba(22, 48, 127, .14);
  color: var(--blue-deep);
  font-weight: 800;
}

/* Panels for the three groups; only the selected one is in the layout. */
.prod-panel { display: none; }
.prod-panel.is-shown { display: block; }

.prod-stage {
  position: relative;
  min-height: 520px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-track { position: relative; width: 100%; min-height: 500px; display: flex; align-items: center; justify-content: center; }

.prod-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(.94);
  transition: opacity .45s ease, transform .45s ease, visibility .45s;
}

.prod-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }


.prod-jar { position: relative; width: 360px; height: 430px; display: flex; align-items: flex-end; justify-content: center; }

.prod-jar-img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 16px rgba(36, 28, 18, .28)) drop-shadow(0 5px 7px rgba(36, 28, 18, .2));
}

.prod-jar-fallback {
  position: relative;
  z-index: 2;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(201, 162, 75, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  box-shadow: 0 12px 30px rgba(36, 28, 18, .12);
}

.prod-jar-initial { font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 72px; color: var(--accent, var(--gold-dark)); }

.prod-jar-shadow {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 58%;
  height: 28px;
  background: radial-gradient(ellipse at center, rgba(36, 28, 18, .34), transparent 70%);
  filter: blur(8px);
  z-index: 1;
}

.prod-caption { text-align: center; margin-top: 18px; }

.prod-caption a {
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-size: 22px;
  color: var(--blue-deep);
  text-decoration: none;
}

.prod-caption a:hover { color: var(--accent); }

.prod-caption-cat {
  display: block;
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
}

.prod-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--cream-3);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(36, 28, 18, .12);
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.prod-arrow:hover { background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); }
.prod-arrow--prev { left: 0; }
.prod-arrow--next { right: 0; }

.prod-dots { display: flex; justify-content: center; gap: 9px; margin-top: 18px; flex-wrap: wrap; }

/*
 * The dot the design draws is 9px, inside a 24px button: the visible dot is painted by
 * ::before and negative margins take the extra width back out of the flow, so the row
 * is exactly as designed.
 *
 * Their centres are 18px apart, short of the 24px in WCAG 2.2 SC 2.5.8, and widening
 * the gap would change an approved element. It does not need to change: the criterion's
 * Equivalent exception allows an undersized target where the same function is available
 * from another control on the page that does meet the size, and the carousel's prev and
 * next buttons are 44x44 and move the same slides. Arrow keys reach it too.
 */
.prod-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  margin: -7.5px calc((24px - 9px) / -2);
}

.prod-dot::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(36, 28, 18, .22);
  transition: background .2s ease, width .2s ease;
}

.prod-dot.is-on { width: 26px; }
.prod-dot.is-on::before { background: var(--orange); width: 26px; border-radius: 999px; }

.prod-cta-wrap { text-align: center; margin-top: 34px; }

.mfx-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  color: var(--blue-deep);
  background: #fff;
  border: 1.5px solid rgba(201, 162, 75, .5);
  padding: 14px 30px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(36, 28, 18, .08);
  transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

/* ==================================================== 5 · KINETIC WORDS */

.kinetic { position: relative; background: var(--blue-deep); padding: 96px 0; overflow: hidden; }
.kinetic-rows { display: flex; flex-direction: column; gap: 22px; }
.kinetic-row { will-change: transform; }
.kinetic-line { display: flex; align-items: center; gap: 48px; width: max-content; white-space: nowrap; }

/*
 * Word colours and row offsets are classes, not style attributes: the strict CSP
 * drops inline styles, which left every word rendering in the body ink colour.
 */
.kinetic-word { font-family: 'Anton', 'Bricolage Grotesque', sans-serif; font-size: 104px; line-height: .95; }
.kinetic-word--white { color: #fff; }
.kinetic-word--gold  { color: #ef9c2e; }
.kinetic-word--green { color: #4FA63B; }

.kinetic-line--a { margin-left: -24px; }
.kinetic-line--b { margin-left: -360px; }
.kinetic-line--c { margin-left: -360px; }

.kinetic-badge {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  border: 4px solid rgba(255, 255, 255, .92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .3);
  display: block;
}

.kinetic-badge img { width: 100%; height: 100%; object-fit: cover; }

.kinetic-wave { display: block; width: 100%; height: 64px; position: absolute; left: 0; bottom: -1px; }

/* =================================================== 6 · FARM TO TABLE */

.farm-sec { position: relative; background: #fff; padding: 114px 48px; overflow: hidden; }
.farm-inner { position: relative; max-width: calc(1240px * var(--container-scale)); margin: 0 auto; }
.farm-head { text-align: center; max-width: 640px; margin: 0 auto; }

.farm-kicker { font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--gold-text); }

.farm-h2 {
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-size: 52px;
  line-height: 1.06;
  color: var(--ink);
  margin: 14px 0 0;
  position: relative;
}

.farm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 56px; }
.farm-item { display: flex; flex-direction: column; align-items: center; gap: 18px; }

.farm-window {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 16px 40px rgba(36, 28, 18, .14);
}

.farm-window img { width: 100%; height: 100%; object-fit: cover; display: block; }
.farm-label { font-family: 'Bricolage Grotesque'; font-weight: 600; font-size: 19px; }
.farm-label--green { color: var(--green); }
.farm-label--gold  { color: var(--gold-text-muted); }
.farm-label--blue  { color: var(--blue-deep); }

/* ================================================== 7 · CERTIFICATIONS */

.certs { position: relative; background: #fff; padding: 80px 48px; border-top: 1px solid var(--cream-3); overflow: hidden; }

.certs-bird {
  position: absolute;
  top: 26px;
  left: 40px;
  width: 90px;
  height: auto;
  z-index: 6;
  pointer-events: none;
  animation: mfxBirdIn .9s ease both, mfxBirdHover 7s 1s ease-in-out infinite;
}

.certs-inner { max-width: calc(1100px * var(--container-scale)); margin: 0 auto; text-align: center; }
.certs-kicker { font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--ink-soft); }

.certs-row { position: relative; display: flex; justify-content: space-between; gap: 24px; margin-top: 34px; }

.cert { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; flex: 1; }

.cert-plate {
  width: 100%;
  height: 106px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--cream-3);
  box-shadow: 0 6px 18px rgba(36, 28, 18, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cert-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cert-img--multiply { mix-blend-mode: multiply; }
.cert-label { font-family: 'Bricolage Grotesque'; font-weight: 600; font-size: 14px; color: var(--ink-soft); }

/* ======================================================= 8 · FOOTPRINT */

.fp-sec { position: relative; background: var(--cream); padding: 128px 48px 132px; overflow: hidden; }
.fp-wave { position: absolute; left: 0; width: 100%; height: 66px; display: block; }
.fp-wave--top { top: -1px; }
.fp-wave--bottom { bottom: -1px; }

.fp-inner { position: relative; max-width: calc(1240px * var(--container-scale)); margin: 0 auto; }
.fp-head { text-align: center; max-width: 640px; margin: 0 auto; }
.fp-kicker { font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--gold-text); }

.fp-h2 {
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-size: 52px;
  line-height: 1.06;
  color: var(--blue-deep);
  margin: 14px 0 0;
}

.fp-grid { display: grid; grid-template-columns: 1.02fr 1.3fr; gap: 28px; margin-top: 54px; align-items: stretch; }

.fp-hero {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(160deg, #16307F 0%, var(--blue-deep) 60%, #0C1B4A 100%);
  padding: 50px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 380px;
  box-shadow: 0 20px 48px rgba(11, 27, 74, .28);
}

.fp-hero-dots {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image: radial-gradient(circle, #fff 1.5px, transparent 1.6px);
  background-size: 26px 26px;
  pointer-events: none;
}

.fp-hero-bird {
  position: absolute;
  bottom: -34px;
  right: -30px;
  width: 240px;
  opacity: .18;
  pointer-events: none;
  animation: mfxFloat 9s ease-in-out infinite;
}

.fp-hero-kicker { position: relative; font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 13px; letter-spacing: .26em; color: rgba(255, 255, 255, .72); }

/* Anton carries the large display numerals, per the type spec. */
.fp-hero-count {
  position: relative;
  font-family: 'Anton', 'Bricolage Grotesque', sans-serif;
  /* vw floor of 120px still overflows a 320px screen once padding is taken off. */
  font-size: clamp(84px, 15vw, 180px);
  line-height: .82;
  color: #ef9c2e;
  margin: 26px 0 0;
  letter-spacing: .005em;
}

.fp-hero-label { position: relative; font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 26px; color: #fff; margin-top: 6px; }
.fp-hero-body { position: relative; font-family: 'Bricolage Grotesque'; font-weight: 500; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .74); margin: 12px 0 0; max-width: 330px; }

.farm-cluster { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.fp-tile {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--cream-3);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(36, 28, 18, .07);
}

.fp-tile--accent {
  background: linear-gradient(155deg, #ef9c2e, #e08a18);
  border: none;
  box-shadow: 0 14px 34px rgba(224, 138, 24, .3);
}

.fp-tile-rule { width: 38px; height: 4px; border-radius: 2px; background: var(--tile-colour, var(--blue)); }
.fp-tile--accent .fp-tile-rule { background: rgba(255, 255, 255, .9); margin-bottom: 14px; }

.fp-tile--blue   { --tile-colour: var(--blue-deep); }
.fp-tile--indigo { --tile-colour: #16307F; }
.fp-tile--gold   { --tile-colour: var(--tomato); }

.fp-tile-count { font-family: 'Anton', 'Bricolage Grotesque', sans-serif; font-size: 58px; line-height: .9; color: var(--tile-colour, var(--blue-deep)); margin-top: 14px; }
.fp-tile--accent .fp-tile-count { font-size: 62px; color: #fff; margin-top: 0; }

.fp-tile-label { font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 15px; color: var(--ink-soft); margin-top: 6px; }
.fp-tile--accent .fp-tile-label { color: rgba(255, 255, 255, .95); margin-top: 8px; }

.fp-test { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; margin-top: 60px; align-items: stretch; }

.fp-product {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 312px;
  box-shadow: 0 14px 36px rgba(36, 28, 18, .08);
}

.fp-product-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 34%, rgba(233, 169, 43, .22), transparent 60%); }

.fp-product-img {
  position: relative;
  height: 270px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 16px rgba(36, 28, 18, .28)) drop-shadow(0 5px 7px rgba(36, 28, 18, .2));
}

.fp-product-img--mark { height: 180px; opacity: .8; }

.fp-product-name { position: relative; font-family: 'Bricolage Grotesque'; font-weight: 600; font-size: 22px; color: var(--ink); margin-top: 20px; text-align: center; }
.fp-product-note { position: relative; font-family: 'Bricolage Grotesque'; font-weight: 600; font-size: 14px; color: var(--ink-soft); margin-top: 5px; text-align: center; }

.fp-quote {
  background: #fff;
  border-radius: 28px;
  padding: 40px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 14px 36px rgba(36, 28, 18, .08);
}

.fp-stars { color: var(--honey); font-size: 22px; letter-spacing: 3px; }

.fp-quote-text {
  font-family: 'Bricolage Grotesque';
  font-weight: 500;
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink);
  margin: 16px 0 0;
}

.fp-quote-by { display: flex; align-items: center; gap: 12px; margin-top: 22px; }

.fp-quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque';
  font-weight: 600;
  color: var(--blue-deep);
  flex: none;
}

.fp-quote-name { display: block; font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 15px; color: var(--ink); }
.fp-quote-city { display: block; font-family: 'Bricolage Grotesque'; font-size: 13px; color: var(--ink-soft); }

/* ======================================================== 9 · BREATHER */

.breather { background: #fff; padding: 90px 48px 30px; text-align: center; }
.breather-bird { width: 96px; margin: 0 auto 22px; display: block; animation: mfxFloat 8s ease-in-out infinite; }
.breather-text { font-family: 'Bricolage Grotesque'; font-weight: 500; font-size: 26px; color: var(--ink-soft); letter-spacing: .01em; }

/* ========================================================= 10 · CONTACT */

.contact { background: #fff; padding: 50px 48px 110px; }

.contact-card {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: 36px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-h2 { font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 46px; line-height: 1.08; color: var(--blue-deep); margin: 0; }
.contact-body { font-family: 'Bricolage Grotesque'; font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin: 18px 0 0; }

.contact-social { display: flex; gap: 14px; margin-top: 30px; }

.contact-social a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--cream-3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(36, 28, 18, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-social a:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(36, 28, 18, .14); }
.contact-social img { width: 26px; height: 26px; object-fit: contain; }

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

/* Honeypot. Off-screen rather than display:none, which some bots detect and skip. */
.contact-decoy { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

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

.contact-form input,
.contact-form textarea {
  font-family: 'Bricolage Grotesque';
  font-size: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1.5px solid var(--cream-3);
  background: #fff;
  color: var(--ink);
  outline: none;
  width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.contact-form textarea { resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(239, 156, 46, .16); }

.contact-form [aria-invalid="true"] { border-color: #C0392B; }

.field-error {
  font-family: 'Figtree', 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
  color: #A6321F;
  margin: 0;
  padding-left: 4px;
}

.contact-submit {
  position: relative;
  font-family: 'Bricolage Grotesque';
  font-weight: 600;
  font-size: 18px;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(22, 48, 127, .28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.contact-submit:hover:not(:disabled) { background: #1b3a94; transform: translateY(-2px); }
.contact-submit:disabled { opacity: .72; cursor: progress; }

.contact-spinner {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .38);
  border-top-color: #fff;
  animation: mfxSpin .7s linear infinite;
}

@keyframes mfxSpin { to { transform: rotate(360deg); } }

.form-status {
  font-family: 'Bricolage Grotesque';
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
}

.form-status--ok { color: #2C6E49; background: rgba(62, 125, 79, .1); border: 1px solid rgba(62, 125, 79, .28); }
.form-status--error { color: #A6321F; background: rgba(192, 57, 43, .08); border: 1px solid rgba(192, 57, 43, .26); }

/* ====================================================== responsive rules */

@media (max-width: 1100px) {
  .hero-copy { text-align: center; margin: 0 auto; }
  .hero-copy .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-body { margin-left: auto; margin-right: auto; }
  .spoons-wrap { margin-top: -24px; }
  .spoons-img { width: 94%; }
  .prod-pills { flex-wrap: wrap; border-radius: 22px; justify-content: center; }
  .prod-jar { transform: scale(.84); }
  .kinetic-word { font-size: 76px; }
}

@media (max-width: 900px) {
  .promise-grid { grid-template-columns: 1fr; gap: 22px; justify-items: center; text-align: left; }
  .promise-rule { display: none; }
  .farm-grid { grid-template-columns: 1fr; gap: 30px; }
  .fp-grid { grid-template-columns: 1fr; gap: 22px; }
  .fp-test { grid-template-columns: 1fr; gap: 22px; }
  .contact-card { grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; }

  /* The four supporting tiles stay two per row on mobile, never one. */
  .farm-cluster { grid-template-columns: 1fr 1fr; }

  .certs-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
  .certs-row > .cert { flex: 0 1 calc(33.333% - 11px); }
}

@media (max-width: 760px) {
  .hero-pad { padding: 104px 22px 72px; }
  .products-sec { padding: 74px 20px; }
  .farm-sec { padding: 74px 20px; }
  .contact { padding: 40px 20px 84px; }
  .prod-h2 { font-size: clamp(30px, 8vw, 40px); }
  .farm-h2 { font-size: clamp(30px, 8vw, 40px); }
  .fp-h2 { font-size: clamp(30px, 8vw, 40px); }
  .contact-h2 { font-size: clamp(28px, 8vw, 38px); }
  .kinetic-word { font-size: 54px; }
  .kinetic-badge { width: 78px; height: 78px; }
}

/*
 * Stat tiles on a phone.
 *
 * The brief keeps these two per row rather than stacking, which on a 375px screen leaves
 * each tile about 129px wide. The desktop padding of 32px eats 64px of that, and the tile
 * clips its overflow for the rounded corners, so a long word in the label ("Products",
 * "International") was being cut in half rather than wrapping. Trimming the padding and
 * the display figure gives the longest word room to sit on its own line.
 */
@media (max-width: 560px) {
  .fp-tile { padding: 18px 14px; border-radius: 20px; }
  .fp-tile-count,
  .fp-tile--accent .fp-tile-count { font-size: 40px; margin-top: 8px; }
  .fp-tile-label,
  .fp-tile--accent .fp-tile-label { font-size: 13px; line-height: 1.25; hyphens: auto; }
  .fp-tile-rule { width: 30px; height: 3px; }
}

@media (max-width: 380px) {
  .fp-tile { padding: 14px 10px; }
  .fp-tile-count,
  .fp-tile--accent .fp-tile-count { font-size: 34px; }
  .fp-tile-label,
  .fp-tile--accent .fp-tile-label { font-size: 12px; }
}

@media (max-width: 520px) {
  .certs-row > .cert { flex-basis: calc(50% - 8px); }
  .prod-jar { transform: scale(.7); }
  .prod-arrow { width: 44px; height: 44px; }
}

/* =================================================== logo philosophy panel */

.phil-overlay {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(22, 48, 127, .45);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s;
}

.phil-overlay[hidden] { display: none; }
.phil-overlay.is-open { opacity: 1; }

.phil-card {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 100%;
  overflow-y: auto;
  padding: 48px;
  border-radius: 32px;
  background: var(--cream);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .3);
  transform: translateY(24px) scale(.96);
  transition: transform .3s;
}

.phil-overlay.is-open .phil-card { transform: translateY(0) scale(1); }

.phil-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.phil-mark { width: 90px; height: auto; margin-bottom: 10px; }

.phil-title {
  margin: 0 0 4px;
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-size: 32px;
  line-height: 1.12;
  color: var(--blue-deep);
}

.phil-body { display: flex; flex-direction: column; gap: 15px; margin-top: 18px; }

.phil-body p {
  margin: 0;
  font-family: 'Bricolage Grotesque';
  font-weight: 500;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.phil-blue { font-weight: 700; color: var(--blue-deep); }
.phil-gold { font-weight: 700; color: var(--gold-dark); }

body.phil-open { overflow: hidden; }

/* The design carries no small-screen rules for the panel: at 40px of overlay padding
   and 48px of card padding it loses most of its width on a phone. */
@media (max-width: 640px) {
  .phil-overlay { padding: 18px; }
  .phil-card { padding: 34px 24px 30px; border-radius: 24px; }
  .phil-close { top: 14px; right: 14px; }
  .phil-mark { width: 70px; }
  .phil-title { font-size: 25px; }
  .phil-body p { font-size: 15px; }
}

/* --------------------------------------------------------------------------
 * Hero step controls, one on each edge. Filled in the site's cream with the navy
 * chevron, so they read as controls on any slide instead of as dark patches laid
 * over the photograph.
 * ----------------------------------------------------------------------- */
.hero-step {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  color: var(--cream);
  background: none;
  border: 0;
  /* No fill, so the shadow is what separates the chevron from a bright slide. Two
     passes: a tight dark one for the edge, a wider soft one for the halo. */
  filter: drop-shadow(0 1px 2px rgba(8, 14, 30, .85)) drop-shadow(0 3px 10px rgba(8, 14, 30, .55));
  transition: color .2s ease, transform .2s ease;
}

.hero-prev { left: 30px; }
.hero-next { right: 30px; }

/* Gold on hover, the same accent the buttons elsewhere on the page use. */
.hero-step:hover {
  color: var(--gold-dark);
}

/* Each nudges the way it travels. */
.hero-prev:hover { transform: translateY(-50%) translateX(-3px); }
.hero-next:hover { transform: translateY(-50%) translateX(3px); }

.hero-step:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-step { transition: none; }
  .hero-step:hover { transform: translateY(-50%); }
}

/* Below this width the hero copy centres over the slides and the controls would sit
   on top of it, so they are removed rather than repositioned. */
@media (max-width: 900px) {
  .hero-step { display: none; }
}
