/* PETUK — industrial landing (static) */
:root {
  --color-bg: #0b0d12;
  --color-bg-elevated: #12151c;
  --color-navy: #0f1629;
  --color-navy-soft: #1a2338;
  /* Logo-aligned accents */
  --color-brand-green: #16965a;
  --color-brand-green-hover: #127a4a;
  --color-brand-green-soft: rgba(22, 150, 90, 0.12);
  --color-brand-purple: #5b2d8a;
  --color-brand-purple-soft: rgba(91, 45, 138, 0.14);
  --color-brand-purple-hover: #6b3896;
  --color-white: #ffffff;
  --color-muted: #8b93a7;
  --color-muted-dark: #5c6378;
  --color-blue-overlay: rgba(30, 58, 95, 0.65);
  --header-bg: #ffffff;
  --header-border: rgba(15, 22, 41, 0.08);
  --header-shadow: 0 1px 0 var(--header-border), 0 12px 32px rgba(15, 22, 41, 0.04);
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-card: 12px;
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.12);
  /* Sticky offset: shell lip + main nav row + shell bottom + chrome bottom (flush to viewport top) */
  --header-chrome-pt: 0;
  --header-chrome-pb: 0.45rem;
  /* Page + header horizontal rhythm (min 1rem; scales to ~1.75rem on large phones / tablets) */
  --page-gutter: clamp(1rem, 0.5rem + 3.2vw, 1.75rem);
  --header-chrome-px: var(--page-gutter);
  /* Equal spacing between logo, nav, contact, CTA (and between nav links) */
  --header-section-gap: clamp(0.75rem, 2.2vw, 1.5rem);
  --header-shell-lip: 0;
  --header-inner-min-h: 3.85rem;
  --header-shell-foot: 0.2rem;
  --header-h: calc(
    var(--header-chrome-pt) + var(--header-shell-lip) + var(--header-inner-min-h) + var(--header-shell-foot) +
      var(--header-chrome-pb)
  );
  --transition: 0.2s ease;
  /* Hero → stats strip (wave divider & fade) */
  --color-stats-strip-top: #f2faf6;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
  background: var(--color-white);
}

/* Mobile menu: page dim sits under the sticky header (z-index 100) for depth */
body.is-nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(15, 22, 41, 0.5);
  pointer-events: none;
}

@media (max-width: 1023px) {
  /* Dim only the sheet region; align with .primary-nav (same --header-h as JS-measured bar) */
  body.is-nav-open::before {
    inset: auto;
    left: 0;
    right: 0;
    top: var(--header-h);
    bottom: 0;
  }
}

/* Home: light page shell; hero still pulls under sticky header */
body.page-home {
  background-color: #ffffff;
  --hero-parallax-height: min(88vh, 820px);
}

@media (max-width: 959px) {
  body.page-home {
    --hero-parallax-height: min(82vh, 680px);
  }
}

body.page-home main#home {
  margin-top: calc(-1 * var(--header-h));
}

/* Parallax hero: pinned bg + copy; wave divider scrolls with the page */
body.page-home .hero {
  position: relative;
  min-height: unset;
  padding-top: 0;
  overflow: visible;
  z-index: 0;
}

body.page-home .hero__pin {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: var(--hero-parallax-height);
  z-index: 0;
  display: flex;
  flex-direction: column;
  color: var(--color-white);
  overflow: hidden;
  padding-top: calc(var(--header-h) - 0.28rem);
}

@media (min-width: 1024px) {
  body.page-home .hero__pin {
    padding-top: calc(var(--header-h) + 0.4rem);
  }
}

/* Between default (low) and the previous tight pass (too high) */
body.page-home .hero__inner {
  padding-top: clamp(1rem, 3.25vh, 1.75rem);
  padding-bottom: clamp(1rem, 2.75vh, 1.85rem);
}

@media (max-width: 1023px) {
  /* Clear the real header + extra gap (safe area on notched phones) */
  body.page-home .hero__pin {
    padding-top: calc(
      var(--header-h) + env(safe-area-inset-top, 0px) + 1.1rem
    );
  }
}

@media (min-width: 960px) {
  body.page-home .hero__inner {
    justify-content: center;
  }
}

/* Tighter hero copy padding only when full desktop header is active (avoids overriding mobile spacing 960–1023) */
@media (min-width: 1024px) {
  body.page-home .hero__inner {
    padding-top: clamp(0.45rem, 1.6vh, 0.95rem);
    padding-bottom: clamp(0.6rem, 1.85vh, 1.6rem);
  }
}

body.page-home .hero__flow-spacer {
  height: var(--hero-parallax-height);
  pointer-events: none;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

body.page-home .hero__divider {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

body.page-home main#home > .home-stats-strip,
body.page-home main#home > .trust-banner,
body.page-home main#home > .section,
body.page-home main#home > .blog-section,
body.page-home main#home > .cta-band {
  position: relative;
  z-index: 1;
}

body.page-home main#home > .section:not(.section--muted) {
  background-color: var(--color-white);
}

body.page-home .site-footer {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .hero {
    padding-top: var(--header-h);
    overflow: hidden;
  }

  body.page-home .hero__pin {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    min-height: min(88vh, 820px);
    z-index: auto;
    padding-top: 0;
    overflow: hidden;
  }

  @media (max-width: 959px) {
    body.page-home .hero__pin {
      min-height: min(82vh, 680px);
    }
  }

  body.page-home .hero__flow-spacer {
    display: none;
    height: 0;
  }

  body.page-home .hero__divider {
    z-index: auto;
  }

  body.page-home main#home > .home-stats-strip,
  body.page-home main#home > .trust-banner,
  body.page-home main#home > .section,
  body.page-home main#home > .blog-section,
  body.page-home main#home > .cta-band {
    z-index: auto;
  }

  body.page-home .site-footer {
    z-index: auto;
  }
}

/* Mobile: flowing hero — show full copy + CTAs (no fixed parallax clip) */
@media (max-width: 959px) {
  body.page-home .hero__pin {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    min-height: auto;
    z-index: auto;
    overflow: visible;
  }

  body.page-home .hero__flow-spacer {
    display: none;
    height: 0;
  }

  body.page-home .hero__inner {
    padding-bottom: clamp(1.25rem, 3vh, 2rem);
  }

  body.page-home .hero__divider {
    z-index: auto;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

/* ----- Header: full-width bar; flush to viewport top ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
  padding: 0 0 var(--header-chrome-pb);
  background: #ffffff;
  border-bottom: none;
  box-shadow: none;
}

.site-header__chrome {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: var(--header-chrome-pt);
  box-sizing: border-box;
  background: #ffffff;
}

.site-header__shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: minmax(var(--header-inner-min-h), auto);
  grid-template-areas: "brand main";
  align-items: stretch;
  column-gap: 0;
  row-gap: 0;
  padding: var(--header-shell-lip) 0 var(--header-shell-foot);
  overflow: hidden;
  width: 100%;
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Logo + wordmark; main nav row */
.brand.site-header__brand {
  grid-area: brand;
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: stretch;
  gap: var(--header-section-gap);
  padding: 0.45rem var(--header-chrome-px);
  margin: 0;
  background: #ffffff;
  text-decoration: none;
  border-right: none;
}

/* Desktop shell: four columns — brand | nav | contact | CTA */
@media (min-width: 1024px) {
  .site-header__shell {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "brand nav contact cta";
    grid-template-rows: minmax(var(--header-inner-min-h), auto);
    align-items: center;
    column-gap: var(--header-section-gap);
    overflow: visible;
    /* Keep CTA off the viewport edge (shell had no horizontal inset) */
    padding-right: var(--header-chrome-px);
  }

  .brand.site-header__brand {
    grid-area: brand;
  }

  .site-header__inner {
    grid-area: nav;
  }

  .site-header__contact-strip {
    grid-area: contact;
    justify-content: flex-end;
  }

  .site-header__actions {
    grid-area: cta;
    justify-self: end;
  }
}

@media (max-width: 1023px) {
  /*
   * One cohesive bar: horizontal padding lives on the shell only so logo + menu
   * control share the same surface (no white / grey “split columns”).
   */
  .site-header__shell {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem max(var(--page-gutter), env(safe-area-inset-left, 0px)) calc(var(--header-shell-foot) + 0.35rem)
      max(var(--page-gutter), env(safe-area-inset-right, 0px));
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 22, 41, 0.07);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  }

  .brand.site-header__brand {
    grid-area: unset;
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    padding: 0.2rem 0;
    margin: 0;
    background: #ffffff;
    position: relative;
    /* Above .site-header__inner so full-bleed fixed .primary-nav does not paint over the logo */
    z-index: 10020;
  }

  .brand.site-header__brand .brand__logo {
    height: 44px;
    max-width: 120px;
  }

  .brand.site-header__brand .brand__name {
    font-size: 1rem;
  }

  .brand.site-header__brand .brand__tag {
    font-size: 0.6rem;
  }

  .site-header__inner {
    grid-area: unset;
    flex: 0 0 auto;
    min-height: unset;
    padding: 0;
    margin: 0;
    background: #ffffff;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 10002;
  }

  /*
   * Sticky bar height: shell vertical padding + row (use --header-inner-min-h as a floor so
   * logo + wordmark never measures shorter than the real bar), + site chrome under shell.
   */
  :root {
    --header-h: calc(
      var(--header-chrome-pt) +
        var(--header-shell-lip) +
        0.5rem +
        var(--header-inner-min-h) +
        calc(var(--header-shell-foot) + 0.35rem) +
        var(--header-chrome-pb)
    );
  }

  /* Menu open: one white chrome strip; seam meets .primary-nav (no double rule / gap) */
  .site-header.is-open .site-header__shell {
    overflow: visible;
    border-bottom: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset;
  }

  .nav-scrim {
    display: none;
  }
}

.nav-scrim {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  bottom: 0;
  z-index: 1;
  background: rgba(15, 22, 41, 0.42);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.site-header.is-open .nav-scrim {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .nav-scrim {
    display: none;
  }
}

.site-header__inner {
  position: relative;
  z-index: 2;
  max-width: none;
  margin: 0;
  padding: 0.45rem var(--header-chrome-px);
  min-height: var(--header-inner-min-h);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--header-section-gap);
  background: #ffffff;
  border-radius: 0;
}

.site-header__contact-strip {
  display: none;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: var(--header-section-gap);
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  /* Nav only in column 2 — centered in the flexible middle track */
  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: var(--header-section-gap);
    row-gap: var(--header-section-gap);
    padding: 0.45rem var(--header-chrome-px);
    overflow: visible;
  }

  .site-header__contact-strip {
    display: flex;
  }
}

