:root {
  --cream: #FAF6EE;
  --sand: #F3EEE3;
  --line: #E6DED0;
  --line-strong: #D9CFBE;
  --ink: #1F1B16;
  --body: #3F382F;
  --muted: #5E564B;
  --teal: #1E5A55;
  --teal-dark: #123C38;
  --gold: #B07A2A;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Work Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
section[id], article[id] { scroll-margin-top: 96px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.band { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--white { background: #fff; }
.section { padding-top: 80px; padding-bottom: 80px; }

.eyebrow {
  margin: 0 0 10px; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); font-weight: 600;
}
.h-display { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 46px); line-height: 1.15; max-width: 760px; }
.h-card { font-family: var(--serif); font-weight: 600; font-size: 26px; margin-bottom: 12px; }
.lede { margin: 18px 0 44px; max-width: 720px; color: var(--body); }
.text-body { color: var(--body); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; transition: background-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal); color: #fff; padding: 15px 28px; }
.btn--primary:hover { background: var(--teal-dark); color: #fff; }
.btn--outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--sm { padding: 12px 24px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; order: 2; }
.nav-toggle, .nav { order: 1; }
.brand img { height: 52px; width: auto; display: block; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--teal); }
.nav a.nav__cta { background: var(--teal); color: #fff; padding: 11px 20px; border-radius: 999px; }
.nav a.nav__cta:hover { background: var(--teal-dark); color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 8px 16px; font: inherit; font-weight: 600; font-size: 15px; color: var(--ink); cursor: pointer;
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a.nav__cta { margin-top: 14px; text-align: center; border-bottom: 0; }
  .site-header.is-open .nav { display: flex; }
}

/* Hero */
.hero { padding-top: 88px; padding-bottom: 64px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 68px); line-height: 1.08; max-width: 900px; margin-top: 8px; }
.hero h1 em { color: var(--teal); }
.hero__sub { margin-top: 24px; font-size: 20px; max-width: 720px; color: var(--body); }
.hero .btn-row { margin-top: 34px; }

/* Pathfinder */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; }
.panel h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; margin-bottom: 6px; }
.panel > p { margin-bottom: 28px; color: var(--muted); }
.grid { display: grid; gap: 20px; }
.grid--240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--320 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid--200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.grid--180 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.grid--230 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.need {
  display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 14px;
  background: var(--sand); text-decoration: none; color: var(--ink);
  border: 1px solid transparent; transition: border-color .2s, transform .2s;
}
.need:hover { color: var(--ink); border-color: var(--teal); transform: translateY(-2px); }
.need__label { font-size: 13px; color: var(--teal); font-weight: 600; }
.need__quote { font-weight: 500; }

@media (max-width: 560px) { .panel { padding: 28px 22px; } }

/* Stats */
.stat__num { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--teal); }
.stat__num--md { font-size: 40px; }
.stat__label { margin-top: 8px; color: var(--body); }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; padding-top: 80px; padding-bottom: 40px; }

.award {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 28px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
}
.award a { font-weight: 600; padding: 10px 0; }

/* Services */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px;
  display: flex; flex-direction: column; gap: 10px;
}
.card__num { font-family: var(--serif); font-size: 15px; color: var(--teal); }
.card h3 { font-size: 21px; font-weight: 600; }
.card p { color: var(--body); }
.card:target { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30, 90, 85, 0.15); }
.inline-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--body); }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 48px; }
.sector { padding: 22px 0; border-top: 1px solid var(--line-strong); }
.sector h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.sector p { color: var(--body); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.step { display: flex; flex-direction: column; gap: 8px; }
.step__num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold); }
.step h3 { font-size: 19px; font-weight: 600; }
.step p { color: var(--body); }

/* Clients */
.chips { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); font-size: 15px; }
.impact-stats { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }

/* Atlas */
.tile { background: var(--sand); border-radius: 14px; padding: 22px; }
.tile__num { font-family: var(--serif); font-size: 36px; line-height: 1; }
.tile__label { margin-top: 6px; color: var(--body); font-size: 15px; }
.atlas-lede { margin: 18px 0 28px; max-width: 820px; color: var(--body); }
.atlas-link { margin-top: 12px; font-size: 15px; color: var(--body); }
.atlas-link a { font-weight: 600; }
.mini h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.mini p { color: var(--body); }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; margin-top: 40px; }
.about__photo { flex: 1 1 280px; max-width: 360px; }
.portrait {
  width: 100%; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-dark) 100%);
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.portrait__fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--cream); font-family: var(--serif); text-align: center; padding: 24px;
}
.portrait__fallback span:first-child { font-size: 88px; line-height: 1; }
.portrait__fallback span:last-child { margin-top: 12px; font-family: var(--sans); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; opacity: .8; }
.about__bio { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; color: var(--body); }
.about__bio strong { color: var(--ink); }
.values { margin-top: 48px; }
.value { background: #fff; border-radius: 14px; padding: 22px; }
.value h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.value p { font-size: 15px; color: var(--body); }

/* Resources */
.resource {
  display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 26px; text-decoration: none; color: var(--ink);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.resource:hover { color: var(--ink); border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 10px 24px -16px rgba(31, 27, 22, 0.35); }
.resource__type { font-size: 13px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.resource__title { font-size: 19px; font-weight: 600; }
.resource__desc { color: var(--body); }
.resource__link { color: var(--teal); font-weight: 600; margin-top: auto; }

/* CTA */
.cta { background: var(--teal); color: #fff; border-radius: 24px; padding: 56px 40px; text-align: center; }
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 44px); }
.cta p { margin: 16px auto 0; max-width: 680px; color: #E4EFEC; }
.cta .btn-row { justify-content: center; margin-top: 30px; }
.cta .btn--light { background: var(--cream); color: var(--teal); }
.cta .btn--light:hover { background: #fff; color: var(--teal-dark); }
.cta .btn--ghost { border: 1.5px solid #fff; color: #fff; }
.cta .btn--ghost:hover { background: #fff; color: var(--teal); }
@media (max-width: 560px) { .cta { padding: 44px 22px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 32px; padding-bottom: 32px; font-size: 15px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; }
.site-footer__brand img { height: 42px; width: auto; align-self: flex-start; }
.site-footer__brand span { color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-nav a { padding: 8px 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
