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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* DESIGN TOKENS */
:root {
  --navy:           #001B2D;
  --navy-deep:      #001B2D;
  --navy-mid:       #002540;
  --navy-light:     #003459;
  --accent:         #0066FF;
  --accent-hover:   #1A75FF;
  --white:          #FFFFFF;
  --text-muted:     #7A9AAD;
  --text-dim:       rgba(255 255 255 / 0.55);
  --border-subtle:  rgba(255 255 255 / 0.07);
  --border-accent:  rgba(0 102 255 / 0.28);

  --font: 'Red Hat Display', system-ui, -apple-system, sans-serif;

  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2rem;
  --sp-xl:  3rem;
  --sp-2xl: 5rem;
  --sp-3xl: 8rem;

  --max-w:  1280px;
  --pad-x:  2rem;
  --nav-h:  80px;

  --r-sm: 4px;
  --r-md: 8px;

  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 400ms ease;
}

/* BASE */
body {
  font-family: var(--font);
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a        { color: inherit; text-decoration: none; }
ul, ol   { list-style: none; }
address  { font-style: normal; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

/* LAYOUT UTILITIES */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: var(--sp-3xl);
}

.section-dark {
  background-color: var(--navy-deep);
}

.section-light {
  background-color: var(--white);
}

.section-light .section-heading {
  color: var(--navy-deep);
}

.section-light .about-text p {
  color: rgba(3, 10, 28, 0.65);
}

.section-light .about-pillars {
  border-block-start-color: rgba(3, 10, 28, 0.10);
}

.section-light .pillar-label {
  color: rgba(3, 10, 28, 0.45);
}

.section-light .pillar-value {
  color: var(--navy-deep);
}

.section-light .approach-intro {
  color: rgba(0, 27, 45, 0.72);
}

.section-light .approach-body {
  color: rgba(0, 27, 45, 0.55);
}

.section-light .principle {
  border-block-end-color: rgba(0, 27, 45, 0.10);
}

.section-light .principle-title {
  color: var(--navy-deep);
}

.section-light .principle-desc {
  color: rgba(0, 27, 45, 0.55);
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: var(--sp-md);
}

.section-heading {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: var(--sp-lg);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t-base), color var(--t-base),
              border-color var(--t-base), gap var(--t-base);
  white-space: nowrap;
}

/* Filled solid (btn-primary) */
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  flex-shrink: 0;
  background: currentColor;
  transition: width var(--t-base);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-primary:hover::before { width: 24px; }

/* Outline → fills on hover (btn-ghost) */
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255 255 255 / 0.35);
}

.btn-ghost::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  flex-shrink: 0;
  background: currentColor;
  transition: width var(--t-base);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy-deep);
  border-color: var(--white);
}

.btn-ghost:hover::before { width: 24px; }

/* On light sections */
.section-light .btn-ghost {
  color: var(--navy-deep);
  border-color: rgba(0, 27, 45, 0.3);
}

.section-light .btn-ghost:hover {
  background: var(--navy-deep);
  color: var(--white);
  border-color: var(--navy-deep);
}

/* Filled → reverses to outline on hover (btn-reverse) */
.btn-reverse {
  background: var(--white);
  color: var(--navy-deep);
  border-color: var(--white);
}

.btn-reverse::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  flex-shrink: 0;
  background: currentColor;
  transition: width var(--t-base);
}

.btn-reverse:hover {
  background: transparent;
  color: var(--white);
  border-color: rgba(255 255 255 / 0.5);
}

.btn-reverse:hover::before { width: 24px; }

/* On light sections */
.section-light .btn-reverse {
  background: var(--navy-deep);
  color: var(--white);
  border-color: var(--navy-deep);
}

.section-light .btn-reverse:hover {
  background: transparent;
  color: var(--navy-deep);
  border-color: rgba(0, 27, 45, 0.4);
}

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

/* NAVIGATION */
.nav-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background-color var(--t-slow), backdrop-filter var(--t-slow),
              box-shadow var(--t-slow);
}

.nav-header.scrolled {
  background-color: rgba(0 27 45 / 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border-subtle);
}


.nav-container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-icon {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255 255 255 / 0.72);
  letter-spacing: 0.03em;
  transition: color var(--t-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  inset-block-end: -3px;
  inset-inline-start: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--t-base);
}

.nav-link:hover              { color: var(--white); }
.nav-link:hover::after       { width: 100%; }

