:root {
  --navy: #03101d;
  --navy-2: #061a2c;
  --ink: #0a2238;
  --white: #f7f9fc;
  --muted: #a9b8c7;
  --line: rgba(150, 184, 214, .28);
  --blue: #1680ff;
  --blue-2: #045ee8;
  --copper: #d9783c;
  --shell: min(1280px, calc(100% - 96px));
  --ease: cubic-bezier(.2,.75,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-200%); background: white; color: var(--navy); padding: 10px 14px; z-index: 100; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(48px, calc((100vw - 1280px)/2));
  z-index: 50;
  transition: background .3s ease, border-color .3s ease, height .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { height: 70px; background: rgba(3,16,29,.88); backdrop-filter: blur(18px); border-color: var(--line); }
.wordmark { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { display: block; width: 184px; height: auto; aspect-ratio: 1530 / 565; overflow: hidden; }
.brand-logo image { filter: brightness(0) invert(1); }
.site-header.scrolled .brand-logo { width: 156px; }
.site-footer .brand-logo { width: 208px; }
.wordmark:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; }
.site-nav > a:not(.nav-cta) { color: #d9e4ed; transition: color .2s ease; }
.site-nav > a:not(.nav-cta):hover { color: white; }
.nav-cta { margin-left: 10px; padding: 13px 19px; background: var(--blue-2); transition: background .2s ease, transform .2s ease; }
.nav-cta:hover { background: var(--blue); transform: translateY(-1px); }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: white; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-button > span:not(.sr-only) { width: 19px; height: 1px; background: currentColor; }

.hero { min-height: 780px; height: 100svh; max-height: 980px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 76% 34%, rgba(5,94,232,.14), transparent 35%), linear-gradient(90deg, rgba(3,16,29,.15), transparent 55%); }
.hero-content { position: relative; z-index: 2; padding-top: 80px; }
.eyebrow { margin: 0 0 20px; text-transform: uppercase; letter-spacing: .22em; font-size: 11px; font-weight: 650; }
.eyebrow.accent { display: flex; align-items: center; gap: 16px; color: #cbd8e3; }
.eyebrow.accent::after { content: ""; width: 38px; height: 2px; background: var(--copper); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; max-width: 760px; font-size: clamp(58px, 6.1vw, 94px); line-height: .96; letter-spacing: -.055em; font-weight: 550; }
h1 span { color: var(--blue); }
.hero-copy { max-width: 600px; margin: 30px 0 0; color: #d2dde7; font-size: 20px; line-height: 1.5; }
.button-row { display: flex; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 52px; padding: 0 22px; font-size: 14px; font-weight: 620; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--blue-2); }
.button.primary:hover { background: var(--blue); }
.button.secondary { border: 1px solid rgba(119,174,230,.6); }
.button.secondary:hover { background: rgba(22,128,255,.1); }
.hero-aside { position: absolute; z-index: 3; top: 18%; right: max(48px, calc((100vw - 1280px)/2)); padding: 4px 0 4px 24px; border-left: 1px solid var(--line); font-size: 14px; letter-spacing: .1em; }
.hero-aside::after { content: ""; display: block; margin-top: 18px; width: 28px; height: 2px; background: var(--copper); }
.scroll-cue { position: absolute; z-index: 3; bottom: 34px; right: max(48px, calc((100vw - 1280px)/2)); display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .2em; }
.scroll-cue span { font-size: 20px; color: white; animation: bob 1.7s infinite; }

.weave { position: absolute; pointer-events: none; }
.weave svg { width: 100%; height: 100%; overflow: visible; }
.weave-hero { width: min(66vw, 980px); height: 76%; right: -8%; top: 8%; opacity: .88; transform: rotate(-2deg); z-index: 1; }
.strands { fill: none; stroke-width: 2.1; opacity: .95; }
.strands.blue { stroke: var(--blue); }
.strands.copper { stroke: var(--copper); }
.strands path { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: weave-in 2.4s var(--ease) forwards; }
.strands path:nth-child(2) { animation-delay: .08s; }.strands path:nth-child(3) { animation-delay: .16s; }.strands path:nth-child(4) { animation-delay: .24s; }.strands path:nth-child(5) { animation-delay: .32s; }

.proof { border-bottom: 1px solid var(--line); background: rgba(6,26,44,.72); }
.proof-grid { min-height: 125px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.proof-grid > div { min-height: 56px; display: flex; flex-direction: column; justify-content: center; padding: 0 36px; border-left: 1px solid var(--line); }
.proof-grid > div:first-child { border-left: 0; padding-left: 0; }
.proof-grid strong { font-size: 24px; font-weight: 520; text-transform: uppercase; }
.proof-grid span { color: var(--muted); text-transform: uppercase; letter-spacing: .17em; font-size: 9px; margin-top: 4px; }

.section { padding-block: 120px; }
.section-intro { display: grid; grid-template-columns: 1.1fr .7fr; gap: 11%; align-items: end; margin-bottom: 58px; }
.section-intro h2, .about h2, .contact h2 { margin: 0; font-size: clamp(40px, 4vw, 62px); line-height: 1.05; letter-spacing: -.045em; font-weight: 520; }
.section-intro > p { margin: 0 0 4px; color: var(--muted); font-size: 18px; }
.card-grid { display: grid; gap: 18px; }
.expertise-grid { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; border: 1px solid var(--line); padding: 32px 28px; background: linear-gradient(145deg, rgba(9,36,59,.5), rgba(3,16,29,.4)); transition: border-color .3s ease, transform .3s var(--ease), background .3s ease; }
.card:hover { transform: translateY(-7px); border-color: rgba(22,128,255,.72); background: linear-gradient(145deg, rgba(9,44,75,.72), rgba(3,16,29,.55)); }
.card .icon { width: 46px; height: 46px; fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 25px; }
.card h3 { font-size: 22px; line-height: 1.2; font-weight: 560; letter-spacing: -.02em; margin: 0 0 17px; }
.card p { color: var(--muted); margin: 0; }
.card > a { display: inline-flex; gap: 14px; margin-top: 28px; color: #8fc0ff; font-size: 13px; }
.card > a span { transition: transform .2s ease; }.card > a:hover span { transform: translateX(5px); }

.approach { border-block: 1px solid var(--line); background: var(--navy-2); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps li { min-height: 220px; padding: 0 30px; border-left: 1px solid var(--line); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps span { display: block; position: relative; color: #73aeff; font-size: 47px; line-height: 1; font-weight: 300; margin-bottom: 30px; }
.steps span::after { content: ""; position: absolute; left: 62px; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, var(--blue), var(--copper)); }
.steps h3 { margin: 0 0 10px; font-size: 20px; font-weight: 560; }.steps p { margin: 0; color: var(--muted); }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { padding: 0 0 30px; overflow: hidden; }
.case > h3, .case > p { margin-inline: 28px; }
.case > h3 { font-size: 23px; }.case > p { font-size: 15px; }
.case > .case-label { color: #69a9ff; text-transform: uppercase; letter-spacing: .17em; font-size: 9px; margin-top: 25px; margin-bottom: 12px; }
.case-art { height: 215px; position: relative; overflow: hidden; background: linear-gradient(145deg, #0a3153, #03101d); border-bottom: 1px solid var(--line); }
.case-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,16,29,.7), transparent); }
.architecture span { position: absolute; width: 140%; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), var(--copper), transparent); transform: rotate(-25deg); top: 35%; left: -20%; }
.architecture span:nth-child(2) { top: 55%; }.architecture span:nth-child(3) { top: 75%; }
.systems { background: radial-gradient(circle at center, rgba(22,128,255,.2), transparent 32%), var(--navy-2); }
.systems span { position: absolute; width: 42px; height: 42px; border: 1px solid #368ef7; transform: rotate(45deg); left: calc(50% - 21px); top: calc(50% - 21px); }
.systems span:nth-child(2) { width: 86px; height: 86px; left: calc(50% - 43px); top: calc(50% - 43px); border-color: rgba(54,142,247,.65); }.systems span:nth-child(3) { width: 132px; height: 132px; left: calc(50% - 66px); top: calc(50% - 66px); border-color: rgba(217,120,60,.4); }.systems span:nth-child(4) { width: 178px; height: 178px; left: calc(50% - 89px); top: calc(50% - 89px); border-color: rgba(54,142,247,.24); }
.connected span { position: absolute; left: -10%; width: 120%; height: 40px; border: 1px solid var(--blue); border-width: 1px 0 0; border-radius: 50%; transform: rotate(-12deg); top: 30%; }.connected span:nth-child(2) { border-color: var(--copper); top: 48%; }.connected span:nth-child(3) { border-color: #78b2ff; top: 67%; }

.about { background: linear-gradient(90deg, #041321, #061d30); border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.1fr .8fr .35fr; gap: 8%; align-items: center; }
.about-grid > div:nth-child(2) { color: #c0ceda; font-size: 18px; }.about-grid > div:nth-child(2) p:last-child { color: var(--muted); }
.about-aside { padding-left: 24px; border-left: 1px solid var(--line); letter-spacing: .13em; text-transform: uppercase; font-size: 11px; line-height: 1.8; }
.about-aside::before { content: ""; display: block; width: 30px; height: 2px; background: var(--copper); margin-bottom: 22px; }

.contact { min-height: 310px; position: relative; overflow: hidden; display: flex; align-items: center; background: linear-gradient(100deg, #0752c9, #0647b8 50%, #032760); }
.contact-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.contact h2 { font-size: clamp(38px, 3.7vw, 58px); }.contact .eyebrow { color: #c8dcff; }
.button.light { background: var(--white); color: #063477; flex-shrink: 0; }
.button.light:hover { background: #dceaff; }
.weave-contact { width: 50%; height: 100%; right: -4%; bottom: 0; opacity: .75; }

.site-footer { padding-block: 38px; border-top: 1px solid rgba(255,255,255,.18); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 36px; }
.site-footer nav { display: flex; gap: 24px; font-size: 12px; color: var(--muted); }.site-footer nav a:hover { color: white; }
.site-footer p { margin: 0; font-size: 12px; color: var(--muted); }.site-footer .copyright { text-align: right; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@keyframes weave-in { to { stroke-dashoffset: 0; } }
@keyframes bob { 50% { transform: translateY(6px); } }

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

@media (max-width: 1050px) {
  :root { --shell: min(100% - 56px, 900px); }
  .site-header { padding-inline: 28px; }
  .site-nav { gap: 21px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); padding-block: 24px; }
  .proof-grid > div { padding-block: 16px; }.proof-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 45px 0; }.steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .about-grid { grid-template-columns: 1fr 1fr; }.about-aside { display: none; }
  .footer-inner { grid-template-columns: 1fr auto; }.site-footer nav { order: 3; }.site-footer .copyright { order: 4; }
}

@media (max-width: 900px) {
  .site-header { height: 70px; padding-inline: 19px; }
  .site-header .brand-logo { width: 156px; }
  .menu-button { display: flex; z-index: 2; }
  .site-nav { position: fixed; inset: 0; padding: 110px 24px 40px; background: rgba(3,16,29,.98); flex-direction: column; align-items: stretch; gap: 0; transform: translateX(100%); transition: transform .35s var(--ease); }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { padding: 17px 5px; border-bottom: 1px solid var(--line); font-size: 18px; }.site-nav .nav-cta { margin: 22px 0 0; border: 0; text-align: center; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 38px); }
  .hero { height: auto; min-height: 780px; padding: 120px 0 80px; align-items: center; }
  .hero-content { padding-top: 0; }
  h1 { font-size: clamp(51px, 14vw, 70px); }
  .hero-copy { font-size: 17px; max-width: 92%; }
  .button-row { flex-direction: column; align-items: stretch; max-width: 360px; }
  .hero-aside, .scroll-cue { display: none; }
  .weave-hero { width: 130%; height: 58%; opacity: .38; right: -58%; top: 16%; }
  .proof-grid { grid-template-columns: 1fr 1fr; padding: 20px 0; }.proof-grid > div { padding: 18px 13px; }.proof-grid > div:first-child, .proof-grid > div:nth-child(3) { padding-left: 0; }.proof-grid strong { font-size: 18px; }
  .section { padding-block: 82px; }
  .section-intro { grid-template-columns: 1fr; gap: 28px; margin-bottom: 42px; }.section-intro > p { font-size: 16px; }
  .section-intro h2, .about h2, .contact h2 { font-size: 40px; }
  .expertise-grid, .case-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }.steps li { border-left: 0; border-top: 1px solid var(--line); padding: 32px 0 0; min-height: auto; }.steps li:first-child { border-top: 0; padding-top: 0; }.steps li:nth-child(3) { padding-left: 0; }.steps span { margin-bottom: 18px; }
  .about-grid { grid-template-columns: 1fr; gap: 35px; }.about-grid > div:nth-child(2) { font-size: 16px; }
  .contact { min-height: 420px; }.contact-inner { flex-direction: column; align-items: flex-start; }.contact .button { width: 100%; }.weave-contact { width: 100%; opacity: .35; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }.site-footer nav { flex-wrap: wrap; order: initial; }.site-footer .copyright { order: initial; text-align: left; }
}
