/* =========================================================
   TerraDynamic Group — site stylesheet
   Brand voice: structured, calm, principled.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --terra-green:      #1F4332;   /* primary deep green */
  --terra-green-dk:   #14301F;   /* darker accent */
  --terra-footer:     #0F2D22;   /* footer near-black-green */
  --gold:             #B8924B;   /* heritage gold */
  --gold-soft:        #D4B274;   /* lighter gold for subtle work */
  --cream:            #F5F0E6;   /* warm cream */
  --cream-deep:       #EFE7D5;   /* slightly stronger cream */
  --grey-warm:        #ECE7DC;   /* warm light grey for sections */
  --grey-line:        #D9D2C2;   /* hairlines */
  --ink:              #1A1A1A;   /* body text */
  --ink-soft:         #4A4A4A;   /* secondary text */
  --white:            #FFFFFF;

  /* Type */
  --font-display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body:    'Montserrat', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Layout */
  --max:    1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;

  /* Motion */
  --ease: cubic-bezier(.2, .65, .25, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--terra-green); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold); }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--terra-green-dk);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p  { margin: 0 0 1em; }
.lead { font-size: 1.15rem; line-height: 1.7; color: var(--ink-soft); max-width: 56ch; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.tagline-rule {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 2rem 0 0;
  color: var(--gold);
  font-size: .8rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  font-weight: 600;
}
.tagline-rule::before,
.tagline-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: .5;
}

/* ---------- Layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(64px, 9vw, 110px) 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 230, .92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--grey-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--terra-green-dk);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .95rem;
}
.brand img { height: 38px; width: auto; }
.brand span small {
  display: block;
  font-size: .65rem;
  letter-spacing: .26em;
  font-weight: 500;
  color: var(--gold);
  margin-top: 2px;
}
.nav-links {
  display: flex; align-items: center; gap: 30px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--terra-green-dk);
}
.nav-links a.active,
.nav-links a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--terra-green-dk);
  color: var(--terra-green-dk);
  width: 42px; height: 42px;
  border-radius: var(--radius);
  align-items: center; justify-content: center;
}
.nav-toggle span {
  width: 18px; height: 2px; background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 100%; height: 2px; background: currentColor;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--terra-green);
  border-radius: var(--radius);
  background: var(--terra-green);
  color: var(--cream);
  transition: all .25s var(--ease);
}
.btn:hover { background: var(--terra-green-dk); border-color: var(--terra-green-dk); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--terra-green);
}
.btn-ghost:hover { background: var(--terra-green); color: var(--cream); }
.btn-gold {
  background: var(--gold); border-color: var(--gold); color: var(--white);
}
.btn-gold:hover { background: #a47d3b; border-color: #a47d3b; color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(90px, 14vw, 160px) 0 clamp(80px, 12vw, 130px);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(184, 146, 75, .14), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .35;
}
.hero h1 { max-width: 18ch; }
.hero h1 .br { display: block; }
.hero .lead { margin-top: 1.2rem; }
.hero-actions { margin-top: 2.2rem; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Section helpers ---------- */
.section-warm { background: var(--grey-warm); }
.section-cream { background: var(--cream); }
.section-dark {
  background: var(--terra-green);
  color: var(--cream);
}
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.section-dark .eyebrow { color: var(--gold-soft); }
.section-dark .lead { color: rgba(245, 240, 230, .85); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(30px, 6vw, 80px);
  margin-bottom: clamp(40px, 6vw, 70px);
  align-items: end;
}
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ---------- Three I's cards ---------- */
.threes {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 880px) { .threes { grid-template-columns: 1fr; } }

.three-card {
  position: relative;
  background: var(--white);
  padding: 38px 32px 34px;
  border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--grey-line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.three-card::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--gold);
  border-radius: var(--radius) var(--radius) 0 0;
}
.three-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 48, 31, .08); }
.three-card .roman {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .25em;
  color: var(--gold);
  margin-bottom: 18px;
}
.three-card h3 { margin-bottom: 12px; }
.three-card p { color: var(--ink-soft); margin: 0; }

