/* ============================================================
   ZOSTERA PARTNERS — DESIGN SYSTEM v2
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Brand greens — deep, muted, genuinely premium */
  --brand-950: #022B24;
  --brand-900: #073D32;
  --brand-800: #0C5443;
  --brand-700: #146B54;
  --brand-500: #2D9B76;
  --brand-300: #72C4A8;
  --brand-200: #A8DAC9;
  --brand-100: #D0EDE5;
  --brand-50:  #EAF5F1;

  /* Warm stone neutrals */
  --stone-950: #1A1714;
  --stone-800: #2E2A26;
  --stone-600: #5A5450;
  --stone-400: #8C8680;
  --stone-200: #C8C3BC;
  --stone-100: #E2DDD8;
  --stone-50:  #F5F2EE;
  --warm-white: #FBFAF8;

  /* Dark backgrounds — deep forest greens, not blue */
  --slate:       #1E3632;
  --slate-mid:   #264348;
  --slate-light: #2A4A3E;

  /* Typography */
  --text-primary: #1A1714;
  --text-body:    #3D3832;
  --text-muted:   #6E6860;

  /* Warm Stone accent */
  --gold:       #B8A898;
  --gold-light: #D0C8BC;

  /* Rules */
  --rule:       rgba(12, 84, 67, 0.10);
  --rule-mid:   rgba(12, 84, 67, 0.16);
  --rule-stone: rgba(90, 84, 80, 0.14);

  /* Legacy aliases so nothing breaks */
  --teal-950: var(--brand-950);
  --teal-900: var(--brand-900);
  --teal-800: var(--brand-800);
  --teal-700: var(--brand-700);
  --teal-400: var(--brand-300);
  --teal-200: var(--brand-200);
  --teal-100: var(--brand-100);
  --teal-50:  var(--brand-50);
  --navy:     var(--slate);
  --navy-mid: var(--slate-mid);
  --sand:     var(--stone-50);
  --sand-mid: var(--stone-100);
  --sand-dark: var(--stone-200);
  --text-dark: var(--text-primary);
  --text-mid:  var(--text-body);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --max-w: 1160px;
  --nav-h: 74px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { cursor: pointer; font-family: var(--font-body); }

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
}
h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.3;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
h4 { font-size: 1rem; letter-spacing: 0.01em; }
p  { font-size: 1rem; color: var(--text-body); line-height: 1.8; }

/* Eyebrow — deep brand green on light backgrounds */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-800);
  margin-bottom: 14px;
}
/* Light variant for dark backgrounds */
.eyebrow--light { color: #A0B1A9; }

.lead { font-size: 1.1rem; line-height: 1.82; color: var(--text-body); }

/* ─── LAYOUT ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
section { padding: 104px 0; }
section.tight { padding: 64px 0; }
section.flush { padding: 0; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  border: none;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand-800);
  color: #fff;
}
.btn--primary:hover {
  background: var(--brand-700);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.22);
}
.btn--ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
}
.btn--outline {
  background: transparent;
  color: var(--brand-800);
  border: 1.5px solid var(--brand-700);
}
.btn--outline:hover {
  background: var(--brand-800);
  color: #fff;
}
.btn--white {
  background: #fff;
  color: var(--slate);
}
.btn--white:hover {
  background: var(--brand-50);
  transform: translateY(-1px);
}

/* ─── NAV ─────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(251,250,248,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-stone);
  transition: box-shadow 0.3s var(--ease);
}
#nav.scrolled {
  box-shadow: 0 2px 28px rgba(17,27,34,0.08);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-900);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: #698C8E;
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--brand-800); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--brand-800); }
.nav-cta {
  background: var(--brand-900) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 1px;
  font-size: 0.7rem !important;
}
.nav-cta:hover { background: var(--brand-800) !important; }
.nav-cta::after { display: none !important; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--brand-900);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--slate);
  z-index: 199;
  padding: calc(var(--nav-h) + 40px) 40px 40px;
  flex-direction: column;
  overflow-y: auto;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
#mobile-menu a:hover,
#mobile-menu a.active { color: var(--brand-300); }
#mobile-menu .mobile-cta {
  margin-top: 32px;
  align-self: flex-start;
}

/* ─── PAGE ROUTING ────────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(6,24,18,0.84) 0%, rgba(8,30,22,0.76) 50%, rgba(6,24,18,0.90) 100%),
    url('../images/hero-bg.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 80px) 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-grid-bg { display: none; }
.hero-glow    { display: none; }
.hero-glow-2  { display: none; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
  margin: 0 auto;
}
.hero h1 {
  color: #fff;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  margin-bottom: 20px;
  line-height: 1.18;
}
.hero h1 em {
  font-style: italic;
  color: var(--brand-300);
  display: block;
  font-size: clamp(1.6rem, 3.2vw, 2.7rem);
  margin-top: 4px;
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
}
.hero-pill {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  padding: 0;
  border: none;
  background: none;
}
.hero-pill + .hero-pill::before {
  content: '·';
  margin: 0 12px;
  color: rgba(255,255,255,0.18);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stats {
  display: flex;
  gap: 56px;
  margin-top: 84px;
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stat-n {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 7px;
}
.hero-stat-l {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* ─── INTRO BAND ─────────────────────────────────────────── */
/* Warm stone — distinct from the slate footer */
.intro-band {
  background: #1E3632;
  padding: 60px 0;
}
.intro-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.intro-band .container { text-align: center; }
.intro-band .intro-desc {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
}
.intro-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
  padding-left: 28px;
  border-left: 2px solid var(--brand-300);
}
.intro-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.82;
}

