@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --ink: #2E2E2E;
  --paper: #F8F7F4;
  --paper-alt: #EDEBE0;
  --stone: #C6C6BA;
  --emerald-deep: #24572C;
  --emerald: #368941;
  --emerald-bright: #37BC46;
  --teal: #007F63;
  --brass: #B8A669;
  --brass-deep: #D3AF37;
  --slate: #6B6A62;
  --line: #DAD8CB;
  --sage: #DCE5D7;

  --title: 'Libre Baskerville', serif;
  --display: 'EB Garamond', serif;
  --body: 'Montserrat', sans-serif;
  --mono: 'Montserrat', sans-serif;

  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--emerald-bright);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Kicker / mono labels ---------- */
.kicker {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 244, 234, 0.94);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.wordmark img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--body);
  font-size: 15.5px;
  font-weight: 500;
}
.nav-links a { text-decoration: none; color: var(--ink); position: relative; opacity: 0.82; transition: opacity 0.15s ease, color 0.15s ease; }
.nav-links a.current { color: var(--emerald-deep); opacity: 1; }
.nav-links a:hover { color: var(--brass-deep); opacity: 1; }

.nav-cta {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  padding: 11px 22px;
  border-radius: 5px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-cta:hover { background: var(--brass-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 5px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-primary {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--paper);
}
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }

/* ---------- Hero (brief cover sheet motif) ---------- */
.hero {
  background: var(--sage);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 88px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald-deep), var(--emerald-bright));
}

.hero-main { max-width: 800px; }

.hero-wordmark {
  height: 120px;
  width: auto;
  display: block;
  margin-bottom: 44px;
}

.highlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}
.highlight-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 1.5px solid var(--brass);
  padding: 11px 20px;
  border-radius: 22px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.highlight-chip:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--paper);
  transform: translateY(-1px);
}
.highlight-chip .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.hero h1 {
  font-family: var(--title);
  font-weight: 700;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  max-width: 16ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-deep);
}

.hero-sub {
  font-size: 19px;
  color: var(--slate);
  max-width: 54ch;
  margin: 0 0 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Section scaffolding ---------- */
section { padding: 88px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }
section:nth-of-type(even) { background: var(--paper-alt); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 10px 0 0;
  max-width: 20ch;
}

/* ---------- Approach / grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.grid-cell { background: var(--paper); padding: 40px 32px; }
.grid-cell .num {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--paper);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 22px;
}
.grid-cell:nth-child(1) .num { background: var(--emerald-deep); }
.grid-cell:nth-child(2) .num { background: var(--teal); }
.grid-cell:nth-child(3) .num { background: var(--brass-deep); color: var(--ink); }
.grid-cell h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 21px;
  margin: 0 0 12px;
}
.grid-cell p { color: var(--slate); font-size: 15.5px; margin: 0; }

/* ---------- Quote / pull ---------- */
.section-emerald {
  background: var(--paper-alt) !important;
  color: var(--ink);
  border-top: 3px solid var(--emerald);
}
.section-emerald .kicker { color: var(--brass-deep); }
.pull {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.45;
  max-width: 32ch;
  color: var(--ink);
  border-left: 3px solid var(--emerald);
  padding-left: 32px;
  position: relative;
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink);
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.team-card { }
.team-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: grayscale(85%) sepia(12%) contrast(1.02);
  margin-bottom: 20px;
}
.team-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 21px;
  margin: 0 0 4px;
}
.team-role {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brass-deep);
  margin: 0 0 16px;
}
.team-card p { color: var(--slate); font-size: 15px; margin: 0; }

/* ---------- Footer note (quiet-housed services) ---------- */
.footnote {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--slate);
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 60ch;
}
.footnote a { color: var(--emerald); }

/* ---------- Site footer ---------- */
.site-footer {
  padding: 48px 0;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--slate);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .team-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 40px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }
  .hero-wordmark { height: 72px; }
  .highlight-row { flex-direction: column; align-items: flex-start; }
}

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