:root {
  color-scheme: light;
  --paper: #f3f5f2;
  --white: #fff;
  --ink: #101e25;
  --muted: #465650;
  --green: #286543;
  --mint: #a7d8ae;
  --line: #d2dbd2;
  --pad: clamp(1.25rem, 5.4vw, 5.5rem);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.55; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid #498c61; outline-offset: 5px; }
h1, h2, h3, h4, h5, p, figure { margin: 0; }
section[id] { scroll-margin-top: 6rem; }
.shell { width: 100%; max-width: 96rem; padding-inline: var(--pad); margin-inline: auto; }
.skip { position: fixed; z-index: 10; transform: translateY(-150%); padding: .7rem 1rem; background: var(--white); }
.skip:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 5.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; white-space: nowrap; text-decoration: none; }
.brand img { object-fit: contain; mix-blend-mode: multiply; }
.brand span { font-size: 1rem; font-weight: 750; line-height: 1.2; letter-spacing: -.025em; }
.brand small { display: block; margin-top: .28rem; color: var(--muted); font-size: .85rem; font-weight: 500; letter-spacing: 0; }
nav { display: flex; gap: clamp(1rem, 2.6vw, 2.45rem); align-items: center; }
nav a { padding-block: .55rem; text-decoration: none; font-size: .92rem; font-weight: 650; }
nav a:hover, .site-footer a:hover { color: var(--green); text-decoration: underline; text-underline-offset: .28em; }
nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: .28em; }
nav .nav-contact { border: 1px solid var(--ink); border-radius: 3px; padding: .57rem 1rem; }

.hero {
  min-height: clamp(34rem, 70svh, 46rem);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(2rem, 4.1vw, 5.2rem);
  padding-block: clamp(2.5rem, 5vw, 5rem);
}
.hero-copy { align-self: center; padding-block: 1rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--green);
  font-size: .88rem;
  font-weight: 750;
  letter-spacing: .105em;
  text-transform: uppercase;
  line-height: 1.3;
}
.eyebrow::before { display: block; content: ""; width: 1.55rem; height: 2px; background: currentColor; }
h1, h2, h3, h4, h5 { font-weight: 740; }
h1 {
  margin-top: 1.2rem;
  font-size: clamp(3rem, 5.9vw, 6.75rem);
  line-height: .98;
  letter-spacing: -.07em;
}
h1 em { color: var(--green); font-style: normal; }
.hero-intro {
  max-width: 31rem;
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.52vw, 1.32rem);
  line-height: 1.52;
}
.actions { display: flex; flex-wrap: wrap; gap: .72rem; margin-top: 1.9rem; }
.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: .72rem 1.13rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: color .16s, background-color .16s, border-color .16s;
}
.primary { background: var(--green); color: var(--white); }
.primary:hover { background: #194a31; }
.secondary { border-color: #a6b4aa; }
.secondary:hover { background: #e5ece5; border-color: var(--green); }
.hero-figure {
  position: relative;
  overflow: hidden;
  min-height: clamp(25rem, 44vw, 34rem);
  background: var(--ink);
  border-radius: 4px;
}
.hero-figure img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; }

.section { padding-block: clamp(3.6rem, 7vw, 7rem); }
.specialties { background: var(--white); border-top: 1px solid var(--line); }
.section-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 1.1rem 2rem;
  margin-bottom: clamp(1.8rem, 3.75vw, 3.6rem);
}
h2 { margin-top: .8rem; font-size: clamp(2.4rem, 4.3vw, 4.75rem); line-height: 1.03; letter-spacing: -.056em; }
.section-heading > p { max-width: 31rem; justify-self: end; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.2rem); }
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.specialty { padding: clamp(1.2rem, 2.7vw, 2.6rem); background: var(--paper); }
.discipline { color: var(--green); font-size: .875rem; font-weight: 700; }
.specialty h3, .experience-row h4 { font-size: clamp(1.38rem, 1.9vw, 1.92rem); line-height: 1.15; letter-spacing: -.034em; }
.specialty h3 { margin-block: .7rem; }
.specialty > p:not(.discipline) { color: var(--muted); }
.specialty ul { list-style: none; margin: 1.15rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); }
.specialty li { padding-left: .9rem; position: relative; }
.specialty li + li { margin-top: .35rem; }
.specialty li::before {
  position: absolute;
  left: 0;
  top: .68em;
  content: "";
  width: .36rem;
  height: .36rem;
  border-radius: 50%;
  background: var(--green);
}

