:root {
  --navy: #0B2545;
  --navy-dark: #071a33;
  --sky: #2563EB;
  --sky-light: #EAF1FE;
  --bg: #FFFFFF;
  --bg-alt: #F6F8FB;
  --text: #1F2933;
  --text-dim: #5C6B7A;
  --border: #E3E8EF;
  --radius: 12px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.2;
}

p { margin: 0 0 16px; color: var(--text-dim); }

a { color: inherit; }

.about-copy a {
  color: var(--sky);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}
.about-copy a:hover { text-decoration-color: var(--sky); }

img, svg { max-width: 100%; display: block; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--sky);
  color: #fff;
  border-color: var(--sky);
}
.btn-primary:hover { background: #1D4ED8; border-color: #1D4ED8; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--navy); }
.btn-lg { padding: 14px 26px; font-size: 15px; }

.btn-coming-soon { position: relative; }
.btn-coming-soon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
}
.btn-coming-soon::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 5px solid transparent;
  border-top-color: var(--navy);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
}
.btn-coming-soon:hover::after,
.btn-coming-soon:hover::before,
.btn-coming-soon:focus-visible::after,
.btn-coming-soon:focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Nav CTA sits at the top of the viewport, so flip its tooltip below the button */
.nav-cta.btn-coming-soon::after {
  bottom: auto;
  top: calc(100% + 10px);
  transform: translateX(-50%) translateY(-4px);
}
.nav-cta.btn-coming-soon::before {
  bottom: auto;
  top: calc(100% + 4px);
  transform: translateX(-50%) translateY(-4px);
  border-top-color: transparent;
  border-bottom-color: var(--navy);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-icon { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
}
.brand-sub { font-size: 12px; color: var(--text-dim); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.primary-nav a:not(.btn) {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 14.5px;
}
.primary-nav a:not(.btn):hover { color: var(--sky); }
.nav-cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 96px 0 88px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(11, 37, 69, 0.58) 0%, rgba(7, 26, 51, 0.68) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFade 24s infinite;
}
.hero-bg img:nth-child(1) { animation-delay: 0s; }
.hero-bg img:nth-child(2) { animation-delay: 6s; }
.hero-bg img:nth-child(3) { animation-delay: 12s; }
.hero-bg img:nth-child(4) { animation-delay: 18s; }
@keyframes heroFade {
  0% { opacity: 0; }
  3% { opacity: 1; }
  22% { opacity: 1; }
  28% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; opacity: 0; }
  .hero-bg img:first-child { opacity: 1; }
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 14px;
}
.hero .eyebrow { color: #8FB4FF; }
.eyebrow.center { text-align: center; }
.hero h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 20px;
}
.hero h1 span { color: #8FB4FF; }
.hero-lede {
  color: #C4D3E8;
  font-size: 17px;
  max-width: 600px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.35); }
.hero .btn-outline:hover { border-color: #fff; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.center { text-align: center; }
.section h2.center { max-width: 640px; margin-left: auto; margin-right: auto; }
.section-lede {
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-lede.center { text-align: center; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(11, 37, 69, 0.18);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.commitment-callout {
  background: var(--sky-light);
  border-left: 3px solid var(--sky);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 0 0 16px;
}
.commitment-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin: 0 0 6px;
}
.commitment-body {
  font-size: 14.5px;
  margin: 0;
}
.credential-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.credential-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
}
.credential-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sky-light);
  border: 2px solid var(--sky);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover {
  border-color: var(--sky);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.08);
}
.service-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.service-card p { font-size: 14px; margin-bottom: 0; }

/* Grumman specialization */
.section-dark { background: var(--navy); }
.eyebrow-light { color: #8FB4FF; }
.text-light { color: #fff; }
.text-dim-light { color: #C4D3E8; }
.grumman-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}
.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-photo-badge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 20px 18px;
  background: linear-gradient(to top, rgba(6, 12, 20, 0.92) 0%, rgba(6, 12, 20, 0.55) 65%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.feature-badge-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #8FB4FF;
}
.feature-badge-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-top: 2px;
}
.feature-badge-sub { font-size: 12.5px; color: #C4D3E8; }

/* Instrument specialization */
.instrument-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
}

.grumman-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.grumman-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

/* Service area */
.area-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}

/* CTA / contact */
.section-cta { background: var(--bg-alt); }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta-copy p { max-width: 440px; }
.cta-actions { display: flex; margin-top: 8px; }

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 16px 40px rgba(11, 37, 69, 0.1);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.contact-row + .contact-row { border-top: 1px solid var(--border); }
a.contact-row:hover { background: var(--sky-light); }
.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sky-light);
  color: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.contact-icon svg { width: 20px; height: 20px; }
a.contact-row:hover .contact-icon { background: var(--sky); color: #fff; }
.contact-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  font-weight: 600;
}
.contact-value { color: var(--navy); font-weight: 700; font-size: 18px; overflow-wrap: anywhere; }
.contact-row-static .contact-value { font-weight: 600; font-size: 16px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 280px; }
  .instrument-grid { grid-template-columns: 1fr; }
  .grumman-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
  }
  .primary-nav.open { display: flex; }
  .nav-cta { margin-left: 0; text-align: center; }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .grumman-strip { grid-template-columns: 1fr; }
  .grumman-strip img { height: 200px; }
}
