:root {
  --ink: #10211f;
  --forest: #173f39;
  --forest-deep: #0d2d29;
  --sage: #b8c8b9;
  --cream: #f4f0e7;
  --paper: #fffdf8;
  --coral: #f09072;
  --line: rgba(16, 33, 31, 0.16);
  --muted: #52615f;
  --radius: 1.4rem;
  --content: 78rem;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: var(--coral);
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.4rem, 8.4vw, 8rem);
}

h2 {
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
}

h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  width: min(calc(100% - 3rem), var(--content));
  margin: 0 auto;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.brand img {
  width: 7.4rem;
  height: auto;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

.desktop-nav a,
.mobile-nav a {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.header-cta {
  background: var(--forest);
  color: white;
}

.button-primary {
  background: var(--coral);
  color: var(--ink);
}

.button-secondary {
  border-color: currentColor;
  color: inherit;
}

.header-cta:hover,
.button:hover {
  filter: brightness(0.96);
  text-decoration: none;
}

.mobile-nav {
  display: none;
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(17rem, 0.55fr);
  min-height: 44rem;
  background: var(--cream);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem) max(1.5rem, calc((100vw - var(--content)) / 2));
  padding-right: clamp(2rem, 7vw, 7rem);
}

.hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 2rem;
}

.hero-lead {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--forest);
  color: white;
}

.hero-aside ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-aside li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 700;
}

.hero-aside li span {
  color: var(--sage);
  font-variant-numeric: tabular-nums;
}

