/* ==========================================================================
   Jamberoo Native Nursery — "a walk through the garden"
   Light, warm, earthy. Green = nursery. Terracotta = revegetation.
   ========================================================================== */

:root {
  /* canvas */
  --paper: #FAF7F0;
  --paper-warm: #F2EDE2;
  --paper-deep: #EAE3D3;
  --night: #1C2A1E;

  /* ink */
  --ink: #22331F;
  --ink-soft: #5C6B52;
  --ink-faint: #8A947D;

  /* accents */
  --olive: #5A6B45;
  --olive-deep: #46543a;
  --terra: #A5502F;
  --terra-deep: #8A4226;
  --flannel: #C9BCA4;
  --native-yellow: #E8B921;

  /* type */
  --serif: "Fraunces", Georgia, serif;
  --sans: "Poppins", -apple-system, "Segoe UI", sans-serif;

  --radius-organic: 22px 26px 20px 28px;
  --radius: 20px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  --shadow-soft: 0 18px 50px -18px rgba(34, 51, 31, 0.22);
  --ease-garden: cubic-bezier(0.22, 0.8, 0.32, 1);
}

/* ---------- reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html.static-mode .kenburns img { animation: none; }
html.static-mode body::after { display: none; }
html.static-mode [data-reveal] { opacity: 1 !important; transform: none !important; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* paper grain over everything, barely there */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: inherit; }

::selection { background: var(--olive); color: var(--paper); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- typography ---------- */

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 480;
  font-variation-settings: "opsz" 72;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.25; }

h1 em, h2 em {
  font-style: italic;
  font-weight: 420;
  color: var(--olive);
}

.page-reveg h1 em, .page-reveg h2 em { color: var(--terra); }

p { color: var(--ink-soft); max-width: 62ch; }

.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.65;
  max-width: 46ch;
}

.label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--olive);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.4rem;
}

.label::before {
  content: "";
  width: 34px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.55;
}

.label--terra { color: var(--terra); }
.label--light { color: var(--flannel); }
.label--center { justify-content: center; }
.label--center::after {
  content: "";
  width: 34px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.55;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-garden), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.35s;
}

.btn:hover { transform: translateY(-2px); }

.btn-olive { background: var(--olive-deep); color: var(--paper); box-shadow: var(--shadow-soft); }
.btn-olive:hover { background: var(--olive); }

.btn-terra { background: var(--terra); color: var(--paper); box-shadow: var(--shadow-soft); }
.btn-terra:hover { background: var(--terra-deep); }

.btn-ghost { border-color: rgba(34, 51, 31, 0.35); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(34, 51, 31, 0.04); }

.btn-ghost--light { border-color: rgba(250, 247, 240, 0.5); color: var(--paper); }
.btn-ghost--light:hover { border-color: var(--paper); background: rgba(250, 247, 240, 0.1); }

.btn .arrow { transition: transform 0.35s var(--ease-garden); }
.btn:hover .arrow { transform: translateX(4px); }

/* tendril underline links */
.tlink {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 3px;
}

.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease-garden);
}

.tlink:hover::after { transform: scaleX(1); }

/* ---------- brand mark (2×2 tiles + wordmark) ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5px;
  width: 42px;
  aspect-ratio: 1;
  flex: none;
}

.brand-tiles img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.brand-word {
  font-family: var(--sans);
  line-height: 1.05;
  color: var(--ink);
  /* match the 42px tile-grid height so the text aligns with its edges */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 42px;
}

.brand-word .bw-top {
  display: block;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.brand-word .bw-main {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-word .bw-sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--olive);
}

/* ---------- header / nav ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.site-header.scrolled {
  background: rgba(250, 247, 240, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(34, 51, 31, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}

.site-nav { display: flex; align-items: center; gap: 34px; }

.site-nav a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-garden);
}

.site-nav a:not(.btn):hover::after,
.site-nav a.active::after { transform: scaleX(1); }

.site-nav .btn { padding: 0.6rem 1.4rem; font-size: 0.85rem; }

/* Plant Native! partner badge in the nav */
.nav-plantnative { display: inline-flex; align-items: center; padding: 0; }
.nav-plantnative::after { content: none !important; }
.nav-plantnative img {
  height: 30px;
  width: auto;
  display: block;
  transition: transform 0.35s var(--ease-garden);
}
.nav-plantnative:hover img { transform: translateY(-2px) rotate(-2deg); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5.5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 1.8px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-garden), opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.3px) rotate(-45deg); }

/* ---------- scroll progress vine ---------- */