.site-header__contact-strip .header-email,
.site-header__contact-strip .header-phone {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-header__contact-strip .header-phone svg {
  width: 16px;
  height: 16px;
}

.brand.site-header__brand .brand__logo {
  height: 56px;
  max-width: 150px;
}

.header-email {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-radius: 6px;
}

.header-email svg {
  flex-shrink: 0;
  color: var(--color-brand-purple);
  opacity: 0.9;
}

.header-email:hover,
.header-email:focus-visible {
  color: var(--color-brand-green);
}

.header-email--block {
  width: 100%;
  padding: 0.35rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  color: var(--color-navy);
}

.brand__tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-brand-green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand__logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.site-header__actions {
  display: none;
  flex-shrink: 0;
  align-items: center;
}

/* CTA must follow .header-contact in file so green link styles don’t override */
.site-header__actions .header-contact--nav,
a.header-contact.header-contact--nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--color-brand-green) 0%, #0f6b42 100%);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 2px 14px rgba(22, 150, 90, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    filter var(--transition),
    color var(--transition);
}

.site-header__actions .header-contact--nav:hover,
.site-header__actions .header-contact--nav:focus-visible,
a.header-contact.header-contact--nav:hover,
a.header-contact.header-contact--nav:focus-visible {
  color: #ffffff;
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 8px 24px rgba(22, 150, 90, 0.35);
}

@media (min-width: 1024px) {
  .site-header__actions {
    display: flex;
  }
}

.header-contact:not(.header-contact--nav) {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-brand-green);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  border-radius: 4px;
}

.header-contact:not(.header-contact--nav):hover,
.header-contact:not(.header-contact--nav):focus-visible {
  color: var(--color-brand-green-hover);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  border-radius: 4px;
}

.header-phone svg {
  flex-shrink: 0;
  color: var(--color-brand-green);
  opacity: 0.85;
}

.header-phone:hover,
.header-phone:focus-visible {
  color: var(--color-brand-green);
}

/* Nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  border: 1px solid rgba(15, 22, 41, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  z-index: 5;
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(22, 150, 90, 0.35);
  background: var(--color-brand-green-soft);
  box-shadow: 0 2px 10px rgba(22, 150, 90, 0.12);
}

@media (max-width: 1023px) {
  /* Higher specificity so these win over the global .nav-toggle rules. */
  .site-header .nav-toggle {
    margin-left: 0;
    position: relative;
    z-index: 10012;
    flex-shrink: 0;
    width: 2.8125rem;
    height: 2.8125rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(15, 22, 41, 0.1);
    box-shadow: 0 1px 3px rgba(15, 22, 41, 0.05);
  }

  .site-header .nav-toggle:hover,
  .site-header .nav-toggle:focus-visible {
    background: #f4fbf7;
    border-color: rgba(22, 150, 90, 0.28);
    box-shadow: 0 2px 10px rgba(22, 150, 90, 0.1);
  }

  .site-header.is-open .nav-toggle {
    border-color: rgba(22, 150, 90, 0.35);
    background: #ffffff;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.85) inset,
      0 2px 12px rgba(22, 150, 90, 0.15);
  }

  .site-header.is-open .nav-toggle:hover,
  .site-header.is-open .nav-toggle:focus-visible {
    background: #f4fbf7;
  }
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.site-header.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

/* Primary nav */
.primary-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: auto;
  width: min(22rem, 100%);
  max-width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.15rem 1.25rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 48px rgba(15, 22, 41, 0.12);
  border-left: 1px solid rgba(15, 22, 41, 0.06);
  z-index: 3;
}

.site-header.is-open .primary-nav {
  transform: translateX(0);
  visibility: visible;
}

