/* ==============================================
   GREEN DOOR ADVISORS — Main Stylesheet
   ============================================== */

/* ── Reset & Root ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Colors */
  --ink:         #092b18;
  --green-dark:  #092b18;
  --green-mid:   #1a4a2e;
  --green-light: #2d6b45;
  --green-pale:  #E6EFE9;
  --gold:        #C9A84C;
  --gold-light:  #DBBE72;
  --gold-dark:   #9A7828;
  --tan:         #D4C5A9;
  --cream:       #F5F1E8;
  --white:       #FFFFFF;
  --text:        #1A2E21;
  --text-mid:    #3E6050;
  --text-muted:  #6B8C78;

  /* Type */
  --serif: 'EB Garamond', Garamond, 'Times New Roman', serif;
  --sans:  'EB Garamond', Garamond, 'Times New Roman', serif;

  /* Layout */
  --max: 1180px;
  --pad: 0 24px;

  /* Motion */
  --ease: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Paper texture — a faint fibre grain so large white areas don't read as flat */
  --paper: #FBFAF6;
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='0.35'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  /* EB Garamond has a smaller x-height than Inter, so lift the base a touch */
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
p   { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--green-dark); font-weight: 600; }

.container { max-width: var(--max); margin: 0 auto; padding: var(--pad); }
.section { padding: 96px 24px; }

/* ── Typography helpers ── */
.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold-light); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 600;
  line-height: 1.12;
  color: var(--green-dark);
  margin-bottom: 28px;
}
.section-title--light { color: var(--white); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--ease);
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.28);
}
.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}
.btn--green {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn--green:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-2px);
}
.btn--lg { padding: 17px 46px; font-size: 15px; }
.btn--full { width: 100%; text-align: center; padding: 15px; font-size: 15px; }
.mt-8 { margin-top: 32px; }


/* ==============================================
   PRELOADER — the logo holds, the door swings open,
   then the camera walks through the doorway
   ============================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #F3F1EC;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Backdrop turns to the hero's green mid-walk, so the hand-off is seamless */
  transition: background-color 0.6s ease 0.25s, opacity 0.4s ease 0.7s;
}

/* Layers are all drawn on one 1460x444 canvas, so they stack in register.
   Paint order is void -> slab -> frame -> wordmark. */
.preloader__stage {
  position: relative;
  width: min(620px, 76vw);
  aspect-ratio: 1460 / 444;
  /* Aim just knob-side of the doorway's centre — that half clears the
     swinging door first, so we walk through open space */
  transform-origin: 12.6% 53.38%;
  perspective: 850px;
  opacity: 0;
  transform: scale(0.94);
  will-change: transform, opacity;
}
.preloader__slab,
.preloader__frame,
.preloader__wordmark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* What lies beyond the door */
.preloader__void {
  position: absolute;
  left: 5.21%;
  top: 12.61%;
  width: 11.58%;
  height: 81.53%;
  /* Centre is exactly the hero's green, so the walk-through lands on it */
  background: radial-gradient(ellipse 130% 72% at 50% 50%, #092b18 0%, #061a0f 62%, #04120a 100%);
}

/* Hinged on its left edge, so the knob side swings away from the viewer */
.preloader__slab {
  transform-origin: 5.21% 53.38%;
  will-change: transform;
}
.preloader__wordmark { will-change: opacity; }

.preloader--enter .preloader__stage {
  animation: introIn 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.preloader--open .preloader__slab {
  animation: doorSwing 0.85s cubic-bezier(0.45, 0.05, 0.3, 1) forwards;
}
.preloader--open .preloader__wordmark {
  animation: wordmarkOut 0.4s ease forwards;
}
.preloader--exit {
  background-color: var(--ink);
  opacity: 0;
}
.preloader--exit .preloader__stage {
  animation: walkThrough 1.05s cubic-bezier(0.55, 0.06, 0.95, 0.4) forwards;
}
.preloader--done { display: none; }

@keyframes introIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes doorSwing {
  0%   { transform: rotateY(0deg);  filter: brightness(1); }
  100% { transform: rotateY(76deg); filter: brightness(0.68); }
}
@keyframes wordmarkOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes walkThrough {
  0%   { opacity: 1; transform: scale(1); }
  60%  { opacity: 1; }
  100% { opacity: 0; transform: scale(42); }
}

body.is-loading { overflow: hidden; }

/* Reduced motion: no swing, no walk — just a brief hold and fade */
@media (prefers-reduced-motion: reduce) {
  .preloader { transition: opacity 0.3s ease; }
  .preloader--enter .preloader__stage { animation: introIn 0.3s ease forwards; }
  .preloader--open .preloader__slab,
  .preloader--open .preloader__wordmark { animation: none; }
  .preloader--exit .preloader__stage { animation: none; opacity: 1; transform: none; }
}


/* ==============================================
   HEADER — utility bar + main navigation
   ============================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
}

/* ── Utility bar (kept pure white) ── */
.utility-bar {
  background: var(--white);
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease;
  max-height: 48px;
}
.site-header--solid .utility-bar {
  max-height: 0;
  opacity: 0;
}
.utility-bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
}
.utility-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: var(--ease);
}
.utility-link svg {
  width: 17px;
  height: 17px;
  color: var(--gold-dark);
  transition: var(--ease);
}
.utility-link:hover { color: var(--ink); }
.utility-link:hover svg { color: var(--gold); }
.utility-link .u-short { display: none; }

