:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #5f6863;
  --paper: #f6f4ee;
  --surface: #ffffff;
  --line: #d9d3c5;
  --copper: #b9572f;
  --copper-dark: #8e3e22;
  --teal: #17666a;
  --steel: #283942;
  --charcoal: #111614;
  --gold: #d8a33f;
  --shadow: 0 18px 42px rgba(23, 32, 29, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

body::selection {
  background: rgba(216, 163, 63, 0.32);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(17, 22, 20, 0.76), rgba(17, 22, 20, 0));
}

.brand,
.nav-links,
.hero-actions,
.site-footer,
.contact {
  display: flex;
  align-items: center;
}

.brand {
  width: clamp(25px, 4vw, 50px);
  height: clamp(25px, 4vw, 50px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.nav-links {
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.94rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: start;
  overflow: hidden;
  background: var(--charcoal);
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 64% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 22, 20, 0.94) 0%, rgba(17, 22, 20, 0.74) 36%, rgba(17, 22, 20, 0.18) 70%),
    linear-gradient(0deg, rgba(17, 22, 20, 0.78) 0%, rgba(17, 22, 20, 0) 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  padding: clamp(120px, 15vw, 190px) clamp(20px, 5vw, 72px) 54px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  max-width: 12ch;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(1.58rem, 4.25vw, 4.2rem);
  font-weight: 820;
  line-height: 0.95;
  text-transform: none;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 12ch;
  font-size: clamp(4rem, 9vw, 8.5rem);
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 760;
  text-decoration: none;
}

.button svg,
.icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

.button-primary {
  background: var(--copper);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--copper-dark);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  min-height: 142px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 28px clamp(20px, 4vw, 48px);
  background: var(--surface);
}

.metrics strong {
  color: var(--teal);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
}

.metrics span {
  max-width: 330px;
  color: var(--muted);
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
}

.section-heading h2 {
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 5rem);
  letter-spacing: 0;
}

.intro > p {
  max-width: 740px;
  margin: 35px 0 0;
  color: var(--steel);
  font-size: clamp(1.04rem, 1.65vw, 1.26rem);
}

.services {
  background: #ebe7dc;
}

.service-grid,
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.service-card,
.impact-grid > div {
  min-height: 292px;
  padding: 26px;
  border: 1px solid rgba(23, 32, 29, 0.12);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(17, 22, 20, 0.03);
}

.icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 6px;
  color: #fff;
  background: var(--teal);
}

.service-card:nth-child(2) .icon,
.service-card:nth-child(4) .icon {
  background: var(--copper);
}

.service-card h3,
.impact-grid h3,
.timeline h3 {
  font-size: 1.22rem;
  line-height: 1.18;
}

.service-card p,
.impact-grid p,
.timeline p,
.contact p {
  margin: 14px 0 0;
  color: var(--muted);
}

.approach {
  padding: clamp(70px, 9vw, 120px) 0;
  color: #fff;
  background: linear-gradient(110deg, #111614 0%, #22333b 58%, #35291f 100%);
}

.approach-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.timeline li {
  min-height: 238px;
  display: grid;
  align-content: space-between;
  gap: 42px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline span {
  color: var(--gold);
  font-weight: 820;
}

.timeline p {
  color: rgba(255, 255, 255, 0.73);
}

.impact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.impact-grid > div {
  min-height: 186px;
  border-left: 5px solid var(--teal);
}

.impact-grid > div:nth-child(2),
.impact-grid > div:nth-child(3) {
  border-left-color: var(--copper);
}

.contact {
  justify-content: space-between;
  gap: 28px;
  padding: clamp(56px, 7vw, 88px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: var(--charcoal);
}

.contact div {
  max-width: 760px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-phone {
  display: inline-block;
  font-weight: 760;
  text-decoration: none;
  color: #fff;
  line-height: 1.4;
}

.contact-phone:hover,
.contact-phone:focus-visible {
  text-decoration: underline;
}

.contact h2 {
  font-size: clamp(2rem, 4.8vw, 4.6rem);
}

.contact p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: #d6d2c8;
  background: #0a0d0c;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-weight: 700;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.legal-page .site-header {
  position: sticky;
  color: #fff;
  background: var(--charcoal);
}

.legal-main {
  padding: clamp(64px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.legal-hero,
.legal-content {
  width: min(900px, 100%);
}

.legal-hero {
  margin-bottom: 42px;
}

.legal-hero h1 {
  max-width: none;
  font-size: clamp(3rem, 7vw, 6.5rem);
}

.legal-hero p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.legal-content {
  display: grid;
  gap: 30px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.legal-content section {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(23, 32, 29, 0.11);
}

.legal-content h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
}

.legal-content p {
  max-width: 74ch;
  margin: 14px 0 0;
  color: var(--steel);
}

.legal-content a {
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 1020px) {
  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro {
    grid-template-columns: 1fr;
  }

  .intro > p {
    margin-top: 0;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-image {
    object-position: 70% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(17, 22, 20, 0.94), rgba(17, 22, 20, 0.58)),
      linear-gradient(0deg, rgba(17, 22, 20, 0.76), rgba(17, 22, 20, 0.08));
  }

  .hero-content {
    padding: 108px 20px 44px;
  }

  .hero .eyebrow {
    font-size: clamp(1.4rem, 7.5vw, 2.65rem);
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 5.2rem);
  }

  .button {
    width: 100%;
  }

  .metrics,
  .service-grid,
  .timeline,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .metrics div,
  .service-card,
  .impact-grid > div,
  .timeline li {
    min-height: auto;
  }

  .section {
    padding: 64px 20px;
  }

  .service-card,
  .impact-grid > div {
    padding: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