@media (max-width: 1023px) {
  .site-header.is-open .primary-nav {
    opacity: 1;
  }

  /*
   * Sheet: full-viewport layer under chrome; padding-top = exact header height so link list
   * meets the bottom of the white logo + toggle bar (no air gap). Body: white → links → footer.
   */
  .primary-nav {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    align-items: stretch;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    /* --header-h: CSS fallback below; JS sets pixel height from .site-header.getBoundingClientRect().bottom */
    padding: var(--header-h) max(var(--page-gutter), env(safe-area-inset-right, 0px))
      max(1rem, env(safe-area-inset-bottom, 0px))
      max(var(--page-gutter), env(safe-area-inset-left, 0px));
    border-left: none;
    box-shadow: none;
    z-index: 60;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transition:
      transform 0.38s cubic-bezier(0.32, 0.72, 0, 1),
      opacity 0.28s ease,
      visibility 0.38s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .primary-nav__list {
    gap: 0;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: none;
    list-style: none;
  }

  .primary-nav__list > li {
    margin: 0;
    border-bottom: 1px solid rgba(15, 22, 41, 0.08);
  }

  .primary-nav__link {
    min-height: 3.1rem;
    padding: 0.85rem 0;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--color-navy);
    transition:
      color 0.2s ease,
      background 0.2s ease;
  }

  .primary-nav__link:active {
    transform: none;
  }

  .primary-nav__services {
    display: flex;
    align-items: stretch;
    min-height: 3.1rem;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .primary-nav__services > .primary-nav__link {
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .primary-nav__trigger {
    border-radius: 0;
    min-height: 3.1rem;
    min-width: 3rem;
    padding-inline: 0.5rem;
    border: none;
    border-left: 1px solid rgba(15, 22, 41, 0.08);
    background: transparent;
  }

  .has-dropdown.is-open .primary-nav__services {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  .primary-nav .dropdown {
    padding: 0.2rem 0 0.65rem;
    margin: 0;
    margin-left: 0.5rem;
    padding-left: 0.85rem;
    border: none;
    border-left: 3px solid var(--color-brand-green);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .primary-nav .dropdown li {
    margin: 0;
    border-bottom: 1px solid rgba(15, 22, 41, 0.06);
  }

  .primary-nav .dropdown li:last-child {
    border-bottom: none;
  }

  .primary-nav .dropdown a {
    padding: 0.65rem 0;
    font-size: 0.9875rem;
    font-weight: 600;
    color: var(--color-navy);
    border-radius: 0;
    position: relative;
  }

  .primary-nav .dropdown a::before {
    display: none;
  }
}

@media (max-width: 1023px) and (prefers-reduced-motion: no-preference) {
  .site-header.is-open .primary-nav__list > li {
    animation: primary-nav-drawer-item 0.44s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  .site-header.is-open .primary-nav__list > li:nth-child(1) {
    animation-delay: 0.03s;
  }

  .site-header.is-open .primary-nav__list > li:nth-child(2) {
    animation-delay: 0.055s;
  }

  .site-header.is-open .primary-nav__list > li:nth-child(3) {
    animation-delay: 0.08s;
  }

  .site-header.is-open .primary-nav__list > li:nth-child(4) {
    animation-delay: 0.105s;
  }

  .site-header.is-open .primary-nav__list > li:nth-child(5) {
    animation-delay: 0.13s;
  }

  .site-header.is-open .primary-nav__list > li:nth-child(6) {
    animation-delay: 0.155s;
  }

  .site-header.is-open .primary-nav__list > li:nth-child(7) {
    animation-delay: 0.18s;
  }

  .site-header.is-open .primary-nav__list > li:nth-child(8) {
    animation-delay: 0.205s;
  }

  .site-header.is-open .primary-nav__list > li:nth-child(9) {
    animation-delay: 0.23s;
  }

  .site-header.is-open .primary-nav__list > li:nth-child(10) {
    animation-delay: 0.255s;
  }

  .site-header.is-open .primary-nav__list > li:nth-child(11) {
    animation-delay: 0.28s;
  }

  .site-header.is-open .primary-nav__list > li:nth-child(12) {
    animation-delay: 0.305s;
  }
}

@keyframes primary-nav-drawer-item {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.primary-nav__mobile-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: auto;
  padding: 1rem 0 0.25rem;
  border-top: 1px solid var(--header-border);
  background: transparent;
}

@media (max-width: 1023px) {
  .primary-nav .primary-nav__mobile-actions {
    width: 100%;
    max-width: none;
    align-self: stretch;
    margin-top: auto;
    padding: 0.85rem 0 0.15rem;
    gap: 0.5rem;
    border: none;
    border-radius: 0;
    border-top: 1px solid rgba(15, 22, 41, 0.1);
    background: #f4f6f9;
    box-shadow: none;
  }

  .primary-nav .primary-nav__mobile-actions .header-contact:not(.header-contact--nav) {
    order: -1;
    display: flex;
    width: 100%;
    align-self: stretch;
    justify-content: center;
    align-items: center;
    padding: 0.9rem max(1rem, var(--page-gutter));
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff !important;
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-brand-green) 0%, #0f6b42 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.2) inset,
      0 8px 22px rgba(22, 150, 90, 0.22);
    margin-bottom: 0.2rem;
    transition:
      transform 0.2s ease,
      filter 0.2s ease,
      box-shadow 0.2s ease;
  }

  .primary-nav .primary-nav__mobile-actions .header-contact:not(.header-contact--nav):hover,
  .primary-nav .primary-nav__mobile-actions .header-contact:not(.header-contact--nav):focus-visible {
    color: #ffffff !important;
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.25) inset,
      0 10px 26px rgba(22, 150, 90, 0.3);
  }

  .primary-nav .primary-nav__mobile-actions .header-email--block,
  .primary-nav .primary-nav__mobile-actions .header-phone {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 22, 41, 0.08);
    font-size: 0.9375rem;
    transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .primary-nav .primary-nav__mobile-actions .header-email--block:hover,
  .primary-nav .primary-nav__mobile-actions .header-email--block:focus-visible,
  .primary-nav .primary-nav__mobile-actions .header-phone:hover,
  .primary-nav .primary-nav__mobile-actions .header-phone:focus-visible {
    border-color: rgba(22, 150, 90, 0.35);
    box-shadow: 0 2px 12px rgba(15, 22, 41, 0.05);
  }
}

@media (min-width: 1024px) {
  .primary-nav__mobile-actions {
    display: none;
  }

  .primary-nav {
    align-self: center;
    position: relative;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: max-content;
    max-width: min(56rem, calc(100vw - 20rem));
    min-width: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    overflow-y: visible;
    visibility: visible;
    transform: none;
    transition: none;
    flex: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border: none;
    border-left: none;
    z-index: 5;
  }

  .site-header.is-open .primary-nav {
    transform: none;
  }
}

.primary-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

@media (min-width: 1024px) {
  .primary-nav__list {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.35rem;
    gap: var(--header-section-gap);
  }
}

.primary-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.55rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-navy);
  text-decoration: none;
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

@media (min-width: 1024px) {
  .primary-nav__link {
    width: auto;
    padding: 0.35rem 0.45rem;
    border-radius: 0;
    background: transparent;
  }

  .primary-nav__link:hover {
    color: var(--color-brand-green);
    background: transparent;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
  }

  .primary-nav__link:focus-visible {
    color: var(--color-brand-green);
    background: transparent;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    outline: 2px solid var(--color-brand-green);
    outline-offset: 3px;
  }

}

@media (max-width: 1023px) {
  .primary-nav__link:hover,
  .primary-nav__link:focus-visible {
    color: var(--color-brand-green);
    background: var(--color-brand-green-soft);
    border-color: transparent;
    box-shadow: none;
  }

  .primary-nav__link--active {
    color: var(--color-brand-green);
    background: rgba(22, 150, 90, 0.06);
    border-color: transparent;
    box-shadow: inset 3px 0 0 var(--color-brand-green);
  }
}

.primary-nav__link--active {
  color: var(--color-brand-green);
}

@media (min-width: 1024px) {
  .primary-nav__link--active {
    background: transparent;
    box-shadow: none;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
  }
}

.primary-nav__services {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 0.15rem;
}

@media (min-width: 1024px) {
  .primary-nav__services {
    width: auto;
    align-items: center;
    gap: 0;
  }
}

.primary-nav__services > .primary-nav__link {
  flex: 1;
  min-width: 0;
}

@media (min-width: 1024px) {
  .primary-nav__services > .primary-nav__link {
    flex: 0 1 auto;
  }
}

.primary-nav__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0.55rem 0.6rem;
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
  color: var(--color-navy);
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

@media (min-width: 1024px) {
  .primary-nav__trigger {
    padding: 0.35rem 0.35rem 0.35rem 0.15rem;
    border-radius: 0;
  }

  .primary-nav__trigger:hover {
    color: var(--color-brand-green);
  }

  .primary-nav__trigger:focus-visible {
    color: var(--color-brand-green);
    outline: 2px solid var(--color-brand-green);
    outline-offset: 3px;
  }
}

@media (max-width: 1023px) {
  .primary-nav__trigger:hover {
    color: var(--color-brand-green);
    background: var(--color-brand-green-soft);
  }

  .primary-nav__trigger:focus-visible {
    color: var(--color-brand-green);
    background: var(--color-brand-green-soft);
    outline: 2px solid var(--color-brand-green);
    outline-offset: 2px;
  }
}

.primary-nav__link .chevron,
.primary-nav__trigger .chevron {
  transition: transform 0.25s ease;
  opacity: 0.75;
}

.has-dropdown.is-open .primary-nav__trigger .chevron {
  transform: rotate(180deg);
}

@media (min-width: 1024px) {
  .has-dropdown:hover .primary-nav__trigger .chevron,
  .has-dropdown:focus-within .primary-nav__trigger .chevron {
    transform: rotate(180deg);
  }
}

.dropdown {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0 0.5rem 0.5rem;
  display: none;
}

.has-dropdown.is-open .dropdown {
  display: block;
}

@media (min-width: 1024px) {
  .dropdown {
    position: absolute;
    /* Pull up slightly so the panel meets the trigger; avoids a hover “dead zone” */
    top: calc(100% - 2px);
    left: 50%;
    transform: translateX(-50%) translateY(2px);
    min-width: 220px;
    padding: 0.4rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 22, 41, 0.08);
    border-radius: 12px;
    box-shadow:
      0 4px 6px rgba(15, 22, 41, 0.03),
      0 20px 50px rgba(15, 22, 41, 0.14);
    display: block;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
  }

  .has-dropdown {
    position: relative;
  }

  /* Invisible strip: keeps :hover / focus-within while moving into the panel */
  .has-dropdown:hover::after,
  .has-dropdown:focus-within::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    /* Wider than the label row so diagonal paths still count as “on” the item */
    width: min(320px, max(100%, 240px));
    height: 1.25rem;
    z-index: 199;
  }

  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown,
  .has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .dropdown a {
    display: block;
    padding: 0.55rem 1.1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.01em;
    color: var(--color-navy);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .dropdown a:hover,
  .dropdown a:focus-visible {
    background: var(--color-brand-green-soft);
    color: var(--color-brand-green);
  }
}

.dropdown a {
  color: var(--color-muted-dark);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.45rem 0.5rem;
  display: block;
  border-radius: 6px;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  color: var(--color-brand-green);
}

@media (max-width: 1023px) {
  .primary-nav .dropdown a:hover,
  .primary-nav .dropdown a:focus-visible {
    background: transparent;
    color: var(--color-brand-green);
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav,
  .nav-scrim,
  .dropdown {
    transition: none;
  }

  @media (max-width: 1023px) {
    .primary-nav {
      opacity: 1;
    }

    .site-header.is-open .primary-nav__list > li {
      animation: none;
    }
  }

  @media (min-width: 1024px) {
    .dropdown {
      transform: translateX(-50%);
    }

    .has-dropdown:hover .dropdown,
    .has-dropdown:focus-within .dropdown,
    .has-dropdown.is-open .dropdown {
      transform: translateX(-50%);
    }
  }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  color: var(--color-white);
  overflow: hidden;
}

@media (max-width: 959px) {
  .hero {
    min-height: min(82vh, 680px);
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: #2a3138;
  background-size: cover;
  background-position: 40% center;
  background-repeat: no-repeat;
  z-index: 0;
}

@media (min-width: 960px) {
  .hero__bg {
    background-position: 50% 42%;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      transparent 42%,
      rgba(242, 250, 246, 0.08) 72%,
      rgba(242, 250, 246, 0.55) 88%,
      var(--color-stats-strip-top) 100%
    ),
    linear-gradient(
      180deg,
      rgba(15, 22, 41, 0.35) 0%,
      transparent 34%,
      rgba(15, 22, 41, 0.18) 100%
    ),
    linear-gradient(
      118deg,
      rgba(15, 22, 41, 0.9) 0%,
      rgba(15, 22, 41, 0.52) 45%,
      rgba(15, 22, 41, 0.22) 72%,
      rgba(15, 22, 41, 0.08) 100%
    );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vh, 2rem) clamp(1.25rem, 4vw, 2.5rem) clamp(1.25rem, 3vh, 2rem);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

/* Home: must follow generic .hero__inner + .hero__inner @media (960px) so padding-top beats those rules */
@media (max-width: 1023px) {
  body.page-home .hero__inner {
    padding-top: clamp(2rem, 7vh, 3.25rem);
  }
}

@media (min-width: 960px) {
  .hero__inner {
    justify-content: flex-end;
    padding-top: clamp(0.5rem, 2vh, 1.25rem);
    padding-bottom: clamp(0.75rem, 2vh, 1.75rem);
  }
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  width: 100%;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__layout {
    /* Slightly wider right track + gutter so the accent isn’t a sliver in the corner */
    grid-template-columns: minmax(0, 1fr) minmax(12.5rem, 0.78fr);
    gap: clamp(2.25rem, 5.5vw, 4rem);
    align-items: start;
  }
}

.hero__content {
  max-width: min(42.5rem, 100%);
}

@media (min-width: 960px) {
  .hero__content {
    /* Pull copy back from the photo a touch so the mid-hero gap reads intentional */
    max-width: min(38rem, 100%);
    padding-right: clamp(0.25rem, 1.5vw, 1.25rem);
  }
}

.hero__accent {
  display: none;
}

@media (min-width: 960px) {
  .hero__accent {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 1.15rem;
    width: 100%;
    max-width: min(17.5rem, 100%);
    margin-inline: auto;
    padding: clamp(1.15rem, 2.6vw, 1.5rem) clamp(1.2rem, 2.8vw, 1.65rem)
      clamp(1.2rem, 2.8vw, 1.55rem);
    border-radius: var(--radius-md);
    background: linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(15, 22, 41, 0.42) 45%,
      rgba(15, 22, 41, 0.55) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.12) inset,
      0 18px 40px rgba(15, 22, 41, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .hero__accent-deco {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
    min-height: min(14vh, 6.25rem);
    align-items: center;
    opacity: 0.92;
  }

  .hero__accent-svg {
    width: min(8.25rem, 100%);
    height: auto;
    max-height: 6.75rem;
  }
}

.hero__accent-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1.25rem;
  max-width: 14rem;
}

@media (min-width: 960px) {
  .hero__accent-inner {
    max-width: none;
  }
}

.hero__accent-line {
  width: 3px;
  flex-shrink: 0;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    var(--color-brand-purple) 0%,
    var(--color-brand-green) 55%,
    rgba(184, 232, 207, 0.35) 100%
  );
  box-shadow: 0 0 20px rgba(125, 211, 168, 0.15);
}

.hero__accent-text {
  margin: 0;
  align-self: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

.hero__kicker {
  margin: 0 0 1.1rem;
  padding: 0 0 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(184, 232, 207, 0.95);
  text-shadow: 0 1px 20px rgba(15, 22, 41, 0.45);
  max-width: 36rem;
}

.hero__title {
  margin: 0 0 1.35rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero__title-line {
  display: block;
  font-size: clamp(1.85rem, 4.2vw, 2.5rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 28px rgba(15, 22, 41, 0.4);
}

.hero__title-line--emph {
  margin-top: 0.2em;
  font-size: clamp(2.2rem, 5.5vw, 3.15rem);
  font-weight: 800;
  color: var(--color-white);
  text-shadow: 0 2px 32px rgba(15, 22, 41, 0.45);
}

.hero__lead {
  margin: 0 0 2rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
  text-shadow: 0 1px 24px rgba(15, 22, 41, 0.35);
}

.hero__text {
  margin: 0 0 1.75rem;
  max-width: 44rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero__text .hero__lead {
  margin: 0;
  max-width: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
}

.hero__divider {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}

.hero__divider-svg {
  display: block;
  width: 100%;
  height: clamp(64px, 9vw, 104px);
}

.hero__divider-path {
  fill: var(--color-stats-strip-top);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-brand-green) 0%, var(--color-brand-purple) 100%);
  color: var(--color-white);
  box-shadow:
    0 4px 18px rgba(22, 150, 90, 0.22),
    0 6px 22px rgba(91, 45, 138, 0.14);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: linear-gradient(135deg, var(--color-brand-green-hover) 0%, var(--color-brand-purple-hover) 100%);
  transform: translateY(-2px);
  box-shadow:
    0 8px 26px rgba(22, 150, 90, 0.28),
    0 12px 32px rgba(91, 45, 138, 0.2);
}

.btn--outline-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

.btn--outline-light:hover,
.btn--outline-light:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 22, 41, 0.2);
}

.btn--secondary {
  background: var(--color-white);
  color: var(--color-navy);
  border: 2px solid rgba(15, 22, 41, 0.12);
  box-shadow: 0 2px 14px rgba(15, 22, 41, 0.06);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  border-color: var(--color-brand-green);
  color: var(--color-brand-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(22, 150, 90, 0.12);
}

/* ----- Blog ----- */
.blog-section {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: clamp(2.75rem, 6vw, 4rem);
  padding-bottom: clamp(3.25rem, 7vw, 5rem);
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}

.blog-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.blog-section__title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.blog-section__rule {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-brand-green) 0%, var(--color-brand-purple) 100%);
  border-radius: 2px;
  flex-shrink: 0;
}

.blog-section__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.2;
}