.experience { background: var(--ink); color: var(--white); }
.experience .eyebrow, .experience .discipline { color: var(--mint); }
.experience .section-heading > p, .experience-row > p:last-child { color: #d1dcd7; }
.experience-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.3rem;
  margin: 0 0 clamp(1.8rem, 4vw, 3rem);
  padding: 0 0 1rem;
  border-bottom: 1px solid #516361;
  list-style: none;
}
.experience-links a { color: var(--mint); font-weight: 650; text-underline-offset: .22em; }
.experience-links a:hover { color: var(--white); }
.project-references { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.experience-subheading {
  margin-bottom: 1rem;
  font-size: clamp(1.55rem, 2.5vw, 2.22rem);
  line-height: 1.16;
  letter-spacing: -.032em;
}
.experience-subheading[id] { scroll-margin-top: 7rem; }
.reference-group-heading { margin-block: 1.75rem .75rem; font-size: 1.13rem; color: var(--mint); }
.reference-grid + .reference-group-heading { margin-top: 2.1rem; }
.reference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.reference-card {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: clamp(1rem, 2.1vw, 1.6rem);
  border: 1px solid #506661;
  border-radius: 3px;
  background: #172a31;
}
.reference-card :is(h4, h5) { font-size: clamp(1.14rem, 1.6vw, 1.44rem); line-height: 1.2; letter-spacing: -.02em; }
.reference-card p { color: #d1dcd7; }
.reference-card .reference-scope { margin-top: auto; padding-top: .45rem; color: var(--mint); font-size: .9rem; font-weight: 650; }
.experience-list { border-top: 1px solid #516361; }
.experience-row {
  display: grid;
  align-items: baseline;
  grid-template-columns: minmax(9rem, .55fr) minmax(0, 1.11fr) minmax(0, 1.55fr);
  gap: clamp(.6rem, 2.5vw, 2.5rem);
  padding-block: clamp(1.25rem, 2.35vw, 2.35rem);
  border-bottom: 1px solid #516361;
}
.text-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--mint);
  font-weight: 650;
  text-underline-offset: .23em;
}
.text-link:hover { color: var(--white); }

.career { background: var(--white); border-bottom: 1px solid var(--line); }
.career h2 { margin-top: 0; }
.career-list {
  padding: 0;
  margin: clamp(1.65rem, 3.5vw, 3rem) 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.career-list li {
  display: grid;
  grid-template-columns: minmax(13rem, .65fr) minmax(0, 1.75fr);
  gap: .55rem 2rem;
  align-items: baseline;
  padding-block: clamp(1.2rem, 2.2vw, 2rem);
  border-bottom: 1px solid var(--line);
}
.career-period { color: var(--green); font-weight: 700; }
.career-list h3 { font-size: clamp(1.2rem, 1.9vw, 1.65rem); line-height: 1.22; letter-spacing: -.026em; }
.career-list h3 + p { color: var(--muted); margin-top: .48rem; max-width: 49rem; }

.profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr); gap: 1.5rem 3rem; align-items: center; }
.profile-copy { max-width: 44rem; }
.profile-lead { font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.4; font-weight: 625; }
.profile-copy p + p { margin-top: .9rem; color: var(--muted); max-width: 40rem; }
.profile .credential { font-size: .95rem; font-weight: 650; }

.contact { background: #e2eee4; border-block: 1px solid #cfdfd1; }
.contact-inner { display: grid; grid-template-columns: 1.16fr .84fr; gap: 2rem 4rem; align-items: center; }
.contact h2 { max-width: 19ch; text-wrap: balance; }
.contact h2 + p { margin-top: 1rem; max-width: 34rem; color: var(--muted); }
.contact-action { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; min-width: 0; }
.contact-method { max-width: 100%; }
.contact-method summary { cursor: pointer; list-style: none; }
.contact-method summary::-webkit-details-marker { display: none; }
.contact-method .contact-hide, .contact-method[open] .contact-show { display: none; }
.contact-method[open] .contact-hide { display: inline; }
.contact-method a {
  display: block;
  width: fit-content;
  margin-top: .5rem;
  color: #184a31;
  font-weight: 650;
  overflow-wrap: anywhere;
  text-underline-offset: .22em;
}
.contact-action p { color: var(--muted); }

.directory-heading { background: var(--ink); color: var(--white); }
.directory-heading-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 3rem;
  align-items: center;
  padding-block: clamp(2.75rem, 6vw, 5rem);
}
.directory-heading h1 { margin-top: 0; }
.directory-heading p { max-width: 37rem; color: #d1dcd7; font-size: clamp(1.06rem, 1.55vw, 1.3rem); }
.directory-content { padding-block: clamp(2.1rem, 5vw, 4rem); }
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.client-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6.5rem;
  padding: 1rem;
  background: var(--white);
}
.client-logo {
  width: min(10.5rem, 100%);
  height: 3.5rem;
  object-fit: contain;
}
.client-logo--wide { width: min(12.5rem, 100%); }
.client-logo--extra-wide { width: min(15rem, 100%); }
.client-logo--wide, .client-logo--tall { height: 4.25rem; }

.site-footer { color: var(--muted); font-size: .88rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .65rem 1.25rem; padding-block: 1.35rem; }
.footer-inner a { text-underline-offset: .23em; }

@media (max-width: 62rem) {
  .hero { gap: 1.8rem; }
  .specialty-grid, .client-grid, .reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-inner { gap: 1.5rem 2.25rem; }
  nav { gap: clamp(.7rem, 1.3vw, 1.25rem); }
}
@media (max-width: 46rem) {
  section[id] { scroll-margin-top: 7rem; }
  .header-inner { display: grid; gap: .35rem; padding-block: .65rem .45rem; }
  .brand img { width: 38px; height: 36px; }
  nav { gap: .32rem .5rem; justify-content: space-between; flex-wrap: wrap; }
  nav a, nav .nav-contact { padding: .36rem 0; border: 0; font-size: .89rem; }
  nav .nav-contact { color: var(--green); }
}
@media (max-width: 43rem) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 2.45rem; }
  .hero-copy { padding-block: 0; }
  h1 { font-size: clamp(2.65rem, 10.5vw, 4.4rem); }
  .hero-intro { margin-top: 1.25rem; }
  .actions { margin-top: 1.3rem; }
  .hero-figure { min-height: 0; aspect-ratio: 4 / 3; }
  .section-heading, .profile, .contact-inner, .directory-heading-inner, .reference-grid { grid-template-columns: 1fr; }
  .section-heading > p { justify-self: start; }
  .experience-row, .career-list li { grid-template-columns: 1fr; gap: .55rem; }
}
@media (max-width: 32rem) {
  .specialty-grid { grid-template-columns: 1fr; }
  .client-grid li { min-height: 5.75rem; padding: .75rem .5rem; }
  .footer-inner { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