.vine-progress {
  position: fixed;
  top: 0; left: 0;
  width: 3px;
  height: 100vh;
  z-index: 99;
  pointer-events: none;
}

.vine-progress::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(90, 107, 69, 0.12);
}

.vine-progress .vp-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: calc(var(--scroll, 0) * 100%);
  background: linear-gradient(var(--olive), var(--olive-deep));
}

.vine-progress .vp-leaf { display: none; }

.page-reveg .vine-progress .vp-fill { background: linear-gradient(var(--terra), var(--terra-deep)); }
.page-reveg .vine-progress .vp-leaf { background: var(--terra); }

/* ---------- photo treatment: everything blends ---------- */

.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-organic);
  background: var(--paper-deep);
  isolation: isolate;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* unified warm grade — one photographer, one afternoon */
  filter: saturate(0.88) sepia(0.10) contrast(0.98) brightness(1.03);
  transition: transform 1.2s var(--ease-garden);
}

/* warm tint wash pulls every photo into the palette */
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(250, 247, 240, 0.10), rgba(90, 107, 69, 0.10) 55%, rgba(34, 51, 31, 0.14));
  mix-blend-mode: soft-light;
}

/* inner hairline like a pressed-flower mount */
.photo::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(250, 247, 240, 0.28);
  border-radius: inherit;
}

.photo:hover img { transform: scale(1.025); }

.photo--terra::after {
  background: linear-gradient(160deg, rgba(250, 247, 240, 0.08), rgba(165, 80, 47, 0.12) 55%, rgba(34, 51, 31, 0.16));
}

.photo--frameless::before { display: none; }

/* live footage: sits over the still, fades in once it can play */
.photo video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) sepia(0.10) contrast(0.98) brightness(1.03);
  opacity: 0;
  transition: opacity 1.2s var(--ease-garden);
}

.photo video.is-playing { opacity: 1; }

/* the still underneath is the poster — no layout shift, no black flash */
.photo.has-video img { will-change: auto; }

/* slow ken burns for hero bands */
.kenburns img {
  animation: kenburns 26s var(--ease-garden) infinite alternate;
  will-change: transform;
}

@keyframes kenburns {
  from { transform: scale(1.0) translate(0, 0); }
  to   { transform: scale(1.09) translate(-1.2%, 1.5%); }
}

.photo-caption {
  margin-top: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
}

.photo-caption i { font-family: var(--serif); font-size: 0.9rem; }

/* ---------- sections ---------- */

.section { padding-block: clamp(80px, 11vw, 150px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--warm { background: var(--paper-warm); }
.section--night { background: var(--night); }
.section--night h2, .section--night h3 { color: var(--paper); }
.section--night p { color: rgba(250, 247, 240, 0.72); }

.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 84px); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- reveal defaults (JS enhances) ---------- */

[data-reveal] { opacity: 1; }

.js [data-reveal] { opacity: 0; transform: translateY(26px); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .kenburns img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   LANDING — the gate
   ========================================================================== */

.gate-hero {
  position: relative;
  padding-top: clamp(140px, 20vh, 220px);
}

.gate-hero .hero-copy { max-width: 900px; }

.gate-hero h1 { margin-block: 1.6rem 1.8rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2.4rem; }

/* assembling brand tiles — big, hero version */
.hero-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  width: clamp(76px, 9vw, 108px);
  aspect-ratio: 1;
  margin-bottom: 2.2rem;
}

.hero-tiles img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 6px 18px -8px rgba(34, 51, 31, 0.35);
}

/* hero photo band */
.hero-band {
  margin-top: clamp(56px, 8vw, 100px);
  position: relative;
}

.hero-band .photo {
  height: clamp(300px, 52vh, 520px);
  border-radius: 0;
}

.hero-band .photo::before { inset: 16px; }

.hero-band-caption {
  position: absolute;
  right: var(--gutter);
  bottom: 18px;
  z-index: 3;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(250, 247, 240, 0.9);
  text-shadow: 0 1px 8px rgba(28, 42, 30, 0.5);
}

/* scroll cue — drifting leaf */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  z-index: 5;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  color: var(--olive);
}

.scroll-cue svg { animation: leaf-drift 3.2s ease-in-out infinite; }

@keyframes leaf-drift {
  0%   { transform: translateY(-4px) rotate(-6deg); opacity: 0.4; }
  50%  { transform: translateY(4px) rotate(6deg); opacity: 1; }
  100% { transform: translateY(-4px) rotate(-6deg); opacity: 0.4; }
}

/* ---------- the fork ---------- */

.fork { padding-block: clamp(90px, 12vw, 160px); }

