:root {
  --navy-950: #03102e;
  --navy-900: #071d50;
  --navy-800: #0a2b69;
  --blue-600: #0759f5;
  --blue-500: #126eff;
  --blue-100: #dce9ff;
  --ice: #f3f7ff;
  --white: #ffffff;
  --ink: #0d1e3f;
  --muted: #5c6980;
  --line: #d7e1f0;
  --shell: min(1180px, calc(100% - 3rem));
  --shadow: 0 24px 60px rgba(3, 16, 46, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy-950); line-height: 1.05; letter-spacing: -0.035em; }
h1 { font-size: clamp(3.2rem, 6.4vw, 6.8rem); font-weight: 750; }
h2 { font-size: clamp(2.5rem, 4.7vw, 4.9rem); font-weight: 720; }
h3 { font-size: 1.5rem; font-weight: 700; }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(5.5rem, 10vw, 9rem) 0; }
.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;
}

.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 1000;
  padding: 0.75rem 1rem; color: var(--white); background: var(--navy-950);
  transform: translateY(-150%); transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(7, 29, 80, 0.08);
  box-shadow: 0 10px 32px rgba(3, 16, 46, 0.07);
  backdrop-filter: blur(16px);
}
.header-inner { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; width: min(290px, 42vw); }
.brand img { width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav a { position: relative; font-size: 0.9rem; font-weight: 650; text-decoration: none; letter-spacing: 0.01em; }
.primary-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -0.45rem; height: 2px;
  background: var(--blue-600); transition: right 180ms ease;
}
.primary-nav > a:hover::after, .primary-nav > a:focus-visible::after { right: 0; }
.nav-cta { padding: 0.75rem 1.05rem; color: var(--white); background: var(--navy-900); border-radius: 3px; }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--blue-600); }
.menu-toggle { display: none; }

