:root {
  --navy: #1C2637;
  --blue: #009FE3;
  --yellow: #CCCC00;
  --muted: #5D6B79;
  --border: #D7E3EC;
  --bg: #F3F8FB;
  --section: clamp(4.5rem, 10vw, 8rem);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 3rem); }

/* Top bar */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 5; transition: background .3s, backdrop-filter .3s, box-shadow .3s; }
.topbar.scrolled { background: rgba(20,28,42,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.topbar .wrap { padding-top: 0; padding-bottom: 0; display: flex; align-items: center; justify-content: space-between; height: 3.5rem; }
.brand { display: flex; align-items: center; gap: .625rem; font-weight: 700; color: #fff; text-decoration: none; }
.brand img { display: block; height: 2rem; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { color: rgba(255,255,255,.75); font-size: .875rem; font-weight: 500; text-decoration: none; transition: color .2s; }
.nav a:hover { color: #fff; }
/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #1C2637, #1E3045); min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hero > .wrap { position: relative; width: 100%; padding-top: 9rem; padding-bottom: 6rem; }
.glow { position: absolute; width: 32rem; height: 32rem; border-radius: 50%; pointer-events: none; }
.glow-blue { top: -8rem; right: 10%; background: var(--blue); filter: blur(140px); opacity: .28; }
.glow-yellow { bottom: -12rem; left: 0; background: var(--yellow); filter: blur(130px); opacity: .14; }
h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; max-width: 17ch; margin-bottom: 2.25rem; text-wrap: balance; }
.lead { font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.55; color: rgba(255,255,255,.78); max-width: 34rem; }


.hero-name { display: flex; align-items: center; gap: .875rem; margin-bottom: 2.25rem; font-size: clamp(.9375rem, 1.6vw, 1.125rem); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.hero-name .bar { width: 2.5rem; height: 3px; background: var(--yellow); border-radius: 2px; }

/* Sections: heading left, content right */
.section { padding: var(--section) 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.section h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.08; letter-spacing: -.025em; max-width: 14ch; }
.section .body { font-size: 1.125rem; color: var(--muted); }
.section .body p + p { margin-top: 1.25rem; }
.eyebrow { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: #284363; margin-bottom: 1.25rem; }

.divider { border: 0; border-top: 1px solid var(--border); max-width: 72rem; margin: 0 auto; }

/* Domains: open list, no heavy cards */
.domains { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--border); }
.domain { position: relative; isolation: isolate; overflow: hidden; padding: 2.5rem 2.5rem 2.5rem 0; border-bottom: 1px solid var(--border); }
.domain:nth-child(even) { padding: 2.5rem 0 2.5rem 2.5rem; border-left: 1px solid var(--border); }
.domain .num { font-size: .8125rem; font-weight: 600; color: var(--c); margin-bottom: 1.5rem; display: block; }
.domain h3 { font-size: 1.5rem; letter-spacing: -.015em; margin-bottom: .75rem; }
.domain p { color: var(--muted); max-width: 26rem; }
.domain .small { font-size: .875rem; margin-top: 1rem; }
.domain .small b { color: var(--navy); }

/* Principles band */
.band { position: relative; overflow: hidden; background: #EAF1F7; }
.band > .wrap { position: relative; z-index: 1; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .section h2 { margin-bottom: 1.75rem; }
  .domains { grid-template-columns: 1fr; }
  .domain, .domain:nth-child(even) { padding: 2rem 0; border-left: 0; }
}

/* Scroll interactions */
.hero > .wrap, .glow { will-change: transform, opacity; }
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.16,1,.3,1) var(--d, 0ms), transform .8s cubic-bezier(.16,1,.3,1) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .divider.reveal { transform: scaleX(0); transform-origin: 0 50%; transition-duration: 1.2s; }
.js .divider.reveal.in { transform: scaleX(1); }
.domain { transition: background .3s; }
.domain h3 { transition: transform .3s cubic-bezier(.16,1,.3,1); }
.domain:hover h3 { transform: translateX(8px); }

/* Accessibility */
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--yellow); color: #000; padding: .6rem 1rem; border-radius: .5rem; font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }
a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.section [id], section[id] { scroll-margin-top: 4rem; }
.eyebrow { color: #1F4263; }
@media (max-width: 860px) { .nav a { display: none; } }

/* Domain hover images */
.domain > *:not(.bg) { position: relative; z-index: 1; transition: color .4s, transform .5s cubic-bezier(.16,1,.3,1), padding .5s; }
.domain .bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .6s ease, transform 1.2s cubic-bezier(.16,1,.3,1); }
.domain::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(20,28,42,.55), rgba(20,28,42,.88)); opacity: 0; transition: opacity .5s ease; }
.domain:hover .bg, .domain:focus-visible .bg { opacity: 1; transform: scale(1); }
.domain:hover::after, .domain:focus-visible::after { opacity: 1; }
.domain:hover h3, .domain:focus-visible h3 { color: #fff; }
.domain:hover p, .domain:focus-visible p { color: rgba(255,255,255,.85); }
.domain:hover .small b, .domain:focus-visible .small b { color: #fff; }
.domain:hover .num, .domain:focus-visible .num { color: var(--yellow); }
.domain { outline: none; cursor: default; }
.domain:hover > *:not(.bg), .domain:focus-visible > *:not(.bg) { transform: translateX(1.25rem); }
.domain:nth-child(even) { padding-left: 2.5rem; }
@media (hover: none) { .domain .bg { display: none; } .domain::after { display: none; } }

/* Name emphasis */
.section .body .name { color: var(--navy); font-weight: 700; background: linear-gradient(transparent 62%, rgba(204,204,0,.45) 62%); padding: 0 .15em; }

/* Hero illustration (orbit network behind the drawing) */
.hero-net { position: absolute; right: -7rem; top: 50%; width: min(48vw, 46rem); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; z-index: 0; opacity: .95; }
@media (max-width: 1100px) { .hero-net { opacity: .35; } }
@media (max-width: 860px) { .hero-net { opacity: .2; width: 90vw; } }

/* Hero drawing */
.hero-art { position: absolute; right: -2rem; top: 54%; height: min(66vh, 44rem); aspect-ratio: 1712 / 2258; transform: translateY(-46%); pointer-events: none; z-index: 0; animation: art-float 9s ease-in-out infinite alternate; }
@keyframes art-float { from { translate: 0 -.6rem; } to { translate: 0 .6rem; } }
.art-in { --px: 0px; --py: 0px; --rx: 0deg; --ry: 0deg; --gx: -999px; --gy: -999px; position: relative; width: 100%; height: 100%; transform: perspective(900px) translate3d(var(--px), var(--py), 0) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .35s cubic-bezier(.16,1,.3,1); animation: art-wipe 1.6s cubic-bezier(.16,1,.3,1) .2s both; }
@keyframes art-wipe { from { clip-path: inset(0 100% 0 0); opacity: 0; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.art-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.art-base { opacity: .85; }
.art-glow {
  filter: hue-rotate(135deg) brightness(1.9) saturate(1.4) drop-shadow(0 0 6px rgba(0,159,227,.9));
  -webkit-mask-image: radial-gradient(circle 170px at var(--gx) var(--gy), #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
          mask-image: radial-gradient(circle 170px at var(--gx) var(--gy), #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
}
.hero > .wrap { z-index: 1; }
@media (max-width: 1100px) { .hero-art { opacity: .3; } }
@media (max-width: 860px) { .hero-art { opacity: .15; height: 60vh; } }
@media (hover: none) { .art-glow { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-art, .art-in { animation: none; } }

/* Headline */
.nb { white-space: nowrap; }
.accent { color: #CCCC00; }

/* Principles: square cards */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: clamp(3rem, 6vw, 5rem); }
.sq { position: relative; aspect-ratio: 1 / 1; display: flex; flex-direction: column; padding: clamp(1.25rem, 2.2vw, 2rem); background: #fff; border: 1px solid var(--border); border-radius: 0; overflow: hidden; isolation: isolate;
  transition: opacity .8s cubic-bezier(.16,1,.3,1) var(--d,0ms), transform .8s cubic-bezier(.16,1,.3,1) var(--d,0ms), background .45s, border-color .45s, box-shadow .45s; }
.sq::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(145deg, #1C2637, #24405c); transform: translateY(100%); transition: transform .55s cubic-bezier(.16,1,.3,1); }
.sq .n { font-size: .8125rem; font-weight: 600; color: #6B7A8A; letter-spacing: .08em; transition: color .4s; }
.sq .icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin: auto 0 1.25rem; border-radius: 0; background: #F3F8FB; border: 1px solid var(--border); color: #006F9F; transition: background .4s, color .4s, border-color .4s, transform .5s cubic-bezier(.16,1,.3,1); }
.sq .icon svg { width: 1.5rem; height: 1.5rem; }
.sq h3 { font-size: 1.125rem; margin-bottom: .5rem; letter-spacing: -.01em; transition: color .4s; }
.sq p { color: var(--muted); font-size: .9375rem; min-height: 4.5em; transition: color .4s; }
.sq:hover { border-color: transparent; box-shadow: 0 20px 40px -18px rgba(28,38,55,.45); }
.sq:hover::before { transform: translateY(0); }
.sq:hover .n { color: var(--yellow); }
.sq:hover .icon { background: var(--yellow); border-color: var(--yellow); color: #1C2637; transform: scale(1.08); }
.sq:hover h3 { color: #fff; }
.sq:hover p { color: rgba(255,255,255,.78); }
.js .sq.reveal:not(.in) { transform: translateY(40px) scale(.92) rotate(-1.5deg); }
.js .sq.reveal.in:hover { transform: translateY(-6px); }

/* Section entrance: the band wipes in */
.js .band { clip-path: inset(8% 0 0 0); transition: clip-path 1.1s cubic-bezier(.16,1,.3,1); }
.js .band.in-view { clip-path: inset(0 0 0 0); }
@media (max-width: 1000px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } .sq { aspect-ratio: auto; min-height: 15rem; } .sq-brand { display: none; } }

/* Footer */
.site-footer { background: #141C2A; color: rgba(255,255,255,.72); }
.site-footer .wrap { padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: 1.75rem; }
.foot-grid { display: grid; grid-template-columns: minmax(16rem,1.3fr) auto auto; justify-content: space-between; gap: clamp(1.5rem, 2.5vw, 2.5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.foot-brand img { display: block; height: 2.5rem; width: auto; margin-bottom: 1.25rem; }
.foot-brand p { font-size: .9375rem; line-height: 1.6; max-width: 20rem; color: rgba(255,255,255,.62); }
.foot-col h2 { white-space: nowrap; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; max-width: none; line-height: 1.4; }
.foot-col address { font-style: normal; font-size: .9375rem; line-height: 1.7; }
.foot-bar a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .9375rem; line-height: 1.9; transition: color .2s; }
.foot-bar a:hover { color: var(--yellow); }
.foot-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .8125rem; color: rgba(255,255,255,.5); }
.foot-bar nav { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.foot-bar a { font-size: .8125rem; line-height: 1.6; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-pl { grid-column: 1 / -1; order: 3; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; } .offices { grid-template-columns: 1fr 1fr; } .foot-bar { flex-direction: column; align-items: flex-start; } }
.offices { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 1.5rem 2.5rem; }
.offices address { white-space: nowrap; }
.foot-col .city { display: block; margin-bottom: .25rem; font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.sq-brand { justify-content: space-between; background: linear-gradient(150deg, #1C2637 0%, #24405c 100%); border-color: transparent; }
.sq-brand::before { display: none; }
.sq-brand::after { content: ""; position: absolute; right: -35%; bottom: -35%; width: 90%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 2.5rem rgba(255,255,255,.04), 0 0 0 5rem rgba(255,255,255,.03); pointer-events: none; z-index: -1; }
.sq-brand img { display: block; height: clamp(2.25rem, 3.2vw, 3rem); width: auto; align-self: flex-start; }
.brand-copy .rule { display: block; width: 2.5rem; height: 3px; background: var(--yellow); margin-bottom: 1rem; }
.brand-copy p { color: #fff; font-size: clamp(1.0625rem, 1.6vw, 1.375rem); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; max-width: 14ch; min-height: 0; }

/* Capabilities: dark navy */
#work { background: linear-gradient(135deg, #1C2637 0%, #1E3045 100%); color: #fff; }
#work h2 { color: #fff; }
#work .eyebrow { color: var(--yellow); }
#work .domains { border-top-color: rgba(255,255,255,.14); }
#work .domain, #work .domain:nth-child(even) { border-color: rgba(255,255,255,.14); }
#work .domain h3 { color: #fff; }
#work .domain p { color: rgba(255,255,255,.7); }
#work .domain .small b { color: #fff; }
#work .domain .num { color: var(--yellow); }

/* Cards 02 and 05: yellow-green hover */
.sq:nth-child(2)::before, .sq:nth-child(5)::before { background: var(--yellow); }
.sq:nth-child(2):hover .n, .sq:nth-child(5):hover .n { color: #1C2637; }
.sq:nth-child(2):hover h3, .sq:nth-child(5):hover h3 { color: #1C2637; }
.sq:nth-child(2):hover p, .sq:nth-child(5):hover p { color: rgba(28,38,55,.8); }
.sq:nth-child(2):hover .icon, .sq:nth-child(5):hover .icon { background: #1C2637; border-color: #1C2637; color: var(--yellow); }
