/* ==========================================================================
   eStrategy Solutions — Bootstrap 5 theme layer
   Calm institutional govtech. Source Serif 4 headings + Public Sans body.
   Brand blues retained; Texas Red as accent.

   This file themes Bootstrap 5: it remaps the relevant --bs-* tokens to the
   brand system and adds the bespoke components (hero, cards, video frame,
   numeric/abstract graphics, contact band, footer) that Bootstrap does not
   provide. Bootstrap supplies the reboot, grid, navbar, collapse, accordion,
   and utility classes.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
:root {
  --primary:        #3066A3;
  --primary-dark:   #023971;
  --primary-light:  #EAF3F7;
  --gray:           #69696B;
  --gray-light:     #BABEC3;
  --ink:            #1c2733;   /* near-black for long-form text, AA on white */
  --red:            #BF0A30;   /* Texas Red */
  --red-dark:       #9c0825;
  --white:          #FFFFFF;
  --surface:        #FFFFFF;
  --bg-tint:        #f4f8fb;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(2,57,113,.06), 0 1px 3px rgba(2,57,113,.04);
  --shadow:    0 2px 6px rgba(2,57,113,.06), 0 12px 28px -12px rgba(2,57,113,.18);
  --shadow-lg: 0 8px 20px -8px rgba(2,57,113,.18), 0 30px 60px -24px rgba(2,57,113,.28);

  /* Material-style elevation (navy-tinted umbra / penumbra / ambient) */
  --elev-2: 0 2px 1px -1px rgba(8,28,52,.14), 0 1px 2px 0 rgba(8,28,52,.16), 0 1px 5px 0 rgba(8,28,52,.10);
  --elev-4: 0 2px 4px -1px rgba(8,28,52,.16), 0 4px 6px 0 rgba(8,28,52,.14), 0 1px 12px 0 rgba(8,28,52,.10);
  --elev-8: 0 5px 6px -3px rgba(8,28,52,.18), 0 8px 12px 1px rgba(8,28,52,.16), 0 3px 18px 2px rgba(8,28,52,.10);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);

  /* Map Bootstrap core tokens onto the brand system */
  --bs-primary:        #3066A3;
  --bs-primary-rgb:    48,102,163;
  --bs-body-font-family: var(--sans);
  --bs-body-color:     #1c2733;
  --bs-body-color-rgb: 28,39,51;
  --bs-body-bg:        #ffffff;
  --bs-link-color:     #3066A3;
  --bs-link-color-rgb: 48,102,163;
  --bs-link-hover-color: #023971;
  --bs-border-radius:  var(--radius);
  --bs-emphasis-color: var(--primary-dark);
}

/* ---- Base ---------------------------------------------------------------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  line-height: 1.6;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Inset the focus ring where the focusable element fills an overflow:hidden
   container (FAQ items, video frame) so the outline isn't clipped. */
.faq .accordion-button:focus-visible,
.videoframe .v-inner:focus-visible { outline-offset: -3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--primary-dark); color: #fff;
  padding: .6rem 1rem; border-radius: 0 0 8px 8px; z-index: 1090;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---- Typography ---------------------------------------------------------- */
h1, h2, h3, h4,
.h1, .h2, .h3, .h4 {
  font-family: var(--serif);
  color: var(--primary-dark);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(1.52rem, 1.16rem + 1.52vw, 2.08rem); }
h2, .h2 { font-size: clamp(1.2rem, 0.96rem + 1.04vw, 1.6rem); }
h3, .h3 { font-size: clamp(0.92rem, 0.84rem + .44vw, 1.08rem); }
h4, .h4 { font-size: 0.84rem; }
p { margin: 0 0 1rem; max-width: 68ch; text-wrap: pretty; }
.lead { font-size: clamp(1.06rem, 1.0rem + .35vw, 1.2rem); color: var(--gray); line-height: 1.55; font-weight: 400; }
strong { color: var(--ink); font-weight: 700; }

/* eyebrow / category label */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 2px; background: var(--red); border-radius: 2px;
}
.eyebrow.is-blue { color: var(--primary); }
.eyebrow.is-blue::before { background: var(--primary); }

/* ---- Layout -------------------------------------------------------------- */
.container { max-width: var(--maxw); padding-inline: var(--gutter); }
/* Width cap only. Centering comes from `.container` when the two are combined
   (e.g. the ABC page); used standalone it stays left-aligned like section heads. */