/* ─── SECTION HEADERS ─────────────────────────────────────── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}
.section-title { margin-bottom: 0; }
.section-title-block { margin-bottom: 56px; }

/* ─── SERVICES GRID ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--stone-200);
  border: 1px solid var(--stone-200);
}
.services-grid .service-card:last-child:nth-child(3n+1) {
  grid-column: 1 / -1;
}
.service-card {
  background: var(--warm-white);
  padding: 38px 30px 44px;
  position: relative;
  transition: background 0.25s var(--ease);
  cursor: default;
}
.service-card:hover { background: #EBF3F3; }
.service-icon {
  width: 40px;
  height: 40px;
  background: var(--stone-50);
  border-radius: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.25s;
}
.service-card:hover .service-icon { background: #D4E8E8; }
.service-icon svg {
  width: 19px; height: 19px;
  stroke: var(--brand-800);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h4 { font-size: 0.95rem; color: var(--stone-950); margin-bottom: 11px; }
.service-card p  { font-size: 0.875rem; line-height: 1.78; color: var(--text-muted); }
.service-card-arrow {
  position: absolute;
  bottom: 22px;
  right: 26px;
  font-size: 1rem;
  color: var(--brand-700);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}
.service-card:hover .service-card-arrow { opacity: 1; transform: translateX(0); }

/* ─── VALUES LIST ────────────────────────────────────────── */
.values-list { border-top: 1px solid var(--rule-stone); }
.value-item {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-stone);
  align-items: flex-start;
}
.value-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--brand-800);
  min-width: 28px;
  margin-top: 1px;
}
.value-item h4 { font-size: 0.92rem; margin-bottom: 3px; color: var(--stone-950); }
.value-item p  { font-size: 0.85rem; color: var(--text-muted); }

/* ─── PROCESS STEPS — redesigned ─────────────────────────── */
.process-steps { display: grid; gap: 0; margin-top: 16px; }
.process-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule-stone);
  position: relative;
}
.process-step:first-child { border-top: 1px solid var(--rule-stone); }

/* Number as subtle side label */
.step-track { display: none; }

.step-body {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 0;
}
.step-num-label {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--stone-200);
  line-height: 1;
  padding-top: 2px;
}
.step-content {}
.step-tag {
  display: inline-block;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-800);
  margin-bottom: 7px;
}
.step-body h4 { font-size: 1rem; color: var(--stone-950); margin-bottom: 8px; font-weight: 500; }
.step-body p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.78; }

