:root {
  --navy-950: #04111f;
  --navy-900: #071a2d;
  --navy-800: #0b2944;
  --navy-700: #123d63;
  --blue: #124cc9;
  --cyan: #08aea9;
  --cyan-soft: #dff8f6;
  --ink: #122033;
  --muted: #5e6b79;
  --line: #dce4ea;
  --surface: #f4f8fa;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 26, 45, .12);
  --radius: 22px;
}

* { 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;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  border-color: rgba(7, 26, 45, .08);
  box-shadow: 0 10px 30px rgba(7, 26, 45, .08);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(1240px, calc(100% - 48px));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { position: relative; z-index: 4; }
.brand img { width: 265px; height: auto; }
.site-header:not(.is-scrolled) .brand img, .footer-brand img { filter: brightness(0) invert(1); }
.nav { display: flex; align-items: center; gap: 2rem; font-size: .95rem; font-weight: 650; }
.nav > a:not(.nav-cta) { position: relative; color: var(--white); }
.site-header.is-scrolled .nav > a:not(.nav-cta) { color: var(--ink); }
.nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.45rem;
  left: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav > a:hover::after, .nav > a:focus-visible::after { transform: scaleX(1); }
.nav-cta {
  padding: .72rem 1.15rem;
  color: var(--white);
  background: var(--cyan);
  border-radius: 999px;
}
.menu-toggle { display: none; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px; background: var(--white); }
.site-header.is-scrolled .menu-toggle span { background: var(--navy-900); }

.hero { position: relative; min-height: 760px; height: 100svh; overflow: hidden; background: var(--navy-950); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s ease; }
.hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
.hero-slide > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 8s ease-out; }
.hero-slide.is-active > img { transform: scale(1.08); }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 14, 26, .96) 0%, rgba(4, 17, 31, .80) 39%, rgba(4, 17, 31, .16) 75%);
}
.hero-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(24px, calc((100% - 1240px) / 2));
  width: min(690px, calc(100% - 48px));
  color: var(--white);
  transform: translateY(-43%);
}
.eyebrow { margin: 0 0 1.2rem; color: #6ee7df; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1, .hero h2 { max-width: 780px; margin: 0; font-size: clamp(3rem, 6vw, 6rem); line-height: .98; letter-spacing: -.055em; }
.hero-content > p:not(.eyebrow) { max-width: 620px; margin: 1.6rem 0 0; color: #d5e3ec; font-size: clamp(1.06rem, 1.7vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: .88rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--cyan); }
.button-primary:hover { background: #079994; }
.button-ghost { color: var(--white); border-color: rgba(255, 255, 255, .45); background: rgba(255,255,255,.05); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.12); }
.slider-controls {
  position: absolute;
  z-index: 5;
  right: max(24px, calc((100% - 1240px) / 2));
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.slider-arrow { width: 42px; height: 42px; color: var(--white); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(4,17,31,.35); cursor: pointer; }
.slider-arrow:hover { background: var(--cyan); border-color: var(--cyan); }
.slider-dots { display: flex; gap: .55rem; }
.slider-dot { width: 28px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.slider-dot.is-active { background: var(--cyan); }
.hero-scroll { position: absolute; z-index: 5; bottom: 38px; left: 50%; width: 28px; height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; transform: translateX(-50%); }
.hero-scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; border-radius: 10px; background: var(--cyan); transform: translateX(-50%); animation: scrollCue 1.8s infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 18px); } }

.proof { position: relative; z-index: 3; width: min(1100px, calc(100% - 48px)); margin: -32px auto 0; padding: 1.3rem 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; background: var(--white); border-radius: 18px; box-shadow: var(--shadow); }
.proof-item { display: flex; align-items: baseline; justify-content: center; gap: .65rem; padding: .7rem 1rem; border-right: 1px solid var(--line); }
.proof-item:last-child { border-right: 0; }
.proof-item strong { color: var(--blue); font-size: 1.6rem; }
.proof-item span { color: var(--muted); font-size: .92rem; }

.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 120px 0; }
.section-label { margin-bottom: 1rem; color: var(--cyan); font-size: .78rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.section-label.light { color: #76f0e9; }
.section h2, .capability-band h2, .contact h2 { margin: 0; font-size: clamp(2.2rem, 4.2vw, 4.1rem); line-height: 1.05; letter-spacing: -.045em; }
.intro-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 7rem; align-items: start; }
.intro-copy { color: var(--muted); font-size: 1.12rem; }
.intro-copy p:first-child { margin-top: .4rem; }
.text-link { display: inline-flex; gap: .6rem; margin-top: 1rem; color: var(--blue); font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.services { padding-top: 40px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 4rem; margin-bottom: 3rem; }
.section-heading > div { max-width: 760px; }
.section-heading > p { max-width: 380px; margin: 0 0 .4rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.service-card { min-height: 300px; padding: 2.2rem; background: var(--white); transition: background .25s ease, transform .25s ease; }
.service-card:hover { background: var(--surface); }
.service-number { color: var(--cyan); font-size: .75rem; font-weight: 850; letter-spacing: .12em; }
.service-card h3 { margin: 4.6rem 0 .7rem; font-size: 1.45rem; }
.service-card p { margin: 0; color: var(--muted); }
.service-card-featured { grid-column: 1 / -1; min-height: 235px; background: linear-gradient(110deg, #e8f9f7, var(--white) 70%); }
.service-card-featured h3 { margin-top: 2rem; }
.service-card-featured p { max-width: 820px; }

.capability-band { width: min(1340px, calc(100% - 32px)); margin: 0 auto; padding: 78px max(24px, calc((100% - 1140px) / 2)); display: grid; grid-template-columns: 1.2fr .8fr; gap: 6rem; align-items: end; color: var(--white); background: var(--navy-900); border-radius: 30px; }
.capability-band p:last-child { margin: 0; color: #b9cad6; font-size: 1.1rem; }

.project-list { border-top: 1px solid var(--line); }
.project-card { display: grid; grid-template-columns: .8fr 1.1fr 1.5fr; gap: 2rem; align-items: start; padding: 2.4rem 0; border-bottom: 1px solid var(--line); transition: padding-left .25s ease, background .25s ease; }
.project-card:hover { padding-left: 1rem; background: linear-gradient(90deg, var(--surface), transparent); }
.project-meta { display: flex; flex-direction: column; color: var(--muted); font-size: .82rem; }
.project-meta span:first-child { color: var(--cyan); font-weight: 800; text-transform: uppercase; }
.project-card h3 { margin: 0; font-size: 1.45rem; }
.project-card p { margin: 0; color: var(--muted); }

.method { padding-top: 40px; }
.method-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 1px solid var(--line); }
.method-steps li { position: relative; padding: 2.1rem 1.4rem 0 0; }
.method-steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); }
.method-steps span { color: var(--cyan); font-size: .75rem; font-weight: 850; }
.method-steps h3 { margin: 2.8rem 0 .6rem; font-size: 1.35rem; }
.method-steps p { margin: 0; color: var(--muted); }

.contact { padding: 110px max(24px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: .8fr 1.2fr; gap: 7rem; color: var(--white); background: var(--navy-900); }
.contact-intro > p { max-width: 480px; color: #b9cad6; font-size: 1.08rem; }
.contact-links { margin-top: 3rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-links a { display: flex; flex-direction: column; }
.contact-links span { color: #7f9aae; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-links strong { color: var(--white); font-size: 1.2rem; }
.contact-form { padding: 2.4rem; color: var(--ink); background: var(--white); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; font-size: .82rem; font-weight: 750; }
.contact-form input, .contact-form textarea { width: 100%; padding: .9rem 1rem; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; outline: none; background: #fbfdfe; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(8,174,169,.13); }
.contact-form textarea { resize: vertical; }
.contact-form .checkbox { flex-direction: row; align-items: start; font-weight: 500; color: var(--muted); }
.checkbox input { width: auto; margin-top: .3rem; }
.form-status { min-height: 1.6rem; margin: 1rem 0 0; color: var(--blue); font-size: .9rem; }
.form-note { margin: 1rem 0 0; color: var(--muted); font-size: .82rem; }

.footer { padding: 50px max(24px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; background: #020b14; color: #b9cad6; }
.footer-brand img { width: 260px; }
.footer-brand p { margin: .7rem 0 0; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.2rem; }
.footer-contact a:hover { color: var(--white); }
.footer-legal { grid-column: 1 / -1; margin: 1rem 0 0; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .header-inner { width: calc(100% - 32px); }
  .brand img { width: 220px; }
  .menu-toggle { display: block; position: relative; z-index: 5; }
  .nav { position: fixed; inset: 0; padding: 120px 32px 40px; flex-direction: column; align-items: flex-start; background: rgba(4,17,31,.98); transform: translateX(100%); transition: transform .3s ease; }
  .nav.is-open { transform: translateX(0); }
  .nav > a:not(.nav-cta), .site-header.is-scrolled .nav > a:not(.nav-cta) { color: var(--white); font-size: 1.35rem; }
  .hero-content { left: 24px; }
  .proof { grid-template-columns: 1fr; }
  .proof-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .intro-grid, .capability-band, .contact { grid-template-columns: 1fr; gap: 3rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card { grid-template-columns: .7fr 1.3fr; }
  .project-card p { grid-column: 2; }
  .method-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 680px) {
  .header-inner { height: 76px; }
  .brand img { width: 185px; }
  .hero { min-height: 700px; }
  .hero h1, .hero h2 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .hero-content { top: 47%; }
  .slider-controls { right: 20px; bottom: 24px; }
  .hero-scroll { display: none; }
  .proof { margin-top: 0; width: 100%; border-radius: 0; }
  .section { width: calc(100% - 36px); padding: 84px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 1.2rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }
  .service-card h3 { margin-top: 3rem; }
  .capability-band { width: 100%; border-radius: 0; }
  .project-card { grid-template-columns: 1fr; gap: .8rem; }
  .project-card p { grid-column: 1; }
  .method-steps { grid-template-columns: 1fr; }
  .contact { padding: 84px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 1.4rem; }
  .footer { grid-template-columns: 1fr; }
  .footer-contact { justify-content: flex-start; flex-direction: column; gap: .3rem; }
}

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