/* NB Technologies — Professional dark-blue design system
   Navy + royal blue. Distinct from Live Route (navy+amber).
   Fonts: Outfit (headings + body)
   Motif: three equal pillars / foundation bars / blue accent rules
*/

:root {
  --navy: #0A1628;
  --navy-mid: #0B1F3A;
  --navy-soft: #132338;
  --blue: #2563EB;
  --blue-deep: #1B4F9C;
  --blue-soft: #DBEAFE;
  --blue-glow: rgba(37, 99, 235, 0.16);
  --surface: #F5F7FB;
  --surface-deep: #E8EEF7;
  --paper: #FFFFFF;
  --ink: #0F172A;
  --ink-soft: #334155;
  --muted: #64748B;
  --line: rgba(15, 23, 42, 0.09);
  --line-strong: rgba(15, 23, 42, 0.15);
  --on-dark: #F1F5F9;
  --on-dark-dim: #94A3B8;
  --white: #FFFFFF;
  --header-h: 74px;
  --preview-h: 0px;
  --max: 1120px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 4px 18px rgba(10, 22, 40, 0.05);
  --shadow-lg: 0 12px 36px rgba(10, 22, 40, 0.08);
  --font: "Outfit", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", system-ui, -apple-system, sans-serif;
  --t: 0.22s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--header-h) + var(--preview-h));
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--ink);
}

h1 { font-size: clamp(2.15rem, 4.4vw, 3.35rem); font-weight: 650; }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}

/* Preview banner removed from live pages; keep zero-height token for layout math */
.preview-banner { display: none; }

/* Header */
.site-header {
  position: fixed;
  top: var(--preview-h);
  left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(245, 247, 251, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.05);
}

/* Home: full-bleed hero under transparent header */
body.home {
  padding-top: var(--preview-h);
}

body.home .site-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

body.home .site-header .brand-text,
body.home .site-header .brand-text span {
  color: var(--white);
}

body.home .site-header .nav a {
  color: rgba(241, 245, 249, 0.82);
}

body.home .site-header .nav a:hover,
body.home .site-header .nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

body.home .site-header .nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

body.home .site-header .header-cta.btn-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: none;
}

body.home .site-header .header-cta.btn-primary:hover {
  background: #E2E8F0;
  color: var(--navy);
}

body.home .site-header .nav-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

body.home .site-header .nav-toggle span {
  background: var(--white);
}

/* Scrolled / solid header restores light theme */
body.home .site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.05);
}

body.home .site-header.scrolled .brand-text {
  color: var(--ink);
}

body.home .site-header.scrolled .brand-text span {
  color: var(--muted);
}

body.home .site-header.scrolled .nav a {
  color: var(--muted);
}

body.home .site-header.scrolled .nav a:hover,
body.home .site-header.scrolled .nav a:focus-visible {
  color: var(--ink);
  background: var(--surface-deep);
}

body.home .site-header.scrolled .nav a.active {
  color: var(--blue-deep);
  background: var(--blue-soft);
}

body.home .site-header.scrolled .header-cta.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}

body.home .site-header.scrolled .header-cta.btn-primary:hover {
  background: var(--blue-deep);
  color: #fff;
}

body.home .site-header.scrolled .nav-toggle {
  background: var(--paper);
  border-color: var(--line-strong);
}

body.home .site-header.scrolled .nav-toggle span {
  background: var(--ink);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 40px; height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-logo-light { display: none; }

body.home .site-header:not(.scrolled) .brand-logo-dark { display: none; }
body.home .site-header:not(.scrolled) .brand-logo-light { display: block; }

.brand-text span { font-weight: 500; color: var(--muted); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  transition: color var(--t), background var(--t);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  background: var(--surface-deep);
  outline: none;
}

.nav a.active {
  color: var(--blue-deep);
  background: var(--blue-soft);
}

.header-cta { margin-left: 8px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform var(--t), opacity var(--t);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}

.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--surface-deep);
  border-color: var(--ink-soft);
}

.btn-ghost-light {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(241, 245, 249, 0.28);
}

.btn-ghost-light:hover {
  background: rgba(241, 245, 249, 0.08);
  border-color: rgba(241, 245, 249, 0.5);
}

.btn-on-dark {
  background: var(--blue);
  color: #fff;
}

.btn-on-dark:hover { background: #3B82F6; }

.btn-lg { padding: 14px 26px; font-size: 15px; }

/* Eyebrows / kickers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: none;
}

.eyebrow-light { color: #93C5FD; }
.eyebrow-light::before { background: #93C5FD; }

/* Sections */
.section {
  padding: 112px 0;
}

.section-tight { padding: 80px 0; }

.section-surface { background: var(--surface); }
.section-cream { background: var(--surface); }
.section-paper { background: var(--paper); }
.section-dark {
  background: var(--navy);
  color: var(--on-dark);
}
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: var(--on-dark); }

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-head p { color: var(--on-dark-dim); }

