:root {
  color-scheme: dark;
  --ink: #f7f9f6;
  --muted: #c3c9c0;
  --soft: #88948b;
  --line: rgba(255, 255, 255, 0.14);
  --panel: #111816;
  --panel-strong: #17211e;
  --bg: #070908;
  --teal: #2dd6bb;
  --green: #9bdc6b;
  --amber: #f5b35f;
  --red: #ef6f64;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
  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(--bg);
  color: var(--ink);
  line-height: 1.5;
}

body::selection {
  background: rgba(45, 214, 187, 0.35);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  align-items: center;
  background: rgba(7, 9, 8, 0.74);
  border-bottom: 1px solid transparent;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(18px, 4vw, 54px);
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color 180ms ease, backdrop-filter 180ms ease, background 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 8, 0.9);
  border-bottom-color: var(--line);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 6px;
  color: #07100d;
  display: grid;
  font-weight: 850;
  height: 38px;
  place-items: center;
  width: 38px;
}

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

.brand strong {
  font-size: 0.98rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--soft);
  font-size: 0.78rem;
  margin-top: 1px;
}

.nav {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.92rem;
  gap: clamp(14px, 2vw, 28px);
}

.nav a {
  transition: color 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: var(--ink);
  padding: 9px 13px;
}

.hero {
  min-height: 94vh;
  overflow: hidden;
  position: relative;
}

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

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

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.96) 0%, rgba(5, 7, 6, 0.83) 34%, rgba(5, 7, 6, 0.28) 68%, rgba(5, 7, 6, 0.56) 100%),
    linear-gradient(180deg, rgba(5, 7, 6, 0.42), rgba(5, 7, 6, 0.85));
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 94vh;
  padding: 120px clamp(20px, 6vw, 88px) 44px;
  position: relative;
  width: min(760px, 100%);
  z-index: 1;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 24px;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.4rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 18px;
  text-wrap: balance;
}

h3 {
  font-size: 1.18rem;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.hero-copy,
.section-heading p,
.contact p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 670px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 42px;
}

.button {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--teal);
  color: #02100e;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--ink);
}

.hero-metrics {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin: auto 0 0;
  padding-top: 22px;
}

.hero-metrics div {
  border-right: 1px solid var(--line);
  padding-right: 18px;
}

.hero-metrics div + div {
  padding-left: 18px;
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 850;
}

.hero-metrics dd {
  color: var(--soft);
  font-size: 0.9rem;
  margin: 2px 0 0;
}

.section,
.band,
.contact {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 6vw, 88px);
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.band {
  background: #101612;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.statement-grid {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.statement h2 {
  font-size: clamp(1.9rem, 3.3vw, 3.6rem);
}

.section-heading {
  margin-bottom: 38px;
  max-width: 760px;
}

.section-heading.compact {
  margin-bottom: 0;
}

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

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 260px;
  padding: 24px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-color: rgba(45, 214, 187, 0.5);
  transform: translateY(-3px);
}

.card-icon {
  color: var(--amber);
  display: block;
  font-size: 0.82rem;
  font-weight: 850;
  margin-bottom: 56px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 0;
}

.method {
  background: #e9ede5;
  color: #111816;
}

.method .eyebrow {
  color: #087d6a;
}

.method p {
  color: #4c5b51;
}

.method-grid {
  align-items: start;
  display: grid;
  gap: clamp(34px, 7vw, 98px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.timeline {
  counter-reset: method;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  background: #f8faf4;
  border: 1px solid rgba(17, 24, 22, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-height: 104px;
  padding: 22px 24px 22px 76px;
  position: relative;
}

.timeline li::before {
  align-items: center;
  background: #111816;
  border-radius: 6px;
  color: var(--teal);
  content: counter(method, decimal-leading-zero);
  counter-increment: method;
  display: grid;
  font-size: 0.76rem;
  font-weight: 850;
  height: 36px;
  left: 24px;
  place-items: center;
  position: absolute;
  top: 24px;
  width: 36px;
}

.timeline span {
  color: #55645b;
}

.outcomes {
  background: #080a09;
}

.outcome-grid {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.outcome {
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  min-height: 190px;
  padding: 28px 22px;
}

.outcome:last-child {
  border-right: 1px solid var(--line);
}

.outcome strong,
.outcome span {
  display: block;
}

.outcome strong {
  color: var(--amber);
  font-size: 1.08rem;
  margin-bottom: 18px;
}

.outcome span {
  color: var(--muted);
}

.contact {
  background: var(--panel-strong);
}

.contact-inner {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

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

.footer {
  align-items: center;
  color: var(--soft);
  display: flex;
  font-size: 0.9rem;
  gap: 20px;
  justify-content: space-between;
  padding: 28px clamp(20px, 6vw, 88px);
}

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

  .nav {
    overflow-x: auto;
    padding-bottom: 2px;
    width: 100%;
  }

  .hero-inner {
    padding-top: 160px;
  }

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

  .method-grid,
  .statement-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(5, 7, 6, 0.78), rgba(5, 7, 6, 0.96)),
      linear-gradient(90deg, rgba(5, 7, 6, 0.96), rgba(5, 7, 6, 0.56));
  }

  .hero-inner {
    min-height: 92vh;
    padding-top: 150px;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.5rem);
  }

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

  .hero-metrics,
  .service-grid,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding: 14px 0;
  }

  .hero-metrics div + div {
    padding-left: 0;
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: 210px;
  }

  .card-icon {
    margin-bottom: 34px;
  }

  .outcome,
  .outcome:last-child {
    border-right: 1px solid var(--line);
  }

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