@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  /* optional, not swap: a late body-face swap was the layout shift. */
  font-display: optional;
  src: url("../assets/fonts/Inter-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("../assets/fonts/Inter-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("../assets/fonts/Inter-Bold.woff2") format("woff2");
}

:root {
  --navy: #0a2540;
  --teal: #00d4c8;
  --gray: #f4f6f8;
  --white: #ffffff;
  --charcoal: #1c2a38;
  --mist: #c5d0d8;
  --field-approach: #091e31;
  --field-who: #0b2034;
  --field-contact: #061725;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  /* Closed single-row header. menu.js writes the live height after load. */
  --header-h: 207px;
  --content: 1280px;
  --pad: 80px;
  --measure: min(var(--content), calc(100% - (var(--pad) * 2)));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

img {
  border: 0;
}

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

h1,
h2,
.hero-summary h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
  line-height: 1.05;
}

h1 {
  margin-bottom: 24px;
  font-size: 80px;
  line-height: 1.02;
  color: var(--white);
  max-width: 12.2em;
}

h2 {
  margin-bottom: 24px;
  font-size: 58px;
  color: var(--white);
}

h3 {
  margin-bottom: 12px;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
}

a {
  color: inherit;
}

p {
  margin-bottom: 0;
}

.wrap {
  width: var(--measure);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 20;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  padding: 12px 16px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow-dark {
  color: var(--navy);
}

.lead {
  font-size: 22px;
  line-height: 1.45;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 160ms ease;
}

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

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

.button-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.button-primary:focus-visible {
  outline-color: var(--white);
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
  width: var(--measure);
  margin-inline: auto;
  padding: 18px 0 8px;
  color: var(--white);
}

.logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.logo img {
  display: block;
  width: 440px;
  max-width: 100%;
  min-width: 140px;
  height: auto;
  aspect-ratio: 554 / 228;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  color: var(--white);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}

.desktop-nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 6px;
}

.nav-cta {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--teal);
}

.desktop-nav .nav-cta:hover {
  text-decoration: none;
}

.mobile-bar,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 56px 0 88px;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: calc(-1 * var(--header-h));
  bottom: 0;
  background-color: var(--field-contact);
  background-image:
    linear-gradient(90deg, rgba(6, 23, 37, 0.94) 0%, rgba(6, 23, 37, 0.82) 38%, rgba(6, 23, 37, 0.42) 62%, rgba(6, 23, 37, 0.18) 100%),
    url("../assets/images/hero-architecture.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  pointer-events: none;
}

.hero-lead {
  max-width: 26em;
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.35;
  color: var(--white);
}

.hero-support {
  max-width: 28em;
  margin-bottom: 32px;
  font-size: 20px;
  line-height: 1.45;
  color: var(--mist);
}

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

.hero-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 680px);
  gap: 28px 48px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--teal);
}

.hero-summary h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  color: var(--white);
  white-space: nowrap;
}

.hero-summary p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--gray);
}

.detail {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--mist);
}

.approach {
  background: var(--field-approach);
  color: var(--gray);
}

.approach-inner {
  position: relative;
  width: min(1440px, 100%);
  margin-inline: auto;
}

.approach-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  padding: 108px 48px 108px var(--pad);
}

.approach h2 {
  text-wrap: wrap;
  max-width: 16.5em;
}

.approach-copy .lead,
.approach-copy p {
  max-width: 42em;
}

.approach-copy .lead {
  margin-bottom: 20px;
  color: var(--gray);
}

.approach-copy > p:not(.eyebrow):not(.lead) {
  margin-bottom: 28px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray);
}

.approach-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.approach-list li {
  margin: 0;
  padding: 18px 0 18px 20px;
  border-left: 2px solid var(--teal);
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray);
}

.approach-list li + li {
  margin-top: 18px;
}

.approach-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(42%, 560px);
  background-color: var(--field-approach);
  background-image:
    linear-gradient(90deg, var(--field-approach) 0%, rgba(9, 30, 49, 0.72) 16%, rgba(9, 30, 49, 0.2) 40%, rgba(9, 30, 49, 0) 62%),
    url("../assets/images/hero-architecture.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 72% center;
}

.outcomes {
  background: var(--gray);
  color: var(--charcoal);
  padding: 108px 0 96px;
}

.outcomes h2,
.outcomes h3 {
  color: var(--navy);
}

.outcomes .lead {
  max-width: 34em;
  margin-bottom: 12px;
  color: var(--charcoal);
  font-size: 24px;
}

.ledger {
  margin-top: 36px;
}

.ledger-row {
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  gap: 16px 48px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid rgba(10, 37, 64, 0.14);
}

.ledger-row:last-child {
  border-bottom: 1px solid rgba(10, 37, 64, 0.14);
}

.ledger-row h3,
.ledger-row p {
  margin: 0;
}

.ledger-row p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--charcoal);
}

.how {
  background: var(--field-approach);
  color: var(--gray);
  padding: 108px 0 88px;
}

.how .lead {
  max-width: 34em;
  color: var(--gray);
  font-size: 22px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 32px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  min-width: 0;
}

.steps .step-num {
  margin: 0;
  font-size: 112px;
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: var(--mist);
}

.step-body {
  position: relative;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--teal);
}

.steps li:not(:last-child) .step-body {
  margin-right: -32px;
  padding-right: 32px;
}

