@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --canopy: #0d1210;
  --canopy-deep: #090d0b;
  --canopy-soft: #111a16;
  --evidence: #f1f0e7;
  --evidence-soft: #d4d8cb;
  --field-note: #9da897;
  --signal: #98b98c;
  --resolution: #c5dfb9;
  --ground: #ba8353;
  --bg: var(--canopy);
  --bg-soft: var(--canopy-soft);
  --bg-panel: rgba(234, 238, 224, 0.055);
  --bg-panel-strong: rgba(234, 238, 224, 0.09);
  --text: var(--evidence);
  --text-soft: var(--evidence-soft);
  --muted: var(--field-note);
  --accent: var(--signal);
  --accent-strong: var(--resolution);
  --earth: var(--ground);
  --line: rgba(241, 240, 231, 0.14);
  --line-strong: rgba(197, 223, 185, 0.34);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(140deg, rgba(152, 185, 140, 0.09), transparent 34rem),
    linear-gradient(180deg, #101713 0%, var(--bg) 42%, var(--canopy-deep) 100%);
  color: var(--text);
  font-family: var(--font-sans);
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(241, 240, 231, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 240, 231, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 70%);
  pointer-events: none;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  border: 1px solid var(--line-strong);
  background: var(--accent-strong);
  color: #0d1210;
  padding: 10px 14px;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.hero,
.section,
.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand,
.nav-links,
.header-cta,
.button {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(168px, 40vw);
  color: var(--text);
  line-height: 1;
}

.brand-logo {
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
}

.nav-links a,
.header-cta {
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent-strong);
}

.header-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 780;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: rgba(197, 223, 185, 0.1);
}

.hero {
  min-height: min(740px, calc(100vh - 150px));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.84fr);
  align-items: center;
  gap: clamp(36px, 5vw, 78px);
  padding: 24px 0 44px;
}

.hero-copy {
  min-width: 0;
}

.hero-tagline,
.section-kicker {
  margin: 0 0 20px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(4.5rem, 10vw, 8.6rem);
  line-height: 0.88;
  font-weight: 850;
  letter-spacing: 0;
  overflow-wrap: normal;
  white-space: nowrap;
}

.hero-lede {
  max-width: 790px;
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(1.42rem, 2.6vw, 2.18rem);
  line-height: 1.2;
  font-weight: 650;
}

.hero-support {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  line-height: 1.62;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 20px;
  font-size: 0.94rem;
  font-weight: 820;
  line-height: 1;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible,
.brand:focus-visible,
.nav-links a:focus-visible,
.header-cta:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(197, 223, 185, 0.42);
  outline-offset: 4px;
}

.button-primary {
  border: 1px solid var(--accent-strong);
  background: var(--accent-strong);
  color: #0b100d;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d4edca;
  border-color: #d4edca;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(241, 240, 231, 0.035);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(197, 223, 185, 0.1);
  color: var(--accent-strong);
}

.terrain-panel {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(197, 223, 185, 0.18);
  border-radius: 8px;
  background: #0a0f0d;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.terrain-panel::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, transparent 36%, rgba(9, 13, 11, 0.78) 100%),
    linear-gradient(90deg, rgba(9, 13, 11, 0.22), transparent 42%, rgba(9, 13, 11, 0.26));
  pointer-events: none;
}

.terrain-panel img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05) brightness(0.82);
  transform: scale(1.01);
}

.terrain-panel figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  display: grid;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(241, 240, 231, 0.24);
}

.terrain-panel figcaption span {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terrain-panel figcaption strong {
  max-width: 26ch;
  color: var(--text);
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
  line-height: 1.28;
}

.section {
  padding: clamp(72px, 9vw, 126px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(34px, 6vw, 68px);
}

.section-heading h2,
.approach-layout h2,
.proof-panel h2,
.contact h2 {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(2.18rem, 4.4vw, 4.5rem);
  line-height: 1.02;
  font-weight: 810;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.section-heading p,
.approach-layout p,
.proof-panel p,
.contact-panel p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 252px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(22px, 2.8vw, 32px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-panel);
}

.service-card-wide {
  grid-column: span 2;
}

.service-card span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
}

.service-card h3,
.proof-list h3 {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(1.1rem, 1.6vw, 1.34rem);
  line-height: 1.18;
  font-weight: 780;
}

.service-card p,
.proof-list p,
.approach-steps span {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.72fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.approach-layout h2 {
  margin-bottom: 24px;
}

.approach-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.approach-steps li {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 24px 0 24px 44px;
  border-bottom: 1px solid var(--line);
}

.approach-steps li::before {
  position: absolute;
  top: 25px;
  left: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 820;
  content: counter(list-item);
}

.approach-steps strong {
  color: var(--text);
  font-size: 1.08rem;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.proof-panel {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(152, 185, 140, 0.13), transparent 54%),
    rgba(241, 240, 231, 0.04);
}

.proof-panel h2 {
  margin-bottom: 22px;
}

.proof-panel p + p {
  margin-top: 18px;
}

.proof-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.proof-list article {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.proof-list h3 {
  margin-bottom: 10px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
  gap: clamp(30px, 7vw, 100px);
  align-items: center;
  padding-bottom: clamp(84px, 10vw, 140px);
}

.contact-panel {
  display: grid;
  gap: 22px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(197, 223, 185, 0.065);
}

.contact-panel .button {
  width: fit-content;
}

.email-note {
  color: var(--accent-strong) !important;
  font-weight: 780;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer span {
  color: var(--text);
  font-weight: 820;
}

.site-footer a {
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-heading,
  .approach-layout,
  .proof,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 18px;
  }

  .terrain-panel {
    min-height: 420px;
  }

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

@media (max-width: 680px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    padding: 20px 0;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 4.6rem);
    line-height: 0.92;
  }

  .hero-lede {
    font-size: clamp(1.22rem, 6.1vw, 1.52rem);
  }

  .hero-support,
  .section-heading p,
  .approach-layout p,
  .proof-panel p,
  .contact-panel p {
    font-size: 1rem;
  }

  .hero-tagline,
  .section-kicker {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .contact-panel .button {
    width: 100%;
  }

  .terrain-panel {
    min-height: 330px;
  }

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

  .service-card,
  .service-card-wide {
    grid-column: auto;
    min-height: 0;
  }

  .section {
    padding: 64px 0;
  }
}
