/* ══════════════════════════════════════════════════════════
   SCOPE BUSINESS SERVICES — PREMIUM STYLESHEET v4
   Brand: #0D005A · Gold #F5C518
   Fonts: Barlow Condensed (headings) · Montserrat (body)
   ══════════════════════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* Honour user's motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ─── FOCUS VISIBLE — Accessibility ─── */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid #F5C518;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── DESIGN TOKENS ─── */
:root {
  /* Brand colors — #0D005A primary */
  --navy:          #0D005A;
  --navy-deep:     #080040;
  --navy-dark:     #0A0048;
  --navy-mid:      #1A0878;
  --navy-light:    #22108A;
  --navy-surface:  #0F0050;
  --gold:          #F5C518;
  --gold-dark:     #C9A010;
  --gold-dim:      rgba(245, 197, 24, 0.14);
  --gold-glow:     rgba(245, 197, 24, 0.08);
  --gold-border:   rgba(245, 197, 24, 0.22);
  --gold-border-h: rgba(245, 197, 24, 0.50);

  /* Pure white palette */
  --white:         #FFFFFF;
  --white-90:      rgba(255, 255, 255, 0.90);
  --white-70:      rgba(255, 255, 255, 0.90); /* was 0.70 — raised for readability */
  --white-50:      rgba(255, 255, 255, 0.78); /* was 0.50 — raised for readability */
  --white-25:      rgba(255, 255, 255, 0.58); /* was 0.25 — raised for readability */
  --white-12:      rgba(255, 255, 255, 0.12);
  --white-06:      rgba(255, 255, 255, 0.06);
  --white-03:      rgba(255, 255, 255, 0.03);

  /* Typography — updated to Barlow Condensed + Montserrat */
  --font-display:  'Barlow Condensed', sans-serif;
  --font-body:     'Montserrat', sans-serif;

  /* Layout */
  --container:     1260px;
  --section-pad:   120px;
  --gap-card:      20px;
  --radius:        8px;
  --radius-lg:     14px;
  --radius-xl:     20px;

  /* Elevation system */
  --shadow-card:   0 2px 14px rgba(0,0,0,0.30), 0 1px 0 rgba(255,255,255,0.055) inset;
  --shadow-hover:  0 18px 52px rgba(0,0,0,0.50), 0 1px 0 rgba(255,255,255,0.09) inset, 0 0 0 1px var(--gold-border-h);
  --shadow-tile:   0 4px 20px rgba(0,0,0,0.25), 0 1px 0 rgba(255,255,255,0.06) inset;
  --shadow-tile-h: 0 12px 40px rgba(0,0,0,0.45), 0 0 0 1px var(--gold-border-h);

  /* Easing */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── BASE ─── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* Brand selection highlight */
::selection { background: rgba(245, 197, 24, 0.28); color: #fff; }
::-moz-selection { background: rgba(245, 197, 24, 0.28); color: #fff; }

/* ─── CONTAINER ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── TYPOGRAPHY TOKENS ─── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
/* Decorative gold bar before eyebrow label */
.eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.eyebrow-dark { color: var(--navy-mid); }
.eyebrow-dark::before { background: var(--navy-mid); }

/* Center eyebrow in section headers */
.section-header .eyebrow {
  justify-content: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 20px;
}

.section-intro {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--white-70);
  max-width: 640px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-intro { margin: 0 auto; }

.body-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white-70);
  line-height: 1.75;
  margin-bottom: 18px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.22s var(--ease-out);
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover {
  background: #ffd836;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,197,24,0.40);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-outline:hover {
  border-color: var(--white);
  background: var(--white-06);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--navy-mid);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

.btn-navy-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(13, 0, 90, 0.40);
}
.btn-navy-outline:hover {
  background: var(--white-06);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 40px;
  font-size: 0.95rem;
}

.btn-full { width: 100%; justify-content: center; }

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ─── SECTION COLORS ─── */
.section-dark    { background: var(--navy-dark); }
.section-darker  { background: var(--navy-deep); }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════
   NAVBAR
   ════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #0D005A;
  border-bottom: 1px solid rgba(245, 197, 24, 0.18);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(8, 0, 64, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 32px rgba(0,0,0,0.40);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo-img  {
  height: 68px;
  width: auto;
  display: block;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-70);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.18s, background 0.18s;
}
.nav-links a:hover { color: var(--white); background: var(--white-06); }
.nav-links a.active-nav {
  color: var(--white);
  background: var(--white-06);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.nav-cta-link {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  border-radius: var(--radius) !important;
}
.nav-cta-link:hover {
  background: #ffd836 !important;
  color: var(--navy-deep) !important;
}

/* ─── NAV DROPDOWN ─── */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-chevron {
  width: 10px;
  height: 7px;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.nav-dropdown.open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 172px;
  list-style: none;
  background: rgba(8, 0, 64, 0.97);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 200;
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white-70);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.18s, background 0.18s;
  border-radius: 0;
  background: none;
}

.nav-dropdown-menu li a:hover {
  color: var(--gold);
  background: var(--white-06);
}

.nav-certs {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* ─── CERT PILLS ─── */
.cert-pill {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--gold-border);
  color: var(--gold);
  background: var(--gold-glow);
  text-transform: uppercase;
}
.cert-pill-sm { font-size: 0.6rem; padding: 3px 8px; }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── MOBILE NAV ─── */
.mobile-nav {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: rgba(8, 0, 64, 0.98);
  border-top: 1px solid var(--gold-border);
  transition: max-height 0.35s var(--ease-out);
}
.mobile-nav.open { max-height: 560px; }
.mobile-nav ul { list-style: none; padding: 16px 24px; }
.mobile-nav ul li { border-bottom: 1px solid var(--white-06); }
.mob-link {
  display: block;
  padding: 14px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white-70);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.18s;
}
.mob-link:hover,
.mob-link.active-nav { color: var(--gold); }