.fork-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(44px, 6vw, 72px);
}

.fork-panel {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: var(--radius-organic);
  overflow: hidden;
  min-height: clamp(420px, 58vh, 560px);
  isolation: isolate;
  transition: transform 0.6s var(--ease-garden), box-shadow 0.6s var(--ease-garden);
}

.fork-panel:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.fork-panel .photo {
  position: absolute;
  inset: 0;
  border-radius: 0;
}

.fork-panel .photo img { transform: scale(1.02); }
.fork-panel:hover .photo img { transform: scale(1.07); }

.fork-panel .fp-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.fork-panel--nursery .fp-scrim { background: linear-gradient(6deg, rgba(28, 42, 30, 0.94) 18%, rgba(28, 42, 30, 0.62) 52%, rgba(28, 42, 30, 0.12)); }
.fork-panel--reveg .fp-scrim { background: linear-gradient(6deg, rgba(74, 31, 13, 0.94) 18%, rgba(90, 38, 16, 0.62) 52%, rgba(74, 31, 13, 0.12)); }

.fork-panel .fp-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: clamp(26px, 4vw, 44px);
  color: var(--paper);
  text-shadow: 0 1px 14px rgba(20, 30, 22, 0.45);
}

.fork-panel .fp-tile {
  width: 46px;
  border-radius: 4px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5);
}

.fork-panel h3 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 460;
  color: var(--paper);
  margin-bottom: 0.5rem;
}

.fork-panel p { color: rgba(250, 247, 240, 0.82); max-width: 40ch; font-size: 0.95rem; }

.fork-panel .fp-go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: lowercase;
}

.fork-panel .fp-go svg { transition: transform 0.4s var(--ease-garden); }
.fork-panel:hover .fp-go svg { transform: translateX(6px); }

/* ---------- roots strip (stats) ---------- */

.roots-strip {
  border-top: 1px solid rgba(34, 51, 31, 0.1);
  border-bottom: 1px solid rgba(34, 51, 31, 0.1);
  background: var(--paper-warm);
}

.roots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(44px, 6vw, 72px);
}

.root-stat .rs-num {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  font-weight: 480;
  line-height: 1.06;
  color: var(--ink);
}

/* counters: fixed-width digits and no wrapping, so a number ticking up
   never changes the layout around it */
[data-count] {
  display: inline-block;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.root-stat .rs-num span { color: var(--olive); }

.root-stat .rs-label {
  margin-top: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ==========================================================================
   SHARED DIVISION PAGE PATTERNS
   ========================================================================== */

.division-hero {
  padding-top: clamp(150px, 22vh, 230px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.division-hero h1 { margin-block: 1.4rem 1.6rem; }

/* editorial service rows — not cards */
.service-rows { border-top: 1px solid rgba(34, 51, 31, 0.12); }

.service-row {
  display: grid;
  grid-template-columns: 88px 1fr 1.35fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(36px, 5vw, 60px);
  border-bottom: 1px solid rgba(34, 51, 31, 0.12);
}

.service-row .sr-index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-faint);
  padding-top: 6px;
}

.service-row h3 { max-width: 14ch; }

.service-row p { font-size: 0.98rem; }

/* ---------- flora gallery ---------- */

.flora-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
  align-items: start;
}

.flora-item:nth-child(2) { margin-top: clamp(30px, 5vw, 64px); }
.flora-item:nth-child(3) { margin-top: clamp(14px, 2.5vw, 32px); }
.flora-item:nth-child(5) { margin-top: clamp(30px, 5vw, 64px); }
.flora-item:nth-child(6) { margin-top: clamp(14px, 2.5vw, 32px); }

.flora-item .photo { aspect-ratio: 4 / 3; }

/* ---------- vine journey (how it works) ---------- */

.vine-journey {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
}

.vine-journey .vj-line {
  position: absolute;
  left: 25px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--olive), rgba(90, 107, 69, 0.15));
  opacity: 0.45;
}

.vj-step {
  position: relative;
  padding-left: 86px;
  padding-block: clamp(26px, 4vw, 44px);
}

.vj-step .vj-dot {
  position: absolute;
  left: 17px;
  top: calc(clamp(26px, 4vw, 44px) + 8px);
  width: 18px; height: 18px;
  border-radius: 0 62% 0 62%;
  transform: rotate(45deg);
  background: var(--olive);
  box-shadow: 0 0 0 6px var(--paper);
}

.vj-step h3 { font-style: italic; font-weight: 460; color: var(--olive-deep); margin-bottom: 6px; }

.vj-step p { font-size: 0.98rem; }