.nav-link.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  border: 1px solid rgba(255 255 255 / 0.3);
  border-radius: 0;
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color var(--t-base), gap var(--t-base);
}

.nav-link.nav-cta::before {
  content: '';
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
  transition: width var(--t-base);
}

.nav-link.nav-cta::after { display: none; }

.nav-link.nav-cta:hover {
  background: var(--white);
  color: var(--navy-deep);
  border-color: var(--white);
}

.nav-link.nav-cta:hover::before { width: 20px; }

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  position: relative;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform var(--t-base), opacity var(--t-base);
  transform-origin: center;
}

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

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: var(--navy);
  overflow: hidden;
}

/* Background layers */
.hero-bg { position: absolute; inset: 0; z-index: 0; }

/* D3 map SVG — starts invisible, JS fades to 0.72 after load */
.hero-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}



.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 85% 35%, rgba(0 80 200 / 0.35) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 15% 75%, rgba(0 40 120 / 0.18) 0%, transparent 65%);
}

/* Fade edge at bottom */
.hero::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  height: 240px;
  background: linear-gradient(transparent, var(--navy));
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-block-start: var(--nav-h);
  max-width: 900px;
  display: block;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: var(--sp-md);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.97;
  color: var(--white);
  margin-bottom: var(--sp-lg);
}

/* Accent color on the headline em line */
.hero-headline-accent {
  font-style: normal;
  color: var(--accent);
}

.hero-subtext {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 400;
  color: rgba(255 255 255 / 0.62);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: var(--sp-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  inset-block-end: 2.5rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  45%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  55%  { opacity: 1; transform: scaleY(1); transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--sp-2xl);
  align-items: start;
}

.about-sidebar {
  padding-block-start: 0.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.about-text p {
  font-size: 1.075rem;
  color: rgba(255 255 255 / 0.72);
  line-height: 1.82;
  margin-bottom: var(--sp-md);
}

.about-text p:last-child { margin-bottom: 0; }

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-block-start: var(--sp-2xl);
  padding-block-start: var(--sp-xl);
  border-block-start: 1px solid var(--border-subtle);
}

.pillar { display: flex; flex-direction: column; gap: 0.35rem; }

.pillar-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.pillar-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
}

/* SERVICES */
.section-header { margin-bottom: var(--sp-2xl); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  position: relative;
  padding: var(--sp-xl);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  background-color: rgba(255 255 255 / 0.02);
  overflow: hidden;
  transition: border-color var(--t-base), background-color var(--t-base),
              transform var(--t-slow);
}

/* Accent top-border reveal on hover */
.service-card::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}

.service-card:hover {
  border-color: var(--border-accent);
  background-color: rgba(0 102 255 / 0.04);
  transform: translateY(-5px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-number {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  opacity: 0.65;
  margin-bottom: var(--sp-md);
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-md);
  line-height: 1.25;
}

.service-desc {
  font-size: 0.925rem;
  color: rgba(255 255 255 / 0.58);
  line-height: 1.78;
}

/* APPROACH */

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: start;
}

.approach-intro {
  font-size: 1.075rem;
  color: rgba(255 255 255 / 0.82);
  line-height: 1.8;
  margin-bottom: var(--sp-md);
}

.approach-body {
  font-size: 1rem;
  color: rgba(255 255 255 / 0.58);
  line-height: 1.8;
  margin-bottom: var(--sp-xl);
}

.principles {
  display: flex;
  flex-direction: column;
}

.principle {
  display: flex;
  gap: var(--sp-md);
  align-items: flex-start;
  padding-block: var(--sp-lg);
  border-block-end: 1px solid var(--border-subtle);
}

.principle:first-child { padding-block-start: 0; }
.principle:last-child  { border-block-end: none; padding-block-end: 0; }

.principle-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-block-start: 2px;
}

.principle-title {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.principle-desc {
  font-size: 0.875rem;
  color: rgba(255 255 255 / 0.52);
  line-height: 1.75;
  padding-inline-start: calc(22px + 0.75rem);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--sp-3xl);
  align-items: start;
}

