/* ==========================================================================
   APEX FARMS NZ LIMITED — Core stylesheet
   Author: site build
   Contents:
     1.  Design tokens
     2.  Reset & base
     3.  Layout helpers
     4.  Buttons & pills
     5.  Header / navigation
     6.  Hero
     7.  Sections & components
     8.  Cards, stats, steps, accordion
     9.  Gallery & lightbox
     10. Forms
     11. Footer
     12. Utilities, motion, responsive
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  --forest:      #0d3b2a;
  --forest-700:  #12503a;
  --green:       #1e7a55;
  --green-400:   #35a374;
  --leaf:        #8cc63f;
  --gold:        #d3a53c;
  --gold-soft:   #f0dfba;
  --cream:       #fbf8f1;
  --sand:        #f2ece0;
  --ink:         #12211b;
  --body:        #4d5f57;
  --muted:       #7b8b83;
  --line:        #e3ddd0;
  --white:       #ffffff;

  --grad-dark:   linear-gradient(180deg, rgba(8,32,23,.15) 0%, rgba(8,32,23,.55) 55%, rgba(8,32,23,.88) 100%);
  --grad-green:  linear-gradient(135deg, #0d3b2a 0%, #1e7a55 100%);

  --shadow-sm:   0 1px 2px rgba(13,59,42,.06), 0 2px 8px rgba(13,59,42,.05);
  --shadow-md:   0 8px 24px rgba(13,59,42,.09), 0 2px 6px rgba(13,59,42,.05);
  --shadow-lg:   0 24px 60px rgba(13,59,42,.16), 0 6px 18px rgba(13,59,42,.07);

  --radius-sm:   8px;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-xl:   32px;

  --container:   1200px;
  --gutter:      clamp(1.25rem, 4vw, 3rem);
  --section-y:   clamp(4rem, 9vw, 7.5rem);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease:        cubic-bezier(.22, .61, .36, 1);
  --header-h:    78px;
}

/* 2. Reset & base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

h1 { font-size: clamp(2.35rem, 1.4rem + 4.2vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 1.25rem + 2.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); }
h4 { font-size: 1.125rem; letter-spacing: -.01em; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--green); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--forest); }

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

ul, ol { margin: 0 0 1.15rem; padding-left: 1.25rem; }
li { margin-bottom: .45rem; }

strong { color: var(--ink); font-weight: 650; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--green-400);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gold-soft); color: var(--forest); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--forest);
  color: #fff;
  padding: .85rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* 3. Layout helpers ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }
.container--wide   { max-width: 1360px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--cream { background: var(--cream); }
.section--sand  { background: var(--sand); }
.section--white { background: var(--white); }
.section--forest {
  background: var(--forest);
  color: rgba(255,255,255,.78);
}
.section--forest h2, .section--forest h3, .section--forest h4, .section--forest strong { color: #fff; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.075rem; color: var(--body); }
.section--forest .section-head p { color: rgba(255,255,255,.75); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.eyebrow--light { color: var(--gold-soft); }
.eyebrow--center { justify-content: center; }

.lead {
  font-size: clamp(1.075rem, 1rem + .45vw, 1.3rem);
  line-height: 1.65;
  color: var(--body);
}

/* 4. Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--green);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  cursor: pointer;
  text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease);
  box-shadow: 0 6px 18px rgba(30,122,85,.22);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(30,122,85,.28);
}
.btn:active { transform: translateY(0); }

.btn--dark   { --btn-bg: var(--forest); box-shadow: 0 6px 18px rgba(13,59,42,.24); }
.btn--gold   { --btn-bg: var(--gold); --btn-fg: #2a1f06; box-shadow: 0 6px 18px rgba(211,165,60,.3); }
.btn--white  { --btn-bg: #fff; --btn-fg: var(--forest); box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--forest);
  border-color: rgba(13,59,42,.22);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(13,59,42,.05); box-shadow: none; }
.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255,255,255,.45);
  box-shadow: none;
}
.btn--outline-light:hover { background: rgba(255,255,255,.12); box-shadow: none; }
.btn--sm { padding: .7rem 1.25rem; font-size: .875rem; }
.btn--block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--green);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  background: rgba(30,122,85,.09);
  color: var(--forest-700);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.pill--light { background: rgba(255,255,255,.14); color: #fff; }

/* 5. Header -------------------------------------------------------------- */
.topbar {
  background: var(--forest);
  color: rgba(255,255,255,.72);
  font-size: .8rem;
  letter-spacing: .01em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding-block: .35rem;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar__list { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.topbar__list li { margin: 0; display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 14px; height: 14px; opacity: .8; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,248,241,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-stuck {
  box-shadow: 0 6px 24px rgba(13,59,42,.07);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand__mark {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 13px;
  background: var(--grad-green);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(13,59,42,.22);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -.015em;
  color: var(--ink);
}
.brand__tag {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav__list {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list li { margin: 0; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: .6rem .9rem;
  border-radius: 999px;
  font-size: .935rem;
  font-weight: 550;
  color: var(--ink);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .3rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width .25s var(--ease);
}
.nav__link:hover { color: var(--green); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 18px; }
.nav__link.is-active { color: var(--green); font-weight: 650; }

.header__cta { margin-left: .6rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.nav-toggle:hover { border-color: var(--green); }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
  transition: background-color .2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .28s var(--ease), top .2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* 6. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  padding-top: clamp(4rem, 12vw, 8rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grad-dark);
}
.hero__inner { max-width: 780px; }
.hero h1 { color: #fff; margin-bottom: 1rem; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.hero p {
  font-size: clamp(1.05rem, 1rem + .45vw, 1.28rem);
  color: rgba(255,255,255,.9);
  max-width: 58ch;
}
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }

.hero--page {
  min-height: min(52vh, 480px);
  align-items: center;
  padding-top: clamp(3.5rem, 8vw, 6rem);
}
.hero--page .hero__inner { max-width: 720px; }
.hero--page::after {
  background: linear-gradient(100deg, rgba(8,32,23,.86) 0%, rgba(8,32,23,.62) 55%, rgba(8,32,23,.4) 100%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: .5rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: rgba(255,255,255,.35); }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(4.5rem, 7vw, 6rem);
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  gap: .5rem;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.scroll-cue span {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), transparent);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: scaleY(.2); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1);  transform-origin: top; opacity: 1; }
  100% { transform: scaleY(.2); transform-origin: bottom; opacity: 0; }
}

/* 7. Stats --------------------------------------------------------------- */
.stat-band {
  position: relative;
  z-index: 5;
  margin-top: calc(-1 * clamp(2.5rem, 5vw, 4.5rem));
}
.stat-band__inner {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: calc(-1 * clamp(.6rem, 1.25vw, 1rem));
  top: 12%;
  height: 76%;
  width: 1px;
  background: var(--line);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  color: var(--forest);
  letter-spacing: -.03em;
}
.stat__value sup { font-size: .5em; top: -.55em; color: var(--gold); }
.stat__label {
  margin-top: .6rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 8. Media + text split -------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
}
.split__media--tall img { aspect-ratio: 4 / 4.6; }
.split__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  max-width: 280px;
}
.split__badge .icon-circle { width: 44px; height: 44px; }
.split__badge strong { display: block; font-size: 1.05rem; color: var(--forest); }
.split__badge span { font-size: .8rem; color: var(--muted); line-height: 1.4; display: block; }
.split__media--offset::before {
  content: "";
  position: absolute;
  inset: auto auto -1.25rem -1.25rem;
  width: 55%;
  height: 55%;
  border-radius: var(--radius-lg);
  background: rgba(30,122,85,.1);
  z-index: -1;
}

/* Icons ------------------------------------------------------------------ */
.icon-circle {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(30,122,85,.1);
  color: var(--green);
}
.icon-circle svg { width: 24px; height: 24px; }
.icon-circle--gold { background: rgba(211,165,60,.16); color: #a97f21; }
.icon-circle--light { background: rgba(255,255,255,.12); color: #fff; }

/* Cards ------------------------------------------------------------------ */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30,122,85,.25);
}
.card h3 { margin-top: 1.15rem; margin-bottom: .5rem; }
.card p { font-size: .975rem; }
.card__list { list-style: none; padding: 0; margin: 1rem 0 0; }
.card__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .93rem;
  margin-bottom: .5rem;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(140,198,63,.18);
}
.card--dark {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}
.card--dark:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24); }
.card--dark p { color: rgba(255,255,255,.72); }
.card--dark .card__list li { color: rgba(255,255,255,.72); }