/* ── Main nav (textured off-white) ── */
.nav {
  padding: 16px 0;
  background-color: var(--paper);
  background-image: var(--paper-grain);
  border-top: 1px solid rgba(9,43,24,0.07);
  box-shadow: 0 1px 0 rgba(9,43,24,0.07);
  transition: var(--ease);
}
.site-header--solid .nav {
  padding: 10px 0;
  border-top-color: transparent;
  box-shadow: 0 2px 34px rgba(9,43,24,0.16);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  height: 74px;
  width: auto;
  transition: var(--ease);
}
.site-header--solid .nav__logo { height: 56px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--ink);
  transition: var(--ease);
}
.nav__links a:hover { color: var(--green-mid); }
.nav__cta {
  background: var(--ink) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 2px;
  font-weight: 600 !important;
}
.nav__cta:hover { background: var(--green-mid) !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: var(--ease);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ==============================================
   HERO
   ============================================== */
.hero {
  min-height: 100vh;
  background: var(--ink);
  background-image:
    radial-gradient(ellipse 60% 55% at 15% 50%, rgba(45,95,68,0.60) 0%, transparent 100%),
    radial-gradient(ellipse 55% 45% at 85% 12%, rgba(30,66,46,0.55) 0%, transparent 100%),
    radial-gradient(ellipse 45% 40% at 82% 88%, rgba(30,66,46,0.45) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  text-align: center;
}

/* Grid texture — clearer in the empty flanks, softened behind the text */
.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 66px 66px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 48%, rgba(0,0,0,0.35) 0%, #000 62%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 48%, rgba(0,0,0,0.35) 0%, #000 62%);
  pointer-events: none;
}
/* Gentle vignette so the corners feel intentional, not empty */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 75% at 50% 45%, transparent 55%, rgba(4,14,9,0.45) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero .eyebrow {
  font-size: 13px;
  letter-spacing: 4px;
  margin-bottom: 18px;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero__headline {
  /* Cormorant Garamond — a display-grade Garamond, more dramatic at hero scale
     than the EB Garamond used elsewhere on the site */
  font-family: 'Cormorant Garamond', var(--serif);
  font-size: clamp(54px, 8vw, 100px);
  font-weight: 600;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: 0;
}
.hero__headline em {
  color: var(--gold);
  font-style: italic;
}
.hero__sub {
  font-size: clamp(22px, 3.2vw, 33px);
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  max-width: 760px;
  margin: 0 auto 48px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:.35} 50%{opacity:1} }


/* ==============================================
   STATS BAR
   ============================================== */
.stats {
  background: #F4F1EA;
  border-bottom: 1px solid rgba(9,43,24,0.08);
  padding: 64px 24px 58px;
}
.stats__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 48px;
}
.stats__figures {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0;
}
.stats__map img {
  width: 100%;
  height: auto;
  display: block;
}
.stats__num {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 8px;
  /* Equal-width digits so the number doesn't jitter while counting */
  font-variant-numeric: tabular-nums;
}
.stats__lbl {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.5px;
  text-align: center;
}
.stats__sep {
  width: 64px;
  height: 1px;
  background: rgba(9,43,24,0.18);
}
.stats__note {
  max-width: 620px;
  margin: 26px auto 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-muted);
  text-align: center;
}


/* ==============================================
   ABOUT
   ============================================== */