.section-head.centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-head.centered p { margin: 0 auto; }

/* Hero — Tesla-inspired full-bleed (NB brand) */
.hero {
  position: relative;
  min-height: calc(100vh - var(--preview-h));
  min-height: calc(100dvh - var(--preview-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 22, 40, 0.70) 0%,
      rgba(10, 22, 40, 0.52) 40%,
      rgba(10, 22, 40, 0.78) 75%,
      rgba(10, 22, 40, 0.92) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-top: calc(var(--header-h) + clamp(36px, 8vh, 88px));
  padding-bottom: clamp(56px, 8vh, 88px);
  gap: clamp(40px, 7vh, 72px);
  text-align: center;
  max-width: 980px;
}

.hero-copy {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(1.55rem, 4.2vw, 3.75rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(10, 22, 40, 0.35);
  white-space: nowrap;
}

.eyebrow-on-hero {
  color: #93C5FD;
  justify-content: center;
  margin-bottom: 16px;
}

.eyebrow-on-hero::before {
  background: #93C5FD;
}

.hero-copy .lead {
  margin-top: 16px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: rgba(241, 245, 249, 0.88);
  max-width: 32em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.btn-hero-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: none;
  min-width: 180px;
  padding-left: 28px;
  padding-right: 28px;
}

.btn-hero-primary:hover {
  background: #3B82F6;
  border-color: #3B82F6;
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-width: 180px;
  padding-left: 28px;
  padding-right: 28px;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.85);
}

/* Three pillars (Contracting & Mission Solutions · Startup Creation · Workforce Development) */
.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid rgba(147, 197, 253, 0.22);
  padding-top: 8px;
}

.hero-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 22px 18px 10px;
  color: var(--on-dark);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background var(--t), transform var(--t);
}

.hero-pillar + .hero-pillar {
  border-left: 1px solid rgba(148, 163, 184, 0.18);
}

.hero-pillar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93C5FD;
  margin-bottom: 4px;
}

.hero-pillar h3 {
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.015em;
}

.hero-pillar-sub {
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.95);
  max-width: 16em;
  margin: 0;
}

.hero-pillar:hover,
.hero-pillar:focus-visible {
  background: rgba(37, 99, 235, 0.12);
  outline: none;
}

.hero-pillar:hover .hero-pillar-sub,
.hero-pillar:focus-visible .hero-pillar-sub {
  color: #CBD5E1;
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: rgba(241, 245, 249, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  transition: color var(--t), background var(--t);
  animation: hero-chevron 2.2s ease-in-out infinite;
}

.hero-scroll:hover,
.hero-scroll:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

@keyframes hero-chevron {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* Motif: three stacked foundation bars */
.foundation-motif {
  display: none;
}

.foundation-bar {
  height: 6px;
  border-radius: 999px;
  flex: 1;
  background: var(--surface-deep);
  position: relative;
  overflow: hidden;
}

.foundation-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  animation: fillBar 1.1s ease forwards;
}

.foundation-bar:nth-child(1)::after { animation-delay: 0.15s; }
.foundation-bar:nth-child(2)::after { animation-delay: 0.35s; }
.foundation-bar:nth-child(3)::after { animation-delay: 0.55s; }

@keyframes fillBar {
  to { transform: scaleX(1); }
}

/* ============================================================
   Foundation / three pillars (home) — photo cards + trust band
   ============================================================ */
.foundation {
  background: var(--surface);
  padding: 0;
  overflow: hidden;
}

.foundation-inner {
  padding: 112px 28px 88px;
}

.foundation-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.foundation-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.foundation-kicker::before,
.foundation-kicker::after {
  content: none;
}

.foundation-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 650;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}

.foundation-lede {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.foundation-intro {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38em;
  margin: 0 auto;
  line-height: 1.7;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pillar-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--t), border-color var(--t);
}

.pillar-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.pillar-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: var(--navy-mid);
}

.pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.pillar-card:hover .pillar-media img {
  transform: none;
}

.pillar-media::after {
  content: none;
}

.pillar-badge {
  display: none;
}

.pillar-body {
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}

