:root {
  --navy-950: #031026;
  --navy-900: #06162f;
  --navy-800: #0a2348;
  --blue-700: #1048e8;
  --blue-600: #1764ff;
  --blue-500: #198cff;
  --sky-400: #3abff8;
  --cyan-400: #19d4d2;
  --ice-100: #eaf5ff;
  --ice-50: #f5faff;
  --white: #ffffff;
  --ink: #07172e;
  --muted: #5c6e84;
  --line: rgba(9, 43, 87, 0.14);
  --font-sans: 'Aptos', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1240px;
  --space-section: clamp(5.5rem, 10vw, 9rem);
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow: 0 30px 80px rgba(16, 72, 160, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ice-50); font-family: var(--font-sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.shell { width: min(calc(100% - 2.5rem), var(--max-width)); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.skip-link { position: fixed; z-index: 100; top: 0.75rem; left: 0.75rem; padding: 0.75rem 1rem; background: #fff; color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; width: 100%; color: white; transition: background 250ms ease, box-shadow 250ms ease; }
.site-header.scrolled { background: rgba(3, 16, 38, 0.88); box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14); backdrop-filter: blur(18px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; min-width: 160px; align-items: center; letter-spacing: 0.16em; font-weight: 700; font-size: 0.96rem; }
.primary-nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.7rem); font-size: 0.84rem; }
.primary-nav > a:not(.button) { color: rgba(255,255,255,.78); transition: color 180ms ease; }
.primary-nav > a:not(.button):hover { color: #fff; }
.language-switch { display: inline-flex; align-items: center; gap: .42rem; color: rgba(255,255,255,.34); font-size: .68rem; font-weight: 700; letter-spacing: .08em; }
.language-switch a { color: rgba(255,255,255,.58); transition: color 180ms ease; }
.language-switch a:hover, .language-switch a[aria-current="page"] { color: #fff; }
.nav-toggle { display: none; border: 0; background: none; width: 44px; height: 44px; padding: 12px 7px; }
.nav-toggle span { display: block; height: 1px; background: #fff; margin: 7px 0; transition: transform 180ms ease; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem; min-height: 52px; padding: 0 1.45rem; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 0.84rem; font-weight: 600; transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 40px; padding-inline: 1.15rem; background: var(--blue-600); }
.button-primary { background: linear-gradient(120deg, var(--blue-700), var(--blue-500)); box-shadow: 0 14px 34px rgba(23,100,255,.28); }
.button-white { color: var(--blue-700); background: white; }
.button[aria-disabled="true"] { cursor: default; opacity: .82; }
.text-link { display: inline-flex; gap: .9rem; align-items: center; color: rgba(255,255,255,.76); font-size: .88rem; font-weight: 600; }
.text-link span { color: var(--cyan-400); }

.hero { position: relative; min-height: 790px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: white; background: radial-gradient(circle at 74% 45%, #0b3575 0, #071d43 22%, transparent 49%), linear-gradient(132deg, var(--navy-950), var(--navy-900) 62%, #061f49); }
.hero-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(75,145,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(75,145,255,.14) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to bottom, #000, transparent 83%); }
.hero-glow { position: absolute; width: 45rem; height: 45rem; right: -18rem; top: -18rem; border-radius: 50%; background: var(--blue-600); filter: blur(150px); opacity: .16; }
.hero-layout { position: static; display: block; padding-top: 6.5rem; }
.hero-copy { position: static; max-width: 760px; }
.hero-copy > :not(.hero-art) { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 1.5rem; color: var(--blue-700); text-transform: uppercase; letter-spacing: .19em; font-size: .69rem; font-weight: 700; }
.eyebrow-light { color: var(--sky-400); }
.hero h1 { margin: 0; max-width: 780px; font-size: clamp(3.25rem, 5.3vw, 5rem); font-weight: 500; letter-spacing: -.062em; line-height: 1.03; }
.hero h1 span { color: transparent; background: linear-gradient(90deg, #55baff 5%, #25d6d1 88%); -webkit-background-clip: text; background-clip: text; }
.hero-lead { max-width: 590px; margin: 2rem 0 2.4rem; color: rgba(233,244,255,.76); font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 2rem; }
.hero-foot { position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%); display: flex; justify-content: space-between; padding-top: 1rem; border-top: 1px solid rgba(128,188,255,.2); color: rgba(210,230,250,.46); font-size: .63rem; letter-spacing: .14em; text-transform: uppercase; }

.hero-art { position: absolute; z-index: 1; top: 50%; right: max(-15rem, calc(50vw - 60.3rem)); width: auto; height: clamp(470px, 44vw, 790px); aspect-ratio: 3 / 2; transform: translateY(-50%); pointer-events: none; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }

.services { background: linear-gradient(180deg, #f5faff, #fff); }
.section-heading { display: grid; grid-template-columns: .6fr 1.45fr .8fr; gap: 2rem; align-items: end; margin-bottom: 4.3rem; }
.section-heading .eyebrow { align-self: start; padding-top: .75rem; }
.section-heading h2, .about h2, .contact h2, .convergence h2 { margin: 0; font-size: clamp(2.35rem, 4.2vw, 4.2rem); line-height: 1.1; letter-spacing: -.05em; font-weight: 500; }
.section-heading > p:last-child { max-width: 340px; margin: 0 0 .35rem; color: var(--muted); font-size: .94rem; }
.services .section-heading { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr); grid-template-areas: "eyebrow copy" "title copy"; column-gap: clamp(3rem, 8vw, 8rem); row-gap: 1.25rem; align-items: start; }
.services .section-heading .eyebrow { grid-area: eyebrow; margin: 0; padding-top: 0; }
.services .section-heading h2 { grid-area: title; max-width: 880px; }
.services .section-heading > p:last-child { grid-area: copy; align-self: end; margin-bottom: .45rem; }
.service-composition { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); box-shadow: var(--shadow); }
.service-card { position: relative; min-height: 280px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.88); overflow: hidden; transition: box-shadow 220ms ease; }
.service-card::before { content: ''; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(.16); transform-origin: left; transition: transform 300ms ease; }
.service-card:hover { z-index: 2; box-shadow: inset 0 0 0 1px var(--accent); }
.service-card:hover::before { transform: scaleX(1); }
.service-featured { background: linear-gradient(150deg, #ecf6ff, #dcebff); }
.service-card h3 { max-width: 290px; margin: 2.4rem 0 .8rem; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.2; letter-spacing: -.035em; }
.service-featured h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.service-card p { max-width: 345px; margin: 0; color: var(--muted); font-size: .9rem; }
.service-index { color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .12em; }
.service-label { color: var(--blue-700) !important; font-size: .64rem !important; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.service-dark { color: white; background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); }
.service-dark p { color: rgba(231,244,255,.65); }

.convergence { color: white; overflow: hidden; background: radial-gradient(circle at 18% 48%, #0b3979, transparent 33%), linear-gradient(125deg, #031127, #081f43); }
.convergence-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: center; }
.convergence-copy h2 span { color: var(--sky-400); }
.convergence-copy > p:not(.eyebrow) { max-width: 560px; color: rgba(231,244,255,.7); }
.convergence-copy h2 + p { margin-top: 2rem; }
.convergence-visual { position: relative; min-height: 440px; }
.convergence-rings { position: absolute; inset: 5%; border: 1px solid rgba(54,164,255,.16); border-radius: 50%; box-shadow: inset 0 0 80px rgba(21,111,255,.08), 0 0 0 70px rgba(30,134,255,.025), 0 0 0 140px rgba(30,134,255,.018); }
.convergence-center { position: absolute; left: 50%; top: 50%; width: 30px; aspect-ratio: 1; transform: translate(-50%,-50%); border-radius: 50%; background: white; box-shadow: 0 0 22px #fff, 0 0 70px #16bbff; }
.ray { position: absolute; left: 50%; top: 50%; width: 42%; height: 5px; transform-origin: left; background: linear-gradient(90deg, #52ddff, transparent); }
.ray::after { content: ''; position: absolute; right: 5%; top: -4px; width: 11px; height: 11px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 18px var(--cyan-400); }
.ray-1 { transform: rotate(-82deg); }.ray-2 { transform: rotate(-20deg); }.ray-3 { transform: rotate(40deg); }.ray-4 { transform: rotate(112deg); }.ray-5 { transform: rotate(180deg); }
.discipline-line { display: flex; align-items: center; gap: .7rem; margin-top: 2.2rem; color: var(--cyan-400); text-transform: uppercase; font-size: .57rem; letter-spacing: .1em; white-space: nowrap; }
.discipline-line i { width: 18px; height: 1px; background: rgba(48,199,255,.35); }

.process { background: white; }
.section-heading.compact { grid-template-columns: .6fr 2.3fr; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { position: relative; min-height: 260px; padding: 2rem 1.5rem 1rem 0; border-right: 1px solid var(--line); }
.process-list li:not(:first-child) { padding-left: 1.5rem; }
.process-list li:last-child { border-right: 0; }
.process-list span { color: var(--blue-600); font-size: .7rem; font-weight: 700; }
.process-list h3 { margin: 3.4rem 0 .7rem; font-size: 1.25rem; }
.process-list p { max-width: 225px; margin: 0; color: var(--muted); font-size: .85rem; }

.about { background: linear-gradient(145deg, #e8f4ff, #f7fbff); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: end; }
.about-copy { padding-left: 3rem; border-left: 1px solid rgba(19,91,195,.22); }
.about-copy p { color: var(--muted); }
.about-copy .about-lead { margin-top: 0; color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.45; letter-spacing: -.025em; }

.contact { padding-top: 4rem; background: var(--ice-50); }
.contact-panel { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 5rem; padding: clamp(2.5rem, 6vw, 5rem); color: white; overflow: hidden; background: linear-gradient(125deg, #0f47db, #0b72f4 60%, #08a9d0); box-shadow: 0 32px 70px rgba(13,90,211,.22); }
.contact-panel::after { content: ''; position: absolute; right: -7rem; bottom: -12rem; width: 28rem; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.04), 0 0 0 120px rgba(255,255,255,.025); }
.contact-panel > * { position: relative; z-index: 1; }
.contact-action { align-self: end; }
.contact-action p { margin: 0 0 1.6rem; color: rgba(255,255,255,.78); }
.email-placeholder { display: block; margin-top: .8rem; color: rgba(255,255,255,.62); font-size: .7rem; }

.footer { padding: 5rem 0 1.5rem; color: white; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: .72fr .85fr minmax(0, 2.25fr); gap: 3rem; }
.brand-footer { margin-bottom: .75rem; }
.footer p, .footer address { color: rgba(221,236,250,.58); font-size: .75rem; line-height: 1.75; font-style: normal; }
.footer strong { color: rgba(255,255,255,.92); }
.footer-grid > div:first-child p { color: var(--sky-400); text-transform: uppercase; letter-spacing: .14em; font-size: .59rem; }
.registry { margin-top: 0; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 4rem; padding-top: 1.2rem; border-top: 1px solid rgba(143,188,229,.15); color: rgba(221,236,250,.4); font-size: .65rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .registry { white-space: normal; }
}

@media (max-width: 1000px) {
  .hero { min-height: 760px; }
  .section-heading { grid-template-columns: .5fr 1.3fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .services .section-heading { grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr); column-gap: 3rem; }
  .services .section-heading > p:last-child { grid-column: auto; }
  .service-composition { grid-template-columns: 1fr 1fr; }
  .convergence-layout, .about-layout { gap: 3.5rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .shell { width: min(calc(100% - 2rem), var(--max-width)); }
  .reveal { opacity: 1; transform: none; transition: none; }
  .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header-inner { min-height: 68px; }
  .brand { position: relative; z-index: 2; }
  .nav-toggle { display: block; position: relative; z-index: 2; cursor: pointer; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav { position: fixed; z-index: 1; inset: 0; width: 100%; min-height: 100vh; height: 100dvh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.5rem; padding: 5rem 2rem 2rem; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; background: rgba(3,16,38,.98); transition: opacity 180ms ease, visibility 180ms ease; }
  .primary-nav.open { visibility: visible; opacity: 1; }
  .primary-nav > a:not(.button) { font-size: 1.65rem; }
  .language-switch { margin-block: .25rem; font-size: .78rem; }
  .hero { min-height: 940px; justify-content: flex-start; }
  .hero-layout { display: block; padding-top: 8.6rem; }
  .hero h1 { font-size: clamp(3rem, 13.5vw, 4.4rem); }
  .hero-lead { max-width: 95%; margin-top: 1.5rem; font-size: .95rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .hero-art { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: 240px; height: 100px; margin: -.35rem auto 1rem; overflow: visible; opacity: .74; aspect-ratio: auto; transform: none; }
  .hero-art img { width: 260px; height: auto; max-width: none; transform: translate(13px, -25px); object-fit: contain; }
  .hero-foot { bottom: 1.25rem; }
  .hero-foot span:last-child { display: none; }
  .section-heading, .section-heading.compact { display: block; margin-bottom: 3rem; }
  .section-heading .eyebrow { margin-bottom: 1.2rem; }
  .section-heading > p:last-child { margin-top: 1.25rem; }
  .section-heading h2, .about h2, .contact h2, .convergence h2 { font-size: clamp(2.25rem, 10.2vw, 3.4rem); }
  .service-composition { display: block; }
  .service-card, .service-featured { min-height: 0; padding: 1.6rem; }
  .service-card h3 { margin-top: 1.7rem; }
  .data-visual { height: 120px; }
  .convergence-layout { display: flex; flex-direction: column; gap: 2.5rem; }
  .convergence-visual { width: 100%; min-height: 300px; order: 2; }
  .discipline-line { gap: .35rem; overflow: hidden; font-size: .48rem; }
  .discipline-line i { width: 8px; flex: 0 0 8px; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list li { min-height: 230px; padding: 1.5rem 1rem 1.5rem 0; border-bottom: 1px solid var(--line); }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li:nth-child(3) { padding-left: 0; }
  .process-list h3 { margin-top: 2.5rem; }
  .about-layout { display: block; }
  .about-copy { margin-top: 2.5rem; padding: 2rem 0 0; border-top: 1px solid rgba(19,91,195,.22); border-left: 0; }
  .contact { padding-top: 2rem; }
  .contact-panel { display: block; width: calc(100% - 2rem); padding: 2rem; }
  .contact-action { margin-top: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer p { margin-block: .25rem; }
  .footer-bottom { margin-top: 2.5rem; }
}

@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; }
}