/* ─── CHECK GRID — replaced with clean text list ─────────── */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-stone);
}
.check-item {
  background: transparent;
  padding: 28px 0 28px 0;
  border-bottom: 1px solid var(--rule-stone);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.check-item:nth-child(odd)  { padding-right: 48px; }
.check-item:nth-child(even) { padding-left: 48px; border-left: 1px solid var(--rule-stone); }

/* Replace circle checkmark with a simple dash */
.check-dot {
  width: auto;
  height: auto;
  min-width: auto;
  background: none;
  border: none;
  border-radius: 0;
  display: block;
  margin-top: 5px;
  flex-shrink: 0;
}
.check-dot svg { display: none; }
.check-dot::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: #698C8E;
  margin-top: 9px;
}
.check-item h4 { font-size: 0.95rem; color: var(--stone-950); margin-bottom: 6px; font-weight: 500; }
.check-item p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; }

/* ─── VALUES GRID (6-up) ──────────────────────────────────── */
.values-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-stone);
  border-left: 1px solid var(--rule-stone);
  margin-top: 52px;
}
.value-card {
  background: var(--warm-white);
  padding: 36px 32px;
  border-bottom: 1px solid var(--rule-stone);
  border-right: 1px solid var(--rule-stone);
}
.value-numeral {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--stone-200);
  line-height: 1;
  margin-bottom: 14px;
}
.value-card h4 { font-size: 0.95rem; color: var(--stone-950); margin-bottom: 9px; }
.value-card p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; }

/* ─── TEAM CARDS ─────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 56px;
}
.team-card {
  border: 1px solid var(--rule-stone);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-photo-wrap {
  width: 100%;
  height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.team-photo-wrap--jacki {
  background: #C9A882;
  align-items: flex-start;
}
.team-photo-wrap--jacki::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7,61,50,0.07);
  pointer-events: none;
}
.team-photo-wrap--maya {
  background: #1C3F5A;
}
.team-photo-wrap--maya::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7,61,50,0.07);
  pointer-events: none;
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-photo.photo-jacki { object-fit: contain; object-position: center top; background: #C9A882; }
.team-photo.photo-maya  { object-fit: contain; object-position: center top; background: #1C3F5A; }
.team-info { padding: 34px 32px; flex: 1; }
.team-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--stone-950);
  margin-bottom: 4px;
  line-height: 1.15;
}
.team-role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-800);
  margin-bottom: 20px;
}
.team-bio { font-size: 0.9rem; line-height: 1.82; color: var(--text-body); margin-bottom: 14px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.team-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--brand-800);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 4px 12px;
  border-radius: 1px;
}

/* ─── PILLAR CARDS — redesigned ──────────────────────────── */
/* Now displayed as a clean table/grid instead of dark cards */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-stone);
  border-left: 1px solid var(--rule-stone);
  margin-top: 48px;
}
.pillar-card {
  background: transparent;
  padding: 32px 28px;
  border-bottom: 1px solid var(--rule-stone);
  border-right: 1px solid var(--rule-stone);
  border-radius: 0;
}
/* Remove the green dot entirely */
.pillar-dot { display: none; }
.pillar-card h4 {
  color: var(--stone-950);
  font-size: 0.92rem;
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-stone);
}
.pillar-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; }

