/* ==========================================================================
   LVCG — Low Voltage Consulting Group
   Design system: brand blue (from logo) + white + light grey
   Font: Manrope (self-hosted variable)
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/Manrope-Variable.woff2") format("woff2-variations"),
       url("../assets/fonts/Manrope-Variable.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- Brand palette (blue pulled from logo, white + light grey accents) --- */
  --white: #ffffff;

  --grey-50:  #F7F8F9;
  --grey-100: #EEF1F3;
  --grey-200: #E1E5E9;
  --grey-300: #C9D0D6;
  --grey-400: #9AA5AE;
  --grey-500: #717D87;
  --grey-600: #57626C;
  --grey-700: #3D454C;

  --navy-900: #0D2230;
  --navy-800: #123244;
  --navy-700: #17435A;

  --blue-700: #0A5A7B;
  --blue-600: #0B6890; /* primary brand blue, sampled from logo */
  --blue-500: #1580AC;
  --blue-400: #4AA0C4;
  --blue-100: #DEEEF4;
  --blue-50:  #F1F8FA;

  /* ---- Semantic tokens ---- */
  --bg-page: var(--white);
  --bg-alt: var(--grey-50);
  --bg-dark: var(--navy-900);
  --text-primary: var(--navy-900);
  --text-secondary: var(--grey-600);
  --text-on-dark: #EAF1F4;
  --text-on-dark-muted: #9FB3BE;
  --border-hairline: var(--grey-200);
  --border-hairline-dark: rgba(255, 255, 255, 0.12);
  --accent: var(--blue-600);

  /* ---- Shape system: buttons = pill, cards/media = 16px, inputs = 8px ---- */
  --radius-pill: 999px;
  --radius-card: 16px;
  --radius-input: 8px;
  --radius-sm: 6px;

  /* ---- Shadows (tinted to brand, never pure black) ---- */
  --shadow-sm: 0 1px 2px rgba(13, 34, 48, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(13, 34, 48, 0.16);
  --shadow-lg: 0 20px 48px -16px rgba(13, 34, 48, 0.22);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.5s;
  --dur-slow: 0.8s;

  /* ---- Layout ---- */
  --container-max: 1280px;
  --nav-height: 80px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--nav-height) + 20px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }

::selection { background: var(--blue-600); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
}

.h1-hero {
  font-size: clamp(2.1rem, 1.3rem + 2.5vw, 3.1rem);
  line-height: 1.12;
}

.h2-section {
  font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem);
  line-height: 1.15;
}

.h3-card {
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.375rem);
  line-height: 1.3;
  font-weight: 700;
}

.h4-label {
  font-size: 1rem;
  font-weight: 700;
}

.body-lg {
  font-size: clamp(1.05rem, 1rem + 0.2vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-secondary);
}

.body-md {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.measure { max-width: 62ch; }

.on-dark { color: var(--text-on-dark); }
.on-dark .body-lg, .on-dark .body-md, .on-dark .body-sm { color: var(--text-on-dark-muted); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue-600);
  border-radius: 2px;
}
.on-dark .eyebrow { color: var(--blue-400); }
.on-dark .eyebrow::before { background: var(--blue-400); }

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px) {
  .container { padding-inline: 2.5rem; }
}

.section {
  padding-block: 5rem;
}

@media (min-width: 1024px) {
  .section { padding-block: 7.5rem; }
}

.section-tight { padding-block: 3.5rem; }
@media (min-width: 1024px) { .section-tight { padding-block: 5rem; } }

.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); }

.stack { display: flex; flex-direction: column; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.section-head {
  max-width: 46rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) { .section-head { margin-bottom: 4rem; } }

.section-head .h2-section { margin-top: 0.75rem; }
.section-head .body-lg { margin-top: 1.1rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--blue-700); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--grey-300);
}
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-600); }

.on-dark .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.on-dark .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-light {
  background: var(--white);
  color: var(--blue-700);
}
.btn-light:hover { background: var(--blue-50); box-shadow: var(--shadow-md); }