/* ---------- banner CTA ---------- */

.banner-cta {
  border-radius: var(--radius-organic);
  background: var(--night);
  padding: clamp(44px, 7vw, 88px);
  position: relative;
  overflow: hidden;
}

.banner-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 90% at 88% 12%, rgba(90, 107, 69, 0.35), transparent 60%),
    radial-gradient(45% 70% at 8% 95%, rgba(165, 80, 47, 0.22), transparent 60%);
}

.banner-cta > * { position: relative; }

.banner-cta h2 { color: var(--paper); margin-bottom: 0.8rem; }
.banner-cta p { color: rgba(250, 247, 240, 0.75); }
.banner-cta .btn { margin-top: 2rem; }

.cta-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: rgba(250, 247, 240, 0.6);
}

/* ---------- plant native wink ---------- */

.plant-native {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--native-yellow);
  color: #201c07;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-soft);
  transform: rotate(-1.5deg);
  text-decoration: none;
  transition: transform 0.35s var(--ease-garden), box-shadow 0.35s var(--ease-garden);
}

a.plant-native:hover {
  transform: rotate(-1.5deg) translateY(-2px) scale(1.04);
  box-shadow: 0 22px 46px -18px rgba(34, 51, 31, 0.4);
}

/* Plant Native! as its real logo (no yellow badge wrapper — the logo
   carries its own colour) */
.plant-native-logo {
  display: inline-block;
  transition: transform 0.35s var(--ease-garden);
}
.plant-native-logo img { height: 76px; width: auto; display: block; }
.plant-native-logo:hover { transform: translateY(-3px) rotate(-1.5deg); }

/* ==========================================================================
   REVEGETATION page specifics
   ========================================================================== */

.reveg-band {
  position: relative;
  min-height: clamp(360px, 56vh, 560px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.reveg-band .photo {
  position: absolute;
  inset: 0;
  border-radius: 0;
}

.reveg-band .rb-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(8deg, rgba(28, 42, 30, 0.85) 5%, rgba(28, 42, 30, 0.35) 50%, rgba(28, 42, 30, 0.15));
}

.reveg-band .rb-body {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-block: clamp(40px, 6vw, 72px);
  color: var(--paper);
}

.reveg-band h2 { color: var(--paper); max-width: 18ch; }

/* the 12 services as set type */
.reveg-services {
  columns: 2;
  column-gap: clamp(40px, 6vw, 90px);
  max-width: 900px;
}

.reveg-services li {
  list-style: none;
  break-inside: avoid;
  padding: 16px 0 16px 34px;
  position: relative;
  border-bottom: 1px solid rgba(34, 51, 31, 0.1);
  font-family: var(--serif);
  font-size: clamp(1.06rem, 1.6vw, 1.3rem);
  font-weight: 460;
  color: var(--ink);
}

.reveg-services li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 11px; height: 11px;
  border-radius: 0 62% 0 62%;
  transform: translateY(-50%) rotate(45deg);
  background: var(--terra);
  opacity: 0.85;
}

/* capabilities */
.capability-rows .service-row .sr-index { color: rgba(165, 80, 47, 0.6); }

/* numbered service-row titles (nursery "what we do" + reveg capabilities):
   set in the body sans, not the display serif, per client review */
.service-row h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-variation-settings: normal;
  letter-spacing: 0;
}

/* case study */
.case-study {
  border-radius: var(--radius-organic);
  background: var(--night);
  overflow: hidden;
}

.case-study .cs-inner { padding: clamp(36px, 6vw, 76px); }

.case-study h2, .case-study h3 { color: var(--paper); }

.cs-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 48px);
  margin-block: clamp(32px, 5vw, 56px);
}

.cs-num .n {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 480;
  line-height: 1;
  color: var(--flannel);
}

.cs-num .l {
  margin-top: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(250, 247, 240, 0.6);
}

.cs-media {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(28px, 4vw, 44px);
}

.cs-media .photo { aspect-ratio: 16 / 9; }

.cs-scope p { color: rgba(250, 247, 240, 0.72); font-size: 0.97rem; }

/* ==========================================================================
   CONTACT page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact-details { display: grid; gap: 26px; margin-top: 2.2rem; }

.cd-item { display: flex; gap: 18px; align-items: flex-start; }

.cd-item .cd-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--paper-warm);
  color: var(--olive-deep);
}

.cd-item .cd-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--ink-faint);
  margin-bottom: 2px;
}

.cd-item a { text-decoration: none; color: var(--ink); font-weight: 500; }
.cd-item a:hover { color: var(--olive-deep); }

/* the form on paper */
.contact-form {
  background: #FFFDF8;
  border: 1px solid rgba(34, 51, 31, 0.12);
  border-radius: var(--radius-organic);
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 4vw, 48px);
  position: relative;
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(90, 107, 69, 0.3);
  border-radius: inherit;
  pointer-events: none;
}