/* ─── CTA BAND ────────────────────────────────────────────── */
.cta-band {
  background: var(--brand-900);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center / cover no-repeat;
  opacity: 0.06;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .eyebrow { color: #A0B1A9; justify-content: center; display: flex; }
.cta-band h2 { color: #fff; max-width: 540px; margin: 14px auto 18px; font-size: clamp(1.7rem,3vw,2.4rem); }
.cta-band p  { color: rgba(255,255,255,0.55); max-width: 420px; margin: 0 auto 36px; }

/* ─── REFERRAL BAND ──────────────────────────────────────── */
.referral-band {
  background: var(--slate-mid);
  padding: 84px 0;
}
.referral-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.referral-text h2 { color: #fff; margin-bottom: 14px; font-size: clamp(1.7rem,3vw,2.4rem); }
.referral-text p  { color: rgba(255,255,255,0.55); margin-bottom: 30px; }
.referral-list { list-style: none; }
.referral-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  align-items: flex-start;
}
.referral-list li:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.ref-dot {
  width: 18px;
  height: 1px;
  background: var(--gold);
  margin-top: 11px;
  flex-shrink: 0;
}
.referral-list strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  margin-bottom: 3px;
}
.referral-list span { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ─── CONTACT ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-text h2 { margin-bottom: 14px; }
.contact-text p  { margin-bottom: 28px; }
.contact-details { margin-top: 36px; display: grid; gap: 18px; }
.contact-detail  { display: flex; align-items: center; gap: 14px; }
.contact-icon-wrap {
  width: 36px;
  height: 36px;
  background: var(--brand-50);
  border-radius: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon-wrap svg {
  width: 15px; height: 15px;
  stroke: var(--brand-800);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-detail p { font-size: 0.9rem; margin: 0; }
.contact-detail a { color: var(--brand-800); text-decoration: none; }
.contact-detail a:hover { text-decoration: underline; }
.privacy-box {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-left: 3px solid #698C8E;
  padding: 20px 22px;
  border-radius: 0;
  margin-top: 36px;
}
.privacy-box p { font-size: 0.85rem; color: var(--stone-950); line-height: 1.72; }
.privacy-box strong { display: block; font-weight: 600; margin-bottom: 4px; }

/* ─── CONTACT FORM ────────────────────────────────────────── */
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--stone-100);
  padding: 40px;
  border-radius: 0;
}
.contact-form-wrap h3 { font-size: 1.5rem; margin-bottom: 6px; }
.contact-form-wrap > p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 28px; }
.form-row { margin-bottom: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label.form-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
input.form-input,
select.form-select,
textarea.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--stone-200);
  border-radius: 0;
  background: var(--warm-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
input.form-input:focus,
select.form-select:focus,
textarea.form-textarea:focus {
  border-color: var(--brand-700);
  background: #fff;
}
textarea.form-textarea { resize: vertical; min-height: 118px; line-height: 1.65; }
select.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236E6860' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--brand-900);
  color: #fff;
  border: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s;
  margin-top: 6px;
}
.form-submit:hover { background: var(--brand-700); }
.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.form-success { display: none; text-align: center; padding: 48px 24px; }
.form-success-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success-icon svg {
  width: 22px; height: 22px;
  stroke: var(--brand-800);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-success h3 { font-size: 1.5rem; color: var(--stone-950); margin-bottom: 10px; }
.form-success p  { font-size: 0.92rem; color: var(--text-muted); }

/* ─── PAGE HEROES (interior) ──────────────────────────────── */
.page-hero {
  background:
    linear-gradient(160deg, rgba(6,24,18,0.86) 0%, rgba(8,30,22,0.78) 50%, rgba(6,24,18,0.92) 100%),
    url('../images/hero-bg.jpg') center center / cover no-repeat;
  padding: calc(var(--nav-h) + 80px) 0 80px;
}
.page-hero .eyebrow { color: #A0B1A9; }
.page-hero h1 { color: #fff; max-width: 640px; margin-bottom: 18px; }
.page-hero p  { color: rgba(255,255,255,0.58); max-width: 520px; font-size: 1.02rem; }

/* ─── ABOUT MISSION CARD ─────────────────────────────────── */
.mission-card {
  background: var(--stone-50);
  padding: 48px 44px;
  border-radius: 0;
  border-left: 3px solid #698C8E;
}
.mission-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-style: italic;
  font-weight: 300;
  color: var(--stone-950);
  line-height: 1.5;
  margin-bottom: 20px;
}
.mission-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ─── GUIDING PHILOSOPHY — distinct from footer ──────────── */
/* Uses warm parchment stone instead of slate/navy */
.philosophy-section {
  background: #162E2A;
  padding: 104px 0;
}

/* ─── SERVICES DETAIL ─────────────────────────────────────── */
.service-detail {
  display: grid;
  grid-template-columns: 5fr 9fr;
  gap: 56px;
  padding: 52px 0;
  border-bottom: 1px solid var(--rule-stone);
  align-items: start;
}
.service-detail:first-child { border-top: 1px solid var(--rule-stone); }
.service-detail-meta .eyebrow { font-size: 0.65rem; color: var(--text-muted); }
.service-detail h3 { font-size: 1.7rem; margin-bottom: 12px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.service-tag {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-800);
  border: 1px solid var(--brand-200);
  padding: 3px 10px;
  border-radius: 1px;
}
.service-detail-body > p { margin-bottom: 16px; }
.service-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}
.service-mini-item {
  background: var(--stone-50);
  padding: 14px 18px;
  border-radius: 0;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
  border-left: 2px solid #698C8E;
}
/* Removed service-highlight yellow boxes per request */
.service-highlight { display: none; }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--slate);
  padding: 72px 0 44px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .nav-logo { margin-bottom: 18px; }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.78;
  max-width: 280px;
}
.footer-brand a.footer-email {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--brand-200);
  text-decoration: none;
  margin-top: 14px;
  transition: color 0.2s;
}
.footer-brand a.footer-email:hover { color: var(--brand-300); }
.footer-col h5 {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
.footer-col a:hover { color: var(--brand-200); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* ─── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim { opacity: 0; }
.anim.visible { animation: fadeUp 0.65s var(--ease-out) forwards; }
.anim-d1 { animation-delay: 0.08s; }
.anim-d2 { animation-delay: 0.17s; }
.anim-d3 { animation-delay: 0.27s; }
.anim-d4 { animation-delay: 0.38s; }
.anim-d5 { animation-delay: 0.5s; }
.anim-d6 { animation-delay: 0.62s; }

/* ─── UTILITIES ───────────────────────────────────────────── */
.bg-sand     { background: var(--stone-50); }
.bg-white    { background: var(--warm-white); }
.bg-navy     { background: var(--slate); }
.bg-teal     { background: var(--brand-900); }
.text-center { text-align: center; }
.mt-4  { margin-top: 4px; }  .mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }  .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.two-col-center { align-items: center; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-800);
  text-decoration: none;
  border-bottom: 1px solid var(--brand-200);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.text-link:hover { color: var(--brand-700); border-color: var(--brand-700); }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .values-grid-6 { grid-template-columns: 1fr 1fr; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr 2fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 20px; }
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-logo-name { font-size: 0.95rem; }
  .hero {
    min-height: 0 !important;
    height: auto !important;
    align-items: flex-start !important;
    padding: calc(var(--nav-h) + 36px) 0 72px !important;
  }
  .hero-content { width: 100%; margin: 0 auto; }
  .hero h1 { font-size: clamp(1.55rem, 5.5vw, 2.2rem); margin-bottom: 18px; }
  .hero h1 em { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .hero-sub { font-size: 0.93rem; margin: 0 auto 28px; }
  .hero-pills { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 24px; margin-top: 44px; padding-top: 28px; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero-stat-n { font-size: 1.7rem; }
  .intro-band-inner { grid-template-columns: 1fr; gap: 28px; }
  .intro-quote { font-size: 1.1rem; padding-left: 20px; }
  .two-col, .contact-grid, .referral-inner { grid-template-columns: 1fr; gap: 36px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 16px; }
  .service-mini-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .values-grid-6 { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .check-item:nth-child(odd), .check-item:nth-child(even) { padding-left: 0; padding-right: 0; border-left: none; }
  .pillar-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; gap: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
  .team-photo-wrap { height: 420px; }
  .team-info { padding: 24px 22px; }
  .team-name { font-size: 1.7rem; }
  .process-step { padding: 24px 0; }
  .step-body { grid-template-columns: 36px 1fr; gap: 20px; }
  .step-num-label { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .mission-card { padding: 32px 28px; }
  .mission-card blockquote { font-size: 1.15rem; }
  .contact-form-wrap { padding: 28px 22px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .page-hero { padding: calc(var(--nav-h) + 48px) 0 60px; }
  .page-hero h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
  .referral-band { padding: 64px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  section { padding: 52px 0; }
  .hero { padding: calc(var(--nav-h) + 28px) 0 60px !important; }
  .hero h1 { font-size: 1.45rem; margin-bottom: 14px; }
  .hero h1 em { font-size: 1.6rem; }
  .hero-sub { font-size: 0.88rem; margin-bottom: 24px; }
  .hero-pills { margin-bottom: 28px; }
  .hero-stats { margin-top: 36px; padding-top: 24px; }
  .hero-stat-n { font-size: 1.5rem; }
  .nav-inner { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .team-grid { max-width: 100%; }
  .team-photo-wrap { height: 360px; }
  .value-numeral { font-size: 1.4rem; }
  .contact-form-wrap { padding: 24px 16px; }
  .cta-band { padding: 64px 0; }
  .cta-band h2 { font-size: 1.6rem; }
}