.hero {
  position: relative; min-height: 830px; padding: 9.2rem 0 5.5rem; overflow: hidden;
  background: linear-gradient(118deg, #fff 0%, #f8faff 52%, #eaf1ff 100%);
}
.hero::after {
  content: ""; position: absolute; width: 42vw; min-width: 420px; aspect-ratio: 1;
  right: -16vw; bottom: -33%; border: 1px solid rgba(7, 89, 245, 0.18); border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(7, 89, 245, 0.035), 0 0 0 14vw rgba(7, 89, 245, 0.025);
}
.hero-grid {
  position: absolute; inset: 0 0 0 47%; opacity: 0.32;
  background-image: linear-gradient(rgba(7, 89, 245, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 89, 245, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 100%);
}
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: clamp(3rem, 6vw, 7rem); }
.hero-copy { padding-top: 2rem; }
.eyebrow {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem;
  color: var(--blue-600); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.17em; text-transform: uppercase;
}
.eyebrow > span { width: 2.25rem; height: 2px; background: currentColor; }
.hero h1 { margin-bottom: 1.8rem; max-width: 820px; }
.hero h1 em { color: var(--blue-600); font-style: normal; }
.hero-lede { max-width: 670px; margin-bottom: 2.25rem; color: #445472; font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.72; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.75rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  min-height: 54px; padding: 0.9rem 1.3rem; border: 1px solid transparent; border-radius: 3px;
  font-size: 0.95rem; font-weight: 750; text-decoration: none; transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.button svg { width: 1rem; fill: none; stroke: currentColor; stroke-width: 2; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue-600); box-shadow: 0 12px 28px rgba(7, 89, 245, 0.25); }
.button-primary:hover, .button-primary:focus-visible { background: var(--navy-900); }
.text-link { font-weight: 720; text-decoration: none; border-bottom: 1px solid var(--ink); }
.text-link:hover, .text-link:focus-visible { color: var(--blue-600); border-color: var(--blue-600); }
.hero-credit { margin: 2.3rem 0 0; color: #65728a; font-size: 0.82rem; font-weight: 680; letter-spacing: 0.03em; }

.hero-visual { position: relative; justify-self: end; width: min(100%, 500px); }
.blueprint-card {
  position: relative; min-height: 570px; padding: 2rem; overflow: hidden; color: var(--white);
  background: linear-gradient(145deg, #092763, #03102e 72%); border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 34px 80px rgba(3, 16, 46, 0.3);
}
.blueprint-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0.15;
  background-image: linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 28px 28px;
}
.blueprint-card::after {
  content: ""; position: absolute; top: -18%; right: -32%; width: 410px; aspect-ratio: 1;
  border: 1px solid rgba(18, 110, 255, 0.45); border-radius: 50%; box-shadow: 0 0 0 55px rgba(18, 110, 255, 0.06);
}
.blueprint-topline, .blueprint-footer { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 1rem; font-size: 0.67rem; font-weight: 800; letter-spacing: 0.15em; }
.blueprint-topline { padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.19); }
.blueprint-mark { position: relative; z-index: 2; width: 150px; height: 150px; margin: 3.2rem 0 2rem auto; }
.mark-ring { position: absolute; inset: 0; border: 1px solid rgba(18, 110, 255, 0.7); border-radius: 50%; box-shadow: inset 0 0 50px rgba(18, 110, 255, 0.1), 0 0 45px rgba(18, 110, 255, 0.14); }
.mark-ring::after { content: ""; position: absolute; inset: 18px; border: 1px dashed rgba(255, 255, 255, 0.3); border-radius: 50%; }
.mark-bolt { position: absolute; top: 23px; left: 54px; width: 42px; height: 104px; background: var(--blue-500); clip-path: polygon(64% 0, 22% 48%, 53% 48%, 34% 100%, 82% 39%, 51% 39%); filter: drop-shadow(0 0 13px rgba(18, 110, 255, 0.7)); }
.blueprint-statement { position: relative; z-index: 2; margin: 0 0 2.2rem; font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 680; line-height: 1.12; letter-spacing: -0.03em; }
.blueprint-steps { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.18); border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.blueprint-steps div { padding: 1rem 0.6rem 1rem 0; }
.blueprint-steps strong, .blueprint-steps span { display: block; }
.blueprint-steps strong { color: var(--blue-500); font-size: 0.78rem; }
.blueprint-steps span { font-size: 0.82rem; font-weight: 650; }
.blueprint-footer { margin-top: 1.35rem; color: rgba(255, 255, 255, 0.58); font-size: 0.57rem; }

.proof-band { color: var(--white); background: var(--navy-950); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { min-height: 160px; padding: 2.25rem 2rem; border-left: 1px solid rgba(255, 255, 255, 0.13); display: flex; flex-direction: column; justify-content: center; }
.proof-grid > div:last-child { border-right: 1px solid rgba(255, 255, 255, 0.13); }
.proof-grid strong { color: var(--blue-500); font-size: 1.4rem; line-height: 1.2; }
.proof-grid span { margin-top: 0.55rem; color: rgba(255, 255, 255, 0.7); font-size: 0.82rem; line-height: 1.45; }

.section-heading { display: grid; grid-template-columns: 1.25fr 0.75fr; column-gap: 5rem; margin-bottom: 4rem; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { max-width: 800px; margin-bottom: 0; }
.section-heading > p:last-child { align-self: end; margin: 0; color: var(--muted); font-size: 1.05rem; }
.section-heading.compact { grid-template-columns: 1fr; margin-bottom: 2.6rem; }
.section-heading.compact h2 { max-width: 780px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { position: relative; min-height: 445px; padding: clamp(2rem, 4vw, 3.25rem); background: var(--white); overflow: hidden; }
.service-card::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--blue-600); transform: scaleX(0); transform-origin: left; transition: transform 250ms ease; }
.service-card:hover::after { transform: scaleX(1); }
.service-number { position: absolute; top: 2rem; right: 2rem; color: #a5b1c5; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; }
.service-icon { width: 48px; height: 48px; margin-bottom: 2.5rem; fill: none; stroke: var(--blue-600); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: 1.1rem; }
.service-card > p { max-width: 560px; color: var(--muted); }
.service-card ul { list-style: none; margin: 1.8rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); }
.service-card li { position: relative; margin: 0.42rem 0; padding-left: 1.2rem; color: #35445f; font-size: 0.9rem; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.4rem; height: 2px; background: var(--blue-600); }

.approach { color: var(--white); background: linear-gradient(120deg, var(--navy-900), var(--navy-950)); }
.approach-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(4rem, 9vw, 9rem); align-items: start; }
.eyebrow-light { color: #71a5ff; }
.approach h2 { color: var(--white); }
.approach-intro > p:last-child { max-width: 520px; color: rgba(255, 255, 255, 0.7); font-size: 1.04rem; }
.method-list { list-style: none; margin: 0; padding: 0; }
.method-list li { display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.method-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.method-list > li > span { color: var(--blue-500); font-size: 0.78rem; font-weight: 800; }
.method-list h3 { margin-bottom: 0.5rem; color: var(--white); }
.method-list p { margin: 0; color: rgba(255, 255, 255, 0.68); }

.capabilities { background: var(--ice); }
.capability-list { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.capability-list span { padding: 0.8rem 1rem; color: var(--navy-900); background: var(--white); border: 1px solid #cbd9ee; border-radius: 100px; font-size: 0.9rem; font-weight: 650; box-shadow: 0 8px 24px rgba(3, 16, 46, 0.045); }

.lincoln-section { position: relative; overflow: hidden; }
.lincoln-section::before { content: "LY"; position: absolute; left: -0.04em; bottom: -0.24em; color: rgba(7, 89, 245, 0.035); font-size: min(48vw, 42rem); font-weight: 900; line-height: 1; letter-spacing: -0.1em; pointer-events: none; }
.lincoln-layout { position: relative; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem clamp(4rem, 10vw, 10rem); align-items: start; }
.profile-title { position: relative; }
.profile-kicker { margin-bottom: 0.75rem; color: var(--muted); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.profile-title h2 { font-size: clamp(4rem, 8vw, 7.5rem); }
.experience-seal { width: 108px; height: 108px; margin-top: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--white); background: var(--blue-600); border-radius: 50%; box-shadow: 0 16px 35px rgba(7, 89, 245, 0.25); }
.experience-seal strong { font-size: 1.8rem; line-height: 1; }
.experience-seal span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.profile-portrait { position: relative; width: min(100%, 440px); margin: 0; }
.profile-portrait::after { content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; z-index: -1; border: 1px solid rgba(7, 89, 245, 0.32); }
.profile-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 25%; border: 1px solid rgba(11, 41, 91, 0.12); box-shadow: 0 28px 60px rgba(3, 16, 46, 0.16); }
.profile-copy { grid-column: 2; grid-row: 1 / span 2; padding-top: 4.3rem; }
.profile-copy > p { color: var(--muted); font-size: 1.03rem; }
.profile-copy .profile-lead { color: var(--navy-950); font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 620; line-height: 1.4; letter-spacing: -0.02em; }
.profile-copy .profile-affiliations { padding: 1.35rem 1.5rem; color: #35445f; background: var(--ice); border-left: 4px solid var(--blue-600); }
.profile-affiliations strong { color: var(--navy-900); }
.profile-focus { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.profile-focus > div { display: grid; grid-template-columns: 54px 1fr; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.profile-focus span { color: var(--blue-600); font-size: 0.75rem; font-weight: 800; }
.profile-focus p { margin: 0; font-weight: 650; }

.closing-section { padding: clamp(5.5rem, 9vw, 8rem) 0; color: var(--white); background: var(--blue-600); }
.closing-inner { display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: end; gap: 2rem 5rem; }
.closing-inner .eyebrow { grid-column: 1 / -1; margin-bottom: 0; color: #cfe0ff; }
.closing-inner h2 { margin: 0; color: var(--white); }
.contact-details > p { margin: 0 0 1.6rem; color: rgba(255, 255, 255, 0.82); font-size: 1.05rem; }
.contact-link {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.2rem 1.2rem;
  padding: 1.15rem 1.25rem; color: var(--navy-950); background: var(--white); border-radius: 3px;
  text-decoration: none; box-shadow: 0 16px 36px rgba(3, 16, 46, 0.16);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.contact-link + .contact-link { margin-top: 0.85rem; }
.contact-link span { grid-column: 1; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-link strong { grid-column: 1; font-size: clamp(1rem, 1.45vw, 1.2rem); overflow-wrap: anywhere; }
.contact-link svg { grid-column: 2; grid-row: 1 / 3; width: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; }
.contact-link:hover, .contact-link:focus-visible { color: var(--white); background: var(--navy-950); transform: translateY(-2px); }
.button-light { width: fit-content; margin-top: 0.7rem; color: var(--navy-950); background: var(--white); }
.button-light:hover, .button-light:focus-visible { color: var(--white); background: var(--navy-950); }

.site-footer { padding: 2.5rem 0; color: rgba(255, 255, 255, 0.62); background: var(--navy-950); }
.footer-inner { display: grid; grid-template-columns: 280px 1fr auto; align-items: center; gap: 2rem; }
.footer-inner img { width: 240px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-inner p { margin: 0; font-size: 0.78rem; }
.footer-inner p:last-child { text-align: right; }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 3px solid #7faeff; outline-offset: 4px; }

@media (max-width: 960px) {
  :root { --shell: min(100% - 2rem, 720px); }
  .header-inner { height: 78px; }
  .brand { width: min(240px, 62vw); }
  .menu-toggle {
    position: relative; z-index: 102; width: 46px; height: 46px; display: grid; place-content: center; gap: 7px;
    padding: 0; border: 1px solid rgba(7, 29, 80, 0.15); border-radius: 3px; background: var(--white); cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { width: 20px; height: 2px; background: var(--navy-900); transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-4.5px) rotate(-45deg); }
  .primary-nav {
    position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.35rem; padding: 2rem max(2rem, 8vw); background: rgba(3, 16, 46, 0.985); transform: translateX(100%); transition: transform 220ms ease;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav a { color: var(--white); font-size: 1.5rem; }
  .primary-nav .nav-cta { margin-top: 0.75rem; background: var(--blue-600); }
  .hero { min-height: auto; padding-top: 8rem; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 1rem; }
  .hero-visual { justify-self: start; width: 100%; }
  .blueprint-card { min-height: 540px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div:nth-child(odd) { border-left: 1px solid rgba(255, 255, 255, 0.13); }
  .proof-grid > div { border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
  .section-heading, .closing-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .closing-inner .eyebrow { grid-column: 1; }
  .section-heading > p:last-child { max-width: 600px; }
  .approach-layout, .lincoln-layout { grid-template-columns: 1fr; gap: 3rem; }
  .profile-portrait { width: min(100%, 520px); margin-top: 0; }
  .profile-copy { grid-column: auto; grid-row: auto; padding-top: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner p:last-child { text-align: left; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 1.5rem); }
  h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  h2 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .brand { width: min(210px, 66vw); }
  .hero { padding-bottom: 4rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .blueprint-card { min-height: 520px; padding: 1.35rem; }
  .blueprint-topline { font-size: 0.57rem; }
  .blueprint-mark { width: 130px; height: 130px; margin-top: 2.8rem; }
  .mark-bolt { top: 19px; left: 47px; width: 36px; height: 92px; }
  .blueprint-steps { grid-template-columns: 1fr; }
  .blueprint-steps div { display: flex; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .blueprint-steps div:last-child { border-bottom: 0; }
  .blueprint-footer { flex-wrap: wrap; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div { min-height: 125px; padding: 1.7rem 1rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .method-list li { grid-template-columns: 44px 1fr; }
  .experience-seal { width: 96px; height: 96px; }
  .footer-inner img { width: 220px; }
}

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