:root {
  --navy: #071323;
  --charcoal: #101820;
  --panel: #142235;
  --panel-2: #0b1a2b;
  --text: #edf5ff;
  --muted: #b9c7d8;
  --blue: #1da7ff;
  --blue-dark: #0b6fb3;
  --gold: #f4b83f;
  --line: rgba(255,255,255,.12);
  --shadow: 0 24px 80px rgba(0,0,0,.32);
  --radius: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--navy);
  line-height: 1.6;
}

body.nav-open { overflow: hidden; }

a { color: inherit; }

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: #111;
  padding: .6rem .8rem;
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(7,19,35,.9);
  backdrop-filter: blur(14px);
  transition: box-shadow .2s ease, border-color .2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 10px;
  color: #071323;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  font-weight: 950;
  letter-spacing: -.03em;
}

.brand strong { display: block; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: .76rem; }

.site-nav {
  display: none;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a,
.footer-grid a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 750;
}

.site-nav a.active,
.site-nav a:hover,
.footer-grid a:hover { color: var(--text); }

.nav-actions {
  display: none;
  align-items: center;
  gap: .75rem;
}

.nav-toggle {
  display: inline-grid;
  gap: .26rem;
  padding: .65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  color: var(--text);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.btn,
button {
  font: inherit;
}

.btn,
.search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .78rem 1.15rem;
  color: #061321;
  background: linear-gradient(135deg, var(--blue), #8ed7ff);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.btn.small { min-height: 2.45rem; padding: .55rem .95rem; font-size: .9rem; }

.btn.ghost,
.search-button {
  color: var(--text);
  background: rgba(255,255,255,.04);
  border-color: var(--line);
}

.btn:hover,
.search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(29,167,255,.16);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(244,184,63,.55);
  outline-offset: 3px;
}

.search-panel {
  position: fixed;
  inset: 76px 0 auto 0;
  z-index: 45;
  border-bottom: 1px solid var(--line);
  background: rgba(10,24,39,.97);
  box-shadow: var(--shadow);
}

.search-inner {
  display: grid;
  gap: .75rem;
  padding: 1rem 0;
}

.search-inner label {
  color: var(--text);
  font-weight: 850;
}

.search-inner input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #061321;
  color: var(--text);
  padding: .9rem 1rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 4rem 0;
  background:
    linear-gradient(120deg, rgba(7,19,35,.98) 0%, rgba(7,19,35,.82) 48%, rgba(7,19,35,.42) 100%),
    radial-gradient(circle at 78% 28%, rgba(29,167,255,.22), transparent 32%),
    linear-gradient(135deg, #091a2d, #17283d);
  overflow: hidden;
}

.photo-hero {
  min-height: calc(100svh - 76px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.04);
}

.photo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(4,12,24,.94) 0%, rgba(4,12,24,.78) 48%, rgba(4,12,24,.36) 100%),
    linear-gradient(180deg, rgba(4,12,24,.58) 0%, rgba(4,12,24,.15) 42%, rgba(4,12,24,.86) 100%);
}

.hero-grid,
.split-grid,
.safety-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.7rem, 10vw, 6.2rem);
  line-height: .96;
  letter-spacing: -.04em;
  text-shadow: 0 16px 50px rgba(0,0,0,.55);
}

.hero-lead {
  max-width: 680px;
  color: #dce8f5;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  text-shadow: 0 12px 36px rgba(0,0,0,.45);
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}

.hero-showcase {
  align-self: end;
}

.hero-proof-card {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(5,14,27,.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  padding: 1rem;
}

.hero-proof-card strong {
  display: block;
  max-width: 28rem;
  margin-top: .35rem;
  color: var(--text);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -.025em;
}

.hero-proof-card p {
  margin: .75rem 0 1rem;
  color: #d3dfec;
}

.proof-label {
  color: var(--gold);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .55rem;
}

.hero-photo-strip img,
.project-image {
  display: block;
  width: 100%;
  object-fit: cover;
  background: #091a2d;
}

.hero-photo-strip img {
  aspect-ratio: 1 / .78;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
}

.trust-bar {
  border-block: 1px solid var(--line);
  background: #08182a;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.trust-grid div {
  padding: 1.1rem;
  border-right: 1px solid var(--line);
}

.trust-grid strong {
  display: block;
  color: var(--text);
  font-size: 1.2rem;
}

.trust-grid span { color: var(--muted); font-size: .9rem; }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-muted { background: #0b1a2b; }

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-head.narrow { max-width: 640px; }

h2 {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -.035em;
}

p { color: var(--muted); }

.card-grid,
.project-grid,
.review-grid {
  display: grid;
  gap: 1rem;
}

.capability-card,
.project-card,
.contact-card,
blockquote,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  padding: 1.25rem;
}

.capability-card h3,
.project-card h3 {
  margin: 0 0 .5rem;
  color: var(--text);
  font-size: 1.18rem;
}

.capability-card a,
.text-link {
  display: inline-flex;
  margin-top: .75rem;
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.safety-section {
  background:
    linear-gradient(90deg, rgba(7,19,35,.95), rgba(7,19,35,.72)),
    radial-gradient(circle at 85% 20%, rgba(244,184,63,.18), transparent 28%);
}

.safety-list {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.safety-list li {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  padding: .9rem 1rem;
  color: var(--text);
  font-weight: 800;
}

.project-card p {
  margin: 0 0 .7rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-card span { display: block; color: var(--muted); margin-bottom: 1rem; }

.project-image {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  margin-bottom: 1rem;
}

blockquote {
  margin: 0;
}

blockquote p {
  margin-top: 0;
  color: var(--text);
  font-size: 1.05rem;
}

cite { color: var(--muted); font-style: normal; font-weight: 800; }

.careers-cta {
  background: linear-gradient(135deg, rgba(29,167,255,.2), rgba(244,184,63,.08));
}

.cta-panel {
  max-width: 860px;
}

.contact-section { background: #061321; }

.contact-card a { color: var(--text); }

.site-footer {
  border-top: 1px solid var(--line);
  background: #06111e;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-grid h3 {
  margin: 0 0 .75rem;
  color: var(--text);
}

.footer-grid nav {
  display: grid;
  gap: .45rem;
  align-content: start;
}

.footer-brand { margin-bottom: 1rem; }
.socials { display: flex; gap: .75rem; flex-wrap: wrap; }

@media (max-width: 839px) {
  .site-nav {
    position: fixed;
    inset: 76px 0 0 0;
    display: none;
    align-content: start;
    padding: 1.25rem;
    background: rgba(7,19,35,.98);
  }

  .site-nav.is-open {
    display: grid;
    gap: 1rem;
  }

  .button-row .btn {
    width: 100%;
  }
}

@media (min-width: 640px) {
  .card-grid,
  .project-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(2, .8fr);
  }
}

@media (min-width: 840px) {
  .site-nav,
  .nav-actions {
    display: flex;
  }

  .nav-toggle { display: none; }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
    align-items: center;
  }

  .split-grid,
  .safety-grid,
  .contact-grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
    align-items: start;
  }

  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .project-grid,
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(4, 1fr);
  }
}