/* ---------- Where We Operate ---------- */
.operate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 60px;
  margin-top: 30px;
}
@media (max-width: 700px) { .operate-grid { grid-template-columns: 1fr; gap: 10px; } }
.operate-grid li {
  list-style: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(212, 178, 116, .25);
  font-size: 1.02rem;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 14px;
}
.operate-grid li::before {
  content: '—';
  color: var(--gold-soft);
  font-weight: 600;
}

/* ---------- Philosophy ---------- */
.philosophy {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 40px;
}
@media (max-width: 760px) { .philosophy { grid-template-columns: 1fr; } }
.philosophy blockquote {
  margin: 0;
  padding: 8px 0 8px 24px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  line-height: 1.45;
  color: var(--terra-green-dk);
  letter-spacing: -0.005em;
}
.philosophy blockquote cite {
  display: block;
  font-size: .75rem;
  font-style: normal;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 14px;
  font-weight: 600;
}

/* ---------- Why TerraDynamic ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; } }
.why-item {
  padding: 28px 0 0;
  border-top: 1px solid var(--grey-line);
}
.why-item h4 { color: var(--terra-green-dk); margin-bottom: 10px; }
.why-item p { color: var(--ink-soft); margin: 0; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--terra-green-dk);
  color: var(--cream);
  text-align: center;
}
.cta h2 { color: var(--white); max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta .lead { margin: 14px auto 28px; color: rgba(245, 240, 230, .85); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--terra-footer);
  color: rgba(245, 240, 230, .8);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: var(--gold-soft);
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-grid a { color: rgba(245, 240, 230, .82); display: block; margin-bottom: 8px; font-size: .95rem; }
.footer-grid a:hover { color: var(--gold-soft); }
.footer-brand p { font-size: .92rem; line-height: 1.65; color: rgba(245, 240, 230, .7); margin-top: 14px; }
.footer-brand .brand { color: var(--cream); }
.footer-brand .brand span small { color: var(--gold-soft); }

.footer-tag {
  border-top: 1px solid rgba(212, 178, 116, .2);
  padding: 22px 0;
  text-align: center;
  font-size: .75rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.footer-tag .legal {
  display: block;
  margin-top: 6px;
  letter-spacing: .04em;
  text-transform: none;
  color: rgba(245, 240, 230, .55);
  font-size: .8rem;
}

/* =========================================================
   PAGE-SPECIFIC COMPONENTS
   ========================================================= */

/* ---------- Page hero (smaller than home hero) ---------- */
.page-hero {
  padding: clamp(70px, 10vw, 120px) 0 clamp(50px, 7vw, 80px);
  background:
    radial-gradient(ellipse at 85% 30%, rgba(184, 146, 75, .12), transparent 55%),
    var(--cream);
  border-bottom: 1px solid var(--grey-line);
}
.page-hero h1 { max-width: 22ch; }

/* ---------- About — person cards ---------- */
.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 30px;
}
@media (max-width: 880px) { .people { grid-template-columns: 1fr; } }
.person {
  background: var(--white);
  padding: 36px 34px;
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  box-shadow: 0 1px 0 var(--grey-line);
}
.person .role {
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}
.person h3 { margin-bottom: 14px; font-size: 1.4rem; }
.person p { color: var(--ink-soft); }
.person p:last-child { margin-bottom: 0; }

.origin {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(30px, 6vw, 70px);
  align-items: start;
}
@media (max-width: 760px) { .origin { grid-template-columns: 1fr; } }
.origin .label {
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  border-top: 2px solid var(--gold);
  padding-top: 18px;
}