.container--narrow { max-width: 880px; }
section { position: relative; }
.section { padding-block: 1rem; }
section[id] { scroll-margin-top: 80px; }
.section--tint { background: var(--bg-tint); }
.section--light { background: var(--primary-light); }
.section-head { max-width: none; margin-bottom: clamp(.85rem, .65rem + .6vw, 1.25rem); }
.section-head .lead { max-width: 64ch; margin-top: .35rem; }

/* CSS-grid helpers (asymmetric ratios Bootstrap's 12-col cannot express) */
.split {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center;
}
.split--start { align-items: start; }
#about .split { grid-template-columns: 1.43fr .57fr; }
#about .prose p, #about .prose .lead { max-width: none; }
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
  #about .split { grid-template-columns: 1fr; }
}

/* Equal-width card grids built on Bootstrap rows — match the prototype gaps */
.card-grid { --bs-gutter-x: clamp(1rem, .6rem + 1vw, 1.6rem); --bs-gutter-y: clamp(1rem, .6rem + 1vw, 1.6rem); }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid var(--btn-bg); border-radius: 999px;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  text-align: center; line-height: 1.2;
}
/* Re-assert bg/border on hover so Bootstrap's own `.btn:hover` (which resets
   them to transparent) can't override the variable-driven variant colors. */
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); background: var(--btn-bg); border-color: var(--btn-bg); }
.btn:active { transform: translateY(0); box-shadow: var(--elev-2); }
.btn .ic { width: 1.1em; height: 1.1em; }

.btn-red { --btn-bg: var(--red); --btn-fg: #fff; box-shadow: var(--elev-2); }
.btn-red:hover { --btn-bg: var(--red-dark); box-shadow: var(--elev-8); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--primary); border-color: transparent; min-height: auto; padding: .35rem .25rem; }
.btn-ghost:hover { --btn-fg: var(--primary-dark); transform: none; box-shadow: none; gap: .8rem; }
.btn-ghost .arrow { transition: transform .18s var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(3px); }

/* ---- Header / Nav (Bootstrap navbar themed) ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid #eaeff4;
  box-shadow: 0 1px 0 rgba(8,28,52,.04);
  transition: box-shadow .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.97);
  border-bottom-color: transparent;
  box-shadow: var(--elev-4);
}
.site-header .navbar { padding: 0; }
.site-header .navbar > .container { min-height: 76px; gap: 1.25rem; flex-wrap: nowrap; }

.brand { display: inline-flex; align-items: center; gap: .55rem; padding: 0; margin: 0; }
.brand:hover { color: inherit; }
/* Header lockup — same logo asset as the footer, matched to its 72px height. */
.brand-logo { height: 72px; width: auto; display: block; }
@media (max-width: 576px) { .brand-logo { height: 55px; } }

.nav-links { gap: .25rem; }
.nav-links .nav-link {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: .5rem .8rem; border-radius: 8px;
  font-weight: 600; font-size: .98rem; color: var(--ink);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav-links .nav-link:hover,
.nav-links .nav-link:focus { background: var(--primary-light); color: var(--primary-dark); }
.nav-links .nav-link[aria-current="page"],
.nav-links .nav-link.active { background: var(--primary-light); color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: .6rem; flex: none; }
/* Contact CTA in the nav — red outline at rest, fills red on hover.
   NOTE: :hover must set color:#fff explicitly to beat the global
   `a:hover { color: var(--primary-dark) }` (blue) and keep the label white. */
.nav-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: .55rem 1rem; border-radius: 999px;
  background: #fff; color: var(--red); border: 2px solid var(--red);
  font-family: var(--sans); font-weight: 600; font-size: .95rem; line-height: 1.2;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.nav-cta:hover  { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); box-shadow: var(--elev-4); }
.nav-cta:active { transform: translateY(0); box-shadow: var(--elev-2); }
.nav-cta svg    { width: 1.05em; height: 1.05em; }

.nav-toggle {
  width: 46px; height: 46px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #e0e7ee; border-radius: 10px; cursor: pointer;
}
.nav-toggle:focus { box-shadow: none; }
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--primary-dark); }
.nav-toggle .x { display: none; }
.nav-toggle[aria-expanded="true"] .bars { display: none; }
.nav-toggle[aria-expanded="true"] .x { display: block; }