.pillar-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.pillar-body h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.55rem);
  font-weight: 650;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.pillar-tagline {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.pillar-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.pillar-checks {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
  text-align: left;
}

.pillar-checks li {
  position: relative;
  padding: 0 0 0 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.4;
}

.pillar-checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.btn-pillar {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  box-shadow: none;
  transition: color var(--t);
}

.btn-pillar:hover {
  background: transparent;
  color: var(--blue);
  transform: none;
  box-shadow: none;
}

/* Dark navy trust band under pillars */
.foundation-band {
  position: relative;
  background: var(--navy);
  color: var(--on-dark);
  padding: 48px 0 40px;
  margin-top: 0;
  overflow: hidden;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.foundation-band-mountains {
  display: none;
}

.foundation-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
}

.f-stat {
  text-align: center;
  padding: 12px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.f-stat + .f-stat {
  border-left: 1px solid rgba(148, 163, 184, 0.22);
}

.f-stat-icon {
  display: none;
}

.f-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  font-weight: 650;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.f-stat span {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
}

.foundation-band-foot {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--on-dark-dim);
}


/* Why / trust band */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.why-list {
  display: grid;
  gap: 28px;
}

.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.why-item .mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--blue-glow);
  color: #93C5FD;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.why-item h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--on-dark); }
.why-item p { color: var(--on-dark-dim); font-size: 0.95rem; }


/* Page hero */
.page-hero {
  padding: 72px 0 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero .lead {
  margin-top: 14px;
  max-width: 38em;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* Services detail */
.svc-stack { display: grid; gap: 40px; }

.svc-panel {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 40px 40px 32px;
  box-shadow: none;
  align-items: start;
}

.svc-aside {
  text-align: left;
  padding: 8px 0 0;
  background: transparent;
  border-radius: 0;
}

.svc-aside .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 650;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}

.svc-aside .tag {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.svc-aside .icon-wrap {
  display: none;
}

.svc-aside .icon-wrap svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-media {
  margin: 0 0 20px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--surface-deep);
}

.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-body h2 { margin-bottom: 6px; }

.svc-body .svc-sub {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--blue);
  margin-bottom: 12px;
}

.svc-body > p { color: var(--ink-soft); margin-bottom: 12px; }

.svc-body ul {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.svc-body li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.svc-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.sub-offers {
  margin-top: 28px;
  display: grid;
  gap: 20px;
}
.sub-offer {
  background: var(--surface, #F5F7FB);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
}
.sub-offer h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--ink);
}
.sub-offer > p {
  color: var(--ink-soft);
  margin-bottom: 12px;
  font-size: 0.98rem;
}
.sub-offer ul {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}
.sub-offer li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.sub-offer li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
}


/* About */
.about-intro {
  margin-top: 28px;
  max-width: 42em;
  display: grid;
  gap: 14px;
}

.about-intro p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.about-narrow { max-width: 780px; margin: 0 auto; }

.about-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.about-prose h2 { margin: 32px 0 12px; }
.about-prose h2:first-of-type { margin-top: 0; }
.about-prose p { color: var(--ink-soft); margin-bottom: 14px; }
.about-prose-center { text-align: center; }
.about-prose-center p { margin-left: auto; margin-right: auto; max-width: 40em; }

.about-prose > ul {
  margin: 14px 0 8px;
  display: grid;
  gap: 10px;
}

.about-prose > ul li {
  padding-left: 22px;
  position: relative;
  color: var(--ink-soft);
}

.about-prose > ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.about-pillar {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}

.about-pillar:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.about-pillar-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 12px;
}

.about-pillar h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.about-pillar p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  flex: 1;
  margin-bottom: 18px;
}

.about-pillar-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue);
}

.about-pillar:hover .about-pillar-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-approach-label {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.about-approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.about-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.about-step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 10px;
}

.about-step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.about-step p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin: 0;
}

.about-slideshow {
  margin-top: 8px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

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

.value-item {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
}

.value-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value-item p { color: var(--muted); font-size: 0.94rem; margin: 0; }

.side-card {
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: sticky;
  top: calc(var(--header-h) + var(--preview-h) + 20px);
}

.side-card h3 { color: var(--on-dark); margin-bottom: 10px; }
.side-card p { color: var(--on-dark-dim); font-size: 0.95rem; margin-bottom: 18px; }

.side-card .pillars-mini {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.side-card .pillars-mini span {
  display: block;
  padding: 10px 14px;
  background: rgba(241, 245, 249, 0.06);
  border: 1px solid rgba(241, 245, 249, 0.12);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}

/* Slideshow */
.slideshow-section {
  padding-top: 0;
}

.slideshow {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-mid);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  max-height: 520px;
}

.slideshow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 28px 24px;
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.82));
  color: var(--on-dark);
  font-size: 0.98rem;
  font-weight: 500;
  z-index: 2;
}

.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 22, 40, 0.45);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background var(--t), border-color var(--t);
}

.slideshow-btn:hover,
.slideshow-btn:focus-visible {
  background: rgba(37, 99, 235, 0.85);
  border-color: transparent;
  outline: none;
}

.slideshow-btn.prev { left: 14px; }
.slideshow-btn.next { right: 14px; }

.slideshow-btn svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slideshow-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.4);
  backdrop-filter: blur(6px);
}

.slideshow-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}

.slideshow-dots button[aria-current="true"] {
  background: #fff;
  transform: scale(1.2);
}