/* Resources sub-links in mobile nav */
.mob-section-label {
  padding: 14px 0 4px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: none !important;
}
.mob-link-sub {
  padding: 10px 0 10px 12px;
  font-size: 0.82rem;
  opacity: 0.82;
}
.mob-certs { display: flex; gap: 8px; padding: 16px 24px 20px; }

/* ════════════════════════════════════
   HERO
   ════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    #080040 0%,
    #0D005A 35%,
    #0A0048 60%,
    #0D005A 80%,
    #080040 100%
  );
}

/* Grid overlay */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,197,24,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,197,24,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* Ambient glow orbs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb1 14s ease-in-out infinite;
}
.hero-glow-1 {
  width: 700px; height: 700px;
  top: -15%; left: -10%;
  background: radial-gradient(circle, rgba(245,197,24,0.07) 0%, transparent 70%);
  animation-name: floatOrb1;
  animation-duration: 18s;
}
.hero-glow-2 {
  width: 600px; height: 600px;
  top: 20%; right: -8%;
  background: radial-gradient(circle, rgba(8,0,64,0.85) 0%, rgba(13,0,90,0.4) 50%, transparent 70%);
  animation-name: floatOrb2;
  animation-duration: 22s;
}
.hero-glow-3 {
  width: 500px; height: 500px;
  bottom: 10%; left: 30%;
  background: radial-gradient(circle, rgba(245,197,24,0.05) 0%, transparent 70%);
  animation-name: floatOrb1;
  animation-duration: 16s;
  animation-delay: -6s;
}

/* City horizon glow */
.hero-horizon-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 280px;
  background: linear-gradient(
    to top,
    rgba(8, 0, 64, 0.75) 0%,
    rgba(8, 0, 64, 0.38) 30%,
    rgba(26, 8, 120, 0.16) 62%,
    transparent 100%
  );
  pointer-events: none;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
}
.p1  { top: 15%; left: 12%;  animation-delay: 0s;    animation-duration: 9s; }
.p2  { top: 30%; left: 75%;  animation-delay: 1.5s;  animation-duration: 11s; }
.p3  { top: 60%; left: 20%;  animation-delay: 3s;    animation-duration: 8s; }
.p4  { top: 20%; left: 50%;  animation-delay: 4.5s;  animation-duration: 12s; }
.p5  { top: 70%; left: 60%;  animation-delay: 2s;    animation-duration: 10s; }
.p6  { top: 45%; left: 85%;  animation-delay: 6s;    animation-duration: 9s; }
.p7  { top: 80%; left: 35%;  animation-delay: 1s;    animation-duration: 13s; }
.p8  { top: 10%; left: 90%;  animation-delay: 7s;    animation-duration: 8s; }
.p1, .p3, .p5, .p7 { width: 3px; height: 3px; background: rgba(255,255,255,0.6); }