.about { background: var(--white); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about__copy p {
  font-size: 16px;
  line-height: 1.82;
  color: var(--text-mid);
}

.about__visual {
  position: relative;
  isolation: isolate;
  margin: 8px 22px 22px 0;
}

/* Gold offset frame — a sibling, so it renders behind the card rather than under it */
.about__frame {
  position: absolute;
  inset: 26px -22px -22px 26px;
  border: 2px solid var(--gold);
  border-radius: 3px;
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

.about__card {
  background: var(--green-dark);
  border-radius: 3px;
  padding: 48px 40px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(11,28,17,0.22);
}
/* Door watermark, contained inside the card so it reads as a deliberate backdrop */
.about__card::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -34px;
  transform: translateY(-50%);
  width: 210px;
  height: 292px;
  background: url('assets/door-mark.png') no-repeat center / contain;
  filter: brightness(0) invert(1);
  opacity: 0.07;
  pointer-events: none;
}
.about__quote,
.about__attr { position: relative; z-index: 1; }

.about__card-logo {
  width: 110px;
  margin: 0 auto 32px;
}
.about__quote {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  color: var(--white);
  line-height: 1.65;
  text-align: center;
  margin-bottom: 20px;
}
.about__attr {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-align: center;
}


/* ==============================================
   SERVICES
   ============================================== */
.services {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(38,80,58,0.3) 0%, transparent 70%);
}
.services > .container { position: relative; z-index: 1; }

.services__header {
  text-align: center;
  margin-bottom: 60px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.svc-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  padding: 38px 30px;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}
.svc-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-5px);
}
.svc-card:hover .svc-card__hover {
  transform: translateY(0);
  opacity: 1;
}

.svc-card__badge {
  position: absolute;
  top: 0; right: 20px;
  transform: translateY(-1px);
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 0 0 3px 3px;
}
.svc-card__icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 22px;
}
.svc-card__title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.25;
}
.svc-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.58);
  margin-bottom: 22px;
}
.svc-card__list {
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px;
}
.svc-card__list li {
  font-size: 13px;
  color: rgba(255,255,255,0.46);
  padding: 5px 0 5px 16px;
  position: relative;
}
.svc-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 1px;
  background: var(--gold);
}

.svc-card__hover {
  position: absolute;
  inset: 0;
  background: var(--green-mid);
  border-top: 2px solid rgba(201,168,76,0.5);
  padding: 36px 30px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svc-card__hover-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.svc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.svc-card__tag {
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  padding: 6px 14px;
  line-height: 1;
}


/* ==============================================
   THE DIFFERENCE
   ============================================== */
.difference { background: var(--cream); }

.difference__header {
  max-width: 640px;
  margin-bottom: 60px;
}
.difference__lead {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.72;
}
.difference__lead em { color: var(--green-dark); font-style: italic; font-weight: 500; }

.difference__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.diff-item {
  background: var(--white);
  border-left: 3px solid var(--gold);
  border-radius: 0 3px 3px 0;
  padding: 30px 28px;
  transition: var(--ease);
}
.diff-item:hover {
  box-shadow: 0 6px 28px rgba(11,28,17,0.1);
  transform: translateY(-3px);
}
.diff-item__num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--green-pale);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.diff-item h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.diff-item p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--text-mid);
}


/* ==============================================
   TEAM
   ============================================== */
.team { background: var(--white); }

.team__header {
  max-width: 600px;
  margin-bottom: 60px;
}
.team__lead {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.72;
}

/* Full-width rows: portrait on the left, everything else on the right */
.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.team-card {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  background: var(--cream);
  border-radius: 4px;
  padding: 40px 44px;
  transition: var(--ease);
}
.team-card:hover {
  box-shadow: 0 12px 40px rgba(9,43,24,0.12);
  transform: translateY(-4px);
}

/* Portrait frame — shows each photo's real background, no green treatment */
.team-card__photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(9,43,24,0.12);
  box-shadow: 0 6px 22px rgba(9,43,24,0.12);
}
.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card__body {
  padding: 0;
  text-align: left;
  /* Cap the measure so the bios stay readable on wide screens */
  max-width: 720px;
}
.team-card__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 4px;
}
.team-card__title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.team-card__bio {
  font-size: 19px;
  line-height: 1.75;
  color: var(--text-mid);
  text-align: left;
  margin-bottom: 14px;
}
.team-card__bio:last-of-type { margin-bottom: 22px; }
.team-card__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
  padding: 7px 16px;
  border-radius: 2px;
  transition: var(--ease);
}
.team-card__linkedin svg {
  width: 15px;
  height: 15px;
}
.team-card__linkedin:hover {
  background: var(--green-dark);
  color: var(--white);
}

@media (max-width: 1024px) {
  .team-card { grid-template-columns: 172px minmax(0, 1fr); gap: 32px; padding: 32px 30px; }
}

