:root {
  --navy: #09135a;
  --navy-deep: #060c3e;
  --orange: #f36b21;
  --orange-dark: #d95312;
  --ink: #151a38;
  --muted: #62677a;
  --line: #dcdde3;
  --paper: #f7f5ef;
  --cream: #ebe8df;
  --white: #fff;
  --shell: 1240px;
  --radius: 2px;
  --section-space: clamp(4.75rem, 8vw, 7.5rem);
  --display: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul { margin: 0; }
button { font: inherit; }

.shell { width: min(calc(100% - 3rem), var(--shell)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  background: rgb(247 245 239 / 94%);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { flex: 0 1 380px; }
.brand img { width: min(380px, 34vw); height: auto; }
.site-nav { display: flex; align-items: center; gap: .15rem; }
.site-nav a {
  padding: .78rem .9rem;
  color: #4c5267;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--navy); }
.site-nav .nav-cta {
  margin-left: .45rem;
  padding-inline: 1.15rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
}
.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible { background: var(--orange); color: var(--white); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image:
    linear-gradient(#09135a0b 1px, transparent 1px),
    linear-gradient(90deg, #09135a0b 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
}
.hero-layout {
  position: relative;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(360px, .87fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(4.75rem, 8vw, 7rem);
}
.eyebrow,
.section-kicker,
.service-label,
.card-kicker {
  color: var(--orange);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow span {
  display: inline-block;
  width: 2.2rem;
  height: 2px;
  margin: 0 .65rem .2rem 0;
  background: var(--orange);
}
h1, h2, h3 { font-family: var(--display); }
.hero h1 {
  max-width: 790px;
  margin-top: 1.15rem;
  color: var(--navy);
  font-size: clamp(3.45rem, 6.4vw, 6.55rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .93;
}
.hero h1 em { color: var(--orange); font-style: normal; font-weight: inherit; }
.lede {
  max-width: 680px;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}
.hero-actions { margin-top: 2rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: var(--white); }
.button-primary:hover,
.button-primary:focus-visible { background: var(--orange-dark); }
.text-link {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--navy);
}

.decision-card {
  position: relative;
  padding: clamp(2rem, 4vw, 3.4rem);
  background: var(--navy);
  color: var(--white);
  box-shadow: 22px 24px 0 #f36b2126;
}
.decision-card::before {
  content: "";
  position: absolute;
  inset: -22px 24px 22px -24px;
  z-index: -1;
  border: 1px solid #09135a30;
  border-radius: 50%;
  transform: rotate(-8deg);
}
.decision-card h2 {
  margin-top: 1.4rem;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.card-kicker { color: #f8a477; }
.decision-path { margin-top: 3rem; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.decision-path li { position: relative; display: grid; gap: .3rem; padding-top: 1.2rem; border-top: 1px solid #ffffff55; }
.decision-path li:not(:last-child)::after { content: ""; position: absolute; top: -4px; right: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.decision-path span { color: #f8a477; font-size: .7rem; font-weight: 800; }
.decision-path strong { font-size: .9rem; }
.capability-line {
  position: relative;
  padding-block: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #09135a1a;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.capability-line span:not(:first-child) { padding-left: 1.5rem; border-left: 1px solid #09135a22; }

.section { padding-block: var(--section-space); }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading h2,
.approach-intro h2,
.about h2,
.contact h2 {
  margin-top: .75rem;
  color: var(--navy);
  font-size: clamp(2.25rem, 4.5vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.section-heading > p:last-child,
.approach-intro > p:last-child {
  max-width: 650px;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 1.06rem;
}
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card { position: relative; padding: 2.25rem clamp(1.5rem, 3vw, 2.5rem) 2.5rem; background: var(--white); }
.service-card + .service-card { border-left: 1px solid var(--line); }
.card-number { display: block; margin-bottom: 3rem; color: var(--orange); font-size: .8rem; font-weight: 850; }
.service-card h3 { margin-top: .55rem; color: var(--navy); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.1; letter-spacing: -.025em; }
.service-card > p:not(.service-label) { margin-top: 1rem; color: var(--muted); }
.service-card ul { margin: 1.6rem 0 0; padding: 1.3rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-card li { position: relative; padding-left: 1rem; color: #42485f; font-size: .92rem; }
.service-card li + li { margin-top: .55rem; }
.service-card li::before { content: ""; position: absolute; top: .72em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

.approach { background: var(--navy); color: var(--white); }
.approach-layout { padding-block: var(--section-space); display: grid; grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); gap: clamp(3rem, 8vw, 8rem); }
.approach-intro h2 { color: var(--white); }
.approach-intro > p:last-child { color: #c4c8dc; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 100px 1fr; gap: 1.5rem; padding: 1.65rem 0; border-top: 1px solid #ffffff2b; }
.process-list li:last-child { border-bottom: 1px solid #ffffff2b; }
.process-list > li > span { color: #f8a477; font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.process-list strong { display: block; font-family: var(--display); font-size: 1.2rem; }
.process-list p { margin-top: .35rem; color: #c4c8dc; font-size: .94rem; }

.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 9vw, 9rem); }
.about-copy { padding-top: .5rem; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.22rem); }
.about-copy p + p { margin-top: 1.25rem; }

.contact {
  margin-bottom: var(--section-space);
  padding: clamp(2.5rem, 5vw, 4.75rem);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
  background: var(--orange);
  color: var(--white);
}
.contact .section-kicker { color: var(--navy); }
.contact h2 { color: var(--white); }
.contact-copy > p:first-child { margin-bottom: 1.5rem; font-size: 1.06rem; }
.contact-form {
  min-height: 420px;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
}
.hs-form-frame { min-height: 380px; }
.contact-fallback {
  margin-top: 1rem;
  font-size: .88rem;
}
.contact-fallback a { font-weight: 800; }

.site-footer { padding-block: 3rem; border-top: 1px solid var(--line); background: var(--cream); }
.footer-inner { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 2rem; align-items: end; }
.footer-inner img { width: min(300px, 100%); }
.footer-inner > div:first-child p { margin-top: 1rem; color: var(--muted); font-size: .88rem; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { color: var(--navy); font-size: .88rem; font-weight: 800; text-decoration: none; }
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--orange-dark); }
.copyright { color: var(--muted); font-size: .82rem; text-align: right; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

@media (max-width: 960px) {
  .header-inner { min-height: 104px; }
  .brand { flex-basis: auto; }
  .brand img { width: min(330px, 42vw); }
  .hero-layout { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 800px; }
  .decision-card { max-width: 700px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card + .service-card { border-left: 0; border-top: 1px solid var(--line); }
  .card-number { margin-bottom: 1.5rem; }
  .approach-layout { grid-template-columns: 1fr; }
  .approach-intro { max-width: 750px; }
  .contact { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .copyright { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 6.7rem; }
  .shell { width: min(calc(100% - 2rem), var(--shell)); }
  .header-inner { min-height: 102px; }
  .brand img { width: min(270px, 68vw); }
  .menu-toggle {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--navy);
    cursor: pointer;
  }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-icon { width: 18px; display: grid; gap: 5px; }
  .menu-icon i { display: block; height: 2px; background: currentColor; transition: transform 160ms ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    top: 102px;
    left: 0;
    right: 0;
    min-height: calc(100dvh - 102px);
    padding: 1rem;
    display: none;
    align-content: start;
    background: var(--paper);
    border-top: 1px solid var(--line);
  }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 1.1rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .site-nav .nav-cta { margin: 1rem 0 0; padding: .95rem 1.15rem; justify-self: start; border: 0; font-size: 1rem; }
  .hero-layout { padding-block: 4.25rem 5rem; gap: 4.5rem; }
  .hero h1 { font-size: clamp(3.05rem, 15vw, 5rem); }
  .capability-line { grid-template-columns: 1fr 1fr; gap: 0; }
  .capability-line span { min-height: 62px; display: flex; align-items: center; padding: .8rem !important; border-left: 0 !important; }
  .capability-line span:nth-child(even) { border-left: 1px solid #09135a22 !important; }
  .capability-line span:nth-child(n+3) { border-top: 1px solid #09135a22; }
  .about { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
  .copyright { grid-column: auto; }
}

@media (max-width: 430px) {
  .shell { width: min(calc(100% - 1.5rem), var(--shell)); }
  .header-inner { min-height: 94px; }
  .brand img { width: min(245px, 70vw); }
  .menu-toggle { width: 42px; height: 42px; flex-basis: 42px; }
  .site-nav { top: 94px; min-height: calc(100dvh - 94px); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .decision-card { padding: 2rem 1.35rem; box-shadow: 12px 14px 0 #f36b2126; }
  .decision-card::before { display: none; }
  .decision-path { margin-top: 2rem; }
  .decision-path strong { font-size: .76rem; }
  .capability-line { grid-template-columns: 1fr; }
  .capability-line span { border-left: 0 !important; border-top: 1px solid #09135a22; min-height: 52px; }
  .capability-line span:first-child { border-top: 0; }
  .process-list li { grid-template-columns: 1fr; gap: .45rem; }
  .contact { width: calc(100% - 1.5rem); padding: 2.25rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