/* Ghost watermark */
.hero::before {
  content: 'SCOPE';
  font-family: var(--font-display);
  font-size: clamp(20rem, 40vw, 44rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(245, 197, 24, 0.018);
  position: absolute;
  bottom: -12%;
  left: -4%;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.02em;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px 40px 120px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
  width: 100%;
}

/* Hero logo */
.hero-logo-wrap {
  margin-bottom: 32px;
}
.hero-logo-img {
  height: 112px;
  width: auto;
  display: block;
  border-radius: 8px;
}

/* Hero badges */
.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.badge-cert {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1.5px solid var(--gold-border-h);
  border-radius: 4px;
  color: var(--gold);
  background: var(--gold-dim);
}

/* Hero headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 7.5vw, 8rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-headline-gold { color: var(--gold); }

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--white-70);
  max-width: 520px;
  line-height: 1.72;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Hero credibility strip ── */
.hero-cred-strip {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.hero-cred-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 16px;
}

.hero-cred-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Each logo gets its own white pill — makes any logo legible on dark bg */
.hero-cred-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  padding: 8px 16px;
  height: 48px;
  box-sizing: border-box;
  opacity: 0.80;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.hero-cred-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.hero-cred-logo img {
  height: 100%;
  width: auto;
  max-width: 88px;
  display: block;
  object-fit: contain;
}

@media (max-width: 600px) {
  .hero-cred-logos {
    gap: 8px;
  }
  .hero-cred-logo {
    height: 36px;
    padding: 6px 10px;
  }
  .hero-cred-logo img {
    max-width: 70px;
  }
}

/* Hero stats card */
.hero-stats {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hstat { text-align: center; }
.hstat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: inline;
  letter-spacing: 0.01em;
}
.hstat-suffix {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
}
.hstat-text {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.01em;
}
.hstat-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-top: 4px;
}
.hstat-divider {
  height: 1px;
  background: var(--gold-border);
  width: 60%;
  margin: 0 auto;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.hero-scroll-cue:hover { opacity: 1; }
.hero-scroll-cue span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-70);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--white-50), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ════════════════════════════════════
   CAPABILITIES TILE GRID
   ════════════════════════════════════ */