/* Too narrow for two columns — stack, but keep the portrait left-aligned */
@media (max-width: 660px) {
  .team-card { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; }
  .team-card__photo-wrap { width: 160px; }
  /* The larger size exists to fill desktop whitespace; on a phone it just
     shortens the line to ~28 characters, so ease it back */
  .team-card__bio { font-size: 17px; line-height: 1.7; }
}

/* ==============================================
   CTA BAND
   ============================================== */
.cta-band {
  background: var(--green-dark);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(201,168,76,0.07) 0%, transparent 70%);
}
.cta-band__inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-band__title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-band__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.62);
  margin-bottom: 38px;
  line-height: 1.65;
}


/* ==============================================
   CONTACT
   ============================================== */
.contact { background: var(--white); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact__lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 36px;
}
.contact__details { display: flex; flex-direction: column; gap: 0; }
.contact__detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--green-pale);
}
.contact__detail:first-child { padding-top: 0; }
.contact__detail-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}
.contact__detail-value {
  font-size: 16px;
  color: var(--green-dark);
  font-weight: 500;
  transition: var(--ease);
}
a.contact__detail-value:hover { color: var(--gold-dark); }

/* Form */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form {
  background: var(--cream);
  padding: 44px 40px;
  border-radius: 3px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--green-dark);
  margin-bottom: 7px;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 15px;
  background: var(--white);
  border: 1px solid rgba(24,53,38,0.16);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  transition: var(--ease);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(24,53,38,0.07);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(0,0,0,0.28); }