.services-section,
.team-section,
.service-detail,
.process-section,
.related-section {
  padding: clamp(4.5rem, 9vw, 9rem) max(1.5rem, calc((100vw - var(--content)) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-heading h2 {
  max-width: 12ch;
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 20rem;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card:nth-child(even) {
  border-right: 0;
}

.service-card h3 {
  max-width: 18ch;
  margin: 3rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.service-card h3 a {
  text-decoration: none;
}

.service-card > p:not(.service-number) {
  max-width: 34rem;
  color: var(--muted);
}

.service-number {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.text-link {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  font-weight: 800;
}

.approach-section {
  padding: clamp(5rem, 10vw, 10rem) max(1.5rem, calc((100vw - var(--content)) / 2));
  background: var(--forest-deep);
  color: white;
}

.approach-section blockquote {
  max-width: 18ch;
  margin: 0 0 clamp(3rem, 6vw, 6rem);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 6.4rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  margin-left: 32%;
  color: var(--sage);
  font-size: 1.12rem;
}

.team-section {
  background: var(--cream);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.person-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}

.person-card img {
  width: 100%;
  aspect-ratio: 2 / 2.7;
  object-fit: cover;
  object-position: center top;
}

.person-card > div {
  padding: 1.4rem;
}

.person-card h3 {
  margin-bottom: 0.25rem;
}

.person-card p {
  color: var(--muted);
}

.person-links {
  margin-bottom: 0;
  font-size: 0.82rem;
}

.team-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(3rem, 7vw, 7rem);
  padding: clamp(1rem, 2vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.team-feature img {
  width: 100%;
  max-height: 31rem;
  border-radius: calc(var(--radius) - 0.4rem);
  object-fit: cover;
}

.team-feature h3 {
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(5rem, 10vw, 10rem) max(1.5rem, calc((100vw - var(--content)) / 2));
  background: var(--coral);
}

.contact-section h2 {
  max-width: 11ch;
}

.contact-section > div > p:not(.eyebrow) {
  max-width: 42rem;
  font-size: 1.1rem;
}

.contact-section .button-primary {
  margin-top: 1rem;
  background: var(--ink);
  color: white;
}

.contact-section address {
  align-self: end;
  padding-top: 2rem;
  border-top: 1px solid rgba(16, 33, 31, 0.35);
  font-style: normal;
}

.contact-section address p {
  margin-bottom: 1.5rem;
}

.contact-section address span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr);
  gap: 3rem;
  padding: 4rem max(1.5rem, calc((100vw - var(--content)) / 2));
  background: var(--ink);
  color: white;
}

.site-footer h2 {
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer address {
  font-style: normal;
}

.footer-logo {
  width: 6rem;
  margin-bottom: 1.5rem;
  filter: grayscale(1) brightness(4);
}

.site-footer > div:first-child p {
  max-width: 27rem;
  color: var(--sage);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.service-hero {
  min-height: 38rem;
  padding: clamp(5rem, 10vw, 10rem) max(1.5rem, calc((100vw - var(--content)) / 2));
  background: var(--forest);
  color: white;
}

.service-hero h1 {
  max-width: 11ch;
  margin-bottom: 2rem;
}

.service-hero > p:last-child {
  max-width: 48rem;
  color: var(--sage);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(19rem, 0.6fr);
  gap: clamp(4rem, 10vw, 10rem);
}

.service-detail article h2 {
  max-width: 12ch;
}

.detail-lead {
  max-width: 44rem;
  font-size: 1.25rem;
}

.check-list {
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.check-list li {
  position: relative;
  padding: 1.2rem 0 1.2rem 2.3rem;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--forest);
  font-weight: 900;
}

.service-detail aside {
  align-self: start;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--cream);
}

.service-detail aside h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
}

.service-detail aside .button {
  width: 100%;
  margin: 1rem 0;
}

.phone-link {
  display: block;
  text-align: center;
  font-weight: 800;
}

.process-section {
  background: var(--cream);
}

.process-section > h2 {
  max-width: 12ch;
}

.process-section ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(3rem, 6vw, 6rem) 0 0;
  padding: 0;
  background: var(--line);
  list-style: none;
}

.process-section li {
  min-height: 19rem;
  padding: 2rem;
  background: var(--paper);
}

.process-section li > span {
  display: block;
  margin-bottom: 4rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.process-section li h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}

.process-section li p {
  color: var(--muted);
}

.related-section {
  background: var(--forest-deep);
  color: white;
}

.related-section ul {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.related-section li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.related-section a {
  display: flex;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  letter-spacing: -0.035em;
  text-decoration: none;
}

.related-section a::after {
  content: "↗";
  color: var(--coral);
}

.content-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(24rem, 0.95fr);
  min-height: 44rem;
  background: var(--cream);
}

.content-hero > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 7vw, 7rem);
  padding-left: max(1.5rem, calc((100vw - var(--content)) / 2));
}

.content-hero h1 {
  max-width: 10ch;
  margin-bottom: 2rem;
  font-size: clamp(3.6rem, 7vw, 7rem);
}

.content-hero-lead {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.content-hero figure {
  min-height: 34rem;
  margin: 0;
  overflow: hidden;
  background: var(--forest);
}

.content-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-feature-section {
  padding: clamp(4.5rem, 9vw, 9rem) max(1.5rem, calc((100vw - var(--content)) / 2));
}

.content-feature-section > h2 {
  max-width: 11ch;
}

.content-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.content-feature-grid article {
  min-height: 18rem;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.content-feature-grid h3 {
  max-width: 16ch;
  margin: 3rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.content-feature-grid article > p:last-child {
  max-width: 35rem;
  color: var(--muted);
}

.feature-index {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.content-callout {
  padding: clamp(4.5rem, 9vw, 8rem) max(1.5rem, calc((100vw - var(--content)) / 2));
}

.content-callout > div {
  max-width: 58rem;
}

.content-callout h2 {
  max-width: 12ch;
}

.content-callout p:not(.eyebrow) {
  max-width: 46rem;
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.content-callout-light {
  background: var(--cream);
}

.content-callout-accent {
  background: var(--forest-deep);
  color: white;
}

.content-callout-accent p:not(.eyebrow) {
  color: var(--sage);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-nav {
    display: block;
    justify-self: end;
  }

  .mobile-nav summary {
    cursor: pointer;
    font-weight: 800;
  }

  .mobile-nav nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    display: grid;
    min-width: 13rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--paper);
    box-shadow: 0 1rem 2rem rgba(16, 33, 31, 0.12);
  }

  .mobile-nav nav a {
    padding: 0.7rem;
  }

  .hero,
  .contact-section,
  .service-detail,
  .content-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy,
  .hero-aside,
  .contact-section > *,
  .service-detail > *,
  .content-hero > * {
    min-width: 0;
  }

  .content-hero > div {
    min-height: 38rem;
    padding-inline: 1.5rem;
  }

  .content-hero figure {
    min-height: 30rem;
    max-height: 44rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    min-height: 39rem;
    padding-inline: 1.5rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approach-grid {
    margin-left: 0;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 2rem);
  }

  .brand img {
    width: 5.8rem;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  h1,
  h2,
  h3 {
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    min-height: 35rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .services-grid,
  .team-grid,
  .approach-grid,
  .team-feature,
  .content-feature-grid,
  .process-section ol,
  .site-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card {
    min-height: 18rem;
    border-right: 0;
  }

  .text-link {
    position: static;
    display: inline-block;
    margin-top: 1.5rem;
  }

  .person-links {
    overflow-wrap: anywhere;
  }

  .team-feature {
    padding: 0;
    border: 0;
  }

  .contact-section {
    gap: 3rem;
  }

  .service-hero {
    min-height: 32rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