.slideshow-dots button:focus-visible {
  outline: 2px solid #93C5FD;
  outline-offset: 2px;
}

.slideshow.is-paused .slide-caption::after {
  /* subtle pause cue via reduced motion of progress — handled in JS */
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.contact-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.contact-item h3 {
  font-size: 0.8rem;
  font-family: var(--font);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.contact-item a {
  color: var(--ink);
  font-weight: 500;
}

.contact-item a:hover { color: var(--blue); }
.contact-item p { color: var(--ink-soft); margin: 0; }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-card h2 { margin-bottom: 8px; }
.form-intro { color: var(--muted); margin-bottom: 24px; font-size: 0.98rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  transition: border-color var(--t), box-shadow var(--t);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.form-group textarea { min-height: 140px; resize: vertical; }

/* CTA band */
.cta-band {
  padding: 96px 0;
  background: var(--navy);
  color: var(--on-dark);
  text-align: center;
}

.cta-band h2 { color: var(--on-dark); margin-bottom: 12px; }
.cta-band p {
  color: var(--on-dark-dim);
  max-width: 32em;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

.cta-band .actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--on-dark-dim);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.1rem;
  color: var(--on-dark);
  margin-bottom: 12px;
}

.footer-brand img {
  width: 36px; height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-grid p { font-size: 0.95rem; max-width: 28em; }

.footer-col h4 {
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.95rem;
  color: var(--on-dark-dim);
  transition: color var(--t);
}

.footer-col a:hover { color: #93C5FD; }

.footer-bottom {
  border-top: 1px solid rgba(241, 245, 249, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}

.skip-link:focus { left: 0; }


@media (max-width: 1100px) and (min-width: 921px) {
  .pillar-grid { gap: 22px; }
  .pillar-body { padding: 24px 20px 22px; }
  .foundation-inner { padding-left: 24px; padding-right: 24px; }
}
/* Responsive */
@media (max-width: 920px) {
  .section-head,
  .why-grid,
  .about-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head { align-items: start; }
  .pillar-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .foundation-inner { padding: 88px 28px 64px; }
  .foundation-head { margin-bottom: 40px; }
  .foundation-stats { grid-template-columns: 1fr; gap: 8px; }
  .f-stat + .f-stat { border-left: none; border-top: 1px solid rgba(148, 163, 184, 0.22); padding-top: 22px; }
  .foundation-band { padding: 40px 0 32px; }
  .svc-panel { grid-template-columns: 1fr; gap: 20px; }
  .svc-aside { display: flex; align-items: center; gap: 16px; text-align: left; padding: 16px; }
  .svc-aside .icon-wrap { margin: 0 0 0 auto; }
  .values-grid,
  .values-grid-4 { grid-template-columns: 1fr; }
  .about-pillars,
  .about-approach { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .slideshow { max-height: 380px; }

  .hero-pillars {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid rgba(147, 197, 253, 0.22);
  }

  .hero-pillar + .hero-pillar {
    border-left: none;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
  }

  .hero-pillar {
    padding: 18px 12px;
    align-items: center;
  }

  .hero-inner {
    padding-top: calc(var(--header-h) + 28px);
    padding-bottom: 64px;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .header-cta { display: none; }

  .header-inner { position: relative; }

  .section { padding: 64px 0; }
  .hero { min-height: calc(100svh - var(--preview-h)); }
  .hero-copy h1 { font-size: clamp(1.35rem, 6.5vw, 2.1rem); white-space: nowrap; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 280px; }
  .btn-hero-primary,
  .btn-hero-outline { width: 100%; min-width: 0; }
  .slideshow-btn { width: 38px; height: 38px; }

  /* Mobile nav panel stays readable over transparent header */
  body.home .site-header .nav {
    background: var(--navy-mid);
    border-bottom-color: rgba(148, 163, 184, 0.2);
  }

  body.home .site-header .nav a,
  body.home .site-header .nav a.active {
    color: var(--white);
  }

  body.home .site-header .nav a:hover,
  body.home .site-header .nav a:focus-visible,
  body.home .site-header .nav a.active {
    background: rgba(255, 255, 255, 0.1);
  }

  body.home .site-header.scrolled .nav {
    background: var(--paper);
    border-bottom-color: var(--line);
  }

  body.home .site-header.scrolled .nav a {
    color: var(--muted);
  }

  body.home .site-header.scrolled .nav a:hover,
  body.home .site-header.scrolled .nav a:focus-visible {
    color: var(--ink);
    background: var(--surface-deep);
  }

  body.home .site-header.scrolled .nav a.active {
    color: var(--blue-deep);
    background: var(--blue-soft);
  }
  .slide-caption { font-size: 0.9rem; padding: 36px 18px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .foundation-bar::after { transform: scaleX(1); }
  .slide { transition: none; }
  .hero-scroll { animation: none !important; }
}