.contact-desc {
  font-size: 1rem;
  color: rgba(255 255 255 / 0.62);
  line-height: 1.8;
  margin-bottom: var(--sp-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.contact-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.contact-value {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  transition: color var(--t-fast);
}

.contact-value:hover { color: var(--accent); }

.external-icon {
  width: 11px;
  height: 11px;
  opacity: 0.6;
  flex-shrink: 0;
}

.contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}

.footer-nav-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-nav-icon-link svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.55;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255 255 255 / 0.56);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: rgba(255 255 255 / 0.04);
  border: 1px solid rgba(255 255 255 / 0.1);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--white);
  width: 100%;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%237A9AAD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-inline-end: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background-color: var(--navy-mid);
  color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255 255 255 / 0.22); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background-color: rgba(0 102 255 / 0.05);
}

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

.form-group--checkbox {
  flex-direction: row;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  border: 1.5px solid rgba(255 255 255 / 0.3);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.checkbox-label input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 45%;
  width: 5px;
  height: 9px;
  border: 1.5px solid #fff;
  border-top: none;
  border-left: none;
  transform: translate(-50%, -50%) rotate(45deg);
}

.checkbox-label span {
  font-size: 0.78rem;
  color: rgba(255 255 255 / 0.45);
  line-height: 1.5;
}

/* Form success */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-2xl) var(--sp-xl);
  gap: var(--sp-md);
}

.form-success.visible { display: flex; }

.success-icon {
  width: 52px;
  height: 52px;
  margin-bottom: var(--sp-xs);
}

.form-success h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.form-success p {
  font-size: 0.95rem;
  color: rgba(255 255 255 / 0.6);
  line-height: 1.7;
}

/* FOOTER */
.footer {
  background-color: var(--navy-deep);
  padding-block: var(--sp-2xl) var(--sp-xl);
  border-block-start: 1px solid var(--border-subtle);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-block-end: var(--sp-xl);
  border-block-end: 1px solid var(--border-subtle);
  margin-block-end: var(--sp-xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.footer-logo .nav-logo-icon { height: 28px; }

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-block-start: var(--sp-sm);
}

.footer-nav {
  display: flex;
  gap: var(--sp-2xl);
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer-nav-group a {
  font-size: 0.875rem;
  color: rgba(255 255 255 / 0.45);
  transition: color var(--t-fast);
}

.footer-nav-group a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.footer-legal {
  font-size: 0.72rem;
  color: rgba(255 255 255 / 0.28);
  line-height: 1.75;
  max-width: 680px;
}

.footer-links {
  display: flex;
  gap: var(--sp-md);
  flex-shrink: 0;
}

.footer-links a {
  font-size: 0.72rem;
  color: rgba(255 255 255 / 0.28);
  transition: color var(--t-fast);
  white-space: nowrap;
}

.footer-links a:hover { color: rgba(255 255 255 / 0.65); }

/* HERO COLUMN LINES */
#hero-columns {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

#hero-columns span {
  border-inline-end: 1px solid rgba(255, 255, 255, 0.045);
}

#hero-columns span:first-child {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.045);
}

/* STATS STRIP */
.stats-strip {
  background-color: var(--navy-deep);
  border-block-start: 1px solid rgba(255 255 255 / 0.06);
  border-block-end: 1px solid rgba(255 255 255 / 0.06);
  padding-block: var(--sp-xl);
}

.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
  text-align: center;
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-inline: var(--sp-sm);
  border-inline-end: 1px solid rgba(255 255 255 / 0.07);
}

.stat-item:last-child { border-inline-end: none; }

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}

.stat-accent { color: var(--accent); }

.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

/* IMAGE SPLIT SECTION */
.img-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: center;
}

.img-split-grid.reverse { direction: rtl; }
.img-split-grid.reverse > * { direction: ltr; }

.img-placeholder {
  aspect-ratio: 4 / 3;
  background: #e4ecf4;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: #94afc5;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  overflow: hidden;
}

.img-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.45;
}

.img-split-text .section-label { margin-bottom: var(--sp-md); }

.img-split-text .section-heading {
  margin-bottom: var(--sp-lg);
}

.img-split-body {
  font-size: 1rem;
  color: rgba(0, 27, 45, 0.62);
  line-height: 1.82;
  margin-bottom: var(--sp-md);
}

.img-split-body:last-of-type { margin-bottom: var(--sp-xl); }

/* SERVICES — light mode overrides */
.section-light .service-card {
  background-color: #f4f8fc;
  border-color: rgba(0, 27, 45, 0.10);
}

.section-light .service-card:hover {
  background-color: #eaf1fa;
  border-color: var(--accent);
}