.blog-section__title strong {
  font-weight: 800;
}

.blog-section__view-all {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-brand-green);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-section__view-all:hover,
.blog-section__view-all:focus-visible {
  text-decoration: underline;
}

.blog-section--padded-top {
  padding-top: 3rem;
}

/* Full-width band on home (content still max-width inside) */
.page-home .blog-section {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: clamp(3rem, 8vw, 4.5rem) 0 clamp(3.5rem, 9vw, 5rem);
  background: linear-gradient(180deg, #e8ecf1 0%, #fafcfb 38%, #ffffff 100%);
  border-radius: 0;
  box-sizing: border-box;
}

.page-home .blog-section__head {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}

.page-home .blog-grid {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(15, 22, 41, 0.08);
  transition: box-shadow var(--transition), transform var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.blog-card__image-link {
  display: block;
  overflow: hidden;
}

.blog-card__image {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.03);
}

.blog-card__body {
  position: relative;
  padding: 1.25rem 1.25rem 1.5rem;
  padding-right: 4rem;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  color: #4a5466;
}

.blog-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
}

.blog-card__title a {
  color: var(--color-navy);
  text-decoration: none;
}

.blog-card__title a:hover,
.blog-card__title a:focus-visible {
  color: var(--color-brand-green);
}

.blog-card__excerpt {
  margin: 0;
  font-size: 0.875rem;
  color: #3f4a5c;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__more {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-brand-green);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.blog-card__more:hover,
.blog-card__more:focus-visible {
  background: var(--color-brand-green-hover);
  transform: scale(1.05);
}

/* Anchor placeholders */
.anchor-section {
  padding-top: clamp(2.25rem, 5vw, 3rem);
  padding-bottom: clamp(2.25rem, 5vw, 3rem);
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(15, 22, 41, 0.08);
}

.anchor-section--dark {
  background: var(--color-navy);
  color: var(--color-white);
  max-width: none;
}

.anchor-section__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.anchor-section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.anchor-section p {
  margin: 0;
  color: var(--color-muted);
}

.anchor-section--dark p {
  color: rgba(255, 255, 255, 0.75);
}

/* Footer */
.site-footer {
  background: #eef1f6;
  color: var(--color-muted-dark);
  padding-top: 1.5rem;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
  text-align: center;
  font-size: 0.8125rem;
  border-top: 1px solid rgba(15, 22, 41, 0.08);
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.site-footer p {
  margin: 0;
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--color-brand-green);
  outline-offset: 2px;
}

@media (min-width: 1024px) {
  .site-header.is-open .primary-nav {
    transform: none;
    visibility: visible;
  }
}

/* ----- Inner pages & sections ----- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}

.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  background-color: var(--color-navy);
  background-position: center;
  background-size: cover;
  /* Horizontal spacing comes from .container inside .page-hero__inner */
  padding: clamp(2.25rem, 5vw, 3rem) 0 clamp(1.75rem, 4vw, 2.5rem);
}