.step-body::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.steps h3 {
  margin-bottom: 10px;
}

.steps li > p:not(.step-num) {
  font-size: 18px;
  line-height: 1.5;
  color: var(--mist);
}

.how-note {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(197, 208, 216, 0.35);
  font-size: 16px;
  line-height: 1.5;
  color: var(--mist);
}

.who {
  background: var(--field-who);
  color: var(--gray);
  padding: 108px 0 96px;
}

.who h2 {
  max-width: 16em;
  font-size: 72px;
}

.who .lead {
  max-width: 46em;
  color: var(--gray);
  font-size: 22px;
}

.audiences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 70px;
  margin-top: 48px;
}

.audiences article {
  padding-top: 22px;
  border-top: 2px solid var(--teal);
}

.audiences h3 {
  font-size: 26px;
}

.audiences p {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--gray);
}

.audiences p:last-child {
  margin-bottom: 0;
}

.examples-note {
  margin: 40px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--mist);
}

.examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 56px;
  margin-top: 28px;
}

.example {
  padding: 2px 0 2px 20px;
  border-left: 3px solid var(--teal);
}

.example h3 {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.2;
}

.example p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--gray);
}

.contact {
  background-color: var(--field-contact);
  background-image:
    linear-gradient(90deg, rgba(6, 23, 37, 0.9) 0%, rgba(6, 23, 37, 0.74) 42%, rgba(6, 23, 37, 0.28) 100%),
    url("../assets/images/hero-architecture.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 68% center;
  color: var(--white);
  padding: 112px 0 120px;
}

.contact h2 {
  max-width: 10em;
  margin-bottom: 20px;
  font-size: 112px;
  line-height: 0.95;
}

.contact p:not(.eyebrow) {
  max-width: 34em;
  margin-bottom: 32px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--gray);
}

.site-footer {
  background: var(--navy);
  color: var(--mist);
  padding: 40px 0;
}

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

.footer-logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.footer-logo img {
  display: block;
  width: 260px;
  max-width: 100%;
  min-width: 140px;
  height: auto;
  aspect-ratio: 554 / 228;
}

.site-footer p {
  max-width: 52em;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  text-align: right;
  color: var(--mist);
}

.site-footer a[href^="mailto:"],
.site-footer a[href="/"] {
  color: var(--mist);
  text-decoration: underline;
  text-underline-offset: 3px;
}

section[id] {
  scroll-margin-top: 12px;
}

@media (max-width: 800px) {
  :root {
    --pad: 24px;
  }

  h1 {
    font-size: 40px;
    max-width: none;
  }

  h2 {
    font-size: 36px;
  }

  h3,
  .hero-summary h2,
  .example h3,
  .audiences h3 {
    font-size: 22px;
  }

  .who h2 {
    font-size: 40px;
    max-width: none;
  }

  .contact h2 {
    /* 56px from 390px up. Narrower viewports scale so "conversation" stays intact. */
    font-size: clamp(40px, calc((100vw - (var(--pad) * 2)) / 6.1), 56px);
    max-width: 100%;
  }

  .lead,
  .outcomes .lead,
  .how .lead,
  .who .lead {
    font-size: 18px;
  }

  .hero-lead {
    font-size: 22px;
  }

  .hero-support,
  .contact p:not(.eyebrow) {
    font-size: 18px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 16px;
  }

  .logo img {
    width: 290px;
    max-width: 100%;
    min-width: 140px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-bar {
    display: flex;
    gap: 12px;
    margin: 8px 0 12px;
  }

  .menu-toggle {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid rgba(197, 208, 216, 0.75);
    border-radius: 2px;
    background: var(--navy);
    color: var(--white);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
  }

  .mobile-bar .button {
    min-height: 44px;
    padding: 10px 16px;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 0 8px;
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav a {
    padding: 14px 0;
    border-top: 1px solid rgba(197, 208, 216, 0.28);
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-nav a:last-child {
    border-bottom: 1px solid rgba(197, 208, 216, 0.28);
  }

  .hero {
    padding: 12px 0 64px;
  }

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

  .hero-summary {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 40px;
  }

  .hero-summary h2 {
    white-space: normal;
  }

  .approach-inner {
    display: block;
  }

  .approach-copy {
    width: auto;
    padding: 72px 24px;
  }

  .approach-visual {
    display: none;
  }

  .outcomes,
  .how,
  .who {
    padding: 72px 0;
  }

  .ledger-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    margin-top: 36px;
  }

  .step-body,
  .steps li:not(:last-child) .step-body {
    margin-top: 8px;
    margin-right: 0;
    padding: 0;
    border-top: 0;
  }

  .step-body::before {
    display: none;
  }

  .steps .step-num {
    margin-bottom: 0;
    font-size: 90px;
    line-height: 0.85;
  }

  .audiences,
  .examples {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact {
    padding: 72px 0 80px;
  }

  .site-footer {
    padding: 36px 0 48px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .site-footer p {
    text-align: left;
  }
}

/* The desktop bar wraps onto two rows until the nav fits beside the lockup. */
@media (min-width: 801px) and (max-width: 1099px) {
  :root {
    --header-h: 280px;
  }
}

@media (max-width: 360px) {
  :root {
    --header-h: 200px;
  }

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

  .logo img {
    width: max(140px, min(290px, 100%));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .button:hover {
    transform: none;
  }
}