.btn-block { width: 100%; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(11, 104, 144, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 24px rgba(3, 20, 28, 0.28);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.brand img { height: 46px; width: auto; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-word {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--white);
}
.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding-block: 0.35rem;
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: right var(--dur-med) var(--ease);
}
.nav-links a:hover::after { right: 0; }
.nav-links a.is-active { color: var(--white); }
.nav-links a.is-active::after { right: 0; }

/* Desktop dropdown (Expertise, Markets) */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding-block: 0.35rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}
.nav-dropdown-trigger svg { width: 13px; height: 13px; transition: transform var(--dur-fast) var(--ease); }
.nav-dropdown-trigger:hover { color: var(--white); }
.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: right var(--dur-med) var(--ease);
}
.nav-dropdown-trigger:hover::after { right: 0; }
.nav-dropdown.is-open .nav-dropdown-trigger { color: var(--white); }
.nav-dropdown.is-open .nav-dropdown-trigger::after { right: 0; }
.nav-dropdown.is-open .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown.has-active .nav-dropdown-trigger { color: var(--white); }
.nav-dropdown.has-active .nav-dropdown-trigger::after { right: 0; }

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 210px;
  margin-top: 0.75rem;
  padding: 0.5rem;
  background: rgba(11, 104, 144, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
  z-index: 110;
}
.nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-panel a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav-dropdown-panel a:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-actions .btn-primary {
  display: none;
  background: var(--white);
  color: var(--blue-700);
  box-shadow: none;
}
.nav-actions .btn-primary:hover { background: var(--blue-50); box-shadow: var(--shadow-md); }
@media (min-width: 1024px) {
  .nav-actions .btn-primary { display: inline-flex; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}
.nav-toggle svg { width: 20px; height: 20px; color: var(--white); }
.nav-toggle .icon-x { display: none; }
.nav-toggle.is-open .icon-list { display: none; }
.nav-toggle.is-open .icon-x { display: block; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.mobile-nav {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--white);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 0.25rem;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), visibility var(--dur-med);
}
.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.mobile-nav > a {
  font-size: 1.35rem;
  font-weight: 700;
  padding: 0.9rem 0.25rem;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--navy-900);
}
.mobile-nav .btn { margin-top: 1.5rem; border-bottom: none; }
.mobile-nav a.btn-primary { color: var(--white); }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

/* Mobile accordion (Expertise, Markets) */
.mobile-nav-group { border-bottom: 1px solid var(--border-hairline); }
.mobile-nav-toggle-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-900);
  padding: 0.9rem 0.25rem;
}
.mobile-nav-toggle-item svg {
  width: 18px; height: 18px; flex-shrink: 0; color: var(--grey-400);
  transition: transform var(--dur-fast) var(--ease);
}
.mobile-nav-group.is-open .mobile-nav-toggle-item svg { transform: rotate(180deg); }
.mobile-nav-submenu {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  background: var(--blue-600);
  border-radius: var(--radius-input);
  transition: max-height var(--dur-med) var(--ease), margin var(--dur-med) var(--ease);
}
.mobile-nav-group.is-open .mobile-nav-submenu { max-height: 420px; margin: 0.25rem 0 0.75rem; }
.mobile-nav-submenu a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.mobile-nav-submenu a:hover { color: var(--white); background: rgba(255, 255, 255, 0.12); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
  padding-block: 3rem 4rem;
}
@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-block: 4.5rem 5.5rem;
    min-height: calc(100dvh - var(--nav-height));
  }
}

.hero-copy .h1-hero { margin-top: 1rem; }
.hero-copy .body-lg { margin-top: 1.25rem; max-width: 42ch; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 1024px) { .hero-media { aspect-ratio: 3 / 4; } }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,34,48,0) 55%, rgba(13,34,48,0.28) 100%);
}