.page-hero--image {
  background-repeat: no-repeat;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 13, 18, 0.92) 0%, rgba(15, 22, 41, 0.85) 100%);
  z-index: 0;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7dd3a8;
}

.page-hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
}

.page-hero__lead {
  margin: 0;
  max-width: 640px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.page-hero__actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: #7dd3a8;
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ----- Centered editorial hero (About, Services, …) ----- */
.page-hero.page-hero--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: min(37vh, 320px);
  padding: clamp(3rem, 9vw, 4.75rem) 0 clamp(2.25rem, 6.5vw, 3.35rem);
  text-align: center;
}

@media (min-width: 768px) {
  .page-hero.page-hero--centered {
    min-height: min(35vh, 340px);
  }
}

/* Inner-page centered heroes: one shared brand texture (homepage uses `.hero` instead) */
body.page-about .page-hero.page-hero--centered,
body.page-privacy .page-hero.page-hero--centered,
body.page-services .page-hero.page-hero--centered,
body.page-contact .page-hero.page-hero--centered,
body.page-quality .page-hero.page-hero--centered,
body.page-team .page-hero.page-hero--centered {
  background-color: var(--color-bg);
  background-image:
    linear-gradient(180deg, rgba(8, 12, 18, 0.42) 0%, rgba(8, 12, 18, 0.62) 100%),
    url("../assets/images/page-hero-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

body.page-about .page-hero.page-hero--centered .page-hero__bg,
body.page-services .page-hero.page-hero--centered .page-hero__bg,
body.page-contact .page-hero.page-hero--centered .page-hero__bg,
body.page-quality .page-hero.page-hero--centered .page-hero__bg,
body.page-team .page-hero.page-hero--centered .page-hero__bg,
body.page-privacy .page-hero.page-hero--centered .page-hero__bg {
  background: linear-gradient(
    180deg,
    rgba(8, 12, 18, 0.2) 0%,
    rgba(8, 12, 18, 0.38) 100%
  );
}

.page-hero.page-hero--centered .page-hero__inner {
  display: flex;
  justify-content: center;
  width: 100%;
}

.page-hero.page-hero--centered .page-hero__copy {
  max-width: min(38rem, 100%);
  margin: 0 auto;
  text-align: center;
}

.page-hero.page-hero--centered .page-hero__eyebrow {
  display: inline-block;
  margin: 0 auto 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(184, 232, 207, 0.96);
}

.page-hero.page-hero--centered .page-hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 0.85rem;
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.06;
  text-shadow: 0 2px 32px rgba(15, 22, 41, 0.4);
}

.page-hero.page-hero--centered .page-hero__title-line {
  display: block;
}

.page-hero.page-hero--centered .page-hero__lead {
  margin: 0 auto;
  max-width: 36rem;
  font-size: clamp(1rem, 1.65vw, 1.125rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.9);
}

.page-hero.page-hero--centered .page-hero__actions {
  margin-top: 1.25rem;
  justify-content: center;
  gap: 0.85rem 1rem;
}

/* ----- Services page layout (distinct from About; aligned to brand) ----- */
.services-route {
  padding: clamp(2.25rem, 5vw, 3rem) 0 clamp(2.5rem, 5.5vw, 3.25rem);
  background: linear-gradient(180deg, #f0f3f9 0%, #e8ecf4 100%);
  border-top: 1px solid rgba(15, 22, 41, 0.06);
  border-bottom: 1px solid rgba(15, 22, 41, 0.08);
  color: var(--color-navy);
}

.services-route__header {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.25rem);
}

.services-route__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 22, 41, 0.55);
}

.services-route__lede {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: rgba(15, 22, 41, 0.82);
}

.services-route__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .services-route__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 2rem;
    align-items: start;
  }
}

.services-route__step {
  position: relative;
  margin: 0;
  padding: 1.1rem 0 0 1.35rem;
  border-left: 2px solid rgba(22, 150, 90, 0.35);
}

@media (min-width: 768px) {
  .services-route__step {
    padding: 0;
    border-left: none;
    border-top: 2px solid rgba(22, 150, 90, 0.35);
    padding-top: 1.15rem;
  }
}

.services-route__dot {
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  margin-left: -0.28rem;
  border-radius: 50%;
  background: #16965a;
  box-shadow: 0 0 0 4px rgba(22, 150, 90, 0.2);
}

@media (min-width: 768px) {
  .services-route__dot {
    left: 0;
    top: 0;
    margin-left: 0;
    margin-top: -0.28rem;
  }
}

.services-route__label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  color: var(--color-navy);
}

.services-route__detail {
  display: block;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(15, 22, 41, 0.72);
}

.services-stream {
  margin: 0;
  padding: 0;
}

.services-stream__panel {
  margin: 0;
  padding: clamp(2.25rem, 5vw, 3.25rem) 0;
  border-bottom: 1px solid rgba(15, 22, 41, 0.06);
}

.services-stream__panel:nth-child(odd) {
  background: #fafbfe;
}

.services-stream__panel:nth-child(even) {
  background: #ffffff;
}

.services-stream__inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .services-stream__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 2.75rem);
  }

  .services-stream__panel--reverse .services-stream__inner {
    direction: rtl;
  }

  .services-stream__panel--reverse .services-stream__inner > * {
    direction: ltr;
  }
}

.services-stream__media {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(15, 22, 41, 0.08);
  box-shadow: 0 12px 40px rgba(15, 22, 41, 0.08);
}

.services-stream__media img {
  display: block;
  width: 100%;
  height: auto;
}

.services-stream__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(22, 150, 90, 0.95);
}

.services-stream__copy .section__title {
  margin-top: 0;
}

.services-stream__copy p {
  margin: 0 0 1rem;
  line-height: 1.68;
  color: rgba(15, 22, 41, 0.78);
}

.services-stream__copy p:last-of-type {
  margin-bottom: 1.25rem;
}

.services-catalog__intro {
  max-width: 38rem;
  margin: 0 auto clamp(2rem, 4vw, 2.5rem);
  text-align: center;
}

.services-catalog__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(15, 22, 41, 0.5);
}

.services-catalog__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.services-catalog__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(15, 22, 41, 0.72);
}

/* ----- Blog index ----- */
.blog-hub {
  padding: clamp(2rem, 4.5vw, 2.75rem) 0;
  background: #f6f8fc;
  border-bottom: 1px solid rgba(15, 22, 41, 0.07);
  color: var(--color-navy);
}

.blog-hub__inner {
  max-width: 46rem;
}

.blog-hub__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(15, 22, 41, 0.48);
}

.blog-hub__lede {
  margin: 0 0 1.15rem;
  font-size: clamp(1.02rem, 1.9vw, 1.14rem);
  line-height: 1.65;
  color: rgba(15, 22, 41, 0.78);
}

.blog-hub__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-hub__chips a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 22, 41, 0.12);
  background: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
}

.blog-hub__chips a:hover,
.blog-hub__chips a:focus-visible {
  border-color: rgba(22, 150, 90, 0.45);
  color: #0d5c36;
}

/* ----- Contact ----- */
.contact-prelude {
  padding: clamp(2rem, 4.5vw, 2.75rem) 0;
  background: linear-gradient(180deg, #eef6f1 0%, #e8ecf4 100%);
  border-bottom: 1px solid rgba(15, 22, 41, 0.07);
  color: var(--color-navy);
}

.contact-prelude__grid {
  display: grid;
  gap: 1.35rem;
}

@media (min-width: 768px) {
  .contact-prelude__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
  }
}

.contact-prelude__item {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 22, 41, 0.08);
}

.contact-prelude__label {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(22, 150, 90, 0.95);
}

.contact-prelude__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(15, 22, 41, 0.76);
}

.contact-shell {
  padding-top: clamp(2.75rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.75rem, 5vw, 3.5rem);
}

/* ----- Projects ----- */
.projects-prelude {
  padding: clamp(2rem, 4.5vw, 2.75rem) 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 22, 41, 0.06);
}

