:root {
  color-scheme: light;
  --ink: #102024;
  --ink-soft: #4a5a5d;
  --paper: #f7f8f5;
  --paper-strong: #ffffff;
  --line: #dce3dc;
  --river: #176b87;
  --river-dark: #0b3c49;
  --leaf: #2d8a64;
  --sun: #d8894d;
  --night: #0b1417;
  --shadow: 0 18px 48px rgba(11, 20, 23, 0.14);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
  padding: 1rem max(1.25rem, calc((100vw - var(--max)) / 2));
  color: #ffffff;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: var(--ink);
  background: rgba(247, 248, 245, 0.94);
  border-bottom: 1px solid rgba(16, 32, 36, 0.08);
  box-shadow: 0 14px 30px rgba(11, 20, 23, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  padding: 0.62rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.nav-active .site-nav a:hover,
.site-header.nav-active .site-nav a:focus-visible {
  background: rgba(23, 107, 135, 0.1);
}

.nav-contact {
  border: 1px solid currentColor;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.nav-toggle span:not(.sr-only) {
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #ffffff;
  background: var(--night);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 13, 16, 0.88) 0%, rgba(5, 13, 16, 0.72) 36%, rgba(5, 13, 16, 0.2) 78%),
    linear-gradient(180deg, rgba(5, 13, 16, 0.5) 0%, rgba(5, 13, 16, 0.1) 44%, rgba(5, 13, 16, 0.64) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 7.5rem 0 4.25rem;
}

.eyebrow {
  margin: 0 0 0.95rem;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #7ed9af;
}

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

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

h1 {
  max-width: 11ch;
  margin-bottom: 1.1rem;
  font-size: 4.6rem;
  font-weight: 820;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2.45rem;
  font-weight: 780;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
  font-weight: 760;
}

.hero-copy {
  max-width: 42rem;
  margin-bottom: 1.7rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.button-primary {
  color: #ffffff;
  background: var(--river);
  border-color: var(--river);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--river-dark);
  border-color: var(--river-dark);
  outline: 3px solid rgba(23, 107, 135, 0.2);
}

.button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.44);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: 3px solid rgba(255, 255, 255, 0.18);
}

.hero-locations {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 650;
}

.section {
  padding: 5.5rem 1.25rem;
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro {
  background: var(--paper-strong);
}

.intro-grid,
.reach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
  gap: 3rem;
  align-items: start;
}

.intro p:last-child,
.reach-panel p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2.4rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 100%;
  padding: 1.35rem;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(11, 20, 23, 0.06);
}

.service-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1.4rem;
  color: var(--river);
  background: rgba(23, 107, 135, 0.1);
  border-radius: 8px;
}

.service-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.approach {
  color: #ffffff;
  background: #102024;
}

.approach .eyebrow {
  color: #83d5b0;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 1.15fr);
  gap: 3rem;
  align-items: start;
}

.approach-list {
  display: grid;
  gap: 1rem;
}

.approach-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.approach-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.approach-item span {
  color: #83d5b0;
  font-weight: 800;
}

.approach-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.reach {
  background:
    linear-gradient(90deg, rgba(23, 107, 135, 0.12), rgba(45, 138, 100, 0.1)),
    var(--paper);
}

.reach-panel {
  padding: 1.5rem;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.reach-panel p {
  margin-bottom: 1.25rem;
}

.site-footer {
  padding: 1.5rem 1.25rem;
  color: #ffffff;
  background: var(--night);
}

.not-found {
  min-height: 72vh;
  display: grid;
  place-items: center;
}

.not-found-inner {
  max-width: 680px;
}

.not-found h1 {
  color: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), 100%);
  margin: 0 auto;
  font-size: 0.95rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #a9dfc4;
  font-weight: 720;
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  text-decoration: underline;
  outline: none;
}

@media (max-width: 900px) {
  .site-header {
    padding-inline: 1rem;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: fixed;
    inset: 72px 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    color: var(--ink);
    background: var(--paper-strong);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.9rem;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-content {
    width: min(100% - 2rem, var(--max));
    padding-top: 6.4rem;
    padding-bottom: 3rem;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  .intro-grid,
  .reach-grid,
  .approach-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 4rem;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 78svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 13, 16, 0.9) 0%, rgba(5, 13, 16, 0.72) 62%, rgba(5, 13, 16, 0.4) 100%),
      linear-gradient(180deg, rgba(5, 13, 16, 0.52) 0%, rgba(5, 13, 16, 0.12) 42%, rgba(5, 13, 16, 0.72) 100%);
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .approach-item {
    grid-template-columns: 2.45rem minmax(0, 1fr);
  }

  .footer-inner {
    display: grid;
    justify-items: start;
  }
}