.capabilities {
  background: linear-gradient(180deg, #080040 0%, #0A0048 50%, #080040 100%);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

/* Subtle grid pattern overlay for the section */
.capabilities::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,197,24,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,197,24,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.capabilities .container { position: relative; z-index: 1; }

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ── BASE TILE ── */
.tile-card {
  position: relative;
  background: linear-gradient(145deg, #0F0050 0%, #0A0040 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 2px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out);
  box-shadow: 0 4px 24px rgba(0,0,0,0.40), 0 1px 0 rgba(255,255,255,0.05) inset;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 195px;
  animation: tileBorderPulse 5s ease-in-out infinite;
}

/* Unique gradient depth per row — 3n variants */
.tile-card:nth-child(3n+1) { background: linear-gradient(145deg, #100052 0%, #09003E 100%); }
.tile-card:nth-child(3n+2) { background: linear-gradient(145deg, #0D0055 0%, #0A0045 100%); }
.tile-card:nth-child(3n)   { background: linear-gradient(145deg, #0F0058 0%, #0B0042 100%); }

/* Stagger idle pulse */
.tile-card:nth-child(1) { animation-delay: 0s; }
.tile-card:nth-child(2) { animation-delay: 0.55s; }
.tile-card:nth-child(3) { animation-delay: 1.10s; }
.tile-card:nth-child(4) { animation-delay: 1.65s; }
.tile-card:nth-child(5) { animation-delay: 2.20s; }
.tile-card:nth-child(6) { animation-delay: 2.75s; }
.tile-card:nth-child(7) { animation-delay: 3.30s; }
.tile-card:nth-child(8) { animation-delay: 3.85s; }
.tile-card:nth-child(9) { animation-delay: 4.40s; }

/* Radial top-glow on hover + spotlight */
.tile-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(245,197,24,0.15) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.40s var(--ease-out);
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

/* Diagonal shimmer sweep — idle */
.tile-card::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -150%;
  width: 55%;
  height: 120%;
  background: linear-gradient(
    108deg,
    transparent 0%,
    rgba(255,255,255,0.03) 35%,
    rgba(245,197,24,0.08) 50%,
    rgba(255,255,255,0.03) 65%,
    transparent 100%
  );
  animation: tileShimmer 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* Stagger shimmer */
.tile-card:nth-child(1)::after { animation-delay: 0s; }
.tile-card:nth-child(2)::after { animation-delay: 0.9s; }
.tile-card:nth-child(3)::after { animation-delay: 1.8s; }
.tile-card:nth-child(4)::after { animation-delay: 2.7s; }
.tile-card:nth-child(5)::after { animation-delay: 3.6s; }
.tile-card:nth-child(6)::after { animation-delay: 4.5s; }
.tile-card:nth-child(7)::after { animation-delay: 5.4s; }
.tile-card:nth-child(8)::after { animation-delay: 6.3s; }
.tile-card:nth-child(9)::after { animation-delay: 7.2s; }

/* ── HOVER ── */
.tile-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-top-color: var(--gold);
  border-color: var(--gold-border-h);
  box-shadow:
    0 20px 56px rgba(0,0,0,0.60),
    0 0 0 1px var(--gold-border-h),
    0 0 32px rgba(245,197,24,0.14),
    0 1px 0 rgba(255,255,255,0.08) inset;
  animation: none;
}
.tile-card:hover::before { opacity: 1; }
.tile-card:hover::after  { opacity: 0; }

/* ── SPOTLIGHT (JS-toggled class) ── */
.tile-card.tile-lit {
  border-top-color: rgba(245,197,24,0.75);
  border-color: rgba(245,197,24,0.30);
  box-shadow:
    0 6px 36px rgba(0,0,0,0.50),
    0 0 0 1px rgba(245,197,24,0.30),
    0 0 40px rgba(245,197,24,0.12);
  animation: tileLit 2.5s ease-in-out forwards;
}
.tile-card.tile-lit::before { opacity: 0.7; }

/* All tile content above pseudo layers */
.tile-card > * { position: relative; z-index: 2; }

/* Corner number badge */
.tile-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: rgba(245,197,24,0.12);
  line-height: 1;
  letter-spacing: -0.02em;
  z-index: 2;
  pointer-events: none;
  transition: color 0.25s;
  user-select: none;
}
.tile-card:hover .tile-num { color: rgba(245,197,24,0.22); }
.tile-card.tile-lit .tile-num { color: rgba(245,197,24,0.30); }

/* ── ICON ── */
.tile-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(245,197,24,0.07);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  transition: all 0.30s var(--ease-spring);
  flex-shrink: 0;
}
.tile-icon svg {
  width: 23px;
  height: 23px;
  transition: transform 0.30s var(--ease-spring);
}
.tile-card:hover .tile-icon {
  background: rgba(245,197,24,0.14);
  border-color: var(--gold-border-h);
  box-shadow: 0 0 18px rgba(245,197,24,0.28);
  transform: scale(1.18);
}
.tile-card:hover .tile-icon svg {
  animation: iconPop 0.42s var(--ease-spring) forwards;
}
.tile-card.tile-lit .tile-icon {
  background: rgba(245,197,24,0.12);
  border-color: rgba(245,197,24,0.45);
  box-shadow: 0 0 12px rgba(245,197,24,0.20);
}

/* ── TILE TEXT ── */
.tile-card h4 {
  font-family: var(--font-display);
  font-size: 1.20rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--white-90);
  line-height: 1.15;
  transition: color 0.20s;
  margin-top: 2px;
}
.tile-card:hover h4 { color: var(--white); }
.tile-card.tile-lit h4 { color: var(--white); }

.tile-card p {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--white-50);
  line-height: 1.65;
  transition: color 0.20s;
  flex: 1;
}
.tile-card:hover p { color: var(--white-70); }
.tile-card.tile-lit p { color: rgba(255,255,255,0.65); }

/* Bottom accent bar */
.tile-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.55;
  margin-top: 4px;
  transition: opacity 0.25s;
}
.tile-tag::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--gold);
  border-radius: 1px;
  flex-shrink: 0;
}
.tile-card:hover .tile-tag { opacity: 1; }
.tile-card.tile-lit .tile-tag { opacity: 0.85; }

/* ════════════════════════════════════
   ABOUT
   ════════════════════════════════════ */
.about {
  padding: var(--section-pad) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-pillars {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pillar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-border-h);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}
.pillar-body h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 4px;
}
.pillar-body p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--white-50);
  line-height: 1.65;
}