.projects-readme {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid rgba(22, 150, 90, 0.55);
  background: #f7faf8;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  color: var(--color-navy);
}

.projects-readme__title {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 22, 41, 0.5);
}

.projects-readme p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(15, 22, 41, 0.78);
}

.projects-facts {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  list-style: none;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .projects-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.projects-facts__item {
  margin: 0;
  padding: 0.85rem 0 0;
  border-top: 2px solid rgba(15, 22, 41, 0.1);
}

.projects-facts__value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.projects-facts__hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(15, 22, 41, 0.62);
}

/* ----- Quality ----- */
.quality-lattice {
  padding: clamp(2.5rem, 5vw, 3.25rem) 0;
  background: #fafbfe;
  border-bottom: 1px solid rgba(15, 22, 41, 0.06);
}

.quality-lattice__head {
  max-width: 40rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.quality-lattice__head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--color-navy);
}

.quality-lattice__head p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(15, 22, 41, 0.76);
}

.quality-lattice__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .quality-lattice__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.quality-lattice__card {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-card);
  background: #ffffff;
  border: 1px solid rgba(15, 22, 41, 0.08);
  box-shadow: 0 8px 28px rgba(15, 22, 41, 0.05);
}

.quality-lattice__card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-navy);
}

.quality-lattice__card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(15, 22, 41, 0.72);
}

.quality-focus {
  padding: clamp(2.5rem, 5vw, 3.25rem) 0;
  background: linear-gradient(165deg, #121a2e 0%, #1a2438 55%, #152032 100%);
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(22, 150, 90, 0.25);
  border-bottom: 1px solid rgba(15, 22, 41, 0.2);
}

.quality-focus__inner {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .quality-focus__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2.5rem;
  }
}

.quality-focus__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(184, 232, 207, 0.95);
}

.quality-focus__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.quality-focus__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.quality-focus__figure {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.quality-focus__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.quality-records {
  padding: clamp(2.25rem, 4.5vw, 3rem) 0;
  background: #ffffff;
}

.quality-records__panel {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1.65rem;
  border-radius: var(--radius-card);
  border: 1px solid rgba(15, 22, 41, 0.08);
  background: linear-gradient(180deg, #f4f7fb 0%, #eef2f8 100%);
}

.quality-records__panel h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 800;
  color: var(--color-navy);
}

.quality-records__panel p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.68;
  color: rgba(15, 22, 41, 0.76);
}

/* ----- Team ----- */
.team-prelude {
  padding: clamp(2rem, 4.5vw, 2.75rem) 0;
  background: linear-gradient(180deg, #f2f4fa 0%, #e9edf6 100%);
  border-bottom: 1px solid rgba(15, 22, 41, 0.07);
  color: var(--color-navy);
}

.team-prelude__inner {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .team-prelude__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
  }
}

.team-prelude__lede {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  line-height: 1.65;
  color: rgba(15, 22, 41, 0.8);
}

.team-prelude__aside {
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-card);
  background: #ffffff;
  border: 1px solid rgba(15, 22, 41, 0.08);
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(15, 22, 41, 0.72);
}

.team-board {
  padding-top: clamp(2.5rem, 5vw, 3.25rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.25rem);
}

/* ----- Service detail: extrusion ----- */
.xv-cover {
  padding: clamp(2.5rem, 5vw, 3.25rem) 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 22, 41, 0.06);
}

.xv-cover__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .xv-cover__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.xv-cover__card {
  margin: 0;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-card);
  border: 1px solid rgba(15, 22, 41, 0.08);
  background: #fafbfe;
}

.xv-cover__card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-navy);
}

.xv-cover__card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(15, 22, 41, 0.72);
}

.xv-cover__card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(15, 22, 41, 0.72);
}

.xv-phases {
  padding: clamp(2.5rem, 5vw, 3.25rem) 0;
  background: #f3f5fa;
  border-bottom: 1px solid rgba(15, 22, 41, 0.06);
}

.xv-phases__title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--color-navy);
}

.xv-phases__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-left: 2px solid rgba(22, 150, 90, 0.35);
}

.xv-phases__list > li {
  position: relative;
  margin: 0;
  padding: 1.1rem 0 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(15, 22, 41, 0.06);
}

.xv-phases__list > li:last-child {
  border-bottom: none;
}

.xv-phases__list > li::before {
  content: "";
  position: absolute;
  left: -0.34rem;
  top: 1.35rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #16965a;
  box-shadow: 0 0 0 4px rgba(22, 150, 90, 0.18);
}

.xv-phases__word {
  display: block;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(22, 150, 90, 0.95);
  margin-bottom: 0.35rem;
}

.xv-phases__list p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(15, 22, 41, 0.76);
}

.xv-insights {
  padding: clamp(2.25rem, 4.5vw, 3.35rem) 0;
  background:
    repeating-linear-gradient(
      118deg,
      rgba(15, 22, 41, 0.012) 0 1px,
      transparent 1px 7px
    ),
    linear-gradient(165deg, #fbfcfe 0%, #eef3f9 48%, #e8eef6 100%);
  border-top: 1px solid rgba(15, 22, 41, 0.06);
  border-bottom: 1px solid rgba(15, 22, 41, 0.06);
}

.xv-insights__grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 900px) {
  .xv-insights__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
    align-items: stretch;
  }
}

.xv-insights__panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.1rem;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 1.65rem) clamp(1.15rem, 3vw, 1.5rem);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 22, 41, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 12px 36px rgba(15, 22, 41, 0.06);
}

.xv-insights__rail {
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(22, 150, 90, 0.95) 0%,
    rgba(22, 150, 90, 0.45) 55%,
    rgba(91, 45, 138, 0.35) 100%
  );
  box-shadow: 0 0 0 1px rgba(22, 150, 90, 0.12);
  align-self: stretch;
  min-height: 3.5rem;
}

.xv-insights__copy {
  min-width: 0;
}

.xv-insights__panel .prose {
  max-width: none;
}

.xv-insights__panel .prose h2 {
  margin-top: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
}

.xv-insights__panel .prose p:last-child {
  margin-bottom: 0;
}

/* ----- Service detail: tooling ----- */
.tl-board {
  padding: clamp(2.5rem, 5vw, 3.25rem) 0;
  background: linear-gradient(180deg, #f7f8fc 0%, #eceff7 100%);
  border-bottom: 1px solid rgba(15, 22, 41, 0.07);
}

.tl-board__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .tl-board__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tl-board__cell {
  margin: 0;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-card);
  background: #ffffff;
  border: 1px solid rgba(15, 22, 41, 0.09);
}

.tl-board__cell h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-navy);
}

.tl-board__cell p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(15, 22, 41, 0.72);
}

.tl-strip {
  padding: clamp(2.5rem, 5vw, 3.25rem) 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 22, 41, 0.06);
}

.tl-strip__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.tl-strip__copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: var(--color-navy);
}

.tl-strip__copy > p {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: rgba(15, 22, 41, 0.76);
}

@media (min-width: 900px) {
  .tl-strip__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2.25rem;
  }
}

.tl-strip__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-strip__list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.75rem;
  border-bottom: 1px solid rgba(15, 22, 41, 0.07);
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(15, 22, 41, 0.78);
}

.tl-strip__list li:last-child {
  border-bottom: none;
}

.tl-strip__list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: rgba(22, 150, 90, 0.85);
}

.tl-strip__media {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(15, 22, 41, 0.08);
}

.tl-strip__media img {
  display: block;
  width: 100%;
  height: auto;
}

.tl-risk-panel {
  padding: clamp(2.25rem, 4.5vw, 3rem) 0;
  background: #fafbfe;
}

.tl-risk-panel__inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-card);
  border: 1px dashed rgba(15, 22, 41, 0.15);
  background: #ffffff;
}

.tl-risk-panel__inner h2 {
  margin-top: 0;
}

/* ----- Blog article layout (below editorial hero) ----- */
.article-layout {
  padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(3rem, 6vw, 4rem);
  background: #fafbfe;
}

.article-layout .back-link {
  margin-bottom: 1.25rem;
}

.article-layout .article-page__meta {
  margin-bottom: 1.25rem;
}

.article-layout .prose {
  max-width: 40rem;
  margin: 0 auto;
}

/* About-only bridge under hero — editorial column layout (not homepage stat cards) */
.about-bridge {
  padding: clamp(2.25rem, 5vw, 3rem) 0 clamp(2.5rem, 5.5vw, 3.25rem);
  background: linear-gradient(180deg, #e8ecf4 0%, #dfe5ef 48%, #e6eaf3 100%);
  border-top: 1px solid rgba(15, 22, 41, 0.06);
  border-bottom: 1px solid rgba(15, 22, 41, 0.08);
  color: var(--color-navy);
}

.about-bridge__header {
  margin-bottom: clamp(1.75rem, 4vw, 2.25rem);
  max-width: 38rem;
}

.about-bridge__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-brand-green);
}

