:root {
  --ink: #07111f;
  --navy: #0c1a33;
  --navy-2: #101f3d;
  --blue: #1f7bff;
  --cyan: #43dcf3;
  --mint: #65f0ad;
  --cream: #f5f3ec;
  --paper: #fbfaf6;
  --line: rgba(10, 35, 66, 0.13);
  --muted: #66758a;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button { font: inherit; }

::selection { background: var(--cyan); color: var(--ink); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  border-radius: 8px;
  background: white;
  padding: 12px 18px;
  font-weight: 750;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  width: min(calc(100% - 56px), 1440px);
  height: 96px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.brand { justify-self: start; }
.brand-panel {
  display: flex;
  width: 176px;
  height: 56px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  padding: 7px 12px;
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
}
.brand-panel img { width: 100%; height: 100%; object-fit: contain; }

.site-nav { display: flex; justify-content: center; gap: 36px; }
.site-nav a {
  position: relative;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  font-weight: 650;
  transition: color .18s ease;
}
.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 0;
  height: 2px;
  background: var(--cyan);
  content: "";
  transition: width .18s ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: white; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { width: 100%; }

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 760;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .site-nav a:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.button span { font-size: 18px; }
.button-header {
  justify-self: end;
  min-height: 46px;
  border-color: rgba(255,255,255,.2);
  background: rgba(7,17,31,.32);
  color: white;
  backdrop-filter: blur(12px);
}
.button-primary {
  background: linear-gradient(115deg, var(--cyan), var(--mint));
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(47,221,219,.22);
}
.button-ghost { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); color: white; backdrop-filter: blur(10px); }

.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  min-height: 830px;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  color: white;
}
.hero-video, .hero-overlay, .hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; filter: saturate(.72) contrast(1.08); }
.hero-overlay {
  background:
    radial-gradient(circle at 50% 38%, rgba(4,18,31,.18), rgba(4,14,27,.76) 70%),
    linear-gradient(90deg, rgba(4,12,24,.76), rgba(5,16,29,.23) 54%, rgba(4,12,24,.72));
}
.hero-grid {
  opacity: .1;
  background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, transparent, black 28%, black 78%, transparent);
}

.hero-content { position: relative; z-index: 2; width: min(calc(100% - 48px), 1020px); padding-top: 58px; text-align: center; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
  color: #116bb7;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow span { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(67,220,243,.12); }
.eyebrow-glass {
  width: fit-content;
  margin: 0 auto 30px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 100px;
  background: rgba(255,255,255,.08);
  padding: 10px 16px;
  color: rgba(255,255,255,.76);
  backdrop-filter: blur(12px);
}
.hero h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(54px, 6.5vw, 92px);
  font-weight: 780;
  letter-spacing: -.066em;
  line-height: .98;
}
.hero h1 span { background: linear-gradient(90deg, var(--cyan), var(--mint)); background-clip: text; color: transparent; }
.hero h1 em { display: block; margin-top: 16px; color: rgba(255,255,255,.5); font-size: .67em; font-style: normal; font-weight: 680; letter-spacing: -.04em; }
.hero-content > p { max-width: 800px; margin: 30px auto 0; color: rgba(255,255,255,.68); font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; justify-content: center; gap: 14px; margin-top: 34px; }

.hero-controls { position: absolute; z-index: 3; bottom: 34px; left: 32px; display: flex; align-items: center; gap: 22px; }
.sound-toggle { border: 0; background: transparent; color: rgba(255,255,255,.65); cursor: pointer; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.video-dots { display: flex; gap: 8px; }
.video-dot { width: 21px; height: 3px; border: 0; background: rgba(255,255,255,.32); cursor: pointer; padding: 0; transition: width .18s ease, background .18s ease; }
.video-dot-active { width: 38px; background: var(--cyan); }
.hero-scroll { position: absolute; z-index: 3; right: 32px; bottom: 32px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.5); font-size: 10px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.hero-scroll span { width: 34px; height: 1px; background: var(--cyan); }

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
}
.stat { display: flex; min-height: 144px; align-items: center; gap: 20px; border-right: 1px solid var(--line); padding: 22px 34px; }
.stat:first-child { border-left: 1px solid var(--line); }
.stat strong { font-size: 40px; letter-spacing: -.05em; }
.stat span { max-width: 130px; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.5; text-transform: uppercase; letter-spacing: .08em; }

