:root {
  color-scheme: light;
  --ink: #14202b;
  --muted: #5d6975;
  --paper: #f7f8f6;
  --white: #ffffff;
  --line: #d9ded9;
  --navy: #102235;
  --steel: #526a79;
  --green: #5d8065;
  --gold: #b98b4a;
  --shadow: 0 24px 60px rgba(16, 34, 53, 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);
}

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

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

.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;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px clamp(20px, 5vw, 64px);
  background: rgba(247, 248, 246, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(16, 34, 53, 0.08);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(247, 248, 246, 0.98);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: 54px;
  max-width: min(300px, 36vw);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a {
  padding: 10px 12px;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 12px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 108px clamp(20px, 5vw, 64px) 46px;
  color: var(--white);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 34, 53, 0.94) 0%, rgba(16, 34, 53, 0.75) 44%, rgba(16, 34, 53, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 34, 53, 0.45), rgba(16, 34, 53, 0.06));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 6.2vw, 5.45rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.22rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 710px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-weight: 750;
}

.button-primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.button-secondary {
  color: var(--white);
}

.not-found {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 150px clamp(20px, 5vw, 64px) 88px;
  background:
    linear-gradient(90deg, rgba(16, 34, 53, 0.94), rgba(16, 34, 53, 0.82)),
    url("/assets/hero-consulting.png") center / cover;
  color: var(--white);
}

.not-found div {
  max-width: 760px;
}

.not-found h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(3.25rem, 8vw, 6.5rem);
  line-height: 0.95;
}

.not-found p {
  max-width: 620px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.not-found .button-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.intro,
.focus-section,
.approach-section,
.outcomes-section {
  padding: 88px clamp(20px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: start;
  background: var(--white);
}

.intro p {
  margin: 30px 0 0;
  font-size: 1.1rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

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

.focus-card {
  min-height: 280px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(16, 34, 53, 0.05);
}

.focus-index {
  display: inline-block;
  margin-bottom: 64px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
}

.focus-card p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.approach-section {
  background: var(--navy);
  color: var(--white);
}

.approach-section .section-kicker {
  color: #d6a65d;
}

.approach-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.approach-item {
  padding: 34px;
  background: var(--navy);
}

.approach-item span {
  display: block;
  margin-bottom: 20px;
  color: #d6a65d;
  font-size: 1.3rem;
  font-weight: 800;
}

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

.outcomes-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
  background: #eef1ed;
}

.outcomes-content p {
  max-width: 700px;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.metrics {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  counter-reset: outcome;
}

.metrics div {
  position: relative;
  min-height: 188px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(16, 34, 53, 0.09);
  counter-increment: outcome;
}

.metrics div::before {
  content: "0" counter(outcome);
  display: block;
  margin-bottom: 34px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
}

.metrics dt {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1.1;
}

.metrics dd {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 64px);
  background: #0d1824;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
  color: inherit;
}

.site-footer a {
  font-weight: 700;
}

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

  .focus-card {
    min-height: 230px;
  }

  .focus-index {
    margin-bottom: 38px;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding: 8px 18px;
  }

  .brand {
    max-width: min(245px, calc(100vw - 88px));
  }

  .brand-logo {
    height: 46px;
    max-width: 100%;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 62px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 86svh;
    padding: 104px 20px 42px;
  }

  .not-found {
    min-height: 100svh;
    padding: 126px 20px 64px;
  }

  .not-found h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 34, 53, 0.94), rgba(16, 34, 53, 0.68)),
      linear-gradient(0deg, rgba(16, 34, 53, 0.5), rgba(16, 34, 53, 0.12));
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .intro,
  .outcomes-section,
  .approach-list,
  .metrics {
    grid-template-columns: 1fr;
  }

  .intro,
  .focus-section,
  .approach-section,
  .outcomes-section {
    padding: 64px 20px;
  }

  .intro p {
    margin-top: 0;
  }

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

  .focus-card {
    min-height: auto;
  }

  .focus-index {
    margin-bottom: 28px;
  }

  .approach-list {
    gap: 1px;
  }

  .approach-item {
    padding: 28px 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