/* ---------- Methodology — phase blocks ---------- */
.phases { display: grid; gap: 28px; margin-top: 20px; }
.phase {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: clamp(24px, 4vw, 60px);
  background: var(--white);
  padding: clamp(30px, 4vw, 50px);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  box-shadow: 0 1px 0 var(--grey-line);
}
@media (max-width: 760px) { .phase { grid-template-columns: 1fr; } }
.phase .roman {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .3em;
  color: var(--gold);
}
.phase h2 {
  font-size: 1.85rem;
  margin: 6px 0 4px;
}
.phase .phase-name {
  font-size: .9rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terra-green);
  margin-bottom: 0;
}
.phase-body h4 {
  margin-top: 22px;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.phase-body h4:first-child { margin-top: 0; }
.phase-body ul {
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}
.phase-body ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-line);
  color: var(--ink-soft);
}
.phase-body ul li:last-child { border-bottom: none; }

/* ---------- Services — tier blocks ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}
@media (max-width: 980px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: var(--white);
  padding: 38px 32px;
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  box-shadow: 0 1px 0 var(--grey-line);
  display: flex;
  flex-direction: column;
}
.tier .label {
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.tier h3 { font-size: 1.35rem; margin-bottom: 14px; }
.tier .tier-lead {
  color: var(--ink-soft);
  margin-bottom: 22px;
  font-size: .98rem;
}
.tier h4 {
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra-green-dk);
  font-weight: 600;
  margin: 18px 0 10px;
}
.tier ul { margin: 0; padding: 0; list-style: none; }
.tier ul li {
  padding: 8px 0 8px 22px;
  position: relative;
  color: var(--ink-soft);
  font-size: .95rem;
  border-bottom: 1px solid var(--grey-line);
}
.tier ul li:last-child { border-bottom: none; }
.tier ul li::before {
  content: '';
  position: absolute; left: 0; top: 17px;
  width: 10px; height: 1px;
  background: var(--gold);
}
.tier .tier-foot {
  margin-top: auto;
  padding-top: 22px;
  font-size: .85rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(30px, 5vw, 70px);
  margin-top: 20px;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h4 {
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 26px 0 8px;
}
.contact-info h4:first-child { margin-top: 0; }
.contact-info p, .contact-info a { color: var(--ink-soft); margin: 0; }

form.contact-form {
  background: var(--white);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  box-shadow: 0 1px 0 var(--grey-line);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terra-green-dk);
  font-weight: 600;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: .98rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-top: 8px;
}
.form-foot small { color: var(--ink-soft); font-size: .82rem; }

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

/* ---------- Mobile nav ---------- */
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px var(--gutter) 22px;
    background: var(--cream);
    border-bottom: 1px solid var(--grey-line);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  .nav-links.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--grey-line);
  }
  .nav-links li:last-child a { border-bottom: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta, .nav-toggle { display: none; }
  body { background: white; color: black; }
}

/* =========================================================
   Real logo overrides (logo.png is square, wordmark baked in)
   ========================================================= */