/* Page banner (interior pages, shorter than home hero) */
.page-banner {
  padding-block: 3rem 3.5rem;
}
@media (min-width: 1024px) { .page-banner { padding-block: 4.5rem 4rem; } }
.page-banner .h1-hero { margin-top: 0.9rem; }
.page-banner-grid {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}
@media (min-width: 1024px) {
  .page-banner-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}
.page-banner-media {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-md);
}
.page-banner-media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-hairline);
}

.card-pad { padding: 2rem; }

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  color: var(--blue-600);
  flex-shrink: 0;
}
.icon-tile svg { width: 24px; height: 24px; }

.icon-tile-lg {
  width: 56px; height: 56px; border-radius: 12px;
}
.icon-tile-lg svg { width: 28px; height: 28px; }

.on-dark .icon-tile { background: rgba(255,255,255,0.08); color: var(--blue-400); }

/* ==========================================================================
   Bento grid (services overview)
   ========================================================================== */

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento-feature { grid-column: span 4; }
  .bento-item { grid-column: span 2; }
}

.bento-feature {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-md);
}
.bento-feature img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.bento-feature::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,34,48,0.92) 0%, rgba(13,34,48,0.35) 55%, rgba(13,34,48,0.05) 100%);
}
.bento-feature-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  color: var(--white);
}
.bento-feature-content .h3-card { color: var(--white); font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); }
.bento-feature-content p { color: var(--text-on-dark-muted); margin-top: 0.6rem; max-width: 34ch; }
.bento-feature-content a { margin-top: 1.25rem; }

.bento-item {
  background: var(--grey-50);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid var(--border-hairline);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.bento-item:hover { border-color: var(--blue-400); transform: translateY(-2px); }
.bento-item h3 { font-size: 1.05rem; font-weight: 700; }
.bento-item p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.55; }
.bento-item-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-600);
}
.bento-item-link svg { width: 15px; height: 15px; transition: transform var(--dur-fast) var(--ease); }
.bento-item:hover .bento-item-link svg { transform: translate(2px,-2px); }

/* ==========================================================================
   Link pill / arrow link
   ========================================================================== */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--blue-600);
  font-size: 0.95rem;
}
.link-arrow svg { width: 17px; height: 17px; transition: transform var(--dur-fast) var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }
.on-dark .link-arrow { color: var(--white); }

/* ==========================================================================
   Split / zigzag rows
   ========================================================================== */

.split-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .split-row { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .split-row.is-reversed .split-media { order: 2; }
  .split-row.is-reversed .split-copy { order: 1; }
}
.split-media {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy .h2-section { margin-top: 0.75rem; }
.split-copy .body-lg { margin-top: 1.1rem; }
.split-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.split-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--text-secondary);
}
.split-list svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 0.1rem;
  color: var(--blue-600);
}

/* ==========================================================================
   Process rail (steps, no "Step 1/2/3" labels)
   ========================================================================== */

.process-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
}
@media (min-width: 768px) {
  .process-rail { grid-template-columns: repeat(var(--rail-cols, 3), 1fr); }
  .process-rail::before {
    content: "";
    position: absolute;
    top: 27px; left: 8%; right: 8%;
    height: 2px;
    background: var(--border-hairline);
  }
}
.process-step { position: relative; }
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-600);
  color: var(--blue-600);
  font-weight: 800;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--text-secondary); font-size: 0.95rem; max-width: 30ch; }