/* About right card */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}
.about-card-main {
  background: var(--navy-mid);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.about-card-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 80%);
}
.about-card-quote {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 16px;
}
.about-card-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  letter-spacing: 0.01em;
}
.about-card-text em { color: var(--gold); font-style: normal; }

.about-certs-row {
  display: flex;
  gap: 12px;
}
.cert-block {
  flex: 1;
  background: var(--navy-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  text-align: center;
  transition: border-color 0.2s;
}
.cert-block:hover { border-color: var(--gold-border-h); }
.cert-label-lg {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.cert-desc {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white-50);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ════════════════════════════════════
   SERVICES
   ════════════════════════════════════ */
.services {
  padding: var(--section-pad) 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-card);
}

.svc-card {
  background: var(--navy-surface);
  border: 1px solid var(--white-06);
  border-top: 2px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: all 0.30s var(--ease-out);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 100% 0%, rgba(245,197,24,0.07) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.30s var(--ease-out);
  pointer-events: none;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--gold);
  border-color: var(--gold-border-h);
}
.svc-card:hover::before { opacity: 1; }

.svc-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold-border-h);
}

.svc-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-card:hover .svc-icon {
  background: var(--gold-dim);
  border-color: var(--gold-border-h);
  transform: scale(1.06);
}

.svc-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.2;
}

.svc-card p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--white-70);
  line-height: 1.7;
  flex: 1;
}

.svc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--white-06);
  margin-top: auto;
}
.svc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.svc-tags span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--white-06);
  color: var(--white-50);
  border: 1px solid var(--white-06);
}
.svc-arrow {
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform 0.22s var(--ease-out);
  opacity: 0;
}
.svc-card:hover .svc-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ════════════════════════════════════
   WHY CHOOSE US
   ════════════════════════════════════ */
.why-us {
  padding: var(--section-pad) 0;
  position: relative;
}
.why-us::before {
  content: 'WHY US';
  font-family: var(--font-display);
  font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 900;
  color: rgba(255,255,255,0.02);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.04em;
}

.why-header {
  text-align: center;
  margin-bottom: 64px;
}

/* 3-column layout for 3 cards */
.why-grid { display: grid; gap: 20px; }
.why-grid-3 { grid-template-columns: repeat(3, 1fr); }

.why-card {
  background: var(--navy-surface);
  border: 1px solid var(--white-06);
  border-top: 2px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.28s var(--ease-out);
  box-shadow: var(--shadow-card);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-border-h);
  border-top-color: var(--gold);
}

.why-card-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold-border-h);
}
.why-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  color: var(--gold);
}
.why-card-icon svg { width: 26px; height: 26px; }
.why-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.2;
}
.why-card p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--white-70);
  line-height: 1.7;
  flex: 1;
}
.why-vs {
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--white-25);
  font-style: italic;
  padding-top: 10px;
  border-top: 1px solid var(--white-06);
}

/* ════════════════════════════════════
   CLIENT IMPACT
   ════════════════════════════════════ */
.impact-section {
  padding: var(--section-pad) 0;
}

.impact-header {
  text-align: center;
  margin-bottom: 64px;
}
.impact-header .section-intro { margin: 0 auto; }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.impact-stat {
  background: var(--navy-surface);
  border: 1px solid var(--white-06);
  border-top: 2px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.28s var(--ease-out);
  box-shadow: var(--shadow-card);
}
.impact-stat:hover {
  transform: translateY(-4px);
  border-top-color: var(--gold);
  box-shadow: var(--shadow-hover);
}

.impact-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.impact-num-text {
  font-size: 2.8rem;
}
.impact-label {
  font-family: var(--font-display);
  font-size: 1.0rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 10px;
}
.impact-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--white-50);
  line-height: 1.6;
}

.impact-callout {
  margin-top: 48px;
}
.impact-callout-inner {
  background: var(--navy-mid);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 56px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.impact-callout-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.impact-quote-icon {
  width: 40px;
  height: 32px;
  margin: 0 auto 20px;
  color: var(--gold);
  opacity: 0.4;
}
.impact-callout-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  max-width: 680px;
  margin: 0 auto 28px;
  letter-spacing: 0.01em;
}
.impact-callout-text em { color: var(--gold); font-style: normal; }
.impact-callout-cta { display: flex; justify-content: center; }

