:root {
  color-scheme: light;
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-muted: #e8ece6;
  --ink: #17211f;
  --muted: #5f6d68;
  --line: #cfd8d2;
  --accent: #1f6f5b;
  --accent-dark: #164d42;
  --amber: #b8742a;
  --shadow: 0 18px 50px rgb(23 33 31 / 12%);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 56px);
  background: rgb(247 248 246 / 90%);
  border-bottom: 1px solid rgb(207 216 210 / 80%);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--accent-dark);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.94rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav a {
  border-radius: var(--radius);
  padding: 8px 11px;
  color: var(--muted);
  font-size: 0.93rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface-muted);
  color: var(--ink);
  outline: none;
}

.hero {
  position: relative;
  min-height: min(740px, calc(100vh - 74px));
  display: grid;
  align-items: center;
  overflow: hidden;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-media::after,
.hero-media img {
  position: absolute;
  inset: 0;
}

.hero-media {
  margin: 0;
}

.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgb(247 248 246 / 96%) 0%, rgb(247 248 246 / 88%) 34%, rgb(247 248 246 / 26%) 72%),
    linear-gradient(0deg, rgb(247 248 246 / 86%) 0%, rgb(247 248 246 / 0%) 30%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  width: min(650px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding: 72px 0 116px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 {
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

h3 {
  font-size: 1.08rem;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #34423f;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 11px 18px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

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

.button.secondary {
  border-color: var(--line);
  background: rgb(255 255 255 / 70%);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--surface);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 104px) 0;
}

.section.muted {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--surface-muted);
}

.section.compact {
  padding-top: 0;
}

.section-heading {
  margin-bottom: 34px;
}

.text-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
}

.text-grid p {
  margin: 0;
  color: #3f4d49;
  font-size: 1.1rem;
}

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

.service-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgb(31 111 91 / 18%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 72%);
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.competencies {
  border-bottom: 1px solid var(--line);
}

.competency-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.competency-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.competency-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.competency-grid li {
  border: 1px solid rgb(31 111 91 / 20%);
  border-radius: var(--radius);
  padding: 6px 9px;
  background: rgb(232 236 230 / 70%);
  color: #34423f;
  font-size: 0.92rem;
  font-weight: 650;
}

.process-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.process-list span {
  color: var(--amber);
  font-weight: 850;
}

.process-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.signal-grid div {
  padding: 22px;
}

.signal-grid div + div {
  border-left: 1px solid var(--line);
}

.signal-grid strong,
.signal-grid span {
  display: block;
}

.signal-grid span {
  margin-top: 8px;
  color: var(--muted);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.contact p {
  max-width: 660px;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  min-width: min(100%, 340px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  .contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .hero {
    min-height: 720px;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgb(247 248 246 / 96%) 0%, rgb(247 248 246 / 82%) 54%, rgb(247 248 246 / 35%) 100%),
      linear-gradient(0deg, rgb(247 248 246 / 92%) 0%, rgb(247 248 246 / 0%) 36%);
  }

  .text-grid,
  .split,
  .service-grid,
  .competency-grid,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .signal-grid div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .competency-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding: 64px 0 92px;
  }

  h1 {
    max-width: 9ch;
    font-size: 3.25rem;
  }

  .button {
    width: 100%;
  }
}
