/* ==========================================================================
   Javalor Synergy — site styles
   Brand tokens from Brand Kit v1.0 (03_Design_Assets/brand.css)
   ========================================================================== */
:root {
  --green: #1F6B3F;
  --green-deep: #175331;
  --navy: #12304A;
  --navy-deep: #0C2236;
  --gold: #E3A72F;
  --gold-deep: #C98F1C;
  --clay: #A4572D;
  --sprout: #A8D08D;
  --cream: #F8F5EC;
  --leaf: #5B962F;
  --charcoal: #2B2F33;
  --mist: #E8ECE9;
  --white: #FFFFFF;

  --font: Lato, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(18, 48, 74, .06), 0 8px 28px rgba(18, 48, 74, .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 900; letter-spacing: -.005em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); }
h3, .h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Eyebrow: gold seed + label ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 14px; height: 9px; background: var(--gold);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; transform: rotate(-18deg);
}
.eyebrow--light { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--navy); --bd: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  font: 700 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); color: var(--fg); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 52px; padding: 13px 26px; font-size: 1rem; }
.btn--gold:hover { --bg: #EDB548; --bd: #EDB548; }
.btn--green { --bg: var(--green); --fg: #fff; --bd: var(--green); }
.btn--green:hover { --bg: var(--green-deep); --bd: var(--green-deep); }
.btn--navy { --bg: var(--navy); --fg: #fff; --bd: var(--navy); }
.btn--navy:hover { --bg: var(--navy-deep); --bd: var(--navy-deep); }
.btn--light { --bg: #fff; --fg: var(--clay); --bd: #fff; }
.btn--outline { --bg: transparent; --fg: var(--green); --bd: var(--green); }
.btn--outline:hover { --bg: var(--green); --fg: #fff; }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.85); }
.btn--outline-light:hover { --bg: #fff; --fg: var(--green); --bd: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.88); font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; min-height: 38px; align-items: center; }
.topbar__list { display: flex; gap: 6px 24px; list-style: none; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.header.is-scrolled { border-color: var(--mist); box-shadow: 0 6px 24px rgba(18,48,74,.07); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.header__logo img { width: 190px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px; list-style: none; }
.nav__list a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--navy); font-weight: 500; font-size: .95rem; text-decoration: none; position: relative; }
.nav__list a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; margin: auto; transition: transform .25s, background .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Site 2 preview link (home only) ---------- */
.site2-bar { background: var(--cream); border-bottom: 1px solid var(--mist); font-size: .92rem; }
.site2-bar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding-block: 6px; }
.site2-bar p { margin: 0; color: var(--charcoal); }
.site2-bar strong { display: inline-block; background: var(--navy); color: #fff; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; margin-right: 8px; }
.site2-bar a { font-weight: 700; color: var(--green); white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; gap: 4px; }
.site2-bar__links { display: inline-flex; gap: 20px; }
@media (max-width: 480px) { .site2-bar p span { display: none; } .site2-bar p::after { content: "Redesigns"; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    url("../img/contour-light.svg") right -120px bottom -40px / 1100px auto no-repeat,
    radial-gradient(1200px 600px at 85% 20%, rgba(91,150,47,.35), transparent 60%),
    var(--green);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 88px 0 96px; }
.hero__title { color: #fff; font-size: clamp(2.3rem, 1.3rem + 3.1vw, 3.5rem); line-height: 1.05; letter-spacing: -.01em; font-weight: 900; margin-bottom: 22px; }
.hero__title-gold { color: var(--gold); }
.hero__lead { font-size: 1.125rem; max-width: 34ch; color: rgba(255,255,255,.92); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { position: relative; min-height: 420px; display: grid; align-items: end; }
.hero__photo { position: absolute; inset: 0 0 60px 40px; width: calc(100% - 40px); height: calc(100% - 60px); object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0,0,0,.25); }

/* Hero notes: a field docket and a desk checklist, laid on the table */
.jots { position: relative; display: grid; width: 100%; max-width: 500px; justify-self: end; padding: 8px 0 12px; }
.jot {
  position: relative; display: block; text-decoration: none; color: var(--charcoal);
  border-radius: 6px; padding: 26px 26px 20px;
  box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 18px 40px rgba(6,30,18,.28);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.jot--field {
  width: 88%; transform: rotate(-2.2deg);
  background: var(--cream);
}
.jot--desk {
  width: 84%; justify-self: end; margin-top: -10px; transform: rotate(1.6deg);
  background: #fff; border-top: 5px solid var(--navy);
}
.jot:hover, .jot:focus-visible { transform: rotate(0) translateY(-4px); box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 26px 50px rgba(6,30,18,.34); z-index: 2; }
.jot:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.jot__tape {
  position: absolute; top: -11px; left: 50%; width: 96px; height: 24px; margin-left: -48px;
  background: rgba(227,167,47,.78); transform: rotate(-4deg);
  clip-path: polygon(3% 0, 97% 6%, 100% 50%, 96% 100%, 2% 94%, 0 45%);
}
.jot__kind { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.jot--field .jot__kind { color: var(--green); }
.jot--desk .jot__kind { color: var(--navy); }
.jot__title { display: block; font-size: 1.12rem; font-weight: 900; line-height: 1.25; color: var(--navy-deep); margin-bottom: 10px; max-width: 24ch; }
.jot__list { list-style: none; margin: 0 0 12px; padding: 0; }
.jot__list li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.35; padding: 8px 0; min-height: 34px; }
.jot--field .jot__list li { border-bottom: 1px solid rgba(31,107,63,.14); }
.jot--desk .jot__list li + li { border-top: 1px dashed rgba(18,48,74,.14); }
.tick { width: 20px; height: 20px; flex: none; margin-top: -1px; overflow: visible; }
.tick path { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .45s var(--ease) forwards; }
.jot--field .tick path { stroke: var(--green); }
.jot--desk .tick path { stroke: var(--gold-deep); }
.jot__list li:nth-child(1) .tick path { animation-delay: .7s; }
.jot__list li:nth-child(2) .tick path { animation-delay: .95s; }
.jot__list li:nth-child(3) .tick path { animation-delay: 1.2s; }
.jot__list li:nth-child(4) .tick path { animation-delay: 1.45s; }
.jot--desk .jot__list li .tick path { animation-delay: calc(var(--d, 0s) + 1.1s); }
.jot--desk .jot__list li:nth-child(2) { --d: .25s; }
.jot--desk .jot__list li:nth-child(3) { --d: .5s; }
.jot--desk .jot__list li:nth-child(4) { --d: .75s; }
.jot__go { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--green); border-bottom: 2px solid rgba(31,107,63,.25); padding-bottom: 1px; }
.jot--desk .jot__go { color: var(--navy); border-bottom-color: rgba(18,48,74,.2); }
.jot:hover .jot__go { border-bottom-color: currentColor; }
.hero__photo + .jots { max-width: 420px; justify-self: start; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 0 5px rgba(227,167,47,.2); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Hero entrance */
.hero__copy > * { opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease) forwards; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__visual { opacity: 0; animation: rise .8s .2s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Audience router ---------- */
.router { background: var(--cream); border-bottom: 1px solid var(--mist); }
.router__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; transform: translateY(-36px); margin-bottom: -36px; }
.router__card {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 52px 20px 22px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none;
  border-top: 4px solid var(--green); transition: transform .25s var(--ease), box-shadow .25s;
}
.router__card:nth-child(2) { border-top-color: var(--leaf); }
.router__card:nth-child(3) { border-top-color: var(--navy); }
.router__card:nth-child(4) { border-top-color: var(--clay); }
.router__card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(18,48,74,.14); }
.router__who { font-size: .85rem; color: #5c6670; }
.router__do { font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.router__arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--green); font-weight: 700; transition: background .2s, color .2s; }
.router__card:hover .router__arrow { background: var(--gold); color: var(--navy); }
.router { padding-bottom: 44px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section__head { max-width: 720px; margin-bottom: 44px; }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section__intro { font-size: 1.075rem; color: #4a535c; }

/* ---------- Strengths panels ---------- */
.strengths { background: var(--cream); padding-top: 72px; }
.strengths__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel {
  position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-lg); padding: 40px;
  display: flex; flex-direction: column; gap: 26px;
}
.panel::after { content: ""; position: absolute; inset: auto -180px -160px auto; width: 560px; height: 380px; background: url("../img/contour-light.svg") center / contain no-repeat; pointer-events: none; }
.panel > * { position: relative; z-index: 1; }
.panel--green { background: var(--green); }
.panel--navy { background: var(--navy); }
.panel h3 { color: #fff; font-size: clamp(1.4rem, 1.1rem + .9vw, 1.75rem); font-weight: 700; }
.panel__top p { color: rgba(255,255,255,.88); margin: 0; }
.panel__tag { display: inline-block; font-size: .74rem !important; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold) !important; margin-bottom: 12px !important; }
.services { list-style: none; display: grid; gap: 2px; }
.services li { display: grid; gap: 2px; padding: 14px 0 14px 28px; border-top: 1px solid rgba(255,255,255,.14); position: relative; scroll-margin-top: 110px; }
.services li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 8px; background: var(--gold); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; transform: rotate(-18deg); }
.services li:target { background: rgba(255,255,255,.08); border-radius: 10px; }
.services strong { font-weight: 700; color: #fff; }
.services span { font-size: .92rem; color: rgba(255,255,255,.78); }
.panel__note { margin-top: auto !important; font-size: .88rem; color: rgba(255,255,255,.8); border-left: 3px solid var(--gold); padding-left: 14px; margin: 0; }
.panel__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.panel--green .panel__actions { margin-top: auto; }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--cream); border-radius: 999px; border: 1px solid var(--mist); }
.tab { border: 0; background: transparent; font: 700 .92rem var(--font); color: var(--navy); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; min-height: 42px; }
.tab:hover { background: rgba(18,48,74,.06); }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; }

/* ---------- Journey ---------- */
.journey { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.journey::before { content: ""; position: absolute; top: 22px; left: 22px; width: calc(80% + 15.4px); height: 2px; background: repeating-linear-gradient(90deg, var(--sprout) 0 10px, transparent 10px 18px); }
.journey li { position: relative; }
.journey__n { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 16px; box-shadow: 0 0 0 6px #fff; }
.journey li:last-child .journey__n { background: var(--gold); color: var(--navy); }
.journey--navy .journey__n { background: var(--navy); }
.journey--navy::before { background: repeating-linear-gradient(90deg, #9fb0bf 0 10px, transparent 10px 18px); }
.journey h3 { font-size: 1.02rem; margin-bottom: 6px; }
.journey p { font-size: .92rem; color: #555f69; margin: 0; }
.how__panel { animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- About ---------- */
.about { background: var(--cream) url("../img/contour-green.svg") left -260px top 40px / 900px auto no-repeat; }
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.about__lead { font-size: 1.2rem; font-weight: 500; color: var(--green); }
.about__mv { display: grid; gap: 16px; margin: 28px 0 0; }
.about__mv div { background: #fff; border-radius: var(--radius); padding: 18px 20px; border-left: 4px solid var(--green); }
.about__mv div + div { border-left-color: var(--gold); }
.about__mv dt { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.about__mv dd { margin: 0; font-size: .95rem; }
.why { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.why__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 18px; }
.why__list { list-style: none; display: grid; gap: 16px; }
.why__list li { position: relative; padding-left: 30px; font-size: .97rem; }
.why__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 9px; background: var(--gold); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; transform: rotate(-18deg); }
.why__list strong { color: var(--navy); }

/* ---------- Hidden-until-verified sections ---------- */
.impact { background: var(--navy); color: #fff; }
.impact h2 { color: #fff; }
.impact__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.impact__n { display: block; font-size: 2.6rem; font-weight: 700; color: var(--gold); }
.quotes__grid, .team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; }
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 14px; font-size: 1.05rem; color: var(--navy); }
.quote figcaption { font-size: .85rem; color: #5c6670; }
.person img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; margin-bottom: 14px; background: var(--mist); }
.person__role { color: var(--green); font-weight: 700; margin-bottom: 6px; }

/* ---------- Tenders ---------- */
.tenders { background: var(--clay) url("../img/contour-light.svg") right -200px bottom -120px / 1000px auto no-repeat; color: #fff; }
.tenders h2 { color: #fff; }
.tenders__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tenders__lead { font-size: 1.1rem; color: rgba(255,255,255,.92); }
.tenders__offer { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 30px; }
.tenders__offer li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 12px 14px; font-size: .92rem; font-weight: 500; }
.docs { background: #fff; color: var(--charcoal); border-radius: var(--radius-lg); padding: 34px; box-shadow: 0 30px 60px rgba(60,20,0,.25); }
.docs h3 { font-size: 1.3rem; }
.docs__list { list-style: none; margin: 18px 0 24px; }
.docs__list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--mist); font-size: .95rem; }
.docs__list em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--green); background: rgba(31,107,63,.08); padding: 3px 10px; border-radius: 999px; white-space: nowrap; align-self: center; }
.docs__steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: d; }
.docs__steps li { counter-increment: d; font-size: .8rem; background: var(--cream); border-radius: 10px; padding: 10px; }
.docs__steps li::before { content: counter(d); display: block; font-weight: 700; color: var(--clay); }
.docs__steps strong { display: block; color: var(--navy); }

/* ---------- FAQs ---------- */
.faqs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.faqs__group h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-bottom: 12px; }
details { border-bottom: 1px solid var(--mist); }
summary { list-style: none; cursor: pointer; padding: 14px 32px 14px 0; font-weight: 700; color: var(--navy); position: relative; font-size: .97rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.4rem; font-weight: 400; color: var(--green); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { font-size: .94rem; color: #4a535c; padding-bottom: 14px; margin: 0; }

/* ---------- Contact & forms ---------- */
.contact { background: var(--cream); }
.contact__grid { display: grid; grid-template-columns: 1.45fr .85fr; gap: 40px; align-items: start; }
.contact__forms h2 { max-width: 20ch; }
.tabs--forms { margin: 8px 0 20px; flex-wrap: wrap; border-radius: 18px; background: #fff; }
.tabs--forms .tab { border-radius: 14px; }
.form { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.form__lead { margin-bottom: 20px; }
.form__lead strong { color: var(--navy); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .88rem; font-weight: 700; color: var(--navy); }
.hint { font-weight: 400; color: #6b747c; }
input, select, textarea {
  width: 100%; font: 400 1rem var(--font); color: var(--charcoal);
  background: #fff; border: 1.5px solid #CFD6D2; border-radius: 10px; padding: 11px 13px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,107,63,.14); }
.is-invalid input, .is-invalid select, .is-invalid textarea, input.is-invalid, select.is-invalid, textarea.is-invalid { border-color: #B3261E; box-shadow: 0 0 0 4px rgba(179,38,30,.1); }
.field__error { color: #B3261E; font-size: .82rem; }
.choice { border: 0; padding: 0; margin: 0; flex-direction: row; flex-wrap: wrap; gap: 18px; align-items: center; }
.choice legend { margin-bottom: 6px; width: 100%; }
.choice label, .consent { display: inline-flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: .92rem; color: var(--charcoal); cursor: pointer; }
.choice input, .consent input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--green); flex: none; }
.consent.is-invalid { color: #B3261E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 14px 0 0; font-size: .95rem; min-height: 1.4em; }
.form__status.is-error { color: #B3261E; }
.form__status.is-success { color: var(--green); font-weight: 700; }
.form.is-done .form__grid, .form.is-done button[type="submit"] { display: none; }
.form.is-done .form__status { font-size: 1.05rem; padding: 18px; border-radius: 12px; background: rgba(168,208,141,.3); color: var(--green-deep); }
.fallback { margin-top: 18px; background: #fff; border: 2px dashed var(--gold); border-radius: var(--radius); padding: 20px; }
.fallback__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__card { background: var(--navy); color: rgba(255,255,255,.9); border-radius: var(--radius-lg); padding: 30px; position: sticky; top: 104px; }
.contact__card h3 { color: #fff; font-size: 1.3rem; }
.contact__addr { margin-bottom: 16px; }
.contact__list { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; font-size: .95rem; }
.contact__list li { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.contact__list li > span:first-child { color: var(--sprout); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; padding-top: 2px; }
.contact__card a { color: #fff; }
.contact__card a:hover { color: var(--gold); }
.map { border-radius: 12px; overflow: hidden; margin-bottom: 14px; background: var(--navy-deep); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; }
.contact__card .link-arrow { color: var(--gold); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.78); font-size: .93rem; }
.footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__brief { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 48px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brief-title { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.footer__brief p { margin: 0; }
.brief-form { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.brief-form input[type="email"] { flex: 1 1 220px; border: 0; }
.brief-form .form__status { flex-basis: 100%; margin: 0; color: var(--sprout); }
.brief-form .form__status.is-error { color: #FFB4A9; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; padding: 52px 0; }
.footer__grid h3 { color: var(--gold); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer__grid ul { list-style: none; display: grid; gap: 8px; }
.footer__about img { width: 200px; height: auto; margin-bottom: 18px; }
.footer__tag { color: var(--sprout); font-weight: 500; }
.footer__faq { margin: 14px 0 0; font-size: .95rem; }
.footer__faq a { font-weight: 700; }
address { font-style: normal; line-height: 1.8; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: .82rem; }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }
.footer__legal p { margin: 0; }

/* ---------- Floating buttons ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: #1F6B3F; color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s var(--ease); }
.wa-float:hover { transform: translateY(-2px); color: #fff; background: var(--green-deep); }
.to-top { position: fixed; right: 24px; bottom: 86px; z-index: 59; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { color: var(--gold); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Simple pages (privacy, terms, 404) ---------- */
.page-hero { background: var(--green) url("../img/contour-light.svg") right -200px bottom -80px / 900px auto no-repeat; color: #fff; padding: 72px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,.88); max-width: 60ch; margin: 0; }
.prose { max-width: 760px; padding: 64px 0 96px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.notice { background: rgba(227,167,47,.14); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 8px; font-size: .92rem; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; background: var(--cream) url("../img/contour-green.svg") center bottom / 1100px auto no-repeat; }
.notfound img { width: 96px; margin: 0 auto 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__list a { padding: 8px 9px; font-size: .9rem; }
  .nav { gap: 16px; }
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .journey::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px; border-top: 1px solid var(--mist); box-shadow: 0 24px 40px rgba(18,48,74,.15);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; }
  .nav__list a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--mist); border-radius: 0; }
  .nav__list a::after { display: none; }
  .nav__cta { margin-top: 18px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 80px; }
  .hero__visual { min-height: 0; }
  .hero__photo { position: relative; inset: auto; width: 100%; height: 280px; margin-bottom: -60px; }
  .hero__photo + .jots { justify-self: center; }
  .jots { justify-self: center; }
  .router__grid { grid-template-columns: 1fr 1fr; }
  .strengths__grid, .about__grid, .tenders__grid, .contact__grid { grid-template-columns: 1fr; }
  .faqs__grid { grid-template-columns: 1fr; gap: 12px; }
  .contact__card { position: static; }
  .impact__grid { grid-template-columns: 1fr 1fr; }
  .quotes__grid, .team__grid { grid-template-columns: 1fr; }
  .footer__brief { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar { display: none; }
  .header__logo img { width: 180px; }
  .section { padding: 72px 0; }
  .hero__lead { font-size: 1.05rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .jot { padding: 22px 18px 16px; }
  .jot--field { width: 94%; transform: rotate(-1.4deg); }
  .jot--desk { width: 92%; transform: rotate(1deg); margin-top: -8px; }
  .router__grid { grid-template-columns: 1fr; gap: 10px; }
  .panel { padding: 28px 22px; }
  .panel__actions .btn { flex: 1 1 100%; }
  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey li { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding-bottom: 22px; }
  .journey__n { grid-row: span 2; margin: 0; }
  .journey h3 { margin: 10px 0 2px; }
  .section__head--split .tabs { width: 100%; }
  .section__head--split .tab { flex: 1; }
  .why, .docs, .form, .contact__card { padding: 24px 18px; }
  .tenders__offer { grid-template-columns: 1fr; }
  .docs__steps { grid-template-columns: 1fr 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .tabs--forms { display: grid; grid-template-columns: 1fr; width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .wa-float { right: 14px; bottom: 14px; padding: 14px; }
  .wa-float__label { display: none; }
  .to-top { right: 20px; bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .tick path { stroke-dashoffset: 0; }
  .jot { transition: none; }
  .hero__copy > *, .hero__visual { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .header, .wa-float, .to-top, .router, .contact__forms, .footer__brief { display: none !important; }
}

/* ==========================================================================
   Multi-page components (v2)
   ========================================================================== */
.section--cream { background: var(--cream); }
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav__list a[aria-current="page"]::after, .nav__list .is-active > a::after { transform: scaleX(1); }
.nav__cta[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--navy); }

/* Dropdown (desktop: hover or focus; all sizes: toggle button) */
.sub-toggle { width: 26px; height: 32px; margin-left: -6px; border: 0; background: transparent; cursor: pointer; border-radius: 6px; display: grid; place-items: center; color: var(--navy); }
.sub-toggle::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.sub-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
.sub {
  position: absolute; top: calc(100% + 10px); left: -12px; z-index: 70; width: 560px; padding: 18px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(18,48,74,.18); border: 1px solid var(--mist);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.sub__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav__list .sub a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; font-size: .9rem; }
.nav__list .sub a::after { display: none; }
.sub a strong { color: var(--navy); font-weight: 700; }
.sub a span { color: #5c6670; font-size: .82rem; line-height: 1.4; font-weight: 400; }
.nav__list .sub a:hover, .nav__list .sub a[aria-current="page"] { background: var(--cream); }
.nav__list .sub a.sub__all { display: inline-flex; margin: 10px 12px 0; padding: 0; color: var(--green); font-weight: 700; }
.nav__list .sub a.sub__all:hover { background: none; }
@media (min-width: 961px) {
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .sub-toggle[aria-expanded="true"] + .sub { opacity: 1; visibility: visible; transform: none; }
  #sub-adv { left: auto; right: -12px; }
}

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; margin-bottom: 26px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .55; }
.crumbs a { color: inherit; opacity: .85; text-decoration: none; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }
.crumbs [aria-current] { opacity: .7; }

/* Page heroes, one colour per division */
.phero { position: relative; overflow: hidden; padding: 40px 0 72px; color: #fff; background-repeat: no-repeat; background-position: right -180px bottom -120px; background-size: 1000px auto; }
.phero h1 { color: inherit; font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.2rem); max-width: 20ch; margin-bottom: 16px; }
.phero__lead { font-size: 1.18rem; max-width: 58ch; margin: 0; opacity: .94; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.phero--green { background-color: var(--green); background-image: url("../img/contour-light.svg"); }
.phero--navy { background-color: var(--navy); background-image: url("../img/contour-light.svg"); }
.phero--clay { background-color: var(--clay); background-image: url("../img/contour-light.svg"); }
.phero--gold { background-color: var(--gold); background-image: url("../img/contour-green.svg"); color: var(--navy); }
.phero--cream { background-color: var(--cream); background-image: url("../img/contour-green.svg"); color: var(--navy); border-bottom: 1px solid var(--mist); }
.phero--gold h1, .phero--cream h1 { color: var(--navy); }
.phero--cream .phero__lead { color: #3d4650; }

/* CTA band + tender strip */
.cta-band { padding: 64px 0; }
.cta-band--gold { background: var(--gold); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); max-width: 26ch; margin-bottom: 6px; }
.cta-band p { margin: 0; color: var(--navy); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tender-strip { background: var(--clay) url("../img/contour-light.svg") right -260px center / 900px auto no-repeat; color: #fff; padding: 34px 0; }
.tender-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tender-strip p { margin: 0; max-width: 70ch; }

/* Home panels: links instead of long copy */
.panel__links { list-style: none; display: grid; gap: 0; }
.panel__links a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.16); color: #fff; text-decoration: none; font-weight: 700; }
.panel__links a::after { content: "→"; color: var(--gold); transition: transform .2s; }
.panel__links a:hover::after { transform: translateX(4px); }
.panel .panel__actions { margin-top: auto; }

/* Why band (home) */
.whyband { background: var(--cream); }
.whyband__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.why__list--grid { grid-template-columns: 1fr 1fr; gap: 22px 28px; }

/* Generic split layout */
.split { display: grid; grid-template-columns: 1.35fr .9fr; gap: 56px; align-items: start; }
.prose-lg p { font-size: 1.1rem; color: #3d4650; }
.aside-title { font-size: 1.1rem; margin-bottom: 14px; }

/* Values */
.values { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value { background: #fff; border-radius: var(--radius); padding: 24px 20px; border-top: 4px solid var(--green); }
.value:nth-child(2) { border-top-color: var(--leaf); }
.value:nth-child(3) { border-top-color: var(--gold); }
.value:nth-child(4) { border-top-color: var(--clay); }
.value:nth-child(5) { border-top-color: var(--navy); }
.value__n { font-weight: 900; color: var(--green); font-size: .85rem; letter-spacing: .1em; }
.value h3 { margin: 8px 0 6px; }
.value p { font-size: .94rem; margin: 0; color: #4a535c; }

/* Value-chain list (agri hub aside) */
.chain { list-style: none; display: grid; gap: 8px; }
.chain a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--cream); border-radius: 12px; color: var(--navy); font-weight: 700; text-decoration: none; transition: background .2s, transform .2s; }
.chain a:hover { background: rgba(168,208,141,.35); transform: translateX(4px); }
.chain__n { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: .85rem; flex: none; }
.chain li:last-child .chain__n { background: var(--gold); color: var(--navy); }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-grid--navy { grid-template-columns: repeat(2, 1fr); }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--charcoal); border-top: 4px solid var(--green); transition: transform .25s var(--ease), box-shadow .25s; }
.svc-grid--navy .svc-card { border-top-color: var(--navy); }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18,48,74,.14); color: var(--charcoal); }
.svc-card__n { font-weight: 900; color: var(--gold-deep); font-size: .85rem; letter-spacing: .1em; }
.svc-card h3 { margin: 0; }
.svc-card p { margin: 0 0 6px; font-size: .95rem; color: #4a535c; flex: 1; }
.svc-card__go { color: var(--green); }
.svc-grid--navy .svc-card__go { color: var(--navy); }

/* Who we work with */
.who { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.who li { padding: 24px; border-radius: var(--radius); background: var(--cream); border-left: 4px solid var(--green); }
.who--navy li { border-left-color: var(--navy); }
.who--clay li { border-left-color: var(--clay); background: #fff; box-shadow: var(--shadow); }
.who h3 { margin-bottom: 6px; }
.who p { margin: 0; font-size: .95rem; color: #4a535c; }

/* Service page */
.svc { display: grid; grid-template-columns: 1.35fr .9fr; gap: 56px; align-items: start; }
.svc__main { display: grid; gap: 48px; }
.svc__what { font-size: 1.2rem; line-height: 1.6; color: var(--navy); margin-bottom: 14px; }
.note { font-size: .93rem; color: #3d4650; background: var(--cream); border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 8px; margin: 0; }
.steps { list-style: none; display: grid; gap: 0; position: relative; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding-bottom: 26px; position: relative; }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, var(--sprout) 0 8px, transparent 8px 14px); }
.steps__n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 900; }
.steps--navy .steps__n { background: var(--navy); }
.steps--clay .steps__n { background: var(--clay); }
.steps li:last-child .steps__n { background: var(--gold); color: var(--navy); }
.steps h3 { margin: 10px 0 4px; }
.steps p { margin: 0; color: #4a535c; }
.svc__aside { display: grid; gap: 18px; position: sticky; top: 104px; }
.card-list { background: var(--cream); border-radius: var(--radius-lg); padding: 24px; }
.card-list--gain { background: #fff; border: 2px solid var(--sprout); }
.card-list h3 { margin-bottom: 12px; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: .96rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.ticks--gold li::before { border-color: var(--gold-deep); }
.sibs { padding: 6px 4px; }
.sibs h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #5c6670; margin-bottom: 8px; }
.sibs ul { list-style: none; display: grid; margin-bottom: 12px; }
.sibs a { display: block; padding: 7px 0; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--mist); font-size: .95rem; }
.sibs a:hover { color: var(--green); }
.sibs a[aria-current="page"] { color: var(--green); font-weight: 700; }

/* Farmers' Desk */
.desk { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.desk__info h2 { font-size: 1.5rem; margin-top: 8px; }
.desk__info h2 + .ticks, .desk__info h2 + p { margin-bottom: 30px; }
.desk__alt { margin-top: 20px; font-weight: 700; }

/* Contact page */
.contact__card hr { border: 0; border-top: 1px solid rgba(255,255,255,.15); margin: 20px 0 16px; }
.contact__farmers { margin: 0; font-size: .95rem; }
.contact__card .h3 { color: #fff; }

/* FAQs page */
.faqs__grid--page { grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.faqs__h { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-bottom: 10px; }

.notfound__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .values { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .has-sub { flex-wrap: wrap; }
  .nav__list > li > a { flex: 1; }
  .sub-toggle { width: 48px; height: 48px; margin: 0; border-bottom: 1px solid var(--mist); border-radius: 0; }
  .sub { position: static; width: 100%; padding: 4px 0 10px 12px; box-shadow: none; border: 0; border-radius: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .sub::before { display: none; }
  .sub-toggle[aria-expanded="true"] + .sub { display: block; }
  .sub__list { grid-template-columns: 1fr; }
  .nav__list .sub a { border-bottom: 0; padding: 10px 8px; }
  .sub a span { display: none; }
  .whyband__grid, .split, .svc, .desk { grid-template-columns: 1fr; gap: 36px; }
  .svc__aside { position: static; }
  .faqs__grid--page { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .phero { padding: 28px 0 52px; }
  .phero__lead { font-size: 1.05rem; }
  .phero__actions .btn, .cta-band__actions .btn { flex: 1 1 100%; }
  .values, .svc-grid, .svc-grid--navy, .why__list--grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 0; }
}
.phero--gold .eyebrow { color: var(--navy); }
.phero--gold .eyebrow::before { background: var(--navy); }

/* ==========================================================================
   Photography and motion. Same ideas as Site 2, in Site 1's own colours.
   Everything moving is switched off for visitors who prefer reduced motion.
   ========================================================================== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }
.ph { display: block; width: 100%; height: 100%; background: var(--mist); }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Hero: four photos behind the green, tinted to the brand colour, with a slow zoom */
.hero { isolation: isolate; background: var(--green); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: url("../img/contour-light.svg") right -120px bottom -40px / 1100px auto no-repeat,
              linear-gradient(90deg, rgba(23,83,49,.95) 0%, rgba(23,83,49,.8) 38%, rgba(23,83,49,.42) 70%, rgba(23,83,49,.3) 100%); }
.hero__inner { position: relative; z-index: 2; }
.hero__title > span { display: block; }
.hero__copy > .hero__title { opacity: 1; transform: none; animation: none; }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; opacity: .62; mix-blend-mode: luminosity; }
.cine__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.cine__slide.is-on { opacity: 1; z-index: 2; }
.cine__slide.is-leaving { opacity: 1; z-index: 1; transition: none; }
.cine__slide .ph { background: transparent; }
.cine__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform-origin: 50% 40%; }
@media (prefers-reduced-motion: no-preference) {
  .cine__slide.is-on img, .cine__slide.is-leaving img { animation: kenburns 9s linear both; }
  [data-cine].is-paused .cine__slide img { animation-play-state: paused; }
}
@keyframes kenburns { from { transform: scale(1.12) translate3d(0, 1.2%, 0); } to { transform: none; } }
.hero .cine__ctrl { display: flex; align-items: center; gap: 12px; max-width: 440px; margin-top: 36px; }
.cine__dots { list-style: none; display: flex; flex: 1; gap: 6px; }
.cine__dot { flex: 1; display: grid; gap: 8px; cursor: pointer; font: 700 .76rem/1 var(--font); letter-spacing: .02em; color: rgba(255,255,255,.66); }
.cine__dot:hover, .cine__dot.is-current { color: #fff; }
.cine__bar { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.26); overflow: hidden; }
.cine__bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
.cine__dot.is-run .cine__bar i { animation: cinebar 7s linear forwards; }
[data-cine].is-paused .cine__bar i { animation-play-state: paused; }
[data-cine].is-calm .cine__dot.is-current .cine__bar i { transform: none; }
@keyframes cinebar { to { transform: scaleX(1); } }
.cine__pause { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.cine__pause:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.cine__pause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cine__pause .i-play { fill: currentColor; }
.cine__pause[data-state="playing"] .i-play, .cine__pause[data-state="paused"] .i-pause { display: none; }

/* Statement: words light up as you scroll */
.manifesto { padding: clamp(80px, 10vw, 150px) 0 clamp(64px, 8vw, 112px); background: var(--white); }
.manifesto__text { max-width: 1080px; margin: 0; font-size: clamp(1.65rem, .9rem + 2.9vw, 3.3rem); line-height: 1.18; font-weight: 900; letter-spacing: -.02em; color: var(--navy); text-wrap: pretty; }
.mw { transition: color .35s ease; }
.mw--a { color: var(--green); background: linear-gradient(var(--gold), var(--gold)) 0 94% / 100% .09em no-repeat; transition: color .35s ease, background-size .7s var(--ease-out); }
.motion [data-lit] .mw { color: rgba(18,48,74,.14); }
.motion [data-lit] .mw--a { background-size: 0 .09em; }
.motion [data-lit] .mw.is-lit { color: var(--navy); }
.motion [data-lit] .mw--a.is-lit { color: var(--green); background-size: 100% .09em; }

/* Strength panels get a photo across the top */
.panel__note + .panel__actions { margin-top: 0; }
.panel__media { --rr: 0px; margin: -40px -40px 0; aspect-ratio: 16 / 9; overflow: hidden; }

/* Band of service names (decorative; the same links are in the menus) */
.marquee { overflow: hidden; padding: clamp(24px, 3.4vw, 40px) 0; background: var(--white); border-block: 1px solid var(--mist); -webkit-user-select: none; user-select: none; }
.marquee__track { display: flex; width: max-content; }
.marquee__seq { display: flex; flex: none; align-items: center; }
.marquee__item { padding: 0 .42em; font-size: clamp(2.1rem, 1.2rem + 3.8vw, 4.8rem); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; color: var(--navy); white-space: nowrap; }
.marquee__item--o { color: transparent; -webkit-text-stroke: 1.5px var(--green); }
.marquee__seed { flex: none; width: clamp(20px, 2.2vw, 34px); aspect-ratio: 14 / 9; background: var(--gold); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; transform: rotate(-18deg); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 52s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* Harvest journey: pinned and scrubbed sideways on large screens, swipeable elsewhere */
.harvest { --lead: max(20px, calc((100vw - var(--wrap)) / 2)); position: relative; color: #fff; background: var(--green-deep); }
.harvest__pin { padding: clamp(64px, 8vw, 104px) 0; background: url("../img/contour-light.svg") right -220px center / 1000px auto no-repeat; }
.harvest h2 { color: #fff; margin: 0; }
.harvest__head { display: grid; grid-template-columns: 7fr 5fr; gap: 20px 56px; align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.harvest__side p { color: rgba(255,255,255,.88); margin-bottom: 10px; }
.harvest .link-arrow { color: var(--gold); }
.harvest .link-arrow:hover { color: #fff; }
.harvest__viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--lead); scrollbar-width: none; }
.harvest__viewport::-webkit-scrollbar { display: none; }
.harvest__viewport:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: var(--radius); }
.harvest__track { list-style: none; display: flex; gap: clamp(14px, 1.6vw, 22px); width: max-content; padding-inline: var(--lead); }
.hcard { position: relative; flex: none; width: min(84vw, 500px); aspect-ratio: 9 / 10; max-height: 70vh; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); scroll-snap-align: start; }
.hcard__media { position: absolute; inset: 0; margin: 0; }
.hcard__media .ph { background: var(--navy); }
.hcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,32,20,.94) 0%, rgba(8,32,20,.6) 36%, rgba(8,32,20,0) 64%); }
.hcard__media img { transition: transform 1.2s var(--ease-out); }
.hcard:hover .hcard__media img { transform: scale(1.04); }
.hcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.2vw, 30px); }
.hcard__n { display: block; margin-bottom: 10px; font-size: clamp(2.4rem, 1.9rem + 1.8vw, 3.6rem); font-weight: 900; line-height: 1; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.hcard h3 { color: #fff; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); margin-bottom: 6px; }
.hcard p { margin: 0; max-width: 40ch; font-size: .98rem; color: rgba(255,255,255,.88); }
.harvest__foot { display: flex; align-items: center; gap: 22px; margin-top: clamp(18px, 2.2vw, 28px); }
.harvest__bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); overflow: hidden; }
.harvest__bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
.harvest__steps { list-style: none; display: flex; gap: 18px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.harvest__steps li { transition: color .3s ease; }
.harvest__steps li.is-on { color: #fff; }
.harvest.is-pinned .harvest__pin { position: sticky; top: var(--pin-top, 81px); height: calc(100vh - var(--pin-top, 81px)); display: flex; flex-direction: column; justify-content: center; padding: clamp(22px, 4.5vh, 52px) 0; overflow: hidden; }
.harvest.is-pinned .harvest__viewport { flex: 1 1 auto; min-height: 0; overflow: hidden; scroll-snap-type: none; }
.harvest.is-pinned .harvest__track { height: 100%; will-change: transform; }
.harvest.is-pinned .hcard { width: auto; height: 100%; max-height: none; }

/* Page headers with a photo beside the heading */
.phero__grid--media { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.phero__media { --rr: var(--radius-lg); position: relative; z-index: 1; margin: 0; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0,0,0,.4); }

/* Photo that follows the cursor over service cards (mouse and trackpad only) */
.peek { position: fixed; left: 0; top: 0; z-index: 80; width: 280px; aspect-ratio: 3 / 2; pointer-events: none; }
.peek img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(18,48,74,.5); opacity: 0; transform: scale(.72) rotate(-4deg); transition: opacity .25s ease, transform .5s var(--ease-out); }
.peek.is-on img { opacity: 1; transform: none; }

/* Reading progress under the header */
.header__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.header__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--gold)); transform: scaleX(0); transform-origin: 0 50%; }

/* Words rise, photos open, photos drift */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .14em; margin: 0 -.06em -.14em; }
.w > span { display: inline-block; }
.motion .wr .w > span { transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms + 60ms); }
.motion .wr.is-in .w > span { transform: none; }
.js .reveal.is-in { transition-delay: calc(var(--i, 0) * 90ms); }
@media (prefers-reduced-motion: no-preference) {
  .js .rimg { clip-path: inset(9% 7% round var(--rr, var(--radius-lg))); transition: clip-path 1.2s var(--ease-out); }
  .js .rimg img { transform: scale(1.16); transition: transform 1.6s var(--ease-out); }
  .js .rimg.is-in { clip-path: inset(0 round var(--rr, var(--radius-lg))); }
  .js .rimg.is-in img { transform: none; }
}
.motion [data-parallax] { position: relative; overflow: hidden; }
.motion [data-parallax] > .ph { position: absolute; left: 0; right: 0; top: -4.5%; bottom: auto; height: 109%; will-change: transform; }

@media (max-width: 960px) {
  .harvest__head { grid-template-columns: 1fr; }
  .phero__grid--media { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .hero::before { background: url("../img/contour-light.svg") right -260px bottom -40px / 800px auto no-repeat,
                  linear-gradient(180deg, rgba(23,83,49,.6) 0%, rgba(23,83,49,.86) 38%, rgba(23,83,49,.95) 100%); }
  .cine__slide img { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .hero .cine__ctrl { max-width: none; margin-top: 28px; }
  .panel__media { margin: -28px -22px 0; }
  .harvest__steps { display: none; }
  .hcard { max-height: 64vh; }
}