/* ════════════════════════════════════
   CLIENTS / MARQUEE
   ════════════════════════════════════ */
.clients {
  padding: var(--section-pad) 0;
}

/* ── Logo Grid ── */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.logo-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.logo-card:hover {
  transform: translateY(-4px);
  border-color: #FFD24A;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ── Logo wrapper — centers image, hosts optional white bg ── */
.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.logo-wrapper--light {
  background: #FFFFFF;
  border-radius: 6px;
  padding: 10px 16px;
}

/* ── Logo images — normalized sizing ── */
.logo-card img {
  max-height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.85;
  filter: grayscale(20%);
  transition: opacity 0.26s ease, filter 0.26s ease;
}

.logo-card:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* White-background logos: always full opacity, no filter */
.logo-wrapper--light img,
.logo-card:hover .logo-wrapper--light img {
  opacity: 1;
  filter: none;
}

/* ════════════════════════════════════
   CALL TO ACTION
   ════════════════════════════════════ */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: var(--gold);
  overflow: hidden;
}
.cta-section::before {
  content: 'EXECUTE';
  font-family: var(--font-display);
  font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 900;
  color: rgba(13, 0, 90, 0.06);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.04em;
}
.cta-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 0, 90, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 0, 90, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.cta-glow {
  position: absolute;
  width: 600px; height: 600px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--navy-deep);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.cta-title em { font-style: normal; opacity: 0.85; }
.cta-body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(13, 0, 90, 0.75);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.eyebrow-dark {
  color: rgba(13, 0, 90, 0.60);
  margin-bottom: 12px;
}

/* ════════════════════════════════════
   CONTACT / OUR REACH
   ════════════════════════════════════ */
.contact {
  padding: var(--section-pad) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: 2px;
}
.contact-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  transition: color 0.18s;
}
a.contact-value:hover { color: var(--gold); }

/* Reach badges */
.contact-reach-badges {
  display: flex;
  gap: 12px;
  margin: 20px 0 24px;
  flex-wrap: wrap;
}
.reach-badge {
  background: var(--navy-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 12px 18px;
  text-align: center;
  flex: 1;
  min-width: 80px;
  transition: border-color 0.2s;
}
.reach-badge:hover { border-color: var(--gold-border-h); }
.reach-badge-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.03em;
}
.reach-badge-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white-50);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.contact-certs { display: flex; gap: 8px; }

/* ─── FORM ─── */
.contact-form-wrap {
  background: var(--navy-surface);
  border: 1px solid var(--white-06);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Floating label groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.floating {
  position: relative;
}
.form-group.floating input {
  padding: 22px 17px 8px;
  height: 56px;
}
.form-group.floating label {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white-50);
  pointer-events: none;
  transition: all 0.18s var(--ease-out);
}
.req { color: var(--gold); }
.form-group.floating input:focus + label,
.form-group.floating input:not(:placeholder-shown) + label {
  top: 10px;
  transform: translateY(0);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.static-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: 6px;
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--white);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--white-12);
  border-radius: var(--radius);
  padding: 14px 17px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
input::placeholder,
textarea::placeholder { color: var(--white-25); }
input:focus, textarea:focus, select:focus {
  border-color: var(--gold-border-h);
  background: rgba(245,197,24,0.04);
}
select option {
  background: var(--navy-dark);
  color: var(--white);
}
textarea { resize: vertical; min-height: 120px; padding: 14px 17px; }

input.field-error, textarea.field-error {
  border-color: #e05555;
}

/* Form success */
.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}
.form-success.visible { display: block; }
.success-check {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.form-success h4 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.form-success p {
  color: var(--white-70);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ════════════════════════════════════
   FOOTER
   ════════════════════════════════════ */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(245, 197, 24, 0.18);
}
.footer-gold-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 60%, transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-logo { height: 80px; width: auto; display: block; margin-bottom: 18px; border-radius: 8px; }
.footer-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  line-height: 1.4;
}
.footer-certs { display: flex; gap: 6px; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li {
  font-family: var(--font-body);
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: var(--white-70);
  line-height: 1.5;
}
.footer-col ul li a {
  color: var(--white-70);
  transition: color 0.18s;
}
.footer-col ul li a:hover { color: var(--gold); }

/* Coming-soon links — subtle badge treatment */
[data-coming-soon]::after {
  content: 'Soon';
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 7px;
  vertical-align: middle;
  opacity: 0.85;
}

/* ─── CERTIFICATION LOGO STRIP ─── */
.footer-cert-strip {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--white-06);
  border-bottom: 1px solid var(--white-06);
  margin-bottom: 0;
  flex-wrap: wrap;
}