.about-bridge__lede {
  margin: 0;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.65;
  color: var(--color-muted-dark);
}

.about-bridge__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 860px) {
  .about-bridge__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
  }

  .about-bridge__item {
    padding: 0 max(var(--page-gutter), min(2rem, 2.5vw));
    border-left: 1px solid rgba(15, 22, 41, 0.1);
  }

  .about-bridge__item:first-child {
    padding-left: 0;
    border-left: none;
  }

  .about-bridge__item:last-child {
    padding-right: 0;
  }
}

.about-bridge__item {
  margin: 0;
}

.about-bridge__index {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--color-brand-purple);
  opacity: 0.85;
}

.about-bridge__item-title {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-navy);
}

.about-bridge__item-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-muted-dark);
}

/* About page — narrative (asymmetric copy + portrait rail, not homepage split) */
.about-narrative {
  padding: clamp(3.75rem, 8vw, 5.25rem) 0;
  background: #ffffff;
}

.about-narrative__layout {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  align-items: start;
}

@media (min-width: 880px) {
  .about-narrative__layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(180px, 0.34fr);
    gap: clamp(2rem, 4vw, 3.25rem);
    align-items: stretch;
  }

  .about-narrative__figure {
    display: flex;
    min-height: min(26rem, 62vh);
  }

  .about-narrative__figure img {
    aspect-ratio: unset;
    min-height: 100%;
    flex: 1;
  }
}

.about-narrative__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-green);
}

.about-narrative__title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--color-navy);
  max-width: 22rem;
}

.about-narrative__body p {
  margin: 0 0 1.1rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-muted-dark);
}

.about-narrative__body p:last-child {
  margin-bottom: 1.5rem;
}

.about-narrative__figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 22, 41, 0.08);
  box-shadow: 0 20px 48px rgba(15, 22, 41, 0.12);
  transform: rotate(-0.65deg);
}

.about-narrative__figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 12rem;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

@media (max-width: 879px) {
  .about-narrative__figure {
    order: -1;
    max-width: min(22rem, 100%);
    margin-inline: auto;
    transform: none;
  }

  .about-narrative__figure img {
    aspect-ratio: 4 / 3;
    min-height: unset;
  }

  .about-narrative__title {
    max-width: none;
  }
}

/* Definition-style proof grid (not homepage trust pills) */
.about-proof {
  padding: clamp(2.75rem, 6vw, 3.75rem) 0;
  background: #fbfcfe;
  border-top: 1px solid rgba(15, 22, 41, 0.06);
}

.about-proof__header {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.about-proof__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--color-navy);
}

.about-proof__lede {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-muted-dark);
}

.about-proof__list {
  margin: 0;
  padding: 0;
  border: 1px solid rgba(15, 22, 41, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
}

.about-proof__pair {
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid rgba(15, 22, 41, 0.08);
}

.about-proof__pair:last-child {
  border-bottom: none;
}

.about-proof__pair:nth-child(odd) {
  background: rgba(248, 250, 252, 0.9);
}

.about-proof__pair dt {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}

.about-proof__pair dd {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-muted-dark);
}

.about-proof__note {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--color-muted-dark);
}

.about-proof__note a {
  color: var(--color-brand-green);
  font-weight: 700;
  text-decoration: none;
}

.about-proof__note a:hover,
.about-proof__note a:focus-visible {
  text-decoration: underline;
  color: var(--color-brand-green-hover);
}

/* Vertical rail timeline (not card grid) */
.about-workstreams {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background: linear-gradient(180deg, #eef2f9 0%, #e8edf6 45%, #f1f4fa 100%);
}

.about-workstreams__intro {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.about-workstreams__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-green);
}

.about-workstreams__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
}

.about-workstreams__lede {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-muted-dark);
}

.about-workstreams__rail {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 38rem;
  border-left: 2px solid rgba(22, 150, 90, 0.28);
}

.about-workstreams__stop {
  position: relative;
  margin: 0;
  padding: 0 0 1.75rem 1.65rem;
}

.about-workstreams__stop:last-child {
  padding-bottom: 0;
}

.about-workstreams__dot {
  position: absolute;
  left: -0.5rem;
  top: 0.4rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand-green) 0%, var(--color-brand-purple) 100%);
  box-shadow: 0 0 0 4px rgba(22, 150, 90, 0.18);
}

.about-workstreams__panel {
  padding: 1.2rem 1.35rem;
  background: var(--color-white);
  border-radius: 12px;
  border: 1px solid rgba(15, 22, 41, 0.07);
  box-shadow: 0 10px 28px rgba(15, 22, 41, 0.06);
}

.about-workstreams__panel-title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy);
}

.about-workstreams__panel-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-muted-dark);
}

.about-workstreams__cta {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1rem;
}

/* Full-width principle bands (not stat cards) */
.about-tenets {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 55%, #ffffff 100%);
}

.about-tenets__intro {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 38rem;
}

.about-tenets__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-green);
}

.about-tenets__title {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
}

.about-tenets__bands {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(15, 22, 41, 0.08);
}

.about-tenets__band {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(15, 22, 41, 0.08);
  align-items: baseline;
}

@media (min-width: 640px) {
  .about-tenets__band {
    grid-template-columns: minmax(6.5rem, 9rem) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
  }
}

.about-tenets__word {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-brand-green);
}

.about-tenets__detail {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-muted-dark);
}

.section {
  padding: 4rem 0;
}

.section--muted {
  background: #e8ecf1;
}

.section__head {
  margin-bottom: 2rem;
  max-width: 720px;
}

.section__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand-green);
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
}

.section__title--rule {
  margin-bottom: 1.5rem;
}

.section__lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-muted-dark);
}

.section__cta-wrap {
  margin-top: 2rem;
  text-align: center;
}

.section__note {
  margin-top: 2rem;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.home-stats-strip {
  background: linear-gradient(
    180deg,
    var(--color-stats-strip-top) 0%,
    #f7f9fc 55%,
    #ffffff 100%
  );
  border-top: none;
  padding: 0 0 0.5rem;
  margin-top: -1px;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 2;
  align-items: stretch;
}

@media (min-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
}

.stat-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(15, 22, 41, 0.06);
  border-top: 3px solid var(--color-brand-green);
  box-shadow: 0 8px 32px rgba(15, 22, 41, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 22, 41, 0.1);
}

.stat-card__value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-brand-green);
  line-height: 1.1;
}

.stat-card__label {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-navy);
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

/* Home impact stats — premium card treatment */
.home-stats-strip .stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 1.85rem 1.5rem 1.75rem;
  border: 1px solid rgba(22, 150, 90, 0.1);
  border-top: none;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, #ffffff 28%, #f8fcfa 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 10px 36px rgba(15, 22, 41, 0.06),
    0 2px 6px rgba(15, 22, 41, 0.03);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.home-stats-strip .stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(
    90deg,
    var(--color-brand-green) 0%,
    #1aad6e 42%,
    var(--color-brand-purple) 100%
  );
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

.home-stats-strip .stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(22, 150, 90, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 22px 50px rgba(22, 150, 90, 0.09),
    0 12px 28px rgba(15, 22, 41, 0.08);
}

.home-stats-strip .stat-card__value {
  position: relative;
  font-size: clamp(1.85rem, 2.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--color-brand-green);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.home-stats-strip .stat-card__value::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin: 1rem auto 0;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-brand-green) 22%,
    var(--color-brand-purple) 78%,
    transparent 100%
  );
  opacity: 0.85;
}

.home-stats-strip .stat-card__label {
  margin: 1rem 0 0;
  flex: 1;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-muted-dark);
  max-width: 19rem;
  text-wrap: balance;
}

/* Home — certification trust strip */
.trust-banner {
  padding: 1.35rem 0 1.75rem;
  background: linear-gradient(180deg, #ffffff 0%, #f6faf8 45%, #f2f7f4 100%);
  border-top: 1px solid rgba(22, 150, 90, 0.12);
  border-bottom: 1px solid rgba(15, 22, 41, 0.06);
}

.trust-banner__inner {
  text-align: center;
}

.trust-banner__title {
  margin: 0 0 1.1rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-brand-green);
}

.trust-banner__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.65rem 0.75rem;
}

.trust-banner__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem 0.55rem 0.65rem;
  background: var(--color-white);
  border: 1px solid rgba(15, 22, 41, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(15, 22, 41, 0.04);
  text-align: left;
  min-width: 0;
}

