:root {
  --ink: #021514;
  --charcoal: #052322;
  --navy: #07302e;
  --blue: #0b3d39;
  --cyan: #00df81;
  --electric: #00df81;
  --white: #ffffff;
  --muted: #ffffff;
  --line: rgba(0, 223, 129, 0.26);
  --mint: #00df81;
  --steel: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 70px rgba(0, 223, 129, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background: var(--charcoal);
  font-family: Inter, Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  overflow-x: hidden;
}
h1, h2, h3, p, a, span, li, button {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: 0;
  height: 3px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px clamp(18px, 4vw, 48px);
  border: 0;
  border-bottom: 1px solid rgba(0, 223, 129, 0.32);
  border-radius: 0;
  background: var(--charcoal);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}
.logo-brand {
  width: 178px;
  padding: 0 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #000;
}
.brand-logo {
  width: 100%;
  height: 42px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(0, 223, 129, 0.18);
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.16);
}
.nav-links a, .site-footer a { position: relative; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  transition: color 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.nav-links a:hover, .nav-links a.active {
  color: #052322;
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(0, 223, 129, 0.32);
  transform: translateY(-1px);
}
.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--cyan);
  transition: transform 240ms ease;
}
.site-footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 223, 129, 0.32);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #06101f;
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(0, 223, 129, 0.35);
}
.button-secondary, .button-ghost {
  color: var(--white);
  border-color: rgba(0, 223, 129, 0.38);
  background: var(--charcoal);
}
.button-secondary:hover, .button-ghost:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 28px rgba(0, 223, 129, 0.2);
}
.ripple-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.48);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 620ms ease-out forwards;
  pointer-events: none;
  z-index: -1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: 0.5px; }
h1 { margin-bottom: 22px; font-size: clamp(44px, 7vw, 76px); font-weight: 900; }
h2 { margin-bottom: 18px; font-size: clamp(30px, 4.8vw, 52px); font-weight: 900; }
h3 { font-size: 22px; }
p { color: var(--white); }

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  padding: 132px 0 78px;
  overflow: hidden;
}
.hero::before, .band::before {
  content: none;
}
.hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
  filter: saturate(1.15) contrast(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 35, 34, 0.92);
}
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.74fr);
  gap: 48px;
  align-items: end;
}
.hero-copy { max-width: 660px; font-size: 19px; color: var(--white); }
.hero-actions, .action-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.signal-board {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(0, 223, 129, 0.24);
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: var(--shadow);
}
.signal {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(0, 223, 129, 0.18);
  border-radius: 8px;
  background: var(--charcoal);
}
.signal strong {
  color: var(--mint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 24px;
}
.signal span { color: var(--white); font-weight: 800; }

.page-hero {
  position: relative;
  padding: 132px 0 80px;
  overflow: hidden;
  background: var(--charcoal);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg, url("../images/pexels-office-team.jpg"));
  background-position: center;
  background-size: cover;
  opacity: 0.58;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 35, 34, 0.92);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero p { max-width: 760px; font-size: 18px; color: var(--white); }

.section { position: relative; padding: 96px 0; }
.band {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}
.section-head { max-width: 760px; margin-bottom: 42px; }
.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: char-rise 720ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  white-space: nowrap;
}

.service-atlas {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.atlas-card {
  position: relative;
  min-height: 300px;
  grid-column: span 4;
  padding: 26px;
  border: 1px solid rgba(0, 223, 129, 0.22);
  border-radius: 8px;
  background: var(--charcoal);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.atlas-card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan);
  box-shadow: var(--shadow);
}
.atlas-card.wide { grid-column: span 6; }
.card-code, .metric strong, .step span, .mini-stat strong {
  color: var(--mint);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
}
.card-code { display: block; margin-bottom: 28px; }
.atlas-card p { margin-bottom: 22px; }
.text-link { color: var(--cyan); font-weight: 900; }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.metric, .mini-stat {
  padding: 24px;
  border-left: 2px solid var(--cyan);
  background: var(--charcoal);
}
.metric strong { font-size: clamp(38px, 6vw, 60px); line-height: 1; }
.metric span { color: var(--cyan); font-family: "IBM Plex Mono", monospace; font-size: 38px; }