/* ==========================================================================
   Values (hairline grid, no cards)
   ========================================================================== */

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border-hairline);
  border-left: 1px solid var(--border-hairline);
}
@media (min-width: 768px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.value-item {
  padding: 2.5rem;
  border-bottom: 1px solid var(--border-hairline);
  border-right: 1px solid var(--border-hairline);
}
.value-item .icon-tile { margin-bottom: 1.25rem; }
.value-item h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.value-item p { color: var(--text-secondary); font-size: 0.97rem; max-width: 38ch; }

/* Photo-enhanced variant: media header + padded body */
.value-item.has-media {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.value-media {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.value-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.value-item.has-media:hover .value-media img { transform: scale(1.04); }
.value-body { padding: 1.75rem; }
.value-item.has-media .icon-tile {
  margin-top: -2.75rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.value-item.has-media h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.value-item.has-media p { font-size: 0.93rem; max-width: none; }

/* ==========================================================================
   Quote / testimonial
   ========================================================================== */

.quote-block {
  max-width: 46rem;
}
.quote-block svg { width: 34px; height: 34px; color: var(--blue-400); margin-bottom: 1.5rem; }
.quote-block p {
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy-900);
}
.on-dark .quote-block p { color: var(--white); }
.quote-attrib {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  font-size: 0.92rem;
}
.quote-attrib strong { font-weight: 700; }
.quote-attrib span { color: var(--text-secondary); }

/* ==========================================================================
   Stats strip
   ========================================================================== */

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat-item .stat-num {
  font-size: clamp(2rem, 1.6rem + 1.5vw, 2.75rem);
  font-weight: 800;
  color: var(--blue-600);
  letter-spacing: -0.02em;
}
.on-dark .stat-item .stat-num { color: var(--white); }
.stat-item .stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background: var(--navy-900);
  border-radius: var(--radius-card);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .cta-band { padding: 5rem 3rem; } }
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 85% 0%, rgba(21,128,172,0.35), transparent 70%);
}
.cta-band-content { position: relative; z-index: 1; max-width: 40rem; margin-inline: auto; }
.cta-band .h2-section { color: var(--white); }
.cta-band p { color: var(--text-on-dark-muted); margin-top: 1rem; }
.cta-band-actions {
  margin-top: 2.25rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
}
.field .hint { font-size: 0.8rem; color: var(--grey-500); }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-input);
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--navy-900);
  background: var(--white);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--grey-400); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-100);
}
.field textarea { resize: vertical; min-height: 130px; }
.field.has-error input,
.field.has-error textarea { border-color: #B4432D; }
.field-error {
  font-size: 0.8rem;
  color: #B4432D;
  display: none;
}
.field.has-error .field-error { display: block; }

.form-note {
  font-size: 0.82rem;
  color: var(--grey-500);
  margin-top: 1rem;
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem 1.5rem;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-input);
  color: var(--navy-900);
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 22px; height: 22px; color: var(--blue-600); flex-shrink: 0; margin-top: 0.1rem; }

.form-error {
  display: none;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  background: #FBEEEC;
  border: 1px solid #F2D3CD;
  border-radius: var(--radius-input);
  color: var(--navy-900);
}
.form-error.is-visible { display: flex; }
.form-error svg { width: 22px; height: 22px; color: #B4432D; flex-shrink: 0; margin-top: 0.1rem; }

.form-centered { max-width: 42rem; margin-inline: auto; }

/* ==========================================================================
   Markets / capability strip (scroll-snap pills)
   ========================================================================== */

.tag-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.tag-chip {
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--grey-100);
  color: var(--navy-900);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-hairline);
}
.on-dark .tag-chip { background: rgba(255,255,255,0.06); color: var(--text-on-dark); border-color: var(--border-hairline-dark); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-900);
  color: var(--text-on-dark-muted);
  padding-block: 4.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr; gap: 2.5rem; }
}
.footer-brand img { height: 32px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 30ch; font-size: 0.92rem; line-height: 1.6; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-col a { font-size: 0.92rem; transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-hairline-dark);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.82rem;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a:hover { color: var(--white); }

/* ==========================================================================
   Scroll reveal (motivated: reveals content in reading order on entry)
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0 !important; }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } }
.show-mobile { display: initial; }
@media (min-width: 768px) { .show-mobile { display: none; } }

.divider {
  height: 1px;
  background: var(--border-hairline);
  border: none;
  margin: 0;
}
.on-dark .divider { background: var(--border-hairline-dark); }
