:root {
  color-scheme: light;
  --navy: #071426;
  --navy-2: #102c61;
  --blue: #159fe8;
  --cyan: #45c5ff;
  --white: #ffffff;
  --off-white: #f5f8fc;
  --text: #172b46;
  --muted: #5c6b7c;
  --line: #dce5ef;
  --font-body: "Aptos", "Segoe UI", "Helvetica Neue", sans-serif;
  --content-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
img, svg { display: block; max-width: 100%; }
.skip-link {
  position: absolute; z-index: 20; top: 12px; left: 12px;
  padding: 10px 14px; transform: translateY(-150%);
  color: var(--navy); background: var(--white); border-radius: 3px;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(var(--content-width), calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: relative; z-index: 5;
  color: var(--white); background: var(--navy);
  border-bottom: 1px solid rgb(255 255 255 / 9%);
}
.header-inner {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; text-decoration: none;
  flex: 0 0 auto;
}
.brand-logo { width: min(264px, calc(100vw - 120px)); height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.primary-nav a {
  position: relative; padding: 9px 0; color: #c7d1df;
  font-size: .91rem; text-decoration: none; transition: color .18s ease;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--white); }
.primary-nav a[aria-current="page"]::after {
  position: absolute; right: 0; bottom: 2px; left: 0; height: 2px;
  background: var(--blue); content: "";
}
.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 10px;
  color: var(--white); background: transparent; border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 4px; cursor: pointer;
}
.menu-toggle span { display: block; width: 21px; height: 1px; margin: 5px auto; background: currentColor; }

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--white); background:
    radial-gradient(ellipse at 83% 38%, rgb(21 159 232 / 17%), transparent 33%),
    linear-gradient(115deg, var(--navy) 15%, #0a1c37 72%, #0b2345);
}
.hero::after {
  position: absolute; z-index: -1; top: -180px; right: -60px; width: 580px; height: 580px;
  border: 1px solid rgb(69 197 255 / 11%); border-radius: 50%; content: "";
  box-shadow: 0 0 0 64px rgb(69 197 255 / 2%), 0 0 0 128px rgb(69 197 255 / 2%);
}
.hero-inner { position: relative; padding-block: clamp(84px, 11vw, 148px) clamp(178px, calc(12vw + 82px), 246px); }
.eyebrow {
  margin: 0 0 20px; color: var(--blue); font-size: .76rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase;
}
.hero h1 {
  max-width: 800px; margin: 0; color: #f8fbff;
  font-size: clamp(2.8rem, 7.2vw, 5.75rem); font-weight: 620;
  letter-spacing: -.055em; line-height: 1.03;
}
.hero-copy { max-width: 640px; margin: 26px 0 0; color: #c4d0df; font-size: clamp(1.05rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px;
  padding: 11px 19px; color: var(--white); background: var(--blue);
  border: 1px solid var(--blue); border-radius: 3px;
  font-size: .9rem; font-weight: 650; text-decoration: none; transition: background .18s ease, border-color .18s ease;
}
.button:hover { background: #0e88cb; border-color: #0e88cb; }
.button--outline { color: var(--white); background: transparent; border-color: rgb(255 255 255 / 38%); }
.button--outline:hover { color: var(--navy); background: var(--white); border-color: var(--white); }
.button-arrow { font-size: 1.2rem; line-height: 1; }

.page-hero { color: var(--white); background: linear-gradient(112deg, var(--navy), #102c61); }
.page-hero-inner { padding-block: clamp(62px, 8vw, 102px); }
.page-hero h1 { max-width: 850px; margin: 0; font-size: clamp(2.4rem, 5.8vw, 4.35rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; }
.page-hero .lead { max-width: 680px; margin: 20px 0 0; color: #c7d4e4; font-size: 1.13rem; }

.section { padding-block: clamp(68px, 8vw, 108px); }
.section--soft { background: var(--off-white); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2, .copy-block h2 {
  margin: 0; color: var(--navy); font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600; letter-spacing: -.04em; line-height: 1.15;
}
.section-heading p { max-width: 660px; margin: 17px 0 0; color: var(--muted); font-size: 1.05rem; }
.split-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(44px, 9vw, 120px); align-items: start; }
.copy-block p { margin: 18px 0 0; color: var(--muted); }
.copy-block .eyebrow { margin-bottom: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: #087fc0; font-weight: 650; text-decoration: none; }
.text-link:hover { color: var(--navy-2); }
.text-link span { font-size: 1.2rem; transition: transform .18s ease; }
.text-link:hover span { transform: translateX(3px); }

.focus-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.focus-item { min-height: 206px; padding: 28px 25px 20px 0; border-bottom: 1px solid var(--line); }
.focus-item + .focus-item { padding-left: 25px; border-left: 1px solid var(--line); }
.focus-item h3 { margin: 0 0 9px; color: var(--navy); font-size: 1.13rem; font-weight: 650; line-height: 1.35; }
.focus-item p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }

.principle-band { position: relative; overflow: hidden; color: var(--white); background: var(--navy-2); }
.principle-band::before { position: absolute; top: -160px; right: 4%; width: 400px; height: 400px; border: 1px solid rgb(69 197 255 / 18%); border-radius: 50%; content: ""; }
.principle-inner { position: relative; display: grid; grid-template-columns: 1fr minmax(240px, .7fr); gap: 60px; align-items: center; padding-block: clamp(58px, 7vw, 86px); }
.principle-inner h2 { max-width: 680px; margin: 0; color: var(--white); font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 550; letter-spacing: -.045em; line-height: 1.12; }
.principle-inner p { margin: 0; color: #c5d2e3; }

.contact-callout { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 48px; }
.contact-callout h2 { margin: 0; color: var(--navy); font-size: clamp(1.65rem, 3vw, 2.3rem); font-weight: 600; letter-spacing: -.04em; }
.contact-callout p { max-width: 540px; margin: 8px 0 0; color: var(--muted); }

.content-prose { max-width: 850px; }
.content-prose h2 { margin: 0 0 16px; color: var(--navy); font-size: clamp(1.8rem, 3.8vw, 2.7rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.18; }
.content-prose h2:not(:first-child) { margin-top: 56px; }
.content-prose p { margin: 0 0 17px; color: var(--muted); }
.principles-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.principles-list li { padding: 19px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.principles-list strong { display: block; margin-bottom: 5px; color: var(--navy); }
.expertise-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.expertise-list li { display: grid; grid-template-columns: minmax(0, 1fr); padding: 29px 0; border-bottom: 1px solid var(--line); }
.expertise-list h2 { margin: 0; color: var(--navy); font-size: 1.4rem; font-weight: 650; letter-spacing: -.02em; }
.expertise-list p { max-width: 660px; margin: 7px 0 0; color: var(--muted); }

.contact-email-button:disabled { opacity: 1; cursor: default; }

.site-footer {
  position: relative; isolation: isolate; overflow: hidden; min-height: 290px;
  color: #e6edf6; background-color: var(--navy);
}
.footer-artwork {
  position: absolute; z-index: -2; inset: 0;
  background-image: url("../images/circuit-board.svg");
  background-repeat: no-repeat; background-position: right bottom; background-size: min(1000px, 100%) auto;
  opacity: .78;
}
.footer-gradient {
  position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(to bottom, var(--white) 0%, rgb(255 255 255 / 90%) 13%, rgb(7 20 38 / 87%) 67%, var(--navy) 100%);
  pointer-events: none;
}
.footer-inner { display: flex; min-height: 290px; flex-direction: column; justify-content: flex-end; padding-block: 70px 26px; }
.footer-top { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 23px; border-bottom: 1px solid rgb(221 235 249 / 22%); }
.footer-logo { width: min(264px, 100%); height: auto; }
.footer-company { margin: 6px 0 0; color: #d1dbe7; font-size: .82rem; letter-spacing: .06em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-nav a { color: #d1dbe7; font-size: .88rem; text-decoration: none; }
.footer-nav a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 17px; color: #9eafc3; font-size: .78rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 820px) {
  .focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .focus-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .focus-item:nth-child(4) { padding-right: 0; }
  .principle-inner { grid-template-columns: 1fr; gap: 22px; }
  .split-layout { gap: 48px; }
}
@media (max-width: 640px) {
  .container { width: min(var(--content-width), calc(100% - 36px)); }
  .header-inner { min-height: 72px; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: absolute; top: 100%; right: 0; left: 0; display: none;
    align-items: stretch; gap: 0; padding: 7px 18px 15px;
    background: var(--navy); border-top: 1px solid rgb(255 255 255 / 12%);
  }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a { padding: 13px 0; border-bottom: 1px solid rgb(255 255 255 / 9%); }
  .primary-nav a[aria-current="page"]::after { right: auto; width: 28px; bottom: 7px; }
  .hero-inner { padding-block: 78px 178px; }
  .split-layout { grid-template-columns: 1fr; gap: 32px; }
  .section-heading { margin-bottom: 30px; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-item, .focus-item + .focus-item { min-height: auto; padding: 22px 0; border-left: 0; }
  .contact-callout, .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .contact-callout { padding-block: 42px; }
  .principles-list { grid-template-columns: 1fr; }
  .footer-inner { padding-top: 64px; }
  .footer-top { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