.feature-grid, .values-grid, .contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature, .value, .contact-card, .process-card {
  padding: 26px;
  border: 1px solid rgba(0, 223, 129, 0.2);
  border-radius: 8px;
  background: var(--charcoal);
}
.feature h3, .value h3, .contact-card h3 { margin-bottom: 10px; }

.career-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.career-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 26px;
  border: 1px solid rgba(0, 223, 129, 0.22);
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.14);
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.job-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(0, 223, 129, 0.28);
  border-radius: 999px;
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  white-space: nowrap;
}
.job-apply {
  width: fit-content;
  margin-top: 26px;
}
.career-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(0, 223, 129, 0.26);
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.image-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 52px;
  align-items: center;
}
.image-frame {
  overflow: hidden;
  border: 1px solid rgba(0, 223, 129, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.image-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transform: scale(1.04);
}
.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}
.check-list li { position: relative; padding-left: 30px; color: var(--white); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(var(--timeline-progress, 0));
  transform-origin: left;
  transition: transform 900ms ease;
}
.step {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(0, 223, 129, 0.2);
  border-radius: 8px;
  background: var(--charcoal);
}
.step span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: #06101f;
  background: var(--cyan);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(0, 223, 129, 0.26);
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: var(--shadow);
}
label { display: grid; gap: 6px; color: #dce9fb; font-size: 13px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(0, 223, 129, 0.28);
  border-radius: 8px;
  color: var(--white);
  background: var(--charcoal);
  padding: 12px 13px;
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--electric);
  box-shadow: 0 0 0 4px rgba(0, 223, 129, 0.14);
}
textarea { resize: vertical; }
.form-status { min-height: 22px; margin: 0; color: var(--mint); font-weight: 800; }

.site-footer {
  padding: 56px 0;
  border-top: 1px solid rgba(0, 223, 129, 0.18);
  background: var(--charcoal);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 28px;
}
.site-footer h2 { margin-bottom: 14px; font-size: 14px; text-transform: uppercase; }
.site-footer a { display: table; margin: 9px 0; color: var(--white); font-weight: 700; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
[data-anim="scale-in"] { transform: scale(0.94); }
[data-anim="slide-left"] { transform: translateX(-38px); }
[data-anim="slide-right"] { transform: translateX(38px); }
.word { display: inline-block; opacity: 0; transform: translateY(14px); }
.word.visible { animation: char-rise 580ms ease forwards; }

@keyframes char-rise { to { opacity: 1; transform: translateY(0); } }
@keyframes ripple { to { opacity: 0; transform: translate(-50%, -50%) scale(18); } }
@media (max-width: 940px) {
  .site-header { grid-template-columns: auto auto; justify-content: space-between; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: clamp(18px, 4vw, 48px);
    display: grid;
    width: min(340px, calc(100vw - 40px));
    padding: 18px;
    border: 1px solid rgba(0, 223, 129, 0.22);
    border-radius: 8px;
    background: var(--charcoal);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms ease, transform 220ms ease;
  }
  .nav-open .nav-links { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .hero-layout, .image-story, .footer-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-atlas, .metric-strip, .feature-grid, .values-grid, .timeline, .career-grid { grid-template-columns: 1fr; }
  .atlas-card, .atlas-card.wide { grid-column: auto; }
  .timeline::before { display: none; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header {
    inset: 0 0 auto;
    padding: 10px 14px;
  }
  .hero, .page-hero { min-height: auto; padding-top: 122px; }
  .section { padding: 72px 0; }
  .hero-copy, .page-hero p { font-size: 16px; }
  .button, .hero-actions .button, .action-row .button { width: 100%; }
  .signal { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

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