/* Header brand: bigger logo, hide the now-redundant text label */
.brand img {
  height: 64px;
  width: auto;
}
.brand > span {
  /* Wordmark is part of the logo image — hide visually but keep for screen readers */
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Slight header padding tweak so the larger logo sits comfortably */
.nav { padding-top: 14px; padding-bottom: 14px; }

/* Footer: logo on dark green background — the green wordmark is hard to see there.
   Until we have a white-on-dark variant, we drop the logo image in the footer
   and use a styled text mark instead. */
.footer-brand .brand img { display: none; }
.footer-brand .brand > span {
  /* Re-show the text in the footer (override the visually-hidden rule above) */
  position: static;
  width: auto; height: auto;
  padding: 0; margin: 0; overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  /* Style the wordmark */
  display: inline-flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.1;
}
.footer-brand .brand > span small {
  display: block;
  font-size: .65rem;
  letter-spacing: .26em;
  font-weight: 500;
  color: var(--gold-soft);
  margin-top: 6px;
}

/* Mobile: scale the logo down a touch */
@media (max-width: 600px) {
  .brand img { height: 52px; }
}


/* =========================================================
   Footer with white logo variant — overrides earlier text-only fallback
   ========================================================= */
.footer-brand .brand img {
  display: inline-block;     /* was display:none — show the white logo */
  height: 80px;
  width: auto;
  margin-bottom: 8px;
}
.footer-brand .brand > span {
  /* Was visible as text fallback; now hide again because the white logo carries the wordmark */
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Hero with real desert/landscape background image
   ========================================================= */
.hero {
  background:
    linear-gradient(135deg,
      rgba(245, 240, 230, 0.92) 0%,
      rgba(245, 240, 230, 0.78) 45%,
      rgba(245, 240, 230, 0.55) 100%
    ),
    url('../img/hero-bg.jpg') center/cover no-repeat;
}
/* Subtle darken at bottom for the gold divider line readability */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(31, 67, 50, 0.06) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

/* =========================================================
   About page — wildlife/field image band between sections
   ========================================================= */
.field-band {
  padding: 0;
}
.field-band img {
  width: 100%;
  display: block;
  max-height: 60vh;
  min-height: 360px;
  object-fit: cover;
  object-position: center 40%;
}

/* =========================================================
   Page-hero variants — per-page background images
   Same cream-gradient overlay as homepage hero so headlines
   stay readable and the photo sits as atmosphere.
   ========================================================= */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.page-hero .container { position: relative; z-index: 1; }

.page-hero--about {
  background-image:
    linear-gradient(135deg,
      rgba(245, 240, 230, 0.94) 0%,
      rgba(245, 240, 230, 0.80) 45%,
      rgba(245, 240, 230, 0.55) 100%),
    url('../img/about-wildlife.jpg');
  background-position: center 35%;
}
.page-hero--methodology {
  background-image:
    linear-gradient(135deg,
      rgba(245, 240, 230, 0.92) 0%,
      rgba(245, 240, 230, 0.78) 50%,
      rgba(245, 240, 230, 0.55) 100%),
    url('../img/landscape-aerial.jpg');
}
.page-hero--services {
  background-image:
    linear-gradient(135deg,
      rgba(245, 240, 230, 0.92) 0%,
      rgba(245, 240, 230, 0.78) 50%,
      rgba(245, 240, 230, 0.55) 100%),
    url('../img/landscape-savanna.jpg');
  background-position: center 60%;
}
.page-hero--contact {
  background-image:
    linear-gradient(135deg,
      rgba(245, 240, 230, 0.94) 0%,
      rgba(245, 240, 230, 0.80) 50%,
      rgba(245, 240, 230, 0.60) 100%),
    url('../img/landscape-aerial.jpg');
  background-position: center 15%;   /* keeps the hot-air balloon (upper area) in frame */
}

/* =========================================================
   About — founder portrait photos on person cards
   Portrait images, cropped 4:5, sit above the role label.
   Drop in: iain-portrait.jpg / maryann-portrait.jpg
   ========================================================= */
.person {
  overflow: hidden;
  padding-top: 0;            /* photo goes flush to the gold top border */
}
.person .person-photo {
  width: calc(100% + 68px);  /* bleed to card edges (cancel the 34px L/R padding) */
  max-width: none;           /* override the global img max-width:100% so the bleed actually applies */
  margin: 0 -34px 26px;
  aspect-ratio: 4 / 5;       /* matches the 4:5 portrait files — whole image shows, nothing cropped */
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--grey-warm);
}
@media (max-width: 600px) {
  .person .person-photo { margin: 0 -34px 22px; }
}

/* =========================================================
   About — origin section: image in the left aside column.
   The "Origin" label sits at the top (level with the H2);
   the image top aligns with the first body paragraph.
   ========================================================= */
.origin-aside {
  position: relative;
}
.origin-aside .label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.origin-aside .origin-img {
  width: 100%;
  /* margin-top = rendered H2 block height (font-size x 1.8),
     so the image top lines up with the first paragraph */
  margin-top: clamp(2.88rem, 5.4vw, 3.96rem);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  box-shadow: 0 1px 0 var(--grey-line);
}
@media (max-width: 760px) {
  /* Layout stacks on mobile — label returns to normal flow */
  .origin-aside .label { position: static; }
  .origin-aside .origin-img { margin-top: 18px; aspect-ratio: 16 / 10; }
}
