:root {
  --blue-950: #071a46;
  --blue-900: #092a78;
  --blue-800: #073b99;
  --blue-600: #1169ce;
  --sky-100: #e8f5ff;
  --orange-600: #f05a14;
  --orange-500: #ff6a1f;
  --green-700: #0b6f62;
  --ink: #172033;
  --muted: #5c667a;
  --line: #d9e0ea;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(7, 26, 70, 0.14);
  font-family: "Segoe UI", Aptos, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

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

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

.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 0;
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 224, 234, 0.8);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  box-shadow: 0 14px 36px rgba(7, 26, 70, 0.08);
}

.brand img {
  width: 212px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--blue-950);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--orange-600);
}

.nav-cta {
  padding: 10px 16px !important;
  border: 1px solid var(--blue-900);
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-950);
}

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  align-items: end;
  padding: 132px clamp(20px, 5vw, 72px) 92px;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 26, 70, 0.94) 0%, rgba(7, 26, 70, 0.78) 44%, rgba(7, 26, 70, 0.28) 100%),
    url("assets/theory-of-change.png") center right / cover no-repeat;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(0deg, rgba(7, 26, 70, 0.72), rgba(7, 26, 70, 0));
}

.hero-inner {
  position: relative;
  width: min(760px, 100%);
}

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

.hero h1,
.section h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(2.4rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  width: min(700px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

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

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

.button-primary {
  background: var(--orange-600);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus {
  background: #d9460a;
}

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

.section .button-secondary,
.contact .button-secondary {
  border-color: var(--blue-900);
  color: var(--blue-900);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.proof-strip div {
  min-height: 116px;
  padding: 24px clamp(18px, 3vw, 34px);
  background: var(--white);
}

.proof-strip strong {
  display: block;
  color: var(--blue-900);
  font-size: 1.05rem;
}

.proof-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 96px clamp(20px, 5vw, 72px);
}

.split,
.toc-section,
.quality-band,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.toc-copy h2,
.quality-band h2,
.contact-panel h2 {
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}

.lead-stack p,
.section-heading p,
.toc-copy p,
.quality-band p,
.contact-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

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

.service-card,
.sector-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7, 26, 70, 0.05);
}

.service-number {
  display: inline-block;
  color: var(--orange-600);
  font-weight: 800;
  margin-bottom: 30px;
}

.service-card h3,
.sector-grid h3 {
  margin: 0 0 12px;
  color: var(--blue-900);
  font-size: 1.2rem;
  line-height: 1.2;
}

.service-card p,
.sector-grid p {
  margin: 0;
  color: var(--muted);
}

.approach-band,
.quality-band {
  background: var(--soft);
}

.journey {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: journey;
}

.journey li {
  min-height: 220px;
  padding: 24px;
  border-left: 4px solid var(--orange-600);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(7, 26, 70, 0.06);
}

.journey span {
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 800;
}

.journey strong {
  display: block;
  margin: 14px 0 8px;
  color: var(--blue-950);
  font-size: 1.14rem;
}

.journey p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.toc-section {
  align-items: center;
}

.outcome-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.outcome-list li {
  padding-left: 28px;
  position: relative;
  color: var(--blue-950);
  font-weight: 700;
}

.outcome-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 3px;
  background: var(--orange-600);
}

.toc-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.toc-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
}

.toc-figure figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.sectors {
  background: var(--white);
}

.sector-grid article {
  min-height: 190px;
}

.quality-band {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
}

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

.quality-grid div {
  min-height: 150px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.quality-grid strong {
  color: var(--blue-900);
  margin-bottom: 8px;
}

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

.contact {
  background: var(--blue-950);
  color: var(--white);
}

.contact-panel {
  align-items: center;
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-panel h2 {
  color: var(--white);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.contact .button-secondary {
  border-color: rgba(255, 255, 255, 0.66);
  color: var(--white);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.78);
}

.contact-details span {
  min-height: 84px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.contact-details strong {
  display: block;
  color: var(--white);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--blue-900);
  font-weight: 800;
}

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

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

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

@media (max-width: 860px) {
  .site-header {
    min-height: 70px;
    padding-inline: 18px;
  }

  .brand img {
    width: 178px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .hero {
    min-height: 86vh;
    padding: 116px 20px 64px;
  }

  .hero-media {
    background:
      linear-gradient(0deg, rgba(7, 26, 70, 0.95) 0%, rgba(7, 26, 70, 0.82) 62%, rgba(7, 26, 70, 0.55) 100%),
      url("assets/theory-of-change.png") top center / cover no-repeat;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 68px 20px;
  }

  .split,
  .toc-section,
  .quality-band,
  .contact-panel,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 18px;
  }

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

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

@media (max-width: 620px) {
  .hero h1,
  .section h2 {
    font-size: 2.35rem;
    line-height: 1.05;
  }

  .proof-strip,
  .service-grid,
  .sector-grid,
  .journey,
  .quality-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .service-card,
  .sector-grid article,
  .journey li,
  .quality-grid div {
    min-height: auto;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 12px;
  }
}
