/* Hafa Peak — tokens
   gypsum: cool chalk white of plasterboard, the page canvas
   leaf/lime: the logo's two greens
   canopy: deep green for dark sections
   oxide: Namibian red soil, used only where soil is the subject
   graphite: the wordmark grey, body text */
:root {
  --gypsum: #EEF0EC;
  --paper: #F8F9F6;
  --leaf: #04943C;      /* official brand green (identity manual) */
  --leaf-ink: #037A37;  /* the same green, deep enough for text (AA 4.5:1 on white and under white) */
  --lime: #8CC63F;
  --canopy: #0E3B27;
  --oxide: #9C3D1C;
  --graphite: #555455;  /* official brand grey */
  --muted: #676B6F;
  --line: #D3D7D1;

  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--gypsum);
  color: var(--graphite);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; box-shadow: 0 0 0 2px var(--canopy); } /* lime ring on dark, canopy ring on light */
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: .7rem 1rem; border-radius: 6px; background: var(--canopy); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--canopy);
}
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-variation-settings: "wdth" 85; }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1875rem; max-width: 36em; color: var(--graphite); margin-top: 1.1rem; }

section { padding: clamp(72px, 10vw, 136px) var(--gutter); }
section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.4rem;
  font: 600 1rem var(--body);
  text-decoration: none; border-radius: 6px; border: 2px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn--light { background: var(--lime); color: var(--canopy); }
.btn--light:hover { background: #a3d65e; }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--dark { background: var(--canopy); color: #fff; }
.btn--dark:hover { background: var(--leaf-ink); }

/* ---------- Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-columns: repeat(3, 1fr);
  pointer-events: none;
}
.intro__panel {
  background: var(--paper);
  margin-right: -1px; /* hide sub-pixel seams between panels */
  animation: lift .9s cubic-bezier(.7, 0, .2, 1) forwards;
}
.intro__panel:nth-child(1) { animation-delay: 1.5s; }
.intro__panel:nth-child(2) { animation-delay: 1.6s; }
.intro__panel:nth-child(3) { animation-delay: 1.7s; }
.intro__mark {
  position: absolute; inset: 0; display: grid; place-items: center;
  animation: fadeOut .35s ease 1.35s forwards;
}
.intro__mark img {
  width: min(460px, 78vw);
  clip-path: inset(0 100% 0 0);
  animation: wipe 1s cubic-bezier(.65, 0, .25, 1) .15s forwards;
}
.intro.is-done { display: none; }

@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes lift { to { transform: translateY(-100%); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 10px var(--gutter);
  background: rgba(248, 249, 246, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__brand img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.8rem); }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav__links a:hover { color: var(--leaf-ink); }
.nav__links .nav__call {
  background: var(--canopy); color: #fff; padding: .55rem 1rem; border-radius: 6px;
}
.nav__links .nav__call:hover { background: var(--leaf-ink); color: #fff; }
.nav__toggle {
  display: none; font: 600 1rem var(--body); background: none;
  border: 2px solid var(--canopy); color: var(--canopy); border-radius: 6px;
  padding: .45rem .9rem; cursor: pointer;
}

/* ---------- Hero ---------- */
/* Three full-screen slides stacked in one grid cell. The active one fades
   its photo in (and lets it drift), then raises its headline line by line. */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero {
  position: relative; isolation: isolate;
  min-height: calc(100svh - 61px);
  display: grid; grid-template-rows: 1fr auto;
  padding: 0; color: #fff; overflow: hidden;
  background: var(--canopy);
}
.hero > * { max-width: none; margin: 0; width: 100%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 59, 39, .9) 0%, rgba(14, 59, 39, .62) 42%, rgba(14, 59, 39, .08) 75%),
    linear-gradient(0deg, rgba(14, 59, 39, .85) 0%, transparent 35%);
}
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; align-items: center; }
.slide__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.4s ease;
}
#slide-road .slide__bg { object-position: 50% 55%; }
.slide.is-on .slide__bg { opacity: 1; animation: drift 9s ease-out forwards; }
@keyframes drift { to { transform: scale(1.13) translate(-1.5%, 1%); } }