.footer-cert-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-50);
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-cert-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.footer-cert-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  padding: 10px 18px;
  height: 60px;
  box-sizing: border-box;
  opacity: 0.82;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.footer-cert-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-cert-logo img {
  height: 100%;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .footer-cert-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-cert-logos {
    gap: 24px;
  }
  .footer-cert-logo {
    height: 50px;
    padding: 8px 14px;
  }
}

/* ─── FOOTER BOTTOM ─── */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 28px;
}
.footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--white-50);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.78rem;
  color: var(--white-50);
  transition: color 0.18s;
}
.footer-legal a:hover { color: var(--white); }

/* ════════════════════════════════════
   KEYFRAME ANIMATIONS
   ════════════════════════════════════ */
@keyframes floatOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -40px) scale(1.04); }
  66%       { transform: translate(-20px, 20px) scale(0.97); }
}
@keyframes floatOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-35px, 28px) scale(1.03); }
  66%       { transform: translate(24px, -18px) scale(0.98); }
}
@keyframes particleFloat {
  0%        { opacity: 0; transform: translateY(0) scale(1); }
  15%       { opacity: 0.7; }
  85%       { opacity: 0.4; }
  100%      { opacity: 0; transform: translateY(-80px) scale(0.8); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.6); }
}
@keyframes tileShimmer {
  0%        { left: -150%; opacity: 1; }
  50%, 100% { left: 170%;  opacity: 0; }
}
@keyframes tileBorderPulse {
  0%, 100% {
    border-top-color: var(--gold-border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.40), 0 1px 0 rgba(255,255,255,0.05) inset;
  }
  50% {
    border-top-color: rgba(245,197,24,0.42);
    box-shadow: 0 4px 28px rgba(0,0,0,0.45), 0 0 12px rgba(245,197,24,0.08);
  }
}
@keyframes tileLit {
  0%   { box-shadow: 0 6px 36px rgba(0,0,0,0.50), 0 0 0 1px rgba(245,197,24,0.30), 0 0 40px rgba(245,197,24,0.12); }
  40%  { box-shadow: 0 8px 42px rgba(0,0,0,0.50), 0 0 0 1px rgba(245,197,24,0.45), 0 0 55px rgba(245,197,24,0.20); }
  100% { box-shadow: 0 6px 36px rgba(0,0,0,0.50), 0 0 0 1px rgba(245,197,24,0.30), 0 0 40px rgba(245,197,24,0.12); }
}
@keyframes iconPop {
  0%   { transform: scale(1) rotate(0deg); }
  40%  { transform: scale(1.28) rotate(-10deg); }
  70%  { transform: scale(0.94) rotate(4deg); }
  100% { transform: scale(1.10) rotate(-5deg); }
}

/* ════════════════════════════════════
   IN ACTION GALLERY
   ════════════════════════════════════ */

.in-action {
  padding: var(--section-pad) 0;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

/* Top separator line */
.in-action::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(245,197,24,0.22) 35%, rgba(245,197,24,0.22) 65%, transparent 100%);
}

/* Subtle ambient glow behind the grid */
.in-action::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 70%; height: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(13,0,90,0.0) 0%, rgba(8,0,64,0.50) 100%);
  pointer-events: none;
  z-index: 0;
}

.gallery-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.gallery-header .section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 16px;
}

.gallery-header .section-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Grid layout ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 270px;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* ── Individual photo card ── */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--navy-deep);
  cursor: pointer;
  /* Subtle border */
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
  transition: box-shadow 0.40s ease, transform 0.40s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}

.gallery-item:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.60), 0 0 0 1px rgba(245,197,24,0.25);
  transform: translateY(-3px);
  z-index: 2;
}

/* Tall variant — spans 2 row tracks */
.gallery-item--tall {
  grid-row: span 2;
}

/* ── The photograph ── */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94),
              filter 0.55s ease;
  will-change: transform;
}

.gallery-item:hover img {
  transform: scale(1.07);
  filter: brightness(0.70);
}