.card-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card-media:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-media__img { overflow: hidden; aspect-ratio: 16 / 10; }
.card-media__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.card-media:hover .card-media__img img { transform: scale(1.06); }
.card-media__body { padding: clamp(1.35rem, 2.2vw, 1.75rem); flex: 1; display: flex; flex-direction: column; }
.card-media__body h3 { margin-bottom: .55rem; }
.card-media__body p { font-size: .96rem; }
.card-media__body .link-arrow { margin-top: auto; padding-top: 1.1rem; }

/* Steps ------------------------------------------------------------------ */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.step:hover { border-color: rgba(30,122,85,.3); transform: translateX(4px); }
.step__num {
  counter-increment: step;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--grad-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}
.step__num::before { content: "0" counter(step); }
.step h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.step p { font-size: .96rem; margin: 0; }

/* Feature list ----------------------------------------------------------- */
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.check-list li {
  position: relative;
  padding-left: 2.25rem;
  margin: 0;
  font-size: .99rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(30,122,85,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e7a55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list--light li { color: rgba(255,255,255,.8); }
.check-list--light li::before {
  background-color: rgba(255,255,255,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* Quote / callout -------------------------------------------------------- */
.quote {
  position: relative;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--grad-green);
  border-radius: var(--radius-xl);
  color: #fff;
  overflow: hidden;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: -2.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 14rem;
  line-height: 1;
  color: rgba(255,255,255,.08);
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.9rem);
  line-height: 1.4;
  color: #fff;
  letter-spacing: -.015em;
}
.quote figcaption {
  margin-top: 1.5rem;
  font-size: .92rem;
  color: rgba(255,255,255,.75);
}
.quote figcaption strong { color: #fff; display: block; font-size: 1rem; }

/* CTA band --------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.cta-band img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(8,32,23,.9) 0%, rgba(13,59,42,.78) 100%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 62ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* Accordion -------------------------------------------------------------- */
.accordion { display: grid; gap: .85rem; }
.acc__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.acc__item.is-open { border-color: rgba(30,122,85,.35); box-shadow: var(--shadow-sm); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.075rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  line-height: 1.35;
}
.acc__icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(30,122,85,.1);
  display: grid;
  place-items: center;
  position: relative;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  background: var(--green);
  border-radius: 2px;
  transition: transform .25s var(--ease);
}
.acc__icon::before { width: 12px; height: 2px; }
.acc__icon::after  { width: 2px; height: 12px; }
.acc__item.is-open .acc__icon { background: var(--green); }
.acc__item.is-open .acc__icon::before,
.acc__item.is-open .acc__icon::after { background: #fff; }
.acc__item.is-open .acc__icon::after { transform: scaleY(0); }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s var(--ease);
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 1.4rem 1.35rem; font-size: .97rem; margin: 0; }

/* Table ------------------------------------------------------------------ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
table.data {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: #fff;
  font-size: .95rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
table.data th, table.data td { padding: .95rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); }
table.data th {
  width: 38%;
  font-weight: 650;
  color: var(--ink);
  background: var(--sand);
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
table.data tr:last-child th, table.data tr:last-child td { border-bottom: 0; }

/* 9. Gallery & lightbox -------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-rows: clamp(150px, 15vw, 215px);
  grid-auto-flow: dense;
  gap: 1rem;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--sand);
  height: 100%;
  border: 0;
  padding: 0;
  display: block;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item figcaption,
.gallery__item .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(8,32,23,.85));
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  text-align: left;
  transform: translateY(6px);
  opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery__item:hover figcaption,
.gallery__item:hover .cap,
.gallery__item:focus-visible figcaption,
.gallery__item:focus-visible .cap { opacity: 1; transform: translateY(0); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.gallery-filter button {
  padding: .6rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--body);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .22s var(--ease);
}
.gallery-filter button:hover { border-color: var(--green); color: var(--green); }
.gallery-filter button.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}
.gallery__item.is-hidden { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6,22,16,.94);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 80vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  object-fit: contain;
}
.lightbox__caption {
  margin-top: 1rem;
  text-align: center;
  color: rgba(255,255,255,.8);
  font-size: .95rem;
}
.lightbox__btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.lightbox__btn:hover { background: rgba(255,255,255,.22); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__prev  { left: clamp(.75rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: clamp(.75rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover, .lightbox__next:hover { transform: translateY(-50%) scale(1.06); }

/* 10. Forms -------------------------------------------------------------- */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.6rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.field label .req { color: #c0483b; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-family: inherit;
  font-size: .97rem;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30,122,85,.12);
}
.field input::placeholder, .field textarea::placeholder { color: #a8b3ad; }
.field .error-msg { font-size: .8rem; color: #c0483b; display: none; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #c0483b; background: #fff6f5; }
.field.has-error .error-msg { display: block; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d5f57' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .875rem; }
.consent input { width: 18px; height: 18px; margin-top: .2rem; flex: none; accent-color: var(--green); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.form-status {
  display: none;
  padding: .95rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  margin-bottom: 1.25rem;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(30,122,85,.1); color: var(--forest-700); border: 1px solid rgba(30,122,85,.25); }
.form-status--err { background: #fdf0ee; color: #a53a2e; border: 1px solid #f0cdc7; }

.contact-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  height: 100%;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.contact-card p, .contact-card address {
  font-size: .93rem;
  font-style: normal;
  margin: 0;
  line-height: 1.6;
}
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  line-height: 0;
  background: var(--sand);
}
.map-embed iframe { width: 100%; height: clamp(280px, 40vw, 440px); border: 0; }

/* 11. Footer ------------------------------------------------------------- */
.site-footer {
  background: #0a2c20;
  color: rgba(255,255,255,.66);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  font-size: .94rem;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}
.site-footer a { color: rgba(255,255,255,.66); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: .6rem; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: rgba(255,255,255,.5); }
.site-footer .brand { margin-bottom: 1.25rem; }
.footer-contact li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .9rem;
  line-height: 1.55;
}
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: .18rem; color: var(--leaf); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom li { margin: 0; }

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--forest);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s var(--ease);
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--green); }
.to-top svg { width: 18px; height: 18px; }

/* 12. Utilities & motion ------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }

  .nav-toggle { display: grid; }
  /* the CTA lives inside the drawer at this width, so keep it visible */
  .header__cta { display: flex; margin-left: 0; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(400px, 88vw);
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
    box-shadow: -20px 0 60px rgba(13,59,42,.18);
    transform: translateX(105%);
    transition: transform .38s var(--ease);
    overflow-y: auto;
    z-index: 120;
  }
  .nav.is-open { transform: translateX(0); }

  /* backdrop-filter on the header would make it the containing block for the
     fixed drawer, clipping it to the header — drop it while the menu is open */
  body.nav-open .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--cream);
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav__link {
    display: block;
    padding: .95rem .25rem;
    font-size: 1.15rem;
    font-family: var(--font-display);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav__link::after { display: none; }
  .nav .btn { margin-top: 1.75rem; width: 100%; }
  .nav-toggle { position: relative; z-index: 130; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8,32,23,.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
    z-index: 110;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  .split { grid-template-columns: 1fr; gap: 2.25rem; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 16 / 10; }
  .split__media--tall img { aspect-ratio: 16 / 11; }
  .split__badge { position: static; margin-top: 1.25rem; max-width: none; }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
  .stat:nth-child(2)::after { display: none; }

  .topbar__list li.is-optional { display: none; }
}

@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: min(80vh, 640px); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 2; }
  .step { grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.25rem; }
  .step__num { width: 52px; height: 52px; border-radius: 15px; font-size: 1.2rem; }
  .topbar { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
  .lightbox__prev:hover, .lightbox__next:hover { transform: scale(1.06); }
}

@media (max-width: 460px) {
  .stat-band__inner { grid-template-columns: 1fr; }
  .stat::after { display: none !important; }
  .stat { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
  .stat:last-child { padding-bottom: 0; border-bottom: 0; }
  .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .topbar, .to-top, .cta-band, .nav, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
}