.slide__inner {
  padding: clamp(56px, 9vw, 120px) var(--gutter) 48px;
  width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  opacity: 0; transition: opacity .4s ease;
}
.slide.is-on .slide__inner { opacity: 1; }
/* A plain sentence at a reading size, not a poster */
.slide__title {
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  font-weight: 600; line-height: 1.12; letter-spacing: -0.02em;
}
.slide__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.slide__title .line > span { display: inline-block; transform: translateY(105%); }
.slide.is-on .slide__title .line > span {
  animation: rise .9s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: calc(var(--start, .25s) + var(--i) * .12s);
}
.slide__lede { max-width: 34em; font-size: 1.1875rem; margin: 1.6rem 0 2rem; color: #e7efe7; }
.slide__lede, .slide__actions { opacity: 0; }
.slide.is-on .slide__lede, .slide.is-on .slide__actions { animation: appear .7s ease forwards; animation-delay: calc(var(--start, .25s) + .45s); }
.slide__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
/* First slide waits for the intro panels to lift */
.hero.is-first { --start: 1.85s; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes appear { to { opacity: 1; } }

/* Tabs: the line along the top of the active one fills until the next slide */
.trades {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.trade + .trade { border-left: 1px solid rgba(255, 255, 255, .25); }
.trade {
  position: relative; display: flex; flex-direction: column; gap: .2rem;
  padding: 1.3rem var(--gutter) 1.5rem;
  font: inherit; text-align: left; align-items: flex-start; border: 0; cursor: pointer;
  color: rgba(255, 255, 255, .7);
  background: rgba(14, 59, 39, .45);
  transition: background .25s, color .25s;
}
.trade::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px;
  transform: scaleX(0); transform-origin: left;
}
.trade--soil::before { background: var(--oxide); }
.trade--road::before { background: var(--lime); }
.trade--wall::before { background: #fff; }
.trade:hover { background: rgba(14, 59, 39, .7); color: #fff; }
.trade.is-on { color: #fff; background: rgba(14, 59, 39, .8); }
.trade.is-on::before { animation: fill 7s linear forwards; }
.hero.is-first .trade.is-on::before { animation-delay: 1.85s; }
.hero:hover .trade.is-on::before, .hero:focus-within .trade.is-on::before { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.trade__name { font: 700 clamp(1.05rem, 2vw, 1.5rem)/1.1 var(--display); }

/* ---------- Fertilizer ---------- */
.fert { background: var(--gypsum); }
.fert__head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem;
}
.fert__mascot { width: clamp(150px, 20vw, 250px); margin-bottom: -1.5rem; }

.fert__product {
  margin-top: 3rem;
  display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: auto auto;
  gap: clamp(1.2rem, 3vw, 2.5rem);
}
.fert__bag { margin: 0; grid-row: span 2; }
.fert__bag img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; aspect-ratio: 3 / 4; }

/* Spec block echoes the printed bag label: green band, white sheet */
.label { background: #fff; border: 2px solid var(--leaf); border-radius: 4px; overflow: hidden; }
.label__top {
  background: var(--leaf-ink); color: #fff;
  padding: 1.2rem 1.4rem;
  display: grid; grid-template-columns: 1fr auto; align-items: end;
}
.label__kind { margin: 0; font-weight: 600; color: #e5f6c9; grid-column: 1; }
.label__name { margin: 0; font: 800 clamp(1.6rem, 3vw, 2.2rem)/1 var(--display); grid-column: 1; }
.label__weight { margin: 0; font: 800 1.8rem/1 var(--display); grid-column: 2; grid-row: 1 / span 2; }
.label__rows { margin: 0; padding: .4rem 1.4rem; }
.label__rows div {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem;
  padding: .65rem 0; border-bottom: 1px solid var(--line);
}
.label__rows div:last-child { border-bottom: 0; }
.label__rows dt { color: var(--muted); }
.label__rows dd { margin: 0; font-weight: 600; color: var(--canopy); }
.label__reg { font-size: .85rem; color: var(--muted); padding: .9rem 1.4rem 1.1rem; margin: 0; background: var(--paper); border-top: 1px solid var(--line); }

/* Process: a true sequence, so it is numbered */
.process { margin-top: clamp(64px, 8vw, 104px); }
.process__steps {
  list-style: none; padding: 0; margin: 1.6rem 0 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  counter-reset: step;
  border-top: 3px solid var(--oxide);
}
.process__steps li { counter-increment: step; padding: 1.3rem 1.4rem 0 0; position: relative; }
.process__steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; margin: -2.4rem 0 1rem;
  background: var(--oxide); color: #fff; border-radius: 50%;
  font: 700 1rem var(--display);
}
.process__steps h4 { margin-bottom: .4rem; }
.process__steps p { font-size: .98rem; color: var(--muted); }

.field {
  margin-top: clamp(64px, 8vw, 104px);
  display: grid; grid-template-columns: 1fr 2.6fr; gap: clamp(1.5rem, 3vw, 3rem);
}
.field__intro p { color: var(--muted); margin-top: .8rem; }
.field__grid {
  display: grid; gap: 10px;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 200px 200px 160px;
  grid-template-areas: "a b c" "a b c" "d d e";
}
.field__grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.f1 { grid-area: a; } .f2 { grid-area: b; } .f3 { grid-area: c; } .f4 { grid-area: d; } .f5 { grid-area: e; }

/* ---------- Logistics ---------- */
.logi {
  background: var(--canopy); color: #dce8dd;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.logi > * { margin: 0; max-width: none; }
.logi h2 { color: #fff; }
.logi .lead { color: #dce8dd; }
.logi__text { justify-self: end; max-width: 560px; }
.logi__list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; }
.logi__list li { padding: .8rem 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.logi__list strong { color: #fff; }

.routes { justify-self: start; width: 100%; max-width: 560px; }
.routes svg { width: 100%; height: auto; overflow: visible; }
.routes__lines path { fill: none; stroke: var(--lime); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.routes__lines path:nth-child(2) { stroke: #5cc27e; }
.routes__lines path:nth-child(3) { stroke: #c7e59f; }
.routes__lines path:nth-child(4) { stroke: #e9a27f; }
.routes__stops circle { fill: var(--canopy); stroke: #fff; stroke-width: 3; }
.routes__hub circle { fill: #fff; }
.routes__hub .ring { fill: none; stroke: #fff; stroke-width: 2; opacity: .5; }
.routes__labels text { fill: #dce8dd; font: 500 15px var(--body); }
.routes__labels .hub { fill: #fff; font: 700 21px var(--display); }
/* Routes draw themselves in when the section comes into view, then trucks start */
.routes__lines path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.6, 0, .3, 1); }
.routes__lines path:nth-child(2) { transition-delay: .15s; }
.routes__lines path:nth-child(3) { transition-delay: .3s; }
.routes__lines path:nth-child(4) { transition-delay: .45s; }
.routes__stops, .routes__labels, .routes__trucks { opacity: 0; transition: opacity .6s ease 1.2s; }
.logi.is-live .routes__lines path { stroke-dashoffset: 0; }
.logi.is-live .routes__stops, .logi.is-live .routes__labels, .logi.is-live .routes__trucks { opacity: 1; }
.routes__hub .ring { transform-box: fill-box; transform-origin: center; }
.logi.is-live .routes__hub .ring { animation: pulse 2.4s ease-out 1.4s infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }

/* The official truck livery, on white like the design sheet */

/* Fleet photos, full width under the route map */
.fleet { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.fleet figure { margin: 0; overflow: hidden; border-radius: 8px; }
.fleet img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: scale .6s ease; }
.fleet figure:hover img { scale: 1.05; }
.js .fleet[data-reveal] { opacity: 1; translate: none; }
.js .fleet figure { opacity: 0; translate: 0 26px; transition: opacity .7s, translate .7s cubic-bezier(.2, .8, .2, 1); }
.js .fleet.is-in figure { opacity: 1; translate: 0 0; }
.js .fleet.is-in figure:nth-child(2) { transition-delay: .15s; }
.js .fleet.is-in figure:nth-child(3) { transition-delay: .3s; }
@media (max-width: 720px) { .fleet { grid-template-columns: 1fr; } }

/* Road along the bottom of the section: a branded truck drives across */
.road {
  grid-column: 1 / -1;
  position: relative; overflow: hidden;
  height: 150px;
  margin: clamp(1rem, 3vw, 2rem) calc(-1 * var(--gutter)) 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 44px, transparent 44px 92px) 0 calc(100% - 22px) / 100% 3px no-repeat,
    linear-gradient(#0A2D1E, #0A2D1E) 0 100% / 100% 48px no-repeat;
}
@keyframes drive {
  0% { transform: translateX(-105%); }
  /* roll in, slow for a beat under the text, then carry on out */
  40% { transform: translateX(calc(30vw - 50%)); }
  55% { transform: translateX(calc(38vw - 50%)); }
  100% { transform: translateX(100vw); }
}
@keyframes spin { to { transform: rotate(360deg); } }
.routes figcaption { font-size: .88rem; color: #9fb7a5; margin-top: .6rem; }

/* ---------- Gypsum ---------- */
.gyp { background: var(--paper); overflow-x: clip; }
.gyp__body {
  margin-top: 3rem;
  display: grid; grid-template-columns: 15rem 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.gyp__types { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.gyp__types button {
  text-align: left; background: none; border: 0; cursor: pointer;
  font: 500 1.05rem var(--body); color: var(--muted);
  padding: .75rem 1rem; margin-left: -2px; border-left: 4px solid transparent;
  transition: color .2s, border-color .2s;
}
.gyp__types button:hover { color: var(--canopy); }
.gyp__types button[aria-selected="true"] { color: var(--canopy); font-weight: 700; border-left-color: var(--leaf); }

/* The wall: steel studs, then a sheet that slides on and gets screwed down.
   The bottom-right corner is cut away so you can see the board's core and
   how thick it is. */
.wall-view { perspective: 1200px; padding: 1rem 0; }
.wall {
  --face: #F4F4F0; --core: #E7E3D8; --cut: 4;
  position: relative; aspect-ratio: 4 / 3.4; width: 100%; max-width: 460px; margin: 0 auto;
  transform: rotateY(-16deg) rotateX(6deg);
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.3, .8, .2, 1);
}
/* Ceiling board: tip the whole thing up overhead */

.wall__frame { position: absolute; inset: 0; }
.stud {
  position: absolute; top: 0; bottom: 0; left: var(--x); width: 4%; translate: -50% 0;
  background: linear-gradient(90deg, #8E969C, #C9CFD3 40%, #9AA2A8);
  border-radius: 1px;
}
.track { position: absolute; left: 0; right: 0; height: 4%; background: linear-gradient(#C9CFD3, #8E969C); }
.track--top { top: 0; } .track--bottom { bottom: 0; }

.sheet {
  position: absolute; inset: 0;
  transform: translateZ(14px);
  filter: drop-shadow(0 22px 22px rgba(14, 59, 39, .25));
  transition: transform .65s cubic-bezier(.25, 1.25, .4, 1), opacity .3s;
}
.sheet__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sheet__face { fill: var(--face); transition: fill .3s; }
.sheet__core { fill: var(--core); stroke: var(--face); stroke-width: .5; vector-effect: non-scaling-stroke; transition: fill .3s; }
.sheet.is-off { transform: translateZ(14px) translateX(115%) rotate(6deg); opacity: 0; transition: none; }
.sheet.is-leaving { transform: translateZ(60px) translateX(-115%) rotate(-6deg); opacity: 0; transition: transform .4s ease-in, opacity .4s ease-in; }

.screw {
  position: absolute; left: var(--x); top: var(--y);
  width: 2.4%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d5d9dc, #6c7378);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
  scale: 0;
}
.sheet.is-fixed .screw { animation: screw-in .35s cubic-bezier(.3, 1.6, .5, 1) forwards; animation-delay: calc(var(--i) * 45ms); }
@keyframes screw-in { from { scale: 0; rotate: -180deg; } to { scale: 1; rotate: 0deg; } }

.sheet__tag {
  position: absolute; left: 7%; bottom: 13%;
  display: grid; gap: .1rem; padding: .55rem .8rem;
  background: rgba(14, 59, 39, .9); color: #fff; border-radius: 6px;
  font-size: .85rem;
  opacity: 0; translate: 0 8px; transition: opacity .3s .35s, translate .3s .35s;
}
.sheet__tag b { font: 700 1.05rem var(--display); }
.sheet.is-fixed .sheet__tag { opacity: 1; translate: 0 0; }

.gyp__detail h3 { margin-bottom: .6rem; }
.gyp__detail p { color: var(--graphite); max-width: 28em; }
.gyp__specs { margin: 1.2rem 0 1.8rem; }
.gyp__specs div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.gyp__specs dt { color: var(--muted); }
.gyp__specs dd { margin: 0; font-weight: 600; color: var(--canopy); }
.gyp__detail > * { transition: opacity .25s; }
.gyp__detail.is-swapping > * { opacity: 0; }

/* ---------- About ---------- */
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.about > * { margin: 0; max-width: none; }
.about__text { justify-self: end; max-width: 560px; }
.about__text h2 { margin-bottom: 1.4rem; }
.about__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2.5rem; margin: 2rem 0 0; }
.about__facts dt { font-size: .9rem; color: var(--muted); }
.about__facts dd { margin: .2rem 0 0; font: 700 1.5rem var(--display); color: var(--canopy); }
.press { max-width: 560px; }
.press img { transform: rotate(-1.5deg); box-shadow: 0 18px 40px -18px rgba(14, 59, 39, .45); border-radius: 2px; }
.press figcaption { margin-top: 1rem; font-size: .92rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact {
  background: var(--leaf-ink); color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem);
}
.contact > * { margin: 0; max-width: none; }
.contact h2 { color: #fff; margin-bottom: 1rem; }
.contact__info { justify-self: end; max-width: 520px; width: 100%; }
.contact__lines { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact__lines li { display: grid; grid-template-columns: 5rem 1fr; padding: .8rem 0; border-top: 1px solid rgba(255,255,255,.3); }
.contact__lines span { color: #e6f5e9; }
.contact__lines a { color: #fff; font-weight: 600; }

.quote {
  max-width: 520px; width: 100%;
  background: var(--paper); color: var(--graphite);
  padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 6px;
  display: grid; gap: 1rem;
}
.quote label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; color: var(--canopy); }
.quote input, .quote select, .quote textarea {
  font: 400 1rem var(--body); color: var(--graphite);
  padding: .7rem .8rem; border: 1px solid #bfc5bd; border-radius: 4px; background: #fff;
  min-height: 46px;
}
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: 3px solid var(--lime); outline-offset: 0; border-color: var(--leaf); }
.quote__error { margin: 0; color: #a12a12; font-weight: 600; min-height: 0; }
.quote__error:empty { display: none; }
.quote .btn { justify-self: start; }

/* ---------- Footer ---------- */
/* the white version of the logo, made for dark backgrounds */
@media (max-width: 720px) { .branch-map { height: 360px; } }

/* ---------- About (now right under the hero) ---------- */
.about { background: var(--paper); }
.about__values { margin: 1.8rem 0 0; display: grid; gap: 1rem; }
.about__values div { border-left: 3px solid var(--leaf); padding-left: 1rem; }
.about__values dt { font: 700 1.05rem var(--display); color: var(--canopy); }
.about__values dd { margin: .2rem 0 0; color: var(--graphite); }

/* ---------- Fertilizer: core technology ---------- */
.tech {
  margin-top: clamp(56px, 7vw, 96px);
  background: var(--canopy); color: #dce8dd; border-radius: 8px;
  padding: clamp(1.6rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.tech h3 { color: #fff; margin-bottom: 1rem; }
.tech__text p { max-width: 34em; }
.tech__heat { grid-column: 1 / -1; margin: 0; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .15); color: #fff; font-weight: 600; }

/* Waste in, fertilizer out, with the reaction as the arrow between */
.reaction { display: grid; grid-template-columns: 1fr 1.3fr 1fr; align-items: center; }
.reaction__end {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: .3rem;
  padding: 1rem; border: 2px solid rgba(255, 255, 255, .35);
}
.reaction__end b { font: 700 1.1rem/1.1 var(--display); color: #fff; }
.reaction__end span { font-size: .85rem; }
.reaction__end--out { background: var(--leaf-ink); border-color: var(--lime); }
.reaction__end--out span { color: #eef6ef; }
.reaction__arrow {
  position: relative; text-align: center; display: grid; gap: .25rem; padding: 1.4rem .6rem;
  background: linear-gradient(90deg, rgba(140, 198, 63, .1), rgba(140, 198, 63, .55));
  clip-path: polygon(0 18%, 86% 18%, 86% 0, 100% 50%, 86% 100%, 86% 82%, 0 82%);
  margin: 0 -.4rem;
}
.reaction__arrow b { color: #fff; font-size: .95rem; }
.reaction__arrow span { font-size: .8rem; padding-right: 12%; }
.reaction__arrow strong { color: var(--lime); font: 700 1rem var(--display); padding-right: 12%; }
/* The arrow sweeps through once when the block arrives */
.js .tech .reaction__arrow { clip-path: polygon(0 18%, 0 18%, 0 0, 0 50%, 0 100%, 0 82%, 0 82%); transition: clip-path 1.2s cubic-bezier(.6, 0, .3, 1) .4s; }
.js .tech.is-in .reaction__arrow { clip-path: polygon(0 18%, 86% 18%, 86% 0, 100% 50%, 86% 100%, 86% 82%, 0 82%); }
.js .tech .reaction__end--out { scale: .85; opacity: .4; transition: scale .6s cubic-bezier(.3, 1.4, .5, 1) 1.5s, opacity .6s 1.5s; }
.js .tech.is-in .reaction__end--out { scale: 1; opacity: 1; }

/* Against traditional composting */
.versus { margin-top: clamp(56px, 7vw, 96px); }
.versus h3 { margin-bottom: 1.2rem; }
.versus table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.versus th, .versus td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.versus thead th { font: 700 1.05rem var(--display); color: var(--canopy); border-bottom: 2px solid var(--canopy); }
.versus tbody th { font-weight: 500; color: var(--muted); width: 30%; }
.versus td:nth-child(2) { color: var(--leaf-ink); font-weight: 700; background: rgba(31, 154, 75, .07); }
.versus thead th:nth-child(2) { background: var(--leaf-ink); color: #fff; border-bottom-color: var(--leaf-ink); }
.versus td:nth-child(3) { color: var(--graphite); }

/* Typical analysis */
.analysis { align-self: start; }
.analysis h3 { margin-bottom: 1rem; }
.analysis__grid { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; }
.analysis__grid div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.analysis__grid dt { color: var(--muted); }
.analysis__grid dd { margin: 0; font-weight: 700; color: var(--canopy); font-variant-numeric: tabular-nums; }
.analysis__lab { margin: 1.2rem 0 0; font-size: .95rem; color: var(--graphite); }
.label__weight { text-align: right; line-height: 1.05; }

/* What it does */
.does { margin-top: clamp(56px, 7vw, 96px); }
.does h3 { margin-bottom: 1.2rem; }
.does ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.does li { padding: 1.1rem 1.2rem 1.2rem; background: #fff; border-top: 3px solid var(--leaf); border-radius: 0 0 6px 6px; }

/* Field results */
.results { margin-top: clamp(56px, 7vw, 96px); }
.results h3 { margin-bottom: 1.2rem; }
.results__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.results__photo { margin: 0; }
.results__photo img { width: 100%; border-radius: 6px; }
.results__line { margin: .8rem 0 0; color: var(--graphite); font-weight: 500; }
.results__charts { display: grid; gap: 2rem; }
.chart h4 { margin-bottom: .8rem; }
.chart__row { display: grid; grid-template-columns: 9rem 1fr 4.5rem; gap: .8rem; align-items: center; margin-bottom: .5rem; }
.chart__row span:first-child { color: var(--muted); }
.chart__row b { text-align: right; font-variant-numeric: tabular-nums; color: var(--graphite); }
.chart__bar { height: 14px; background: #dfe3dc; border-radius: 2px; overflow: hidden; }
.chart__bar i { display: block; height: 100%; width: var(--v); background: #9ea39b; }
.chart__row--us span:first-child, .chart__row--us b { color: var(--canopy); font-weight: 700; }
.chart__row--us .chart__bar i { background: var(--leaf); }
.js .chart__bar i { width: 0; transition: width 1.3s cubic-bezier(.3, .8, .2, 1) .3s; }
.js .results.is-in .chart__bar i { width: var(--v); }
.js .results.is-in .chart__row:nth-child(3) .chart__bar i { transition-delay: .45s; }
.js .results.is-in .chart__row:nth-child(4) .chart__bar i { transition-delay: .6s; }

/* How to apply */
.apply { margin-top: clamp(56px, 7vw, 96px); }
.apply h3 { margin-bottom: 1.2rem; }
.apply__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.apply__grid div { border-top: 2px solid var(--canopy); padding-top: 1rem; }
.apply__grid h4 { margin-bottom: .5rem; }
.apply__grid p { color: var(--graphite); font-size: .98rem; margin: 0; }

/* ---------- Gypsum ore ---------- */
.ore {
  background: #F3F1EC;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.ore > * { margin: 0; max-width: none; }
.ore__text { justify-self: end; max-width: 520px; }
.ore__uses { list-style: none; padding: 0; margin: 1.6rem 0 2rem; }
.ore__uses li { padding: .8rem 0; border-top: 1px solid var(--line); }
.ore__uses strong { color: var(--canopy); }

/* ---------- Language ---------- */
.i18n-pending body { visibility: hidden; }
.lang select {
  font: 500 .92rem var(--body); color: var(--canopy); background: transparent;
  border: 1px solid var(--line); border-radius: 6px; padding: .35rem .5rem; cursor: pointer;
}
.lang select:hover { border-color: var(--leaf); }

/* ---------- Menu dropdowns ---------- */
.menu { position: relative; }
.menu__btn {
  font: 500 .98rem var(--body); color: inherit; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: .35rem; padding: .3rem 0;
}
.menu__btn::after {
  content: ""; width: .45em; height: .45em; border: solid currentColor; border-width: 0 2px 2px 0;
  rotate: 45deg; translate: 0 -.15em; transition: rotate .25s, translate .25s;
}
.menu__btn[aria-expanded="true"]::after { rotate: -135deg; translate: 0 .1em; }
.menu__btn:hover { color: var(--leaf-ink); }
.menu__list {
  position: absolute; top: calc(100% + 14px); left: -1rem; min-width: 280px; z-index: 60;
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 24px 40px -20px rgba(14, 59, 39, .35);
  padding: .5rem; display: grid;
  opacity: 0; translate: 0 -8px; visibility: hidden;
  transition: opacity .2s, translate .2s, visibility 0s .2s;
}
.menu__btn[aria-expanded="true"] + .menu__list { opacity: 1; translate: 0 0; visibility: visible; transition: opacity .2s, translate .2s; }
.menu__list a { display: grid; gap: .1rem; padding: .65rem .8rem; border-radius: 6px; text-decoration: none; }
.menu__list a:hover, .menu__list a:focus-visible { background: rgba(31, 154, 75, .1); }
.menu__list b { font: 700 1rem var(--display); color: var(--canopy); }
.menu__list span { font-size: .85rem; color: var(--muted); }

/* ---------- About: reach map and press ---------- */
.reach { margin: 0; justify-self: start; width: 100%; max-width: 520px; }
.reach__map { position: relative; }
.reach__map img { width: 100%; }
.pin { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.pin::before, .pin::after {
  content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--canopy);
}
.pin::after { background: none; border-color: #fff; animation: ping 2.4s ease-out var(--d) infinite; }
.pin--home::before { background: var(--lime); }
@keyframes ping { from { scale: 1; opacity: .9; } to { scale: 3.2; opacity: 0; } }
.pin b {
  position: absolute; left: 12px; top: -10px; white-space: nowrap;
  font: 600 .78rem var(--body); color: var(--canopy);
  background: rgba(248, 249, 246, .9); padding: .05rem .35rem; border-radius: 3px;
}
.press { grid-column: 1 / -1; max-width: none; }
.press .press__item img { transform: none; }
.press h3 { margin-bottom: 1.2rem; }
.press__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.press__item { display: grid; gap: .3rem; text-decoration: none; color: inherit; }
.press__item img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 6px;
  box-shadow: 0 14px 30px -18px rgba(14, 59, 39, .5);
  transition: translate .35s ease, box-shadow .35s ease;
}
.press__item:hover img { translate: 0 -6px; box-shadow: 0 24px 40px -18px rgba(14, 59, 39, .5); }
.press__item b { margin-top: .6rem; font: 700 1.02rem var(--display); color: var(--canopy); }
.press__item span { color: var(--muted); font-size: .95rem; }
.press__item--video { position: relative; }
.press__item--video::after {
  content: ""; position: absolute; left: 50%; top: 0; translate: -50% 0; margin-top: calc(37.5% - 28px);
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l9 6-9 6z' fill='%230E3B27'/%3E%3C/svg%3E") center / 26px no-repeat;
  box-shadow: 0 0 0 0 rgba(140, 198, 63, .6); animation: beckon 2.2s ease-out infinite;
}
@keyframes beckon { to { box-shadow: 0 0 0 18px rgba(140, 198, 63, 0); } }

/* ---------- Fertilizer: pictures from the company profile ---------- */
.process__diagram { margin-top: 2.2rem; width: 100%; border-radius: 6px; background: #fff; }

.waste { margin-top: clamp(56px, 7vw, 96px); }
.waste h3 { margin-bottom: .5rem; }
.waste__intro { color: var(--muted); margin-bottom: 1.4rem; }
.waste__grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 1.2rem; align-items: start; }
.waste figure { margin: 0; }
.waste figcaption, .residues figcaption, .trial-photos figcaption { margin-top: .5rem; font-weight: 600; color: var(--canopy); font-size: .95rem; }
.waste__pair img { width: 100%; border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; }

/* Before/after slider: the before photo is clipped to the left of --pos */
.compare-img { position: relative; }
.compare-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }
.compare-img__before { position: absolute; top: 0; left: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-img::before {
  content: ""; position: absolute; top: 0; height: calc(100% - 2.1rem); left: var(--pos); width: 3px; translate: -50% 0;
  background: #fff; z-index: 1; pointer-events: none; box-shadow: 0 0 8px rgba(0, 0, 0, .35);
}
.compare-img::after {
  content: "‹ ›"; position: absolute; top: calc((100% - 2.1rem) / 2); left: var(--pos); translate: -50% -50%;
  width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--canopy);
  display: grid; place-items: center; font: 700 1.1rem var(--display); letter-spacing: .1em;
  z-index: 1; pointer-events: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}
.compare-img input {
  position: absolute; inset: 0; bottom: 2.1rem; width: 100%; height: calc(100% - 2.1rem);
  opacity: 0; cursor: ew-resize; margin: 0; z-index: 2;
}
.compare-img:has(input:focus-visible)::after { outline: 3px solid var(--lime); outline-offset: 2px; }

.residues { margin-top: 1.6rem; display: grid; grid-template-columns: repeat(4, 1fr) .55fr; gap: 1rem; align-items: start; }
.residues figure { margin: 0; }
.residues img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.residues figure:last-child img { aspect-ratio: auto; height: auto; max-height: 160px; object-fit: contain; background: #fff; }

.analysis__reports { margin-top: 1.2rem; display: flex; gap: .8rem; }
.analysis__reports a { flex: 1; display: block; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; }
.analysis__reports img { width: 100%; height: 140px; object-fit: cover; object-position: top; transition: scale .4s ease; }
.analysis__reports a:hover img { scale: 1.05; }

.trial-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: -.6rem; }
.trial-photos figure { margin: 0; }
.trial-photos img { width: 100%; border-radius: 4px; background: #fff; }
.trial-photos--three { grid-template-columns: repeat(3, 1fr); }
.trial-photos--three img { aspect-ratio: 1; object-fit: cover; }

/* Production line: machine photos lift as you pass over them */
.equip { margin-top: clamp(56px, 7vw, 96px); }
.equip h3 { margin-bottom: 1.2rem; }
.equip__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.equip figure {
  margin: 0; background: #fff; border-radius: 8px; padding: .6rem .6rem .9rem;
  border: 1px solid var(--line); transition: translate .3s ease, box-shadow .3s ease;
}
.equip figure:hover { translate: 0 -6px; box-shadow: 0 22px 34px -22px rgba(14, 59, 39, .45); }
.equip img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.equip figcaption { display: grid; gap: .1rem; padding: .3rem .3rem 0; }
.equip figcaption b { font: 700 .98rem var(--display); color: var(--canopy); }
.equip figcaption span { font-size: .85rem; color: var(--muted); }
.js .equip.is-in figure { animation: rise-in .6s cubic-bezier(.2, .8, .2, 1) both; }
.js .equip.is-in figure:nth-child(1) { animation-delay: 0.00s; }
.js .equip.is-in figure:nth-child(2) { animation-delay: 0.07s; }
.js .equip.is-in figure:nth-child(3) { animation-delay: 0.14s; }
.js .equip.is-in figure:nth-child(4) { animation-delay: 0.21s; }
.js .equip.is-in figure:nth-child(5) { animation-delay: 0.28s; }
.js .equip.is-in figure:nth-child(6) { animation-delay: 0.35s; }
.js .equip.is-in figure:nth-child(7) { animation-delay: 0.42s; }
.js .equip.is-in figure:nth-child(8) { animation-delay: 0.49s; }
.js .equip.is-in figure:nth-child(9) { animation-delay: 0.56s; }
.js .equip.is-in figure:nth-child(10) { animation-delay: 0.63s; }
.js .equip figure { opacity: 0; }
.js .equip.is-in figure { opacity: 1; }
@keyframes rise-in { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Bricks: a wall that lays itself course by course ---------- */
.bricks {
  background: var(--paper);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.bricks > * { margin: 0; max-width: none; }
.bricks__text { justify-self: end; max-width: 520px; }
.bricks__text .lead { margin-bottom: 1rem; }
.bricks__text .btn { margin-top: 1rem; }
.wall-build { justify-self: start; width: 100%; max-width: 480px; display: grid; gap: 6px; padding-bottom: 6px; border-bottom: 10px solid #c9c5bc; overflow: hidden; }
.course { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.course--offset { translate: calc((100% + 6px) / 12) 0; clip-path: inset(0 calc((100% + 6px) / 12) 0 0); }
.course span {
  aspect-ratio: 2.1 / 1; border-radius: 2px;
  background: linear-gradient(160deg, #b9b7b1, #9d9a93);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12), inset 0 2px 0 rgba(255, 255, 255, .3);
}
.course span:nth-child(3n) { background: linear-gradient(160deg, #c4c1ba, #a6a39b); }
.js .wall-build span { opacity: 0; translate: 0 -60px; }
.js .wall-build.is-in span { animation: lay .45s cubic-bezier(.3, 1.3, .5, 1) forwards; animation-delay: calc(var(--n) * 55ms); }
@keyframes lay { to { opacity: 1; translate: 0 0; } }
.js .wall-build[data-reveal] { opacity: 1; translate: none; }

/* Gypsum ore: from pit to site, a real sequence, so the photos are numbered */
.ore__steps {
  list-style: none; margin: 0; padding: 0; counter-reset: ore;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; max-width: 760px; width: 100%;
}
.ore__steps li { counter-increment: ore; position: relative; display: grid; gap: .45rem; }
.ore__steps-wide { grid-column: 1 / -1; }
.ore__steps img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; transition: scale .5s ease; }
.ore__steps-wide img { aspect-ratio: 16 / 6; object-position: 50% 60%; }
.ore__steps li:hover img { scale: 1.03; }
.ore__steps span { font-weight: 600; color: var(--canopy); font-size: .95rem; }
.ore__steps span::before {
  content: counter(ore); display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-right: .5rem;
  border-radius: 50%; background: var(--oxide); color: #fff; font: 700 .8rem var(--display);
}
.js .ore__steps[data-reveal] { opacity: 1; translate: none; }
.js .ore__steps li { opacity: 0; translate: 0 24px; transition: opacity .7s, translate .7s cubic-bezier(.2, .8, .2, 1); }
.js .ore__steps.is-in li { opacity: 1; translate: 0 0; }
.js .ore__steps.is-in li:nth-child(2) { transition-delay: .15s; }
.js .ore__steps.is-in li:nth-child(3) { transition-delay: .3s; }
.js .ore__steps.is-in li:nth-child(4) { transition-delay: .45s; }

/* ---------- Landing page: one card per page ---------- */
.overview { background: var(--gypsum); }
.overview__head { margin-bottom: 2.4rem; }
.overview__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: minmax(220px, auto); gap: 1rem;
}
.card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 10px;
  display: flex; align-items: flex-end; min-height: 240px;
  text-decoration: none; color: #fff; background: var(--canopy);
  box-shadow: 0 20px 40px -28px rgba(14, 59, 39, .6);
  transition: translate .35s ease, box-shadow .35s ease;
}
.card--lead { grid-row: span 2; }
.card__media { position: absolute; inset: 0; z-index: -2; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s cubic-bezier(.2, .8, .2, 1); }
.card__media > span { position: absolute; inset: 0; overflow: hidden; }
.card__media .banner__bg { inset: 0; transform: none; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 40, 26, .85), rgba(10, 40, 26, .05) 60%); }
.card__body { display: grid; gap: .3rem; padding: 1.3rem 1.4rem; }
.card__body b { font: 700 clamp(1.4rem, 2.4vw, 2rem)/1.05 var(--display); letter-spacing: -0.02em; }
.card--lead .card__body b { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.card__body > span { color: #dfeadf; max-width: 26em; }
.card__body::after {
  content: "See more"; font-weight: 600; color: var(--lime); margin-top: .2rem;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s, opacity .35s;
}
.card:hover, .card:focus-visible { translate: 0 -6px; box-shadow: 0 30px 50px -26px rgba(14, 59, 39, .7); }
.card:hover .card__media img { scale: 1.07; }
.card:hover .card__body::after, .card:focus-visible .card__body::after { max-height: 1.6em; opacity: 1; }
.js .overview__grid[data-reveal] { opacity: 1; translate: none; }
.js .overview__grid .card { opacity: 0; translate: 0 30px; transition: opacity .7s, translate .7s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.js .overview__grid.is-in .card { opacity: 1; translate: 0 0; }
.js .overview__grid.is-in .card:nth-child(2) { transition-delay: .1s; }
.js .overview__grid.is-in .card:nth-child(3) { transition-delay: .2s; }
.js .overview__grid.is-in .card:nth-child(4) { transition-delay: .3s; }
.js .overview__grid.is-in .card:nth-child(5) { transition-delay: .4s; }
.js .overview__grid.is-in .card:hover { translate: 0 -6px; transition-delay: 0s; }
.nav__links a[aria-current="page"] { color: var(--leaf-ink); font-weight: 700; }

/* ---------- Section banners: a short hero in front of each product ---------- */
.banner {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(300px, 52vh, 520px);
  display: grid; align-items: end;
  color: #fff; background: var(--canopy);
}
.banner__bg {
  position: absolute; inset: -18% 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: translate3d(0, var(--shift, 0px), 0) scale(1.06);
  will-change: transform;
}
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(10, 40, 26, .88) 0%, rgba(10, 40, 26, .35) 55%, rgba(10, 40, 26, .15) 100%);
}
.banner__inner {
  width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
}
.banner__group { margin: 0 0 .6rem; font-weight: 600; color: var(--lime); }
.banner__title {
  margin: 0; color: #fff; font: 700 clamp(2.6rem, 7vw, 5.6rem)/1 var(--display); letter-spacing: -0.03em;
}
.banner__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.banner__title .w > span { display: inline-block; }
.banner__line { margin: 1rem 0 0; font-size: 1.15rem; color: #e1ece2; max-width: 34em; }
.js .banner__title .w > span { translate: 0 110%; transition: translate .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * .1s); }
.js .banner.is-in .banner__title .w > span { translate: 0 0; }
.js .banner__group, .js .banner__line { opacity: 0; translate: 0 12px; transition: opacity .7s .35s, translate .7s .35s; }
.js .banner.is-in .banner__group, .js .banner.is-in .banner__line { opacity: 1; translate: 0 0; }

/* No photo yet for board and bricks: their own material, drawn in CSS, drifting slowly */
/* Bricks: horizontal mortar lines here; the vertical joints come from the two
   pseudo-elements, each masked to every other course and offset half a brick */
.banner--bricks .banner__bg {
  background:
    repeating-linear-gradient(0deg, #5e5a53 0 6px, transparent 6px 66px),
    linear-gradient(160deg, #aaa69e, #8f8b83);
}
.banner--bricks .banner__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, #5e5a53 0 6px, transparent 6px 132px);
  -webkit-mask: repeating-linear-gradient(0deg, #000 0 66px, transparent 66px 132px);
          mask: repeating-linear-gradient(0deg, #000 0 66px, transparent 66px 132px);
}
.banner--bricks .banner__bg::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, #5e5a53 0 6px, transparent 6px 132px) 66px 0;
  -webkit-mask: repeating-linear-gradient(0deg, transparent 0 66px, #000 66px 132px);
          mask: repeating-linear-gradient(0deg, transparent 0 66px, #000 66px 132px);
}

/* Small photos: shown as a panel on the right near their real size, so they
   stay sharp, with the green running in from the left under the title */
.banner--inset .banner__bg {
  inset: 0 0 0 auto; width: min(60%, 760px);
  transform: none; background-size: cover; background-position: center;
}
.banner--inset::before {
  background:
    linear-gradient(90deg, var(--canopy) 0%, var(--canopy) max(40%, calc(100% - 760px)), rgba(14, 59, 39, .55) calc(max(40%, calc(100% - 760px)) + 14%), rgba(14, 59, 39, .1) 100%),
    linear-gradient(0deg, rgba(10, 40, 26, .6), transparent 45%);
}
@media (max-width: 720px) {
  .banner--inset .banner__bg { width: 100%; }
  .banner--inset::before { background: linear-gradient(0deg, rgba(10, 40, 26, .9), rgba(10, 40, 26, .3)); }
}

/* ---------- Page-level motion ---------- */
.nav__progress {
  position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--leaf), var(--lime));
  transform-origin: left; transform: scaleX(var(--p, 0));
}
.nav { transition: padding .3s ease, box-shadow .3s ease; }
.nav.is-scrolled { padding-top: 6px; padding-bottom: 6px; box-shadow: 0 8px 24px -16px rgba(14, 59, 39, .4); }
.nav__brand img { transition: height .3s ease; }
.nav.is-scrolled .nav__brand img { height: 32px; }

/* ---------- Support: chat with Hafa (above back-to-top) ---------- */
.support { position: fixed; right: 18px; bottom: 78px; z-index: 45; display: grid; justify-items: end; gap: .7rem; }
.support__btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 52px; padding: 0 1.2rem 0 .4rem;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--canopy); color: #fff; font: 600 1rem var(--body);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5);
  transition: background .2s, translate .2s;
}
.support__logo { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; }
.support__logo img { width: 32px; height: 32px; }
.support__btn:hover { background: var(--leaf-ink); translate: 0 -2px; }
.support__btn[aria-expanded="true"] { background: var(--leaf-ink); }

.support__panel {
  width: min(360px, calc(100vw - 36px)); height: min(520px, calc(100vh - 170px));
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(14, 59, 39, .45), 0 0 0 1px rgba(14, 59, 39, .08);
  display: grid; grid-template-rows: auto 1fr auto auto;
  transform-origin: bottom right; animation: pop .2s ease;
}
.support__panel[hidden] { display: none; }
@keyframes pop { from { opacity: 0; scale: .94; translate: 0 8px; } to { opacity: 1; scale: 1; translate: 0 0; } }
.chat__head { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border-bottom: 1px solid #edf0ec; }
.chat__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f1f5ef; flex: none; }
.chat__avatar img { width: 30px; height: 30px; }
.chat__who { display: grid; flex: 1; line-height: 1.25; }
.chat__who b { font: 700 1rem var(--display); color: var(--canopy); }
.chat__who span { font-size: .8rem; color: var(--muted); }
.chat__close { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.chat__close svg { width: 18px; height: 18px; }
.chat__close:hover { background: #f1f4f0; color: var(--canopy); }
.chat__log { overflow-y: auto; padding: 1rem; display: grid; align-content: start; gap: .5rem; }
.msg { max-width: 82%; padding: .55rem .8rem; border-radius: 14px; font-size: .9rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg--hafa { justify-self: start; background: #f1f4f0; color: var(--graphite); border-bottom-left-radius: 4px; }
.msg--you { justify-self: end; background: var(--canopy); color: #fff; border-bottom-right-radius: 4px; }
.msg--note { justify-self: stretch; max-width: none; background: none; color: var(--muted); font-size: .84rem; text-align: center; padding: .4rem .6rem; }
.msg--typing { color: var(--muted); animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .4; } }
.chat__form { display: flex; align-items: center; gap: .5rem; padding: .7rem .8rem; border-top: 1px solid #edf0ec; }
.chat__form input { flex: 1; min-width: 0; font: 400 .92rem var(--body); padding: .65rem .9rem; border: 1px solid #dfe4dd; border-radius: 999px; background: #f8faf7; }
.chat__form input:focus { outline: none; border-color: var(--leaf-ink); background: #fff; box-shadow: 0 0 0 2px var(--leaf-ink); }
.chat__send { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: var(--leaf); color: #fff; cursor: pointer; transition: background .2s; }
.chat__send svg { width: 20px; height: 20px; }
.chat__send:hover { background: var(--canopy); }
.chat__send[disabled] { opacity: .5; cursor: wait; }
.chat__quick { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .2rem .9rem; padding: 0 1rem .8rem; font-size: .8rem; color: var(--muted); }
.chat__quick a { color: var(--leaf-ink); font-weight: 600; text-decoration: none; }
.chat__quick a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .support__panel, .msg--typing { animation: none; } .support__btn { transition: none; } }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--canopy); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45);
  opacity: 0; translate: 0 16px; pointer-events: none;
  transition: opacity .3s, translate .3s, background .2s;
}
.to-top::before {
  content: ""; position: absolute; left: 50%; top: 54%; width: 12px; height: 12px;
  border: solid #fff; border-width: 3px 0 0 3px; translate: -50% -50%; rotate: 45deg;
}
.to-top:hover { background: var(--leaf); }
.to-top.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }

/* ---------- Branches map ---------- */
.branches {
  background: var(--paper);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.branches > * { margin: 0; max-width: none; }
.branches__text { justify-self: end; max-width: 520px; }
.branches__list { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.branches__list li {
  display: grid; gap: .1rem; padding: .85rem 0 .85rem 1rem; border-top: 1px solid var(--line);
  border-left: 3px solid transparent; cursor: default; transition: border-color .2s, background .2s;
}
.branches__list li b { font: 700 1.15rem var(--display); color: var(--canopy); }
.branches__list li span { color: var(--muted); }
.branches__list li.is-hot { border-left-color: var(--leaf); background: rgba(31, 154, 75, .06); }
.branches__map { justify-self: start; width: 100%; max-width: 520px; }
.branches__map .branch-map__fallback { width: 100%; height: auto; overflow: visible; }
.nam { fill: #e3e8df; stroke: #b9c3b5; stroke-width: 2; stroke-linejoin: round; }
.bpin text { font: 700 15px var(--display); fill: var(--canopy); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; }
.bpin__dot { fill: #fff; stroke: var(--canopy); stroke-width: 3; transition: r .2s; }
.bpin--home .bpin__dot { fill: var(--lime); }
.bpin__ring { fill: none; stroke: var(--leaf); stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; }
.branches__map.is-in .bpin__ring { animation: bping 2.6s ease-out var(--d) infinite; }
@keyframes bping { from { scale: 1; opacity: .8; } to { scale: 3; opacity: 0; } }
.js .bpin { opacity: 0; transition: opacity .5s var(--d); }
.js .branches__map.is-in .bpin { opacity: 1; }
.bpin.is-hot .bpin__dot { r: 10; }
.bpin.is-hot text { fill: var(--leaf); }

/* Real map: Leaflet keeps its own layers inside this box, under the menu */
.branch-map { position: relative; z-index: 0; isolation: isolate; height: 480px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 48px -30px rgba(14, 59, 39, .5); }
.branches__map.has-map .branch-map__fallback { display: none; }
.mpin {
  display: block; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; rotate: -45deg;
  background: var(--canopy); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
  transition: scale .2s, background .2s;
}
.mpin--home { background: var(--leaf); }
.mpin.is-hot { scale: 1.35; background: var(--lime); }
/* Each pin carries its town name in a small tag beside it */
.mark { overflow: visible; }
.mark__label {
  position: absolute; left: 28px; top: -4px; white-space: nowrap;
  font: 700 .82rem var(--display); color: var(--canopy);
  background: #fff; padding: .15rem .5rem; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(14, 59, 39, .2); pointer-events: none;
}
.mark--left .mark__label { left: auto; right: 28px; }
/* soft grey base map, so only the green branch pins carry colour */
.branch-map .leaflet-tile-pane { filter: grayscale(1) brightness(1.06) contrast(.92); opacity: .85; }
/* close the hairline gaps Leaflet can leave between tiles */
.branch-map .leaflet-tile-container img { width: 256.5px !important; height: 256.5px !important; }
.leaflet-popup-content { font: 500 .95rem var(--body); color: var(--graphite); margin: .7rem .9rem; }
.leaflet-popup-content b { display: block; font: 700 1.05rem var(--display); color: var(--canopy); }
.leaflet-popup-content a { color: var(--leaf-ink); font-weight: 600; }
.branches__list li { cursor: pointer; }

/* Bricks: coming soon */
.soon-tag {
  display: inline-block; margin: 0 0 1rem; padding: .3rem .8rem; border-radius: 999px;
  background: var(--lime); color: var(--canopy); font-weight: 700; font-size: .9rem;
}
.card__soon {
  position: absolute; top: 1rem; right: 1rem; padding: .25rem .7rem; border-radius: 999px;
  background: var(--lime); color: var(--canopy); font-weight: 700; font-size: .8rem;
}

/* Quote form: hidden spam trap and the "sent" panel */
.quote__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote[hidden] { display: none; }
.quote--sent { align-content: start; }
.quote--sent h3 { color: var(--leaf-ink); }
.quote--sent p { margin: 0; }
.quote .btn[disabled] { opacity: .6; cursor: wait; }
.quote__error a { color: inherit; }

/* The fertilizer label is a tall design: show all of it, never cropped */
.fert__bag--label { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; background: #fff; border-radius: 8px; padding: .8rem; box-shadow: 0 24px 48px -28px rgba(14, 59, 39, .45); align-self: start; }
.fert__bag--label img, .fert__bag.fert__bag--label img { aspect-ratio: auto; height: auto; object-fit: contain; border-radius: 4px; }
@media (max-width: 960px) { .fert__bag--label img, .fert__bag.fert__bag--label img { aspect-ratio: auto; max-width: 520px; margin: 0 auto; } }

/* ---------- Things that wake up as you scroll ---------- */
.js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .8s ease, translate .8s cubic-bezier(.2, .8, .2, 1); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
.label[data-reveal] { transition-delay: .15s; }

/* Comparison bars fill from empty */

/* Process: the red line draws across, then each step lands in turn */
.process__steps { border-top-color: transparent; position: relative; }
.process__steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 3px; background: var(--oxide);
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.6, 0, .3, 1) .2s;
}
.process.is-in .process__steps::before { transform: scaleX(1); }
.js .process__steps li { opacity: 0; translate: 0 14px; transition: opacity .5s, translate .5s; }
.process.is-in .process__steps li { opacity: 1; translate: 0 0; }
.process.is-in .process__steps li:nth-child(1) { transition-delay: .4s; }
.process.is-in .process__steps li:nth-child(2) { transition-delay: .7s; }
.process.is-in .process__steps li:nth-child(3) { transition-delay: 1s; }
.process.is-in .process__steps li:nth-child(4) { transition-delay: 1.3s; }

/* The buffalo waves hello, then keeps breathing */
.fert__mascot { transform-origin: 50% 90%; }
.fert__head.is-in .fert__mascot { animation: wave 1.6s ease-in-out .5s 2, bob 4s ease-in-out 3.7s infinite; }
@keyframes wave { 0%, 100% { rotate: 0deg; } 25% { rotate: -6deg; } 50% { rotate: 4deg; } 75% { rotate: -3deg; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* Field photos: each one comes up a beat after the last; hover leans in */
.js .field__grid[data-reveal] { opacity: 1; translate: none; }
.js .field__grid img { opacity: 0; translate: 0 20px; transition: opacity .7s, translate .7s, scale .5s; }
.field__grid.is-in img { opacity: 1; translate: 0 0; }
.field__grid.is-in .f2 { transition-delay: .12s; }
.field__grid.is-in .f3 { transition-delay: .24s; }
.field__grid.is-in .f4 { transition-delay: .36s; }
.field__grid.is-in .f5 { transition-delay: .48s; }
.field__grid img:hover { scale: 1.03; transition-delay: 0s; }
.fert__bag { overflow: hidden; border-radius: 4px; }
.fert__bag img { transition: scale 6s ease; }
.fert__bag:hover img { scale: 1.06; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .waste__grid { grid-template-columns: 1fr 1fr; }
  .branches { grid-template-columns: 1fr; }
  .branches__text, .branches__map { justify-self: stretch; }
  .overview__grid { grid-template-columns: 1fr 1fr; }
  .card--lead { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
  .waste__pair { grid-column: 1 / -1; }
  .residues { grid-template-columns: repeat(3, 1fr); }
  .equip__grid { grid-template-columns: repeat(3, 1fr); }
  .press__grid { grid-template-columns: 1fr 1fr; }
  .bricks { grid-template-columns: 1fr; }
  .bricks__text, .wall-build { justify-self: stretch; }
  .tech { grid-template-columns: 1fr; }
  .results__grid { grid-template-columns: 1fr; }
  .apply__grid { grid-template-columns: 1fr 1fr; }
  .ore { grid-template-columns: 1fr; }
  .ore__text { justify-self: stretch; max-width: 640px; }
  .process__steps { grid-template-columns: repeat(3, 1fr); }
  .fert__product { grid-template-columns: 1fr 1fr; }
  .fert__bag { grid-row: auto; grid-column: 1 / -1; }
  .fert__bag img { aspect-ratio: 16 / 10; object-position: 50% 40%; }
  .process__steps { row-gap: 2.4rem; }
  .process__steps li:nth-child(n+4) { border-top: 3px solid var(--oxide); }
  .field { grid-template-columns: 1fr; }
  .logi, .about, .contact { grid-template-columns: 1fr; }
  .logi__text, .about__text, .contact__info, .routes { justify-self: stretch; max-width: 640px; }
  .gyp__body { grid-template-columns: 1fr 1fr; }
  .gyp__types { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; border-left: 0; border-bottom: 2px solid var(--line); }
  .gyp__types button { margin: 0 0 -2px; border-left: 0; border-bottom: 4px solid transparent; }
  .gyp__types button[aria-selected="true"] { border-bottom-color: var(--leaf); }
}

@media (max-width: 720px) {
  .nav__toggle { display: inline-block; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1rem;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav__links .nav__call { margin-top: .6rem; text-align: center; border-bottom: 0; }
  /* On phones the dropdowns open inside the menu panel */
  .menu { border-bottom: 1px solid var(--line); }
  .lang { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .lang select { width: 100%; }
  .menu__btn { width: 100%; justify-content: space-between; padding: .8rem 0; }
  .menu__list { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 .5rem; display: none; opacity: 1; translate: none; visibility: visible; }
  .menu__btn[aria-expanded="true"] + .menu__list { display: grid; }
  .menu__list a { border-bottom: 0; padding: .55rem .6rem; }
  .nav__brand img { height: 32px; }

  .trade { padding: .9rem .8rem 1rem; }
  .slide__title { font-size: 1.85rem; }

  .fert__head { grid-template-columns: 1fr; }
  .fert__mascot { justify-self: end; width: 150px; margin: -1rem 0 -2rem; }
  .fert__product { grid-template-columns: 1fr; }
  .label__rows div, .compare__row { grid-template-columns: 7.5rem 1fr; }
  .process__steps { grid-template-columns: 1fr; border-top: 0; }
  .process__steps li { border-top: 3px solid var(--oxide); padding-right: 0; }
  .process__steps::before { display: none; }
  .field__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 150px; grid-template-areas: "a b" "a c" "d e"; }
  .gyp__body { grid-template-columns: 1fr; }
  .reaction { grid-template-columns: 1fr; justify-items: center; gap: .4rem; }
  .reaction__end { width: 170px; }
  .reaction__arrow, .js .tech.is-in .reaction__arrow { clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%); width: 100%; margin: 0; padding-bottom: 2rem; }
  .reaction__arrow span, .reaction__arrow strong { padding-right: 0; }
  .versus th, .versus td { padding: .7rem .5rem; font-size: .92rem; }
  .analysis__grid { grid-template-columns: 1fr; }
  .chart__row { grid-template-columns: 7rem 1fr 4rem; }
  .apply__grid { grid-template-columns: 1fr; }
  .waste__grid, .press__grid { grid-template-columns: 1fr; }
  .ore__steps { grid-template-columns: 1fr 1fr; }
  .overview__grid { grid-template-columns: 1fr; }
  .card--lead { grid-row: auto; min-height: 320px; }
  .ore__steps li:nth-child(3) { grid-column: 1 / -1; }
  .residues { grid-template-columns: 1fr 1fr; }
  .equip__grid { grid-template-columns: 1fr 1fr; }
  .pin b { font-size: .68rem; }
  .about__facts { gap: 1.4rem; }
  .about__facts dd { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .slide__bg, .slide__inner, .slide__title .line > span, .slide__lede, .slide__actions { animation: none !important; transition: none; transform: none; opacity: 1; }
  .slide:not(.is-on) .slide__bg, .slide:not(.is-on) .slide__inner { opacity: 0; }
  .trade.is-on::before { animation: none; transform: scaleX(1); }
  .trade::before { transition: none; }
  .routes__lines path { stroke-dashoffset: 0; transition: none; }
  .routes__stops, .routes__labels { opacity: 1; transition: none; }
  .routes__trucks { display: none; }
  .logi.is-live .routes__hub .ring, .logi.is-live .wheel { animation: none; }
  .wall, .sheet, .sheet__tag { transition: none; }
  .sheet .screw { scale: 1; animation: none !important; }
  .js [data-reveal], .js .field__grid img, .js .process__steps li { opacity: 1; translate: none; transition: none; }
  .js .compare__bar span, .js .chart__bar i { width: var(--v); transition: none; }
  .js .tech .reaction__arrow { clip-path: polygon(0 18%, 86% 18%, 86% 0, 100% 50%, 86% 100%, 86% 82%, 0 82%); transition: none; }
  .js .tech .reaction__end--out, .js .ore__photos[data-reveal] .ore__b { scale: 1; opacity: 1; translate: none; transition: none; }
  .process__steps::before { transform: none; transition: none; }
  .fert__head.is-in .fert__mascot { animation: none; }
  .pin::after, .press__item--video::after { animation: none; }
  .js .equip figure, .js .wall-build span { opacity: 1; translate: none; animation: none !important; }
  .menu__list { transition: none; }
  .banner__bg { transform: none; animation: none; }
  .js .banner__title .w > span, .js .banner__group, .js .banner__line { translate: none; opacity: 1; transition: none; }
  .to-top { transition: none; }
  .js .ore__steps li { opacity: 1; translate: none; transition: none; }
  .js .overview__grid .card { opacity: 1; translate: none; transition: none; }
  .js .fleet figure { opacity: 1; translate: none; transition: none; }
  .js .bpin { opacity: 1; transition: none; }
  .branches__map.is-in .bpin__ring { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Privacy and 404 pages ---------- */
.legal { padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 3rem); background: var(--paper); }
.legal__body { max-width: 46rem; margin: 0 auto; color: var(--graphite); line-height: 1.7; }
.legal__body h2 { font: 700 1.25rem var(--display); color: var(--canopy); margin: 2rem 0 .4rem; }
.legal__body h2:first-child, .legal__date + h2 { margin-top: 0; }
.legal__body p { margin: 0 0 .9rem; }
.legal__body a:not(.btn) { color: var(--leaf-ink); font-weight: 600; }
.legal__date { color: var(--muted); margin-bottom: 1.6rem !important; }
.legal__links { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .6rem; }
.legal__links a { font-size: 1.05rem; }

/* ---------- Top bar: main menu in the middle ---------- */
.nav__main { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.8rem); }
@media (min-width: 1000px) {
  .nav__main { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
}
@media (max-width: 720px) {
  .nav__main { display: contents; }
}

/* ---------- Footer (animated build-in; design from hafa-footer.html) ---------- */
.hpf {
  --hpf-bg: var(--canopy); --hpf-accent: var(--lime); --hpf-rule: #325847; --hpf-muted: #b5c7bd;
  --hpf-ease: cubic-bezier(.16, 1, .3, 1);
  position: relative; background: var(--hpf-bg); color: #fff; padding: 72px var(--gutter) 18px; isolation: isolate;
}
.hpf a { color: inherit; text-decoration: none; }
.hpf p { margin: 0; }
.hpf-wave { position: absolute; left: 0; right: 0; bottom: 100%; height: 70px; width: 100%; display: block; pointer-events: none; }
.hpf-wave path { fill: var(--hpf-bg); }
.hpf-leaves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hpf-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(600px 300px at 15% 0%, rgba(140, 198, 63, .16), transparent 70%); }
.hpf-wrap { max-width: var(--max); margin: 0 auto; position: relative; }

.hpf-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 42px; }
.hpf-logo { position: relative; display: block; overflow: hidden; }
.hpf-logo img { height: 46px; width: auto; display: block; }
.hpf-logo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); }
.hpf-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 1.06rem; font-weight: 500; }
.hpf-nav a { position: relative; }
.hpf-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--hpf-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.hpf-nav a:hover::after, .hpf-nav a:focus-visible::after { transform: scaleX(1); }

.hpf-rule { position: relative; height: 1px; }
.hpf-rule::before { content: ""; position: absolute; inset: 0; background: var(--hpf-rule); }
.hpf-rule::after { content: ""; position: absolute; top: -2px; left: 0; width: 60px; height: 5px; border-radius: 3px; opacity: 0; background: radial-gradient(closest-side, #d6ff8a, rgba(140, 198, 63, .6), transparent); }

.hpf-mid { display: grid; grid-template-columns: 326px 1fr; gap: 64px; padding: 34px 0 46px; }
.hpf-h { font: 700 1.06rem var(--body); color: #fff; margin: 0 0 16px; }

.hpf-row { display: grid; grid-template-columns: 72px 1fr; align-items: center; padding: 16px 0 17px; position: relative; font-size: .97rem; }
.hpf-row::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hpf-rule); }
.hpf-row span { color: var(--hpf-muted); }
.hpf-row b { font-weight: 600; }
.hpf-type { display: inline-block; white-space: nowrap; position: relative; }

.hpf-cols { list-style: none; margin: 0; padding: 4px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.hpf-branch { position: relative; padding: 28px 10px 0 14px; min-height: 104px; }
.hpf-branch::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 0; width: 2px; background: var(--hpf-accent); }
.hpf-branch h4 { font: 600 1.06rem var(--body); color: #fff; margin: 0 0 8px; }
.hpf-branch p { font-size: .88rem; line-height: 1.65; color: var(--hpf-muted); }
.hpf-pin { position: absolute; left: -5px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--hpf-accent); box-shadow: 0 0 0 3px var(--hpf-bg); z-index: 2; }
.hpf-pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--hpf-accent); opacity: 0; }
.hpf-route { position: absolute; top: 9px; left: 0; height: 2px; z-index: 1; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(140, 198, 63, .55) 0 8px, transparent 8px 14px); }
.hpf-truck { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #e8ffc2; box-shadow: 0 0 10px 3px rgba(173, 232, 92, .7); opacity: 0; }

.hpf-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 24px; font-size: .88rem; color: var(--hpf-muted); }

@media (max-width: 900px) {
  .hpf-mid { grid-template-columns: 1fr; gap: 36px; }
  .hpf-cols { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .hpf-route { display: none; }
}

/* Build-in as the footer scrolls into view */
.js .hpf [data-r] { opacity: 0; transform: translateY(16px); filter: blur(5px); transition: opacity .7s var(--hpf-ease), transform .7s var(--hpf-ease), filter .7s var(--hpf-ease); transition-delay: var(--d, 0s); }
.js .hpf [data-r="left"] { transform: translateX(-16px); }
.js .hpf.is-in [data-r] { opacity: 1; transform: none; filter: none; }
.js .hpf-wave { transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--hpf-ease); }
.js .hpf.is-near .hpf-wave { transform: scaleY(1); }
.js .hpf-logo { opacity: 0; transform: scale(.6) rotate(-14deg); filter: blur(6px); transition: opacity .8s var(--hpf-ease), transform .9s cubic-bezier(.34, 1.5, .5, 1), filter .8s var(--hpf-ease); }
.js .hpf.is-in .hpf-logo { opacity: 1; transform: none; filter: none; }
.js .hpf.is-in .hpf-logo::after { animation: hpf-sheen 1s ease-in-out .7s both; }
@keyframes hpf-sheen { to { transform: translateX(120%); } }
.js .hpf .hpf-rule::before, .js .hpf .hpf-row::before { transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.65, 0, .35, 1); transition-delay: var(--d, 0s); }
.js .hpf.is-in .hpf-rule::before, .js .hpf.is-in .hpf-row::before { transform: scaleX(1); }
.js .hpf.is-in .hpf-rule::after { animation: hpf-spark .9s cubic-bezier(.65, 0, .35, 1) both; animation-delay: var(--d, 0s); }
@keyframes hpf-spark { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 60px); opacity: 0; } }
/* Typewriter: the real text stays in the page, only its visibility is clipped */
.js .hpf .hpf-type { clip-path: inset(0 100% 0 0); }
.js .hpf.is-in .hpf-type { animation: hpf-type var(--t, .6s) steps(var(--n)) both; animation-delay: var(--d); }
.js .hpf .hpf-type::after { content: ""; position: absolute; right: -3px; top: 2px; bottom: 2px; width: 2px; background: var(--hpf-accent); opacity: 0; }
.js .hpf.is-in .hpf-type::after { animation: hpf-caret .9s steps(1) 3 both; animation-delay: var(--d); }
@keyframes hpf-type { to { clip-path: inset(0 0 0 0); } }
@keyframes hpf-caret { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.js .hpf .hpf-branch::before { transform: scaleY(0); transform-origin: top; transition: transform .6s var(--hpf-ease); transition-delay: calc(var(--d) + .15s); }
.js .hpf.is-in .hpf-branch::before { transform: scaleY(1); }
.js .hpf .hpf-pin { opacity: 0; transform: translateY(-26px) scale(.5); }
.js .hpf.is-in .hpf-pin { animation: hpf-drop .6s cubic-bezier(.34, 1.8, .5, 1) both; animation-delay: var(--d); }
@keyframes hpf-drop { 0% { opacity: 0; transform: translateY(-26px) scale(.5); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.js .hpf.is-in .hpf-pin::after { animation: hpf-ping 2.8s ease-out infinite; animation-delay: calc(var(--d) + .5s); }
@keyframes hpf-ping { 0% { opacity: .8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(3); } }
.js .hpf .hpf-route { clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.65, 0, .35, 1) .55s; }
.js .hpf.is-in .hpf-route { clip-path: inset(-10px 0 -10px 0); }
.js .hpf.is-in .hpf-truck { animation: hpf-drive 7s ease-in-out 1.6s infinite; }
@keyframes hpf-drive { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 46% { left: calc(100% - 10px); opacity: 1; } 52% { left: calc(100% - 10px); opacity: 0; } 100% { left: calc(100% - 10px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .js .hpf *, .js .hpf *::before, .js .hpf *::after, .js .hpf-wave { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .js .hpf .hpf-truck, .js .hpf .hpf-rule::after, .js .hpf .hpf-type::after, .js .hpf .hpf-pin::after { opacity: 0 !important; }
  .hpf-leaves { display: none; }
}

/* Home page Logistics slide: keep the truck in frame */
.slide__bg--truck { object-position: 62% 60%; }

/* Headings split into words by the anime.js motion in main.js */
.mw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.mw__i { display: inline-block; will-change: transform; }