.form-group textarea { resize: vertical; min-height: 96px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23183526' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.form-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}


/* ==============================================
   FOOTER
   ============================================== */
.footer {
  background: var(--white);
  padding: 64px 24px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(9,43,24,0.2);
}
.footer__brand img { height: 74px; margin-bottom: 16px; }
.footer__brand p { font-size: 13px; color: var(--ink); white-space: nowrap; }

.footer__links { display: flex; gap: 64px; }
.footer__col h4 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a {
  font-size: 13px;
  color: rgba(9,43,24,0.65);
  transition: var(--ease);
}
.footer__col ul li a:hover { color: var(--ink); }

.footer__bottom {
  padding: 22px 24px;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__bottom p { font-size: 12px; color: rgba(9,43,24,0.55); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a {
  color: rgba(9,43,24,0.6);
  transition: var(--ease);
}
.footer__legal a:hover { color: var(--ink); }


/* ==============================================
   EMAIL LIST MODAL
   ============================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9,43,24,0.62);
  backdrop-filter: blur(3px);
  animation: modalFade 0.25s ease forwards;
}
.modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overflow-x: hidden;
  background-color: var(--paper);
  background-image: var(--paper-grain);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  padding: 40px 38px 34px;
  box-shadow: 0 24px 70px rgba(9,43,24,0.34);
  animation: modalRise 0.32s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.modal__close {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  transition: var(--ease);
}
.modal__close:hover { color: var(--green-dark); }
.modal__title {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}
.modal__lead {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 24px;
}

@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Constant Contact inline form, restyled to match the site ── */
.modal__cc { overflow: hidden; }
.modal__cc .ctct-form-container,
.modal__cc .ctct-form-defaults,
.modal__cc .ctct-form-custom,
.modal__cc .ctct-form-field,
.modal__cc .ctct-form-embed {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  font-family: var(--sans) !important;
  box-shadow: none !important;
}
/* Hide Constant Contact's own title + description — our heading + lead cover it */
.modal__cc .ctct-form-custom > .ctct-form-header,
.modal__cc .ctct-form-custom > .ctct-form-text { display: none !important; }

.modal__cc .ctct-form-field { margin-bottom: 16px !important; }

/* Labels — match our .form-group label */
.modal__cc .ctct-form-label {
  display: block !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  color: var(--green-dark) !important;
  margin-bottom: 7px !important;
}
.modal__cc .ctct-form-required::before { color: var(--gold-dark) !important; }

/* Inputs — match our .form-group input */
.modal__cc .ctct-form-element {
  width: 100% !important;
  padding: 11px 15px !important;
  background: var(--white) !important;
  border: 1px solid rgba(24,53,38,0.16) !important;
  border-radius: 2px !important;
  font-family: var(--sans) !important;
  font-size: 15px !important;
  color: var(--text) !important;
  box-sizing: border-box !important;
}
.modal__cc .ctct-form-element:focus {
  outline: none !important;
  border-color: var(--green-dark) !important;
  box-shadow: 0 0 0 3px rgba(24,53,38,0.07) !important;
}

/* Submit button — match our .btn--green.btn--full */
.modal__cc .ctct-form-button {
  width: 100% !important;
  display: block !important;
  background: var(--green-dark) !important;
  color: var(--white) !important;
  border: 2px solid var(--green-dark) !important;
  border-radius: 2px !important;
  font-family: var(--sans) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.6px !important;
  text-transform: none !important;
  padding: 15px !important;
  margin: 6px 0 0 !important;
  cursor: pointer !important;
  transition: var(--ease) !important;
}
.modal__cc .ctct-form-button:hover {
  background: var(--green-mid) !important;
  border-color: var(--green-mid) !important;
}

/* Consent / footer text — match our .form-note */
.modal__cc .ctct-gdpr-text,
.modal__cc .ctct-form-footer {
  font-family: var(--sans) !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
  color: var(--text-muted) !important;
  margin: 10px 0 0 !important;
  text-align: left !important;
}
.modal__cc .ctct-gdpr-text a,
.modal__cc .ctct-form-footer-link { color: var(--text-mid) !important; }

/* Constant Contact branding — keep it, just centre + shrink */
.modal__cc .ctct-form-footer-img { margin: 10px auto 0 !important; opacity: 0.7; }

/* Error text */
.modal__cc .ctct-form-errorMessage,
.modal__cc .ctct-form-error {
  font-family: var(--sans) !important;
  font-size: 12px !important;
}

/* Success message — use our serif for the headline */
.modal__cc .ctct-form-success .ctct-form-header {
  font-family: var(--serif) !important;
  color: var(--green-dark) !important;
}


/* ==============================================
   COOKIE CONSENT BANNER
   ============================================== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1300;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  background: var(--green-dark);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 18px 22px;
  box-shadow: 0 12px 40px rgba(9,43,24,0.32);
  animation: cookieRise 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes cookieRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  flex: 1 1 300px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}
.cookie-banner__text a {
  color: var(--gold-light);
  text-decoration: underline;
}
.cookie-banner__text a:hover { color: var(--white); }
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner__btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 10px 22px;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--ease);
}
.cookie-banner__btn--accept {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.cookie-banner__btn--accept:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.cookie-banner__btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.35);
}
.cookie-banner__btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
}
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner__actions { justify-content: flex-end; }
}


/* ==============================================
   SCROLL REVEAL
   ============================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.svc-card:nth-child(2).reveal { transition-delay: 0.1s; }
.svc-card:nth-child(3).reveal { transition-delay: 0.2s; }
.diff-item:nth-child(2) { transition-delay: 0.08s; }
.diff-item:nth-child(3) { transition-delay: 0.16s; }
.diff-item:nth-child(4) { transition-delay: 0.06s; }
.diff-item:nth-child(5) { transition-delay: 0.12s; }
.diff-item:nth-child(6) { transition-delay: 0.18s; }


/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 1024px) {
  .section { padding: 80px 24px; }
  .about__grid,
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { margin: 8px 22px 22px 0; max-width: 520px; }
  .services__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .nav__logo { height: 62px; }
  .difference__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  /* Stack: figures side by side on top, map beneath */
  .stats__inner { grid-template-columns: 1fr; gap: 38px; }
  .stats__figures { flex-direction: row; justify-content: center; gap: 0; }
  .stats__item { padding: 0 40px; }
  .stats__sep { width: 1px; height: 56px; }
  .stats__map { max-width: 560px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav { position: relative; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background-color: var(--paper);
    background-image: var(--paper-grain);
    padding: 24px;
    gap: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  }
  .nav__burger { display: flex; }
  .nav__logo { height: 54px; }

  .utility-bar { max-height: 42px; }
  .utility-bar__inner {
    justify-content: center;
    gap: 22px;
    padding: 0 16px;
    height: 42px;
  }
  .utility-link { font-size: 10px; letter-spacing: 1px; gap: 6px; white-space: nowrap; }
  .utility-link svg { width: 14px; height: 14px; }
  .utility-link .u-full { display: none; }
  .utility-link .u-short { display: inline; }

  .about__visual { margin: 8px 18px 18px 0; }
  .about__card { padding: 40px 28px; }
  .about__card::before { width: 160px; height: 222px; right: -46px; }

  .modal__panel { padding: 34px 24px 28px; }

  .hero__headline { font-size: clamp(38px, 9vw, 60px); }

  .stats__item { padding: 0 16px; }
  .stats__note { font-size: 11px; margin-top: 18px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  .footer__inner { flex-direction: column; gap: 36px; }
  .footer__links { gap: 36px; }
  .footer__bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
}