@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid #e6edf3;
    box-shadow: var(--shadow); padding: .5rem var(--gutter) 1rem;
  }
  .nav-links { gap: 0; }
  .nav-links .nav-link { padding: .85rem .6rem; font-size: 1.05rem; border-radius: 8px; }
  .nav-links .nav-item + .nav-item .nav-link { border-top: 1px solid #f0f4f8; }
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 480px at 88% -10%, rgba(48,102,163,.14), transparent 60%),
    radial-gradient(900px 420px at -5% 110%, rgba(2,57,113,.10), transparent 55%),
    var(--white);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(#0239711a 1px, transparent 1px), linear-gradient(90deg, #0239711a 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(700px 360px at 85% 10%, #000, transparent 70%);
  mask-image: radial-gradient(700px 360px at 85% 10%, #000, transparent 70%);
  opacity: .75;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { padding-block: 1rem; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { max-width: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #e6edf3; }
.trust-item { display: flex; align-items: center; gap: .6rem; color: var(--gray); font-size: .95rem; font-weight: 600; }
.trust-item .ic { width: 1.3rem; height: 1.3rem; color: var(--primary); flex: none; }
.trust-item b { color: var(--primary-dark); font-size: 1.15rem; font-family: var(--serif); }

/* ---- Cards --------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid #e7eef4;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--gray); margin-bottom: 0; font-size: 1rem; }

/* icon inline with heading (icon cards) */
.card--icon { display: grid; grid-template-columns: auto 1fr; column-gap: .85rem; align-content: start; }
.card--icon > .itile { margin-bottom: 0; grid-row: 1; grid-column: 1; width: 46px; height: 46px; border-radius: 12px; align-self: start; }
.card--icon > .itile svg { width: 24px; height: 24px; }
.card--icon > h3 { grid-column: 2; margin-bottom: 0; align-self: start; min-height: 46px; display: flex; align-items: center; }
.card--icon > p { grid-column: 1 / -1; margin: .55rem 0 0; }
/* who-we-serve variant: icon + title vertically centred together */
.card--icon-center > .itile { align-self: center; }
.card--icon-center > h3 { align-self: center; }

/* icon tile */
.itile {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(150deg, #eaf3f7, #d6e7f1);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(48,102,163,.08);
}
.itile svg { width: 28px; height: 28px; stroke-width: 1.6; }
.itile--red { background: linear-gradient(150deg, #fdecef, #f7d4dc); color: var(--red); box-shadow: inset 0 0 0 1px rgba(191,10,48,.1); }
.itile--dark { background: linear-gradient(150deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 10px 22px -10px rgba(2,57,113,.55); }

/* highlighted feature card (zero-fiscal) */
.card--highlight {
  position: relative;
  background: linear-gradient(160deg, #ffffff, #fff6f8);
  border-color: #f3d6dd;
}
.card--highlight::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(191,10,48,.16);
  pointer-events: none;
}

/* feature card with graphic panel (replaces photos) */
.fcard { background: #fff; border: 1px solid #e7eef4; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; }
.fcard-art {
  position: relative; aspect-ratio: 16 / 6; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: .9rem 1rem 1rem;
}
.fcard-art .art-ic { width: 44px; height: 44px; color: #fff; stroke-width: 1.5; position: relative; z-index: 1; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.fcard-title { position: relative; z-index: 1; margin: 0; color: #fff; font-family: var(--serif); font-weight: 600; font-size: clamp(1rem, 0.88rem + .4vw, 1.2rem); line-height: 1.08; text-shadow: 0 2px 12px rgba(0,0,0,.28); }
.art-a { background: linear-gradient(140deg, #3a78b8, #023971); }
.art-b { background: linear-gradient(140deg, #2f6fae, #0a4a86); }
.art-c { background: linear-gradient(140deg, #b3324a, #7c0b22); }
.fcard-art::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 22% 28%, rgba(255,255,255,.28), transparent 42%), radial-gradient(circle at 80% 75%, rgba(255,255,255,.14), transparent 45%);
}
.fcard-body { padding: 1rem; }
.fcard-body p { color: var(--gray); margin: 0; font-size: 1rem; }
.fcard--a, .fcard--b, .fcard--c { border-color: transparent; }
.fcard--a .fcard-body { background: #023971; }
.fcard--b .fcard-body { background: #0a4a86; }
.fcard--c .fcard-body { background: #7c0b22; }
.fcard--a .fcard-body p, .fcard--b .fcard-body p, .fcard--c .fcard-body p { color: rgba(255,255,255,.86); }

/* ---- Feature list (checks) ---------------------------------------------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink); }
.checklist .ck {
  flex: none; width: 26px; height: 26px; border-radius: 999px; margin-top: 1px;
  background: var(--primary-light); color: var(--primary);
  display: grid; place-items: center;
}
.checklist .ck svg { width: 15px; height: 15px; stroke-width: 2.4; }

/* ---- Agency / sector list (Who We Serve) -------------------------------- */
.agency-grid { columns: 2; column-gap: 2rem; list-style: none; margin: 0; padding: 0; }
.agency-grid li {
  break-inside: avoid;
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem 0; color: var(--ink); font-weight: 600;
  border-bottom: 1px solid #eef3f7;
}
.agency-grid li .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--primary); flex: none; }
@media (max-width: 576px) { .agency-grid { columns: 1; } }

.sectors { display: grid; gap: .45rem; }
.sector-row {
  display: flex; align-items: center; gap: .85rem;
  padding: .55rem 1rem; border-radius: var(--radius);
  border: 1px solid #e7eef4; background: #fff;
}
a.sector-row { transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); cursor: pointer; }
a.sector-row:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: #cfe0ec; color: inherit; }
.sector-row .s-ic { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; flex: none; background: linear-gradient(150deg,#eaf3f7,#d6e7f1); color: var(--primary); }
.sector-row .s-ic svg { width: 19px; height: 19px; stroke-width: 1.7; }
.sector-row .s-name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--primary-dark); }
.sector-row .s-meta { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; color: var(--primary); font-weight: 700; font-size: .9rem; }
.sector-row.is-muted { background: #fafbfc; border-color: #eef1f4; cursor: default; }
.sector-row.is-muted .s-name { color: var(--gray); }
.sector-row.is-muted .s-ic { background: #f0f2f4; color: var(--gray-light); box-shadow: none; }
/* spotlight variant (Services section) */
.sector-row--spotlight { padding: 1rem; margin-top: 2rem; }
.sector-row--spotlight .s-ic { width: 52px; height: 52px; }
.sector-row--spotlight .s-name { display: block; }

/* ---- Video frame -------------------------------------------------------- */
.videoframe {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, #0a4a86, #023971);
  aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg);
  display: grid; place-items: center; isolation: isolate;
}
.videoframe video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.videoframe::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,.18), transparent 40%), radial-gradient(circle at 78% 72%, rgba(48,102,163,.4), transparent 45%);
}
.videoframe::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 34px 34px;
}
/* Once playback starts the video sits above the decorative textures so the
   native controls are visible and clickable. */
.videoframe.is-playing::before, .videoframe.is-playing::after { display: none; }
.videoframe .v-inner { position: relative; z-index: 2; text-align: center; color: #fff; padding: 1rem; background: none; border: 0; cursor: pointer; width: 100%; }
.play-btn {
  width: 76px; height: 76px; border-radius: 999px; margin: 0 auto .9rem;
  display: grid; place-items: center;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); backdrop-filter: blur(4px);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.videoframe:hover .play-btn { transform: scale(1.06); background: rgba(255,255,255,.26); }
.play-btn svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }
.v-label { display: block; font-weight: 700; letter-spacing: .02em; font-size: 1.02rem; }
.v-sub { display: block; font-size: .85rem; opacity: .82; margin-top: .2rem; }

/* ---- Numeric / abstract graphics ---------------------------------------- */
.numgraphic {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(155deg, #3a78b8, #023971);
  color: #fff; padding: 1rem;
  box-shadow: var(--shadow-lg); display: grid; place-content: center; text-align: center;
  min-height: 280px;
}
.numgraphic::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(circle at 80% 15%, rgba(255,255,255,.22), transparent 45%), radial-gradient(circle at 12% 90%, rgba(191,10,48,.35), transparent 45%);
}
.numgraphic .big { font-family: var(--serif); font-weight: 600; font-size: clamp(3.5rem, 2rem + 8vw, 6rem); line-height: .95; letter-spacing: -.02em; position: relative; }
.numgraphic .big sup { font-size: .35em; vertical-align: super; opacity: .85; }
.numgraphic .cap { position: relative; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; margin-top: .75rem; opacity: .92; }
/* DIR badge variant */
.numgraphic--dir { min-height: 0; padding: 1rem; background: linear-gradient(155deg, #b3324a, #7c0b22); }
.numgraphic--dir .dir-mark { margin: 0 auto .4rem; height: 46px; width: auto; display: block; }
.numgraphic--dir .big { font-size: clamp(2.4rem, 1.5rem + 4vw, 3.4rem); }

.abstract {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(155deg, #eaf3f7, #cfe2ef);
  min-height: 300px; box-shadow: var(--shadow); display: grid; place-items: center; text-align: center;
}
.abstract::before {
  content: ""; position: absolute; inset: 0; opacity: .7;
  background-image: radial-gradient(circle at 80% 16%, rgba(255,255,255,.55), transparent 46%), radial-gradient(circle at 14% 88%, rgba(48,102,163,.18), transparent 52%);
}
.abstract::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(48,102,163,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(48,102,163,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(360px 300px at 70% 30%, #000, transparent 75%);
  mask-image: radial-gradient(360px 300px at 70% 30%, #000, transparent 75%);
}
.abstract-inner { position: relative; z-index: 1; display: grid; gap: 1.1rem; justify-items: center; padding: 1rem; }
.abstract-ic { width: 104px; height: 104px; color: var(--primary-dark); }

/* About graphics — compact two-up row, small screens only (wrapper is .d-md-none,
   so these rules never affect md+ layouts). 25+ on the left, handshake on right. */
.about-graphics-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: stretch; }
.about-graphics-mobile .numgraphic,
.about-graphics-mobile .abstract { min-height: 150px; height: 100%; padding: 1rem .75rem; }
.about-graphics-mobile .numgraphic .big { font-size: clamp(2rem, 1.2rem + 6vw, 3rem); }
.about-graphics-mobile .numgraphic .cap { font-size: .6rem; letter-spacing: .08em; margin-top: .3rem; }
.about-graphics-mobile .abstract-inner { gap: 0; padding: .5rem; }
.about-graphics-mobile .abstract-ic { width: 52px; height: 52px; }

/* ---- Leadership card ----------------------------------------------------- */
.leader { display: flex; flex-direction: row; gap: 1.1rem; align-items: flex-start; }
.leader .itile--dark { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; }
.leader h3 { margin-bottom: .1rem; }
.leader .role { color: var(--primary); font-weight: 700; font-size: .92rem; margin-bottom: .5rem; }

/* ---- Contact block ------------------------------------------------------ */
.contact {
  background:
    radial-gradient(900px 400px at 12% -20%, rgba(48,102,163,.5), transparent 60%),
    linear-gradient(160deg, #023971, #04284c);
  color: #fff;
}
.contact h2 { color: #fff; }
.contact .lead { color: rgba(255,255,255,.82); }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,1.4rem+4vw,5rem); align-items: center; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-actions { display: grid; gap: .85rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  min-height: 64px; padding: 1rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); color: #fff;
  transition: background .18s var(--ease), transform .18s var(--ease), border-color .18s var(--ease);
}
.contact-card:hover { background: rgba(255,255,255,.13); transform: translateY(-2px); color: #fff; border-color: rgba(255,255,255,.34); }
.contact-card .c-ic { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; }
.contact-card .c-ic svg { width: 22px; height: 22px; }
.contact-card.is-red .c-ic { background: var(--red); }
.contact-card .c-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; opacity: .7; font-weight: 700; }
.contact-card .c-val { display: block; font-weight: 700; font-size: 1.1rem; font-family: var(--serif); }

/* ---- Copy-to-clipboard pill --------------------------------------------- */
.contact-card-wrap { position: relative; }
.c-copy {
  position: absolute; top: 50%; right: 1rem; transform: translateY(-50%);
  z-index: 2;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .7rem; border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: .8rem; line-height: 1;
  color: #fff; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3); cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.c-copy:hover { background: rgba(255,255,255,.26); }
.c-copy svg { width: 15px; height: 15px; }
.c-copy-default, .c-copy-done { display: inline-flex; }
.c-copy .c-copy-done { display: none; }
.c-copy.copied { background: #fff; color: var(--primary-dark); border-color: #fff; }
.c-copy.copied .c-copy-default { display: none; }
.c-copy.copied .c-copy-done { display: inline-flex; }
@media (max-width: 480px) {
  .contact-card-wrap { display: flex; flex-direction: column; gap: .5rem; }
  .c-copy { position: static; transform: none; align-self: flex-start; }
}

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: #021b35; color: rgba(255,255,255,.74); border-top: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 14px 24px -16px rgba(0,0,0,.6); padding-top: 16px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-block: 1rem; }
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr; gap: 1.75rem; } }
.footer-logo { height: 60px; width: auto; background: #fff; padding: 9px 14px; border-radius: 12px; box-shadow: 0 4px 14px -6px rgba(0,0,0,.4); }
.footer-col h2, .footer-col .h4 { color: #fff; font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.15; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a { color: rgba(255,255,255,.74); font-size: .98rem; }
.footer-col a:hover { color: #fff; }
.footer-mini { font-size: .92rem; max-width: 34ch; margin-top: .9rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; font-size: .88rem; }
.footer-bottom .dir-mini { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.6); }
.footer-bottom .dir-mini b { color: #fff; }
.footer-addr { color: rgba(255,255,255,.6); }

/* ---- Disclaimer / infobar (DIR page) ------------------------------------ */
.disclaimer {
  display: flex; gap: .75rem; align-items: center; max-width: none;
  background: #fff6f8; border: 1px solid #f3d6dd; border-left: 4px solid var(--red);
  border-radius: var(--radius-sm); padding: .9rem 1rem; color: #7c2330;
  font-size: .92rem; font-weight: 600;
}
.disclaimer svg { width: 20px; height: 20px; flex: none; color: var(--red); margin-top: 1px; }

.infobar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: #e7eef4; border: 1px solid #e7eef4; border-radius: var(--radius); overflow: hidden;
}
@media (max-width: 768px) { .infobar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .infobar { grid-template-columns: 1fr; } }
.infobar .cell { background: #fff; padding: 1rem; }
.infobar .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray); font-weight: 700; }
.infobar .v { font-weight: 700; color: var(--primary-dark); margin-top: .2rem; word-break: break-word; }

/* ---- FAQ (Bootstrap accordion themed) ----------------------------------- */
.faq { max-width: 880px; }
.faq.accordion { --bs-accordion-border-color: #e7eef4; --bs-accordion-border-radius: var(--radius); --bs-accordion-inner-border-radius: var(--radius); }
.faq .accordion-item { border: 1px solid #e7eef4; border-radius: var(--radius); background: #fff; overflow: hidden; margin-bottom: .75rem; }
.faq .accordion-item:last-child { margin-bottom: 0; }
.faq .accordion-button {
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem 1rem;
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--primary-dark);
  background: #fff; box-shadow: none;
}
.faq .accordion-button:not(.collapsed) { color: var(--primary-dark); background: #fff; box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-button::after { display: none; }
.faq .q-ic { margin-left: auto; flex: none; width: 26px; height: 26px; border-radius: 999px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; transition: transform .25s var(--ease), background .2s; }
.faq .q-ic svg { width: 16px; height: 16px; stroke-width: 2.4; }
.faq .accordion-button:not(.collapsed) .q-ic { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq .accordion-body { padding: 0 1rem 1rem; }
.faq .accordion-body p { color: var(--gray); margin: 0; max-width: none; }

/* ---- Prose --------------------------------------------------------------- */
.prose p { color: var(--gray); }
.prose p strong { color: var(--ink); }

/* ---- Reveal on scroll ---------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  /* Suppress motion (lifts / slides / scale / rotate); colour transitions stay. */
  .btn:hover, .nav-cta:hover, .contact-card:hover, a.sector-row:hover,
  .videoframe:hover .play-btn, .btn-ghost:hover .arrow { transform: none; }
  .faq .q-ic { transition: none; }
}

/* ---- Small utilities ----------------------------------------------------- */
.stack-sm { display: grid; gap: .5rem; }
.muted { color: var(--gray); }
.card--plain { background: #fff; }
.mw-880 { max-width: 880px; }

/* ---- Print --------------------------------------------------------------
   Browsers strip background colours/images when printing, so every dark band
   here (contact, footer, gradient cards/graphics) would print white-on-white.
   This block flips those to dark ink on white, expands the FAQ, drops the
   interactive chrome, and tidies page breaks. */
@media print {
  *, *::before, *::after {
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;   /* gradients + grid textures */
  }
  html { scroll-behavior: auto; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .container { max-width: none; padding-inline: 0; }
  @page { margin: 1.6cm; }

  /* Reveal-on-scroll items must always be visible on paper */
  .reveal { opacity: 1 !important; transform: none !important; }

  /* Hide non-printable / interactive chrome */
  .skip-link,
  .nav-cta, .nav-actions, .navbar-collapse, .navbar-toggler, .nav-toggle,
  .c-copy, #back-link,
  .videoframe video, .videoframe .play-btn, .faq .q-ic { display: none !important; }

  /* Header → plain letterhead (logo only), not sticky */
  .site-header { position: static; background: none; border-bottom: 1px solid #bbb; backdrop-filter: none; }
  .site-header .navbar > .container { min-height: 0; padding-block: .25rem; }

  /* Buttons → outlined dark labels (their URL is appended below) */
  .btn { background: none !important; color: var(--primary-dark) !important; border: 1px solid #999 !important; }

  /* Contact band */
  .contact { background: none !important; color: #000; }
  .contact h2 { color: var(--primary-dark); }
  .contact .lead { color: #333; }
  .contact-card, .contact-card--light { background: none !important; border: 1px solid #bbb; color: #000; }
  .contact-card .c-ic { background: none !important; color: var(--primary); }
  .contact-card .c-label { color: #333; opacity: 1; }
  .contact-card .c-val { color: var(--primary-dark); }

  /* Footer */
  .site-footer { background: none !important; color: #000; border-top: 1px solid #bbb; }
  .footer-logo { background: none !important; padding: 0; }
  .footer-col h2, .footer-col .h4 { color: var(--primary-dark); }
  .footer-col a, .footer-mini, .footer-addr, .footer-bottom, .footer-bottom .dir-mini, .footer-bottom .dir-mini b { color: #000; }

  /* Graphic panels */
  .numgraphic, .numgraphic--dir, .abstract { background: none !important; color: var(--primary-dark); border: 1px solid #bbb; min-height: 0; }
  .numgraphic .big, .numgraphic .cap, .abstract-ic { color: var(--primary-dark); }

  /* Icon tiles (gradients stripped → keep the glyph/initials visible) */
  .itile { background: none !important; color: var(--primary); border: 1px solid #ccc; }
  .itile--red { color: var(--red); }
  .itile--dark { color: var(--primary-dark); }

  /* Feature cards (were dark) */
  .fcard { border: 1px solid #bbb; }
  .fcard-art { background: none !important; }
  .fcard-art .art-ic { color: var(--primary); }
  .fcard-title { color: var(--primary-dark); }
  .fcard-body { background: none !important; }
  .fcard--a .fcard-body p, .fcard--b .fcard-body p, .fcard--c .fcard-body p { color: #333; }

  /* Video → labelled placeholder instead of the embed */
  .videoframe { background: none !important; aspect-ratio: auto; min-height: 0; border: 1px solid #bbb; }
  .videoframe .v-inner { position: static; color: #000; }
  .v-label { color: var(--primary-dark); }
  .v-sub { color: #555; }

  /* FAQ → force every answer open */
  .faq .accordion-collapse { display: block !important; height: auto !important; visibility: visible !important; }
  .faq .accordion-item { border: 1px solid #bbb; }
  .faq .accordion-button { color: var(--primary-dark); }

  /* Print real URLs for external links */
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; word-break: break-all; }

  /* Page-break hygiene. Keep whole card grids together — Bootstrap's flex
     rows fragment unreliably across print pages and can overlap the next
     section otherwise. */
  h1, h2, h3, h4, .section-head { break-after: avoid; }
  .card-grid { break-inside: avoid; }
  .card, .fcard, .leader, .faq .accordion-item, .contact-card-wrap, .infobar .cell, .sector-row, img, .videoframe { break-inside: avoid; }
}