/* ── Subtle always-on vignette — deepens on hover for polish ── */
.gallery-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(8,0,64,0.45) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.45s ease;
}

.gallery-item:hover::before {
  opacity: 0.65;
}

/* ── Responsive: tablet adjustments ── */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
    gap: 10px;
  }

  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .logo-card { padding: 24px 20px; }
}

/* ── Responsive: single column on mobile ── */
@media (max-width: 600px) {
  .in-action {
    padding: 72px 0 64px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
    gap: 10px;
  }
  /* Tall items revert to standard height on mobile */
  .gallery-item--tall {
    grid-row: span 1;
  }
}

/* ════════════════════════════════════
   RESPONSIVE — 1200px (tablet landscape)
   ════════════════════════════════════ */
@media (max-width: 1200px) {
  :root { --section-pad: 96px; }

  .hero-inner {
    grid-template-columns: 1fr 280px;
    gap: 40px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-right { position: static; }

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

  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
}

/* ════════════════════════════════════
   RESPONSIVE — 900px (tablet portrait)
   ════════════════════════════════════ */
@media (max-width: 900px) {
  :root { --section-pad: 80px; }
  .container { padding: 0 24px; }

  .nav-links,
  .nav-certs { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 120px 24px 80px;
  }
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 24px;
  }
  .hstat { min-width: 100px; }
  .hstat-divider { display: none; }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid-3 {
    grid-template-columns: 1fr;
  }

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

  .form-row-2 { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 28px 20px; }

  .impact-callout-inner { padding: 36px 28px; }
}

/* ════════════════════════════════════
   RESPONSIVE — 768px (tablet portrait)
   ════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --section-pad: 72px; }

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

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

  .hero-inner { padding: 120px 24px 72px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .impact-callout-inner { padding: 40px 32px; }
}

/* ════════════════════════════════════
   RESPONSIVE — 600px (mobile)
   ════════════════════════════════════ */
@media (max-width: 600px) {
  :root { --section-pad: 60px; }
  .container { padding: 0 16px; }

  .hero-headline { font-size: 3rem; }
  .hero-logo-img { height: 52px; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-stats { flex-direction: column; }

  .tiles-grid { grid-template-columns: 1fr; }

  .about-certs-row { flex-direction: column; }

  .impact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .contact-reach-badges { flex-direction: row; }

  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 340px; }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 32px;
  }
  .logo-card { padding: 20px 12px; }
  .logo-card img { max-height: 52px; }

}

/* ════════════════════════════════════
   WORKFORCE IMPACT SECTION
   ════════════════════════════════════ */
.workforce-impact {
  padding: var(--section-pad) 0;
}

.impact-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.impact-pillar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.26s ease, transform 0.26s ease;
  position: relative;
  overflow: hidden;
}

.impact-pillar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.26s ease;
}

.impact-pillar:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
}

.impact-pillar:hover::after {
  opacity: 1;
}

.impact-pillar-icon {
  color: var(--gold);
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.impact-pillar-icon svg {
  width: 100%;
  height: 100%;
}

.impact-pillar-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.15;
}

.impact-pillar-body {
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--white-70);
  flex: 1;
}

.impact-pillar-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--gold-border) 0%, transparent 80%);
  margin-top: auto;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .impact-pillars {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .impact-pillar { padding: 32px 28px; }
}

/* ════════════════════════════════════
   STAY CONNECTED — MAILING LIST
   ════════════════════════════════════ */
.stay-connected {
  padding: var(--section-pad) 0;
}

.stay-connected-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.stay-connected-header {
  margin-bottom: 56px;
}

.stay-connected-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--white-70);
  max-width: 540px;
  margin: 0 auto;
}

/* ── Form layout ── */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.signup-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.signup-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.signup-field label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--white-70);
  display: flex;
  align-items: center;
  gap: 8px;
}

.signup-optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white-25);
  font-size: 0.78rem;
}

.signup-field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.signup-field input::placeholder {
  color: rgba(255, 255, 255, 0.30);
}

.signup-field input:focus {
  border-color: rgba(245, 197, 24, 0.55);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.10);
}

/* ── Submit area ── */
.signup-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.signup-privacy {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--white-25);
  letter-spacing: 0.02em;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .stay-connected-inner { padding: 0 4px; }
  .signup-action .btn { width: 100%; justify-content: center; }
}