.trust-banner__icon {
  flex-shrink: 0;
  display: flex;
  color: var(--color-brand-green);
  opacity: 0.92;
}

.trust-banner__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.trust-banner__name {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.trust-banner__hint {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-muted-dark);
  line-height: 1.3;
}

.trust-banner__note {
  margin: 1.15rem 0 0;
  font-size: 0.75rem;
  color: var(--color-muted-dark);
  line-height: 1.45;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.trust-banner__note a {
  color: var(--color-brand-green);
  font-weight: 700;
  text-decoration: none;
}

.trust-banner__note a:hover,
.trust-banner__note a:focus-visible {
  text-decoration: underline;
  color: var(--color-brand-green-hover);
}

@media (min-width: 640px) {
  .trust-banner__list {
    gap: 0.75rem 1rem;
  }

  .trust-banner__item {
    padding: 0.65rem 1rem 0.65rem 0.75rem;
  }

  .trust-banner__name {
    font-size: 0.875rem;
  }
}

.value-card {
  text-align: left;
}

.value-card .stat-card__value {
  font-size: 1.25rem;
  display: block;
}

.value-card .stat-card__label {
  text-align: left;
  font-weight: 500;
  color: var(--color-muted-dark);
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.split__media {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(15, 22, 41, 0.08);
  background: #e8eaef;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split__content h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-navy);
}

.split__content p {
  margin: 0 0 1rem;
  color: var(--color-muted-dark);
}

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

.preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.preview-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(15, 22, 41, 0.08);
  transition: box-shadow var(--transition), transform var(--transition);
}

.preview-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.preview-card__image {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: #e8eaef;
}

.preview-card__body {
  padding: 1.25rem;
}

.preview-card__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-brand-purple);
  margin-bottom: 0.35rem;
}

.preview-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.preview-card__title a {
  color: var(--color-navy);
  text-decoration: none;
}

.preview-card__title a:hover,
.preview-card__title a:focus-visible {
  color: var(--color-brand-green);
}

.preview-card__excerpt {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-muted-dark);
}

.cta-band {
  background: linear-gradient(180deg, #f0faf5 0%, #eef2f7 55%, #e8ecf2 100%);
  color: var(--color-navy);
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(22, 150, 90, 0.2);
}

.cta-band__inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-band__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--color-navy);
}

.cta-band__text {
  margin: 0 0 1.5rem;
  color: var(--color-muted-dark);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1rem;
}

.cta-band--about,
.cta-band--services,
.cta-band--projects,
.cta-band--quality,
.cta-band--svc-detail {
  background: linear-gradient(165deg, #0f1629 0%, #151d33 42%, #1a2538 100%);
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(22, 150, 90, 0.28);
}

.cta-band--about .cta-band__title,
.cta-band--services .cta-band__title,
.cta-band--projects .cta-band__title,
.cta-band--quality .cta-band__title,
.cta-band--svc-detail .cta-band__title {
  color: #ffffff;
}

.cta-band--about .cta-band__text,
.cta-band--services .cta-band__text,
.cta-band--projects .cta-band__text,
.cta-band--quality .cta-band__text,
.cta-band--svc-detail .cta-band__text {
  color: rgba(255, 255, 255, 0.78);
}

.services-grid-page {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid-page {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid-page {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-tile {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(15, 22, 41, 0.08);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-tile:hover,
.service-tile:focus-visible {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.service-tile__image {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: #e8eaef;
}

.service-tile__body {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-tile__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-navy);
}

.service-tile__excerpt {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-muted-dark);
  flex: 1;
}

.service-tile__link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-brand-green);
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--color-muted-dark);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose a {
  color: var(--color-brand-green);
  font-weight: 600;
  text-decoration: none;
}

.prose a:hover,
.prose a:focus-visible {
  text-decoration: underline;
}

.project-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(15, 22, 41, 0.08);
}

.project-card__image {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: #e8eaef;
}

.project-card__body {
  padding: 1.25rem;
}

.project-card__sector {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand-green);
  margin-bottom: 0.35rem;
}

.project-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.project-card__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-muted-dark);
}

.team-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(15, 22, 41, 0.08);
  text-align: center;
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #e8eaef;
}

.team-card__body {
  padding: 1.25rem;
}

.team-card__name {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.team-card__role {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-brand-green);
}

.team-card__email {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
}

.team-card__email a {
  color: var(--color-brand-purple);
  font-weight: 600;
  text-decoration: none;
}

.team-card__email a:hover {
  text-decoration: underline;
}

.team-card__bio {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--color-muted-dark);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.contact-card {
  background: #f4f6f9;
  border-radius: var(--radius-card);
  padding: 1.5rem;
  border: 1px solid rgba(15, 22, 41, 0.08);
}

.contact-card h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-muted-dark);
}

.contact-list a {
  color: var(--color-brand-green);
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  text-decoration: underline;
}

.form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--color-navy);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  border: 1px solid rgba(15, 22, 41, 0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  background: var(--color-white);
}

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

.form__hint {
  margin: -0.5rem 0 1rem;
  font-size: 0.8125rem;
  color: var(--color-muted-dark);
}

.section__head .form__hint--tight {
  margin: 0.5rem 0 1.25rem;
}

.form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-notice {
  margin: 0.75rem 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.form-notice--ok {
  background: rgba(22, 150, 90, 0.12);
  border: 1px solid rgba(22, 150, 90, 0.35);
  color: var(--color-text);
}

.form-notice--err {
  background: rgba(180, 40, 40, 0.08);
  border: 1px solid rgba(180, 40, 40, 0.35);
  color: var(--color-text);
}

.contact-map {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(15, 22, 41, 0.1);
  background: rgba(15, 22, 41, 0.04);
  aspect-ratio: 4 / 3;
  min-height: 220px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
}

.contact-map__note {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-muted-dark);
}

.site-footer--extended {
  text-align: left;
  padding-top: 2.5rem;
  padding-bottom: max(2.5rem, env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}

@media (max-width: 767px) {
  .site-footer--extended {
    text-align: center;
  }

  .site-footer--extended .site-footer__grid {
    justify-items: center;
  }

  .site-footer--extended .site-footer__links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.site-footer__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer__brand {
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li {
  margin-bottom: 0.5rem;
}

.site-footer__links a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.875rem;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--color-brand-green);
}

.site-footer__col-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-navy);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer__desc {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.site-footer__meta {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-muted-dark);
  line-height: 1.55;
}

.site-footer__meta a {
  color: var(--color-brand-green);
  font-weight: 600;
  text-decoration: none;
}

.site-footer__meta a:hover,
.site-footer__meta a:focus-visible {
  text-decoration: underline;
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 22, 41, 0.1);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-muted-dark);
}

.site-footer__credit {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-muted-dark);
  line-height: 1.5;
}

.site-footer__credit a {
  color: var(--color-brand-green);
  font-weight: 600;
  text-decoration: none;
}

.site-footer__credit a:hover,
.site-footer__credit a:focus-visible {
  text-decoration: underline;
  color: var(--color-brand-green-hover);
}

.article-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted-dark);
}

.article-page__title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
}

.article-page__figure {
  margin: 0 0 2rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(15, 22, 41, 0.08);
}

.article-page__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-brand-green);
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.back-link:hover,
.back-link:focus-visible {
  text-decoration: underline;
}

/* ----- 404 page ----- */
.page-missing {
  padding: clamp(4rem, 12vw, 7rem) 0;
  text-align: center;
}

.page-missing__inner {
  max-width: 32rem;
  margin: 0 auto;
}

.page-missing__code {
  margin: 0 0 0.5rem;
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(22, 150, 90, 0.35);
}

.page-missing__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--color-navy);
}

.page-missing__lead {
  margin: 0 0 1.5rem;
  color: rgba(15, 22, 41, 0.72);
  line-height: 1.55;
}

.page-missing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ----- Legal / privacy ----- */
.legal-content {
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.legal-content__inner {
  max-width: 42rem;
}

.legal-content__inner .section__title {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.legal-content__inner .section__title:first-of-type {
  margin-top: 0;
}

.legal-content__inner p {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: rgba(15, 22, 41, 0.78);
}

.legal-content__updated {
  margin-top: 2rem !important;
  font-size: 0.9rem;
  color: rgba(15, 22, 41, 0.55);
}

/* ----- Cookie consent banner ----- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem;
  background: rgba(15, 22, 41, 0.96);
  color: #f4f7fb;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.25rem;
  }
}

.cookie-banner__title {
  margin: 0 0 0.25rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(244, 247, 251, 0.88);
}

.cookie-banner__text a {
  color: #8fd4b0;
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner .btn--secondary {
  background: transparent;
  color: #f4f7fb;
  border-color: rgba(244, 247, 251, 0.35);
}