.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 126px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 340px; align-items: end; gap: 80px; margin-bottom: 62px; }
.section-heading-wide { grid-template-columns: 1.25fr .75fr; align-items: start; }
.section-heading h2, .process-intro h2, .advantage-copy h2, .contact-copy h2 { margin: 0; font-size: clamp(40px, 4.8vw, 68px); letter-spacing: -.06em; line-height: 1.02; }
.section-heading h2 span, .process-intro h2 span, .products-section h2 span { color: #2e8bc7; }
.section-heading > p, .section-heading-wide > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.about-intro p { margin: 0 0 18px; color: var(--muted); font-size: 16px; line-height: 1.75; }

.about-panels { display: grid; grid-template-columns: 1.28fr .86fr .86fr; min-height: 460px; gap: 14px; }
.about-panel { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: white; }
.about-panel-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.05); }
.about-panel-image::after { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,17,32,.87), transparent 60%); content: ""; }
.image-caption { position: absolute; z-index: 2; right: 34px; bottom: 30px; left: 34px; color: white; }
.image-caption span { display: block; margin-bottom: 7px; color: var(--cyan); font-size: 11px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.image-caption strong { font-size: 24px; }
.about-panel-copy, .about-panel-accent { display: flex; flex-direction: column; padding: 32px; }
.about-panel h3 { max-width: 250px; margin: auto 0 20px; font-size: 31px; line-height: 1.08; letter-spacing: -.04em; }
.about-panel p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.panel-number { color: #2496bd; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.mini-proof { display: flex; align-items: center; gap: 14px; margin-top: 26px; border-top: 1px solid var(--line); padding-top: 22px; }
.mini-proof strong { color: #2190bd; font-size: 27px; }
.mini-proof span { max-width: 135px; color: var(--muted); font-size: 11px; font-weight: 720; line-height: 1.35; text-transform: uppercase; }
.about-panel-accent { border-color: transparent; background: var(--navy); color: white; }
.about-panel-accent p { color: rgba(255,255,255,.6); }
.giant-number { margin-top: auto; color: var(--cyan); font-size: 84px; line-height: .9; letter-spacing: -.08em; }
.giant-number span { color: var(--mint); font-size: .5em; }

.services-section { width: 100%; background: var(--ink); color: white; }
.services-inner-section { margin: 0 auto; }
.eyebrow-light { color: var(--cyan); }
.services-section .section-heading h2 span { color: rgba(255,255,255,.48); }
.services-section .section-heading > p { color: rgba(255,255,255,.53); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card { position: relative; min-height: 390px; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 22px; background: #0d1a2c; }
.service-card::before { position: absolute; inset: 0; background: radial-gradient(circle at 100% 100%, rgba(67,220,243,.13), transparent 42%); content: ""; }
.service-card-featured { background: linear-gradient(145deg, #0b5d73, #0c304a); }
.service-card-image img, .service-card-team img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(1) contrast(1.15); }
.service-card-image::after, .service-card-team::after { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,17,31,.95), rgba(7,17,31,.28)); content: ""; }
.service-inner { position: relative; z-index: 2; display: flex; height: 100%; flex-direction: column; padding: 30px; }
.service-meta { display: flex; align-items: center; gap: 12px; }
.service-meta span { color: var(--cyan); font-size: 13px; font-weight: 820; }
.service-meta small { color: rgba(255,255,255,.48); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .14em; }
.service-card h3 { max-width: 300px; margin: auto 0 18px; font-size: 30px; line-height: 1.07; letter-spacing: -.04em; }
.service-card p { margin: 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.65; }
.service-card a { display: flex; justify-content: space-between; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; }
.service-card a:hover { color: var(--cyan); }

.process-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.process-intro { position: sticky; top: 42px; align-self: start; }
.process-intro > p:last-child { max-width: 400px; margin-top: 28px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.process-list { border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 52px 180px 1fr; align-items: start; gap: 20px; border-bottom: 1px solid var(--line); padding: 32px 0; }
.process-step > span { color: #1597c1; font-size: 12px; font-weight: 800; }
.process-step h3 { margin: -4px 0 0; font-size: 24px; letter-spacing: -.04em; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.advantage-section { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; overflow: hidden; background: var(--navy); color: white; padding: 120px max(24px, calc((100% - var(--max)) / 2)); }
.advantage-glow { position: absolute; top: -280px; left: -180px; width: 650px; height: 650px; border-radius: 50%; background: rgba(29,151,211,.22); filter: blur(100px); }
.advantage-copy, .advantage-grid { position: relative; z-index: 2; }
.advantage-copy { align-self: center; padding-right: 100px; }
.advantage-copy h2 span, .contact-copy h2 span { background: linear-gradient(90deg, var(--cyan), var(--mint)); background-clip: text; color: transparent; }
.advantage-copy > p { max-width: 510px; margin: 28px 0 32px; color: rgba(255,255,255,.59); font-size: 17px; line-height: 1.7; }
.advantage-copy .eyebrow { margin: 0 0 30px; }
.advantage-grid { display: grid; grid-template-columns: 1fr 1fr; align-content: center; border-top: 1px solid rgba(255,255,255,.12); border-left: 1px solid rgba(255,255,255,.12); }
.advantage-grid article { min-height: 240px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); padding: 32px; }
.advantage-grid article > strong { display: block; color: var(--cyan); font-size: 42px; letter-spacing: -.06em; }
.advantage-grid article div { margin-top: 54px; }
.advantage-grid h3 { margin: 0 0 8px; font-size: 19px; }
.advantage-grid p { margin: 0; color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.55; }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product-card { display: flex; min-height: 470px; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: white; padding: 30px; }
.product-top { display: flex; align-items: center; justify-content: space-between; color: #2389b5; font-size: 10px; font-weight: 780; letter-spacing: .12em; text-transform: uppercase; }
.product-top small { color: #9aa7b6; font-size: 11px; }
.product-mark { display: flex; min-height: 155px; align-items: center; justify-content: center; margin: 34px 0 20px; border-radius: 16px; background: #f2f6f9; font-size: 36px; letter-spacing: -.05em; }
.mark-1 span { color: #f17a3d; } .mark-1 strong { color: #53ad40; } .mark-1 small { margin-left: 4px; border: 2px solid #f17a3d; padding: 4px 2px; font-size: 9px; }
.mark-2 { color: #0d5bb5; } .mark-2 .ecounter-e { display: inline-grid; width: 58px; height: 58px; margin-right: 6px; place-items: center; border: 4px solid currentColor; border-radius: 50%; font-size: 44px; }
.mark-3 span { color: #142b67; } .mark-3 strong { color: #da434e; }
.product-card > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.72; }
.product-proof { display: flex; align-items: center; gap: 10px; margin-top: auto; border-top: 1px solid var(--line); padding-top: 20px; color: #263950; font-size: 11px; font-weight: 720; text-transform: uppercase; letter-spacing: .06em; }
.product-proof span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(101,240,173,.12); }

.tech-strip { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); padding: 34px 0; }
.tech-strip > p { margin: 0 0 25px; color: #617184; font-size: 10px; font-weight: 800; text-align: center; text-transform: uppercase; letter-spacing: .18em; }
.tech-track { display: flex; width: max-content; align-items: center; gap: 52px; animation: marquee 30s linear infinite alternate; }
.tech-track span { color: #33465b; font-size: 20px; font-weight: 750; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(5vw); } to { transform: translateX(calc(-100% + 95vw)); } }

.contact-section { display: grid; grid-template-columns: 1.02fr .98fr; gap: 100px; background: var(--ink); color: white; padding: 126px max(24px, calc((100% - var(--max)) / 2)); }
.contact-copy > p:not(.eyebrow) { max-width: 600px; margin: 28px 0 34px; color: rgba(255,255,255,.58); font-size: 17px; line-height: 1.7; }
.contact-copy .eyebrow { margin: 0 0 30px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.offices { border-top: 1px solid rgba(255,255,255,.13); }
.offices article { display: grid; grid-template-columns: 50px 1fr; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.13); padding: 34px 0; }
.offices article > span { color: var(--cyan); font-size: 12px; font-weight: 800; }
.offices h3 { margin: -5px 0 12px; font-size: 20px; }
.offices p { margin: 0; color: rgba(255,255,255,.52); font-size: 14px; line-height: 1.65; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; background: #030a13; color: white; padding: 72px max(24px, calc((100% - var(--max)) / 2)) 30px; }
.footer-brand .brand-panel { width: 210px; }
.footer-brand p { max-width: 420px; margin: 25px 0 0; color: rgba(255,255,255,.45); font-size: 14px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-links h3 { margin: 0 0 20px; color: rgba(255,255,255,.38); font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.footer-links a { display: block; margin: 0 0 12px; color: rgba(255,255,255,.76); font-size: 14px; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px; color: rgba(255,255,255,.34); font-size: 11px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; width: min(calc(100% - 36px), 920px); }
  .button-header { display: none; }
  .menu-toggle { position: relative; z-index: 3; display: grid; width: 48px; height: 48px; place-content: center; gap: 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(7,17,31,.35); }
  .menu-toggle span { width: 22px; height: 2px; background: white; }
  .site-nav { position: absolute; top: 82px; right: 0; display: none; min-width: 250px; flex-direction: column; gap: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(7,17,31,.95); padding: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.28); backdrop-filter: blur(18px); }
  .site-nav-open { display: flex; }
  .site-nav a { padding: 13px 10px; }
  .site-nav a::after { display: none; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 1px solid var(--line); }
  .section-heading, .section-heading-wide, .process-section, .advantage-section, .contact-section { grid-template-columns: 1fr; }
  .section-heading { gap: 28px; }
  .about-panels { grid-template-columns: 1fr 1fr; }
  .about-panel-image { grid-column: 1 / -1; min-height: 440px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-section { gap: 55px; }
  .process-intro { position: static; }
  .advantage-section, .contact-section { gap: 70px; }
  .advantage-copy { padding-right: 0; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 400px; }
}

@media (max-width: 640px) {
  .site-header { width: calc(100% - 28px); height: 80px; }
  .brand-panel { width: 152px; height: 50px; }
  .hero { min-height: 780px; }
  .hero-content { width: calc(100% - 32px); padding-top: 34px; }
  .hero h1 { font-size: clamp(46px, 14vw, 66px); }
  .hero h1 br { display: none; }
  .hero h1 em { margin-top: 12px; }
  .hero-content > p { font-size: 16px; line-height: 1.62; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-controls { bottom: 22px; left: 16px; }
  .hero-scroll { display: none; }
  .sound-toggle { display: none; }
  .stats-band { grid-template-columns: 1fr; padding: 0 20px; }
  .stat, .stat:first-child, .stat:nth-child(3) { min-height: 100px; border-right: 0; border-left: 0; border-bottom: 1px solid var(--line); padding: 20px 8px; }
  .stat strong { min-width: 88px; font-size: 35px; }
  .stat span { max-width: 190px; }
  .section { width: calc(100% - 32px); padding: 88px 0; }
  .section-heading h2, .process-intro h2, .advantage-copy h2, .contact-copy h2 { font-size: 42px; }
  .about-panels, .services-grid, .advantage-grid { grid-template-columns: 1fr; }
  .about-panel-image { grid-column: auto; min-height: 360px; }
  .about-panel { min-height: 360px; }
  .services-inner-section { width: calc(100% - 32px); padding: 88px 0; }
  .service-card { min-height: 360px; }
  .process-step { grid-template-columns: 42px 1fr; }
  .process-step p { grid-column: 2; }
  .advantage-section, .contact-section { padding: 88px 20px; }
  .advantage-grid article { min-height: 200px; }
  .contact-actions { flex-direction: column; }
  .contact-actions .button { width: 100%; }
  .offices article { grid-template-columns: 36px 1fr; }
  .site-footer { grid-template-columns: 1fr; padding: 64px 20px 30px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

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