/* honeypot: off-screen, out of tab order, hidden from AT */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 20px; position: relative; }

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 8px;
}

.field .optional { font-weight: 400; color: var(--ink-faint); }

.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid rgba(34, 51, 31, 0.16);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 4px rgba(90, 107, 69, 0.14);
}

.field input.invalid,
.field textarea.invalid { border-color: var(--terra); }

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

.btn-submit { width: 100%; justify-content: center; font-size: 1rem; }

.btn-submit .leaf { transition: transform 0.45s var(--ease-garden); }
.btn-submit:hover .leaf { transform: rotate(-14deg) scale(1.12); }

.form-status {
  margin-top: 16px;
  font-size: 0.92rem;
  text-align: center;
  min-height: 1.5em;
  color: var(--ink-soft);
}

.form-status.success { color: var(--olive-deep); font-weight: 500; }
.form-status.error { color: var(--terra-deep); }

/* careers block */
.careers-block {
  margin-top: clamp(60px, 8vw, 100px);
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-organic);
  background: var(--paper-warm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ==========================================================================
   CAREERS page
   ========================================================================== */

.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.6vw, 28px);
}

.role-card {
  display: flex;
  flex-direction: column;
  background: #FFFDF8;
  border: 1px solid rgba(34, 51, 31, 0.12);
  border-radius: var(--radius-organic);
  padding: clamp(26px, 3vw, 38px);
}

.role-card h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.role-hiring {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--olive);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.role-hiring::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--paper);
}

.role-card .role-desc { font-size: 0.97rem; }

.role-card .role-crit-label {
  margin: 20px 0 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--ink-faint);
}

.role-card ul { list-style: none; display: grid; gap: 7px; margin-bottom: 26px; }

.role-card li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.role-card li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.5em;
  width: 7px; height: 7px;
  border-radius: 0 60% 0 60%;
  transform: rotate(45deg);
  background: var(--olive);
}

.role-card .btn { margin-top: auto; align-self: flex-start; }

.careers-apply {
  margin-top: clamp(36px, 5vw, 56px);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.careers-apply a { color: var(--olive-deep); font-weight: 500; }

@media (max-width: 760px) {
  .roles-grid { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--night);
  color: rgba(250, 247, 240, 0.75);
  padding-block: clamp(56px, 8vw, 90px) 36px;
  margin-top: clamp(80px, 10vw, 140px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid rgba(250, 247, 240, 0.12);
}

.site-footer .brand-word, .site-footer .brand-word .bw-main { color: var(--paper); }
.site-footer .brand-word .bw-top { color: rgba(250, 247, 240, 0.55); }
.site-footer .brand-word .bw-sub { color: var(--flannel); }

.footer-note { margin-top: 18px; font-size: 0.9rem; max-width: 34ch; color: rgba(250, 247, 240, 0.6); }

.footer-col .fc-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--flannel);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: grid; gap: 10px; }

.footer-col a {
  text-decoration: none;
  color: rgba(250, 247, 240, 0.78);
  font-size: 0.92rem;
}

.footer-col a:hover { color: var(--paper); }

.footer-col li { font-size: 0.92rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-size: 0.78rem;
  color: rgba(250, 247, 240, 0.45);
}

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

@media (max-width: 980px) {
  .fork-grid { grid-template-columns: 1fr; }
  .roots-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 48px 1fr; }
  .service-row p { grid-column: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cs-media { grid-template-columns: 1fr; }
  .flora-gallery { grid-template-columns: repeat(2, 1fr); }
  .flora-item:nth-child(n) { margin-top: 0; }
  .flora-item:nth-child(even) { margin-top: clamp(20px, 4vw, 40px); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 90px 36px;
    background: var(--paper);
    box-shadow: -20px 0 60px rgba(34, 51, 31, 0.18);
    transform: translateX(105%);
    transition: transform 0.5s var(--ease-garden);
    z-index: 90;
  }

  .site-nav.open { transform: translateX(0); }

  .site-nav a:not(.btn) {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 460;
    padding-block: 10px;
  }

  .site-nav .btn { margin-top: 18px; }

  .vine-progress { display: none; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .roots-grid { grid-template-columns: 1fr 1fr; }
  .reveg-services { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-band .photo { height: clamp(240px, 40vh, 380px); }
}