.section-light .service-title { color: var(--navy-deep); }

.section-light .service-desc  { color: rgba(0, 27, 45, 0.58); }

.section-light .section-heading { color: var(--navy-deep); }

/* BY THE NUMBERS */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2xl) var(--sp-xl);
  margin-block-start: var(--sp-2xl);
}

.number-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-block-start: var(--sp-lg);
  border-block-start: 1px solid rgba(255 255 255 / 0.12);
}

.number-value {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}

.number-value span { color: var(--accent); }

.number-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.number-desc {
  font-size: 0.875rem;
  color: rgba(255 255 255 / 0.52);
  line-height: 1.7;
}

/* VIDEO BANNER */
.img-banner {
  padding-block: 0;
  position: relative;
  overflow: hidden;
  height: 520px;
}

.img-banner-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.img-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,  rgba(0, 27, 45, 0.55) 0%,  transparent 35%, transparent 65%, rgba(0, 27, 45, 0.65) 100%),
    linear-gradient(135deg, rgba(0, 27, 45, 0.4) 0%, rgba(0, 102, 255, 0.08) 50%, rgba(0, 27, 45, 0.4) 100%);
}

.img-banner-fade {
  position: absolute;
  inset: 0;
  background: var(--navy-deep);
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

/* FOOTER ATTRIBUTION */
.footer-attribution {
  font-size: 0.7rem;
  color: rgba(255 255 255 / 0.22);
  white-space: nowrap;
}

.footer-attribution a {
  color: rgba(255 255 255 / 0.22);
  transition: color var(--t-fast);
}

.footer-attribution a:hover { color: rgba(255 255 255 / 0.5); }

/* SCROLL ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger within grids */
.services-grid  .fade-up:nth-child(2) { transition-delay: 0.1s; }
.services-grid  .fade-up:nth-child(3) { transition-delay: 0.2s; }
.principles     .fade-up:nth-child(2) { transition-delay: 0.08s; }
.principles     .fade-up:nth-child(3) { transition-delay: 0.16s; }
.principles     .fade-up:nth-child(4) { transition-delay: 0.24s; }

/* RESPONSIVE: TABLET (≤ 1024px) */
@media (max-width: 1024px) {
  :root {
    --sp-3xl: 6rem;
    --sp-2xl: 4rem;
  }

  .about-grid {
    grid-template-columns: 140px 1fr;
    gap: var(--sp-xl);
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }

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

  .stats-strip-grid .stat-item:nth-child(2) { border-inline-end: none; }

  .img-split-grid { grid-template-columns: 1fr; gap: var(--sp-2xl); }
  .img-split-grid.reverse { direction: ltr; }

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

/* RESPONSIVE: MOBILE (≤ 768px) */
@media (max-width: 768px) {
  :root {
    --nav-h:  64px;
    --pad-x:  1.25rem;
    --sp-3xl: 5rem;
    --sp-2xl: 3.5rem;
  }

  /* Mobile nav */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: var(--navy-deep);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: var(--sp-xl);
    padding: var(--sp-2xl) var(--pad-x);
    transform: translateX(100%);
    transition: transform var(--t-slow);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-link {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
  }

  .nav-link.nav-cta {
    font-size: 0.9rem;
    padding: 0.6rem 1.1rem;
    align-self: flex-start;
  }

  /* Hero */
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn { width: 100%; max-width: 260px; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }

  .about-sidebar { position: static; }

  .about-pillars {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }

  /* Services */
  .services-grid { max-width: none; }

  /* Stats strip */
  .stats-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-md);
  }

  .stat-item { border-inline-end: none; }

  /* Numbers */
  .numbers-grid { grid-template-columns: 1fr; }

  /* Image banner */
  .img-banner-placeholder { height: 280px; }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: var(--sp-xl);
  }

  .footer-nav { gap: var(--sp-xl); }

  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-md);
  }

  .footer-links {
    flex-wrap: wrap;
    gap: var(--sp-sm);
  }

  .footer-links a,
  .footer-attribution {
    white-space: normal;
  }
}

/* RESPONSIVE: SMALL MOBILE (≤ 480px) */
@media (max-width: 480px) {
  :root {
    --sp-3xl: 4rem;
    --sp-2xl: 3rem;
  }

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

  .hero-headline { font-size: clamp(2.6rem, 12vw, 3.5rem); }

  .nav-logo-icon { height: 24px; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; }
}
