/* ==========================================================================
   Access Africa Technologies — Corporate Website Stylesheet
   --------------------------------------------------------------------------
   1. Fonts            6. Header & navigation    11. Process & lists
   2. Design tokens    7. Hero patterns          12. Calls to action
   3. Base & reset     8. Sections & headings    13. Forms
   4. Layout           9. Media & splits         14. Legal / prose
   5. Buttons & links 10. Capability components  15. Footer, utilities, motion
   ========================================================================== */

/* 1. Fonts (self-hosted Google Fonts: Manrope + Inter, variable weights) */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. Design tokens */
:root {
  --navy: #092653;            /* official logo navy */
  --navy-800: #0d2f63;
  --navy-700: #153a74;
  --blue: #0069bd;            /* official logo blue */
  --blue-600: #00589f;
  --blue-electric: #3478f6;
  --teal: #00aaa5;            /* official logo teal */
  --teal-700: #007570;         /* teal for text on light backgrounds (AA) */
  --white: #ffffff;
  --grey-50: #f4f7fa;
  --grey-100: #e8edf3;
  --grey-200: #d6dee8;
  --grey-400: #8b9aab;
  --grey-600: #4f5f72;
  --charcoal: #182536;

  --text: var(--charcoal);
  --text-muted: var(--grey-600);
  --text-on-dark: #dbe4ef;
  --text-on-dark-muted: #a9b8ca;
  --line: var(--grey-100);
  --line-strong: var(--grey-200);
  --line-dark: rgba(255, 255, 255, 0.14);

  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1280px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --radius: 2px;
  --header-h: 76px;
  --shadow-menu: 0 24px 48px -12px rgba(9, 38, 83, 0.22);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 3. Base & reset */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: inherit;
  margin: 0 0 0.6em;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
}
h1 { font-size: clamp(2.375rem, 2.2rem + 2.6vw, 4.25rem); letter-spacing: -0.028em; line-height: 1.06; font-weight: 750; }
h2 { font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.875rem); letter-spacing: -0.024em; line-height: 1.1; }
h3 { font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem); letter-spacing: -0.01em; line-height: 1.3; }
h4 { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.005em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--blue-600); }
strong { font-weight: 600; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 3px solid var(--blue-electric); outline-offset: 3px; }
.on-dark :focus-visible, .section--navy :focus-visible { outline-color: var(--teal); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--blue); color: var(--white); padding: 0.75rem 1.25rem; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.icon { width: 1.25em; height: 1.25em; flex: none; stroke-width: 1.75; }

/* 4. Layout */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* 5. Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem; line-height: 1.2;
  padding: 0.95rem 1.5rem; border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-600); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--grey-100); color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.55); color: var(--white); background: transparent; }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }
.btn--sm { padding: 0.7rem 1.1rem; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.875rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9375rem;
  color: var(--blue); text-decoration: none;
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translateX(4px); }
.on-dark .link-arrow, .section--navy .link-arrow { color: var(--white); }

/* 6. Header & navigation */
.topbar { background: var(--navy); color: var(--text-on-dark-muted); font-size: 0.8125rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; }
.topbar a { color: var(--text-on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { color: var(--white); }
.topbar__links { display: flex; gap: 1.5rem; }
.topbar .icon { width: 14px; height: 14px; }
@media (max-width: 760px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--white);
  border-bottom: 1px solid var(--line); transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(9, 38, 83, 0.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.brand__logo { height: 54px; width: auto; display: block; }

.primary-nav { display: flex; align-items: center; gap: 2rem; height: 100%; }
.nav-list { display: flex; align-items: stretch; list-style: none; gap: 0.25rem; height: 100%; }
.nav-item { display: flex; align-items: stretch; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0 0.85rem;
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 500; color: var(--charcoal);
  text-decoration: none; background: none; border: 0; cursor: pointer; position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: -1px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--blue); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-link.is-active::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--navy); font-weight: 600; }
.nav-link .icon--chevron { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.nav-link[aria-expanded="true"] .icon--chevron { transform: rotate(180deg); }
.header__cta { flex: none; }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--white); overflow: hidden;
  border-top: 1px solid var(--line); box-shadow: var(--shadow-menu);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); }
.mega__links { padding: 2.25rem 2.5rem 2.5rem 0; }
.mega__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.25rem; }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 1.5rem; list-style: none; }
.mega__link {
  display: grid; grid-template-columns: 40px 1fr; gap: 1rem; padding: 0.95rem 1rem; margin-left: -1rem;
  text-decoration: none; color: var(--charcoal); border-radius: var(--radius); transition: background-color 0.2s var(--ease);
}
.mega__link:hover { background: var(--grey-50); color: var(--charcoal); }
.mega__link:hover .mega__title { color: var(--blue); }
.mega__icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--blue); }
.mega__icon .icon { width: 20px; height: 20px; }
.mega__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; margin-bottom: 0.2rem; transition: color 0.2s; }
.mega__desc { display: block; font-size: 0.84rem; color: var(--text-muted); line-height: 1.5; }
.mega__feature { background: var(--navy); color: var(--text-on-dark); padding: 2.25rem 2.5rem; position: relative; }
.mega__feature::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 100vw; background: var(--navy); }
.mega__feature h2 { font-size: 1.375rem; color: var(--white); margin-bottom: 0.75rem; }
.mega__feature p { font-size: 0.9rem; color: var(--text-on-dark-muted); margin-bottom: 1.5rem; }
.mega__feature-links { list-style: none; display: grid; gap: 0.85rem; }
.mega__feature-links a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.mega__feature-links a:hover { color: var(--teal); }
.mega__feature-links .icon { width: 16px; height: 16px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--navy); cursor: pointer; border-radius: var(--radius);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }
.mobile-only { display: none; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .header__cta { display: none; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); z-index: 99;
    display: block; height: auto; overflow-y: auto; padding: 1rem var(--gutter) 2.5rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
  }
  .site-header.nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; height: auto; gap: 0; }
  .nav-item { flex-direction: column; border-bottom: 1px solid var(--line); }
  .nav-link { padding: 1.1rem 0; font-size: 1.0625rem; justify-content: space-between; width: 100%; }
  .nav-link::after { display: none; }
  .mega {
    position: static; box-shadow: none; border-top: 0; opacity: 1; visibility: visible; transform: none;
    display: none; transition: none;
  }
  .mega.is-open { display: block; }
  .mega > .container { padding-inline: 0; }
  .mega__inner { grid-template-columns: 1fr; }
  .mega__links { padding: 0 0 1rem; }
  .mega__label { display: none; }
  .mega__grid { grid-template-columns: 1fr; }
  .mega__link { margin-left: 0; padding: 0.75rem 0; grid-template-columns: 36px 1fr; }
  .mega__icon { width: 36px; height: 36px; }
  .mega__desc { display: none; }
  .mega__feature { display: none; }
  .mobile-only { display: block; }
  .mobile-cta { margin-top: 1.75rem; }
  .mobile-cta .btn { width: 100%; }
  .mobile-contact { margin-top: 1.25rem; font-size: 0.9rem; color: var(--text-muted); }
  body.nav-locked { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand__logo { height: 44px; }
}

/* Breadcrumbs */
.breadcrumbs { font-size: 0.8125rem; margin-bottom: 1.75rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--text-on-dark-muted); }
.breadcrumbs li + li::before { content: "/"; opacity: 0.5; }
.breadcrumbs a { color: var(--text-on-dark); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs--light li { color: var(--text-muted); }
.breadcrumbs--light a { color: var(--charcoal); }
.breadcrumbs--light a:hover { color: var(--blue); }

/* 7. Hero patterns */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--font-body);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-700); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.on-dark .eyebrow, .section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--teal); }

/* Home hero: full-width photographic slider */
.hero-slider { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero-slider__track { display: grid; min-height: clamp(560px, calc(100vh - var(--header-h) - 38px - 96px), 720px); }
.hero-slide {
  grid-area: 1 / 1; position: relative; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity 0.9s var(--ease), visibility 0s linear 0.9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.hero-slide__bg { position: absolute; inset: 0; overflow: hidden; }
.hero-slide__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.04); transition: transform 7.5s linear; }
.hero-slide.is-active .hero-slide__bg img { transform: scale(1); }
.hero-slide__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 38, 83, 0.96) 0%, rgba(9, 38, 83, 0.86) 34%, rgba(9, 38, 83, 0.35) 64%, rgba(9, 38, 83, 0.1) 100%),
    linear-gradient(0deg, rgba(9, 38, 83, 0.85) 0%, rgba(9, 38, 83, 0) 32%);
}
.hero-slide__content { position: relative; z-index: 1; padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(6.5rem, 9vw, 8rem); }
.hero-slide__content > * { max-width: 40rem; }
.hero-slide__title { color: var(--white); font-size: clamp(2.375rem, 2.2rem + 2.6vw, 4.25rem); letter-spacing: -0.028em; line-height: 1.06; font-weight: 750; margin-bottom: 1.5rem; max-width: 15ch; }
.hero-slide__title .accent { color: var(--teal); }
.hero-slide__lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.6; color: var(--text-on-dark); margin-bottom: 2.25rem; }
.hero-slide .eyebrow { color: var(--teal); }
/* Staggered entrance for the active slide's text */
.js .hero-slide__content > * { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .hero-slide.is-active .hero-slide__content > * { opacity: 1; transform: none; }
.js .hero-slide.is-active .hero-slide__content > :nth-child(2) { transition-delay: 0.1s; }
.js .hero-slide.is-active .hero-slide__content > :nth-child(3) { transition-delay: 0.2s; }
.js .hero-slide.is-active .hero-slide__content > :nth-child(4) { transition-delay: 0.3s; }

.hero-slider__controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: 1.75rem;
}
.hero-slider__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; flex: 1; max-width: 760px; }
.hero-slider__tab {
  background: none; border: 0; padding: 0.5rem 0; cursor: pointer; text-align: left; color: var(--text-on-dark-muted);
  font: 600 0.8125rem/1.3 var(--font-body); letter-spacing: 0.02em; display: flex; flex-direction: column; gap: 0.7rem;
  transition: color 0.2s;
}
.hero-slider__tab:hover, .hero-slider__tab.is-active { color: var(--white); }
.hero-slider__tab:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.hero-slider__bar { display: block; height: 2px; background: rgba(255, 255, 255, 0.28); position: relative; overflow: hidden; }
.hero-slider__fill { position: absolute; inset: 0; background: var(--teal); transform: scaleX(0); transform-origin: left; }
.hero-slider__tab.is-active .hero-slider__fill { transform: scaleX(1); }
.hero-slider.is-playing .hero-slider__tab.is-active .hero-slider__fill { animation: slider-progress var(--slide-interval, 7000ms) linear forwards; }
.hero-slider.is-held .hero-slider__tab.is-active .hero-slider__fill { animation-play-state: paused; }
@keyframes slider-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-slider__buttons { display: flex; gap: 0.5rem; flex: none; }
.hero-slider__btn {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: var(--white);
  background: rgba(9, 38, 83, 0.45); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius);
  transition: background-color 0.2s, border-color 0.2s;
}
.hero-slider__btn:hover { background: var(--blue); border-color: var(--blue); }
.hero-slider__btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.hero-slider__btn .icon { width: 20px; height: 20px; }
.hero-slider__btn .icon--play { display: none; }
.hero-slider:not(.is-playing) .hero-slider__btn .icon--play { display: block; }
.hero-slider:not(.is-playing) .hero-slider__btn .icon--pause { display: none; }
.hero-slider:not(.is-ready) .hero-slider__controls { display: none; }

@media (max-width: 900px) {
  .hero-slide { align-items: flex-end; }
  .hero-slide__bg::after { background: linear-gradient(0deg, rgba(9, 38, 83, 0.97) 0%, rgba(9, 38, 83, 0.9) 55%, rgba(9, 38, 83, 0.8) 100%); }
  .hero-slide__content { padding-top: 7rem; padding-bottom: 6.5rem; }
}
@media (max-width: 640px) {
  .hero-slider__track { min-height: 600px; }
  .hero-slider__tabs { gap: 0.5rem; }
  .hero-slider__label { display: none; }
  .hero-slider__tab { padding: 0.9rem 0; }
  .hero-slider__controls { align-items: center; padding-bottom: 1.25rem; }
  .hero-slider__btn { width: 40px; height: 40px; }
}

.hero-index { background: var(--navy-800); color: var(--white); border-top: 1px solid var(--line-dark); }
.hero-index__list { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hero-index__list li { border-left: 1px solid var(--line-dark); }
.hero-index__list li:last-child { border-right: 1px solid var(--line-dark); }
.hero-index__link {
  display: flex; flex-direction: column; gap: 0.6rem; padding: 1.5rem 1.25rem 1.6rem; height: 100%;
  color: var(--text-on-dark); text-decoration: none; position: relative; transition: background-color 0.2s var(--ease);
}
.hero-index__link::before { content: ""; position: absolute; left: -1px; top: 0; width: 2px; height: 0; background: var(--teal); transition: height 0.3s var(--ease); }
.hero-index__link:hover { background: var(--navy-700); color: var(--white); }
.hero-index__link:hover::before { height: 100%; }
.hero-index__num { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; color: var(--teal); }
.hero-index__title { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; line-height: 1.3; }

@media (max-width: 1100px) {
  .hero-index__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-index__list li { border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 600px) {
  .hero-index__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-index__link { padding: 1.1rem 1rem; }
}

/* Inner page hero — split variant (text + photograph bleeding right) */
.page-hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 520px; }
.page-hero__content {
  padding-block: clamp(3rem, 6vw, 5.5rem);
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding-right: clamp(2rem, 5vw, 4.5rem);
  display: flex; flex-direction: column; justify-content: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(2.25rem, 1.9rem + 2vw, 3.625rem); max-width: 18ch; margin-bottom: 1.25rem; }
.page-hero__lead { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); color: var(--text-on-dark); max-width: 38rem; margin-bottom: 2rem; }
.page-hero__lead:last-child { margin-bottom: 0; }
.page-hero__media { position: relative; }
.page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 6px; background: var(--teal); }
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .page-hero__content { padding-inline: var(--gutter); }
  .page-hero__media { aspect-ratio: 16 / 9; }
}

/* Inner page hero — full-bleed photographic variant */
.page-hero--photo { min-height: clamp(460px, 62vh, 620px); display: flex; align-items: flex-end; }
.page-hero--photo .page-hero__bg { position: absolute; inset: 0; }
.page-hero--photo .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo .page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9, 38, 83, 0.94) 0%, rgba(9, 38, 83, 0.78) 45%, rgba(9, 38, 83, 0.25) 100%),
              linear-gradient(0deg, rgba(9, 38, 83, 0.6) 0%, rgba(9, 38, 83, 0) 50%);
}
.page-hero--photo .container { position: relative; z-index: 1; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
@media (max-width: 700px) {
  .page-hero--photo .page-hero__bg::after { background: rgba(9, 38, 83, 0.82); }
}

/* Inner page hero — plain (contact, legal) */
.page-hero--plain .container { padding-block: clamp(3rem, 6vw, 5rem); }
.page-hero--light { background: var(--grey-50); color: var(--text); border-bottom: 1px solid var(--line); }
.page-hero--light h1 { color: var(--navy); }
.page-hero--light .page-hero__lead { color: var(--text-muted); }
.page-hero--light .eyebrow { color: var(--teal-700); }

/* 8. Sections & headings */
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--flush-top { padding-top: 0; }
.section--grey { background: var(--grey-50); }
.section--navy { background: var(--navy); color: var(--text-on-dark); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--rule { border-top: 1px solid var(--line); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split {
  max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem); align-items: end;
}
.section-head--split h2 { margin-bottom: 0; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; align-items: start; } }

.lead { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.65; color: var(--text-muted); }
.section--navy .lead { color: var(--text-on-dark-muted); }
.muted { color: var(--text-muted); }
.text-navy { color: var(--navy); }

/* Large editorial statement */
.statement {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; color: var(--navy);
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem); line-height: 1.3; max-width: 34ch;
}
.statement em { font-style: normal; color: var(--blue); }
.section--navy .statement { color: var(--white); }
.section--navy .statement em { color: var(--teal); }

/* 9. Media & split layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--wide-text { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.split--wide-media { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.split--top { align-items: start; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split, .split--wide-text, .split--wide-media { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

.media { position: relative; margin: 0; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media img.focus-top { object-position: center 18%; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--landscape { aspect-ratio: 3 / 2; }
.media--wide { aspect-ratio: 16 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--frame::before {
  content: ""; position: absolute; z-index: -1; top: -1.25rem; right: -1.25rem; width: 55%; height: 55%;
  border-top: 2px solid var(--teal); border-right: 2px solid var(--teal);
}
.media--frame-left::before { right: auto; left: -1.25rem; border-right: 0; border-left: 2px solid var(--teal); }
.media__panel {
  position: absolute; left: clamp(-2rem, -3vw, -1rem); bottom: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--navy); color: var(--text-on-dark); padding: 1.5rem 1.75rem; max-width: 20rem; font-size: 0.9rem;
}
.media__panel strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.35rem; }
.media__panel--right { left: auto; right: clamp(-2rem, -3vw, -1rem); }
@media (max-width: 900px) {
  .media__panel, .media__panel--right { position: relative; left: auto; right: auto; bottom: auto; max-width: none; }
  .media--frame::before { display: none; }
}

/* Full-bleed image band */
.image-band { position: relative; height: clamp(280px, 42vw, 520px); overflow: hidden; }
.image-band img { width: 100%; height: 100%; object-fit: cover; }
.image-band img.focus-low { object-position: 45% 72%; }
.image-band__caption {
  position: absolute; left: 0; bottom: 0; background: var(--navy); color: var(--text-on-dark);
  padding: 1.5rem max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-right: 2.5rem; max-width: 40rem;
}
.image-band__caption p { font-family: var(--font-display); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); font-weight: 600; color: var(--white); line-height: 1.4; }

/* 10. Capability components */
/* Capability grid — icon, title, copy separated by top rules */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); }
.cap-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cap-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cap { border-top: 1px solid var(--line-strong); padding: 1.75rem 0 2.25rem; }
.cap__icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--blue); border: 1px solid var(--line-strong); margin-bottom: 1.25rem; background: var(--white); }
.cap__icon .icon { width: 22px; height: 22px; }
.cap h3 { font-size: 1.125rem; margin-bottom: 0.6rem; }
.cap p { color: var(--text-muted); font-size: 0.95rem; }
.section--grey .cap__icon { background: var(--white); }
.section--navy .cap { border-color: var(--line-dark); }
.section--navy .cap__icon { border-color: var(--line-dark); background: transparent; color: var(--teal); }
.section--navy .cap p { color: var(--text-on-dark-muted); }
@media (max-width: 1024px) { .cap-grid, .cap-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cap-grid, .cap-grid--2, .cap-grid--4 { grid-template-columns: 1fr; } }

/* Solution index rows (homepage, solutions page) */
.solution-index { list-style: none; border-top: 1px solid var(--line-strong); }
.solution-row { border-bottom: 1px solid var(--line-strong); }
.solution-row__link {
  display: grid; grid-template-columns: 56px minmax(0, 0.95fr) minmax(0, 1.4fr) 200px; gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center; padding: 1.75rem 0; text-decoration: none; color: var(--text); position: relative;
}
.solution-row__link::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--blue); transition: width 0.4s var(--ease);
}
.solution-row__link:hover { color: var(--text); }
.solution-row__link:hover::before { width: 100%; }
.solution-row__num { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--teal-700); letter-spacing: 0.06em; }
.solution-row__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); line-height: 1.2; color: var(--navy); letter-spacing: -0.015em; transition: color 0.2s; }
.solution-row__link:hover .solution-row__title { color: var(--blue); }
.solution-row__desc { color: var(--text-muted); font-size: 0.975rem; }
.solution-row__desc .link-arrow { margin-top: 0.75rem; }
.solution-row__media { aspect-ratio: 4 / 3; overflow: hidden; }
.solution-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.solution-row__link:hover .solution-row__media img { transform: scale(1.04); }
@media (max-width: 960px) {
  .solution-row__link { grid-template-columns: 44px minmax(0, 1fr) 160px; }
  .solution-row__desc { grid-column: 2 / 3; }
  .solution-row__media { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 600px) {
  .solution-row__link { grid-template-columns: 36px minmax(0, 1fr); gap: 0.75rem 1rem; }
  .solution-row__media { display: none; }
  .solution-row__desc { grid-column: 2; }
}

/* Industry mosaic */
.industry-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; list-style: none; }
.industry-tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy); }
.industry-tile a { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: var(--white); text-decoration: none; }
.industry-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), opacity 0.3s; opacity: 0.9; }
.industry-tile a::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(9, 38, 83, 0.95) 0%, rgba(9, 38, 83, 0.45) 45%, rgba(9, 38, 83, 0.1) 100%); transition: background-color 0.3s; }
.industry-tile a:hover img { transform: scale(1.05); }
.industry-tile a:hover::before { background-color: rgba(0, 105, 189, 0.25); }
.industry-tile__body { position: relative; z-index: 2; }
.industry-tile h3 { font-size: 1.1875rem; margin-bottom: 0.4rem; color: var(--white); }
.industry-tile p { font-size: 0.86rem; color: var(--text-on-dark); line-height: 1.5; margin: 0; }
.industry-tile .icon--arrow { position: absolute; z-index: 2; top: 1.4rem; right: 1.4rem; width: 20px; height: 20px; opacity: 0.85; transition: transform 0.25s var(--ease); }
.industry-tile a:hover .icon--arrow { transform: translate(3px, -3px); }
@media (max-width: 1024px) { .industry-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); } .industry-tile { aspect-ratio: 4 / 3; } }
@media (max-width: 520px) { .industry-mosaic { grid-template-columns: 1fr; } .industry-tile { aspect-ratio: 16 / 10; } }

/* Pillars (Why Access Africa) */
.pillars { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.pillars__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.pillar-list { list-style: none; counter-reset: pillar; }
.pillar { display: grid; grid-template-columns: 52px 1fr; gap: 1.25rem; padding: 1.6rem 0; border-top: 1px solid var(--line-dark); }
.pillar:last-child { border-bottom: 1px solid var(--line-dark); }
.pillar__icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--teal); border: 1px solid var(--line-dark); }
.pillar__icon .icon { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.125rem; margin-bottom: 0.35rem; }
.pillar p { color: var(--text-on-dark-muted); font-size: 0.95rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillars__intro { position: static; } }

/* Technology matrix */
.tech-matrix { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.tech-group { padding: 1.75rem 1.5rem 2rem 0; border-right: 1px solid var(--line-strong); }
.tech-group + .tech-group { padding-left: 1.5rem; }
.tech-group:last-child { border-right: 0; }
.tech-group h3 { font-size: 0.8125rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.6rem; }
.tech-group h3 .icon { width: 18px; height: 18px; }
.tech-group ul { list-style: none; display: grid; gap: 0.7rem; }
.tech-group li { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1rem; padding-left: 1rem; position: relative; line-height: 1.4; }
.tech-group li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; background: var(--blue); }
.tech-note { margin-top: 2rem; font-size: 0.875rem; color: var(--text-muted); display: flex; gap: 0.6rem; align-items: flex-start; }
.tech-note .icon { width: 18px; height: 18px; color: var(--teal-700); margin-top: 0.15rem; }
@media (max-width: 1024px) {
  .tech-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-group:nth-child(2) { border-right: 0; }
  .tech-group:nth-child(3) { padding-left: 0; }
  .tech-group:nth-child(n+3) { border-top: 1px solid var(--line-strong); }
}
@media (max-width: 560px) {
  .tech-matrix { grid-template-columns: 1fr; }
  .tech-group, .tech-group + .tech-group { border-right: 0; padding-left: 0; }
  .tech-group + .tech-group { border-top: 1px solid var(--line-strong); }
}

/* Use-case table (enterprise use cases & value) */
.usecases { border-top: 2px solid var(--navy); }
.usecase { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.5rem); padding: 1.6rem 0; border-bottom: 1px solid var(--line-strong); }
.usecase__head { display: contents; }
.usecases__labels { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.5rem); padding: 0.9rem 0; border-bottom: 1px solid var(--line-strong); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.usecase h3 { font-size: 1.0625rem; margin: 0; color: var(--navy); }
.usecase p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }
.usecase__value { font-size: 0.95rem; color: var(--charcoal); display: flex; gap: 0.6rem; }
.usecase__value .icon { color: var(--teal-700); width: 18px; height: 18px; margin-top: 0.2rem; }
@media (max-width: 860px) {
  .usecases__labels { display: none; }
  .usecase { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* Feature list with checks */
.check-list { list-style: none; display: grid; gap: 0.85rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; line-height: 1.55; }
.check-list .icon { color: var(--teal-700); width: 20px; height: 20px; margin-top: 0.1rem; }
.check-list--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
.section--navy .check-list .icon, .on-dark .check-list .icon { color: var(--teal); }
@media (max-width: 640px) { .check-list--2col { grid-template-columns: 1fr; } }

/* Spec list — definition-style, two columns */
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 4vw, 4rem); }
.spec { padding: 1.4rem 0; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: 28px 1fr; gap: 1rem; }
.spec .icon { color: var(--blue); width: 22px; height: 22px; margin-top: 0.1rem; }
.spec h3 { font-size: 1.0625rem; margin-bottom: 0.35rem; }
.spec p { font-size: 0.95rem; color: var(--text-muted); }
@media (max-width: 760px) { .spec-list { grid-template-columns: 1fr; } }
.spec h4 { font-size: 1.0625rem; margin-bottom: 0.35rem; }
.spec p a { font-weight: 500; }
.cap-group { margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.cap-group:last-child { margin-bottom: 0; }
.cap-group__title {
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.25rem; padding-bottom: 0.9rem;
  font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-700); border-bottom: 2px solid var(--navy);
}
.cap-group__title .icon { width: 18px; height: 18px; }
.spec-list--single { grid-template-columns: 1fr; }

/* Maturity tags (Research & Innovation, Portfolio) */
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: -0.1rem 0 0.75rem; }
.tag {
  display: inline-block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; line-height: 1.3;
  padding: 0.25rem 0.55rem; border: 1px solid currentColor; border-radius: var(--radius); white-space: nowrap;
}
.tag--capability { color: var(--blue); background: rgba(0, 105, 189, 0.06); }
.tag--research { color: var(--teal-700); background: rgba(0, 170, 165, 0.08); }
.tag--prototype { color: #8a5300; background: #fdf5e6; }
.tag--solution { color: var(--navy); background: rgba(9, 38, 83, 0.06); }
.status-legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.status { background: var(--white); padding: 1.5rem 1.4rem 1.6rem; }
.status p { font-size: 0.92rem; color: var(--text-muted); margin: 0.85rem 0 0; }
@media (max-width: 1024px) { .status-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .status-legend { grid-template-columns: 1fr; } }

/* Company facts panel (About) */
.facts { background: var(--navy); color: var(--text-on-dark); padding: clamp(1.5rem, 3vw, 2.25rem); border-top: 3px solid var(--teal); }
.facts__title { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem; }
.facts dl { margin: 0; }
.facts dl > div { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line-dark); }
.facts dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-on-dark-muted); padding-top: 0.15rem; }
.facts dd { margin: 0; color: var(--white); font-size: 0.95rem; line-height: 1.55; }
.facts a { color: var(--white); }
.facts a:hover { color: var(--teal); }
.facts address { font-style: normal; }
@media (max-width: 480px) { .facts dl > div { grid-template-columns: 1fr; gap: 0.25rem; } }
.spec-list--dark .spec { border-color: var(--line-dark); }
.spec-list--dark .spec .icon { color: var(--teal); }
.spec-list--dark .spec p { color: var(--text-on-dark-muted); }

/* Optional portfolio (rendered from assets/js/portfolio-data.js) */
.portfolio { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.project { border-top: 2px solid var(--navy); padding-top: 1.75rem; }
.project__title { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); margin-bottom: 1.5rem; }
.project__body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); }
.project__main h3, .project__aside h3 { font-size: 0.8125rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700); margin: 1.5rem 0 0.6rem; }
.project__main h3:first-child, .project__aside h3:first-child { margin-top: 0; }
.project__features { list-style: none; display: grid; gap: 0.6rem; }
.project__features li { padding-left: 1.1rem; position: relative; }
.project__features li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: var(--blue); }
.project__aside { background: var(--grey-50); padding: 1.5rem; align-self: start; }
.project__aside .btn { margin-top: 1.25rem; }
.project__shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 2rem; }
.project__shot { margin: 0; border: 1px solid var(--line-strong); }
.project__shot img { width: 100%; height: auto; }
.project__shot figcaption { font-size: 0.85rem; color: var(--text-muted); padding: 0.6rem 0.8rem; }
@media (max-width: 860px) { .project__body { grid-template-columns: 1fr; } }

/* Optional leadership (About page, rendered from config.js) */
.leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.leader { border-top: 2px solid var(--navy); padding-top: 1.25rem; }
.leader__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 1.25rem; background: var(--grey-100); }
.leader__name { font-size: 1.1875rem; margin-bottom: 0.25rem; }
.leader__role { font-size: 0.875rem; font-weight: 600; color: var(--teal-700); margin-bottom: 0.75rem; }
.leader__bio { font-size: 0.95rem; color: var(--text-muted); }

.h3-like { font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem); letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 0.4rem; }
.notice .h3-like { font-size: 1rem; }

/* Layered architecture rows */
.layers { border-top: 2px solid var(--navy); }
.layer { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1rem 2rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--line-strong); }
.layer__name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--navy); line-height: 1.3; }
.layer__name small { display: block; font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 0.2rem; }
.layer__items { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.layer__items li { border: 1px solid var(--line-strong); background: var(--white); padding: 0.45rem 0.8rem; font-size: 0.875rem; color: var(--charcoal); border-radius: var(--radius); }
.layer:nth-child(3) .layer__items li { border-color: var(--blue); color: var(--blue); font-weight: 500; }
@media (max-width: 760px) { .layer { grid-template-columns: 1fr; } }

/* Notice / clarification box */
.notice { display: grid; grid-template-columns: 28px 1fr; gap: 1rem; padding: 1.5rem 1.75rem; background: var(--grey-50); border-left: 3px solid var(--teal); }
.notice .icon { width: 22px; height: 22px; color: var(--teal-700); margin-top: 0.1rem; }
.notice h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.notice p { font-size: 0.95rem; color: var(--text-muted); }
.section--grey .notice { background: var(--white); }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.value { background: var(--white); padding: 2rem 1.75rem 2.25rem; }
.value__num { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--teal-700); letter-spacing: 0.08em; display: block; margin-bottom: 1.5rem; }
.value h3 { font-size: 1.1875rem; margin-bottom: 0.5rem; }
.value p { font-size: 0.93rem; color: var(--text-muted); }
.value--accent { background: var(--navy); color: var(--text-on-dark); }
.value--accent h3 { color: var(--white); }
.value--accent p { color: var(--text-on-dark-muted); }
.value--accent .value__num { color: var(--teal); }
@media (max-width: 1024px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* Mission / vision pair */
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mv__item { padding: clamp(2rem, 4vw, 3.5rem); }
.mv__item--mission { background: var(--blue); color: var(--white); }
.mv__item--vision { background: var(--navy); color: var(--white); }
.mv__label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); margin-bottom: 1.25rem; display: block; }
.mv__item p { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.75rem); line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; color: var(--white); }
@media (max-width: 800px) { .mv { grid-template-columns: 1fr; } }

/* Discipline / role table */
.role-table { border-top: 2px solid var(--navy); }
.role { display: grid; grid-template-columns: 48px minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(1rem, 3vw, 2rem); padding: 1.4rem 0; border-bottom: 1px solid var(--line-strong); align-items: start; }
.role .icon { width: 22px; height: 22px; color: var(--blue); margin-top: 0.2rem; }
.role h3 { font-size: 1.0625rem; margin: 0; }
.role p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }
@media (max-width: 700px) { .role { grid-template-columns: 32px 1fr; } .role p { grid-column: 2; } }

/* Related links */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.related a { background: var(--white); padding: 1.75rem; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 0.5rem; transition: background-color 0.2s; }
.related a:hover { background: var(--grey-50); color: var(--text); }
.related__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700); }
.related__title { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--navy); }
.related a:hover .related__title { color: var(--blue); }
.related p { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 0.5rem; }
.related .link-arrow { margin-top: auto; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* In-page anchor navigation */
.anchor-nav { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.anchor-nav__list { list-style: none; display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.anchor-nav__list::-webkit-scrollbar { display: none; }
.anchor-nav a { display: block; padding: 1rem 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.anchor-nav a:hover { color: var(--navy); }
@media (min-width: 1200px) { .anchor-nav__list { justify-content: space-between; } .anchor-nav a { padding-inline: 0.5rem; } }
.anchor-nav a.is-active { color: var(--navy); border-bottom-color: var(--blue); }

/* Industry detail sections */
.industry-detail { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3.5rem, 6vw, 5.5rem); border-top: 1px solid var(--line); }
.industry-detail:first-child { border-top: 0; }
.industry-detail__media { aspect-ratio: 4 / 3; overflow: hidden; margin: 0 0 1.5rem; }
.industry-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.industry-detail__aside { position: sticky; top: calc(var(--header-h) + 5rem); align-self: start; }
.industry-detail__aside h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem); }
.industry-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; margin-top: 2rem; }
.industry-cols h3 { font-size: 0.8125rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 1rem; }
.industry-cols ul { list-style: none; display: grid; gap: 0.7rem; }
.industry-cols li { padding-left: 1.1rem; position: relative; font-size: 0.95rem; line-height: 1.55; }
.industry-cols li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: var(--blue); }
.industry-solutions { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.6rem 0.6rem; align-items: center; }
.industry-solutions span { font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); margin-right: 0.4rem; }
.pill-link { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.85rem; border: 1px solid var(--line-strong); font-size: 0.85rem; font-weight: 500; color: var(--navy); text-decoration: none; border-radius: var(--radius); transition: border-color 0.2s, color 0.2s; }
.pill-link:hover { border-color: var(--blue); color: var(--blue); }
@media (max-width: 900px) {
  .industry-detail { grid-template-columns: 1fr; }
  .industry-detail__aside { position: static; }
  .industry-cols { grid-template-columns: 1fr; }
}

/* 11. Process & lists */
.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); list-style: none; counter-reset: step; }
.process__step { padding: 2rem 0 2.5rem; border-top: 1px solid var(--line-strong); position: relative; }
.process__step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.75rem; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.25px var(--blue); margin-bottom: 1.25rem;
}
.process__step::after { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--teal); }
.process__step h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.process__step p { color: var(--text-muted); font-size: 0.95rem; }
.section--navy .process__step { border-color: var(--line-dark); }
.section--navy .process__step::before { -webkit-text-stroke-color: var(--teal); }
.section--navy .process__step p { color: var(--text-on-dark-muted); }
.process--line { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 1.5rem; }
.process--line .process__step::before { font-size: 2.25rem; }
.process--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process--five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 1.5rem; }
@media (max-width: 1100px) { .process--line, .process--five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .process, .process--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .process, .process--line, .process--four, .process--five { grid-template-columns: 1fr; } }

/* Numbered editorial list */
.num-list { list-style: none; counter-reset: num; display: grid; gap: 0; }
.num-list li { counter-increment: num; display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line-strong); }
.num-list li::before { content: counter(num, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; color: var(--teal-700); font-size: 0.9rem; padding-top: 0.15rem; }
.num-list h3 { font-size: 1.0625rem; margin-bottom: 0.3rem; }
.num-list p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }
.section--navy .num-list li { border-color: var(--line-dark); }
.section--navy .num-list li::before { color: var(--teal); }
.section--navy .num-list p { color: var(--text-on-dark-muted); }

/* Contact channels */
.channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.channel { padding: 1.75rem 1.5rem 2rem 0; border-right: 1px solid var(--line-strong); }
.channel + .channel { padding-left: 1.5rem; }
.channel:last-child { border-right: 0; }
.channel .icon { width: 24px; height: 24px; color: var(--blue); margin-bottom: 1rem; }
.channel h2, .channel h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.channel p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1rem; }
.channel a { font-weight: 600; font-size: 0.92rem; word-break: break-word; }
@media (max-width: 1024px) {
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel:nth-child(2) { border-right: 0; }
  .channel:nth-child(3) { padding-left: 0; }
  .channel:nth-child(n+3) { border-top: 1px solid var(--line-strong); }
}
@media (max-width: 560px) {
  .channels { grid-template-columns: 1fr; }
  .channel, .channel + .channel { border-right: 0; padding-left: 0; }
  .channel + .channel { border-top: 1px solid var(--line-strong); }
}

/* 12. Calls to action */
.cta-band { position: relative; color: var(--white); overflow: hidden; background: var(--navy); }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 38, 83, 0.96) 0%, rgba(9, 38, 83, 0.88) 50%, rgba(9, 38, 83, 0.6) 100%); }
.cta-band__inner { position: relative; z-index: 1; padding-block: clamp(4.5rem, 9vw, 8rem); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.cta-band h2 { color: var(--white); font-size: clamp(2.25rem, 1.8rem + 2.4vw, 3.75rem); margin-bottom: 1.25rem; letter-spacing: -0.03em; }
.cta-band p { color: var(--text-on-dark); font-size: 1.0625rem; max-width: 36rem; }
.cta-band .eyebrow { color: var(--teal); font-size: 0.8125rem; }
.cta-band__actions { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.cta-band__email { color: var(--text-on-dark-muted); font-size: 0.92rem; }
.cta-band__email a { color: var(--white); font-weight: 600; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; align-items: start; } }

.cta-inline { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: clamp(2rem, 4vw, 3rem); background: var(--navy); color: var(--text-on-dark); flex-wrap: wrap; }
.cta-inline h2 { color: var(--white); font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem); margin-bottom: 0.4rem; }
.cta-inline p { color: var(--text-on-dark-muted); margin: 0; max-width: 40rem; }
.cta-inline--light { background: var(--grey-50); border-left: 3px solid var(--blue); color: var(--text); }
.cta-inline--light h2 { color: var(--navy); }
.cta-inline--light p { color: var(--text-muted); }
.cta-inline p a { color: var(--white); font-weight: 600; }
.cta-inline p a:hover { color: var(--teal); }

/* 13. Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.5rem; }
.form__full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label, .field legend { font-size: 0.875rem; font-weight: 600; color: var(--charcoal); }
.field .req { color: var(--blue); margin-left: 0.15rem; }
.field .optional { font-weight: 400; color: var(--text-muted); font-size: 0.8125rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--white);
  border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 0.85rem 0.95rem; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23182536' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--grey-400); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(52, 120, 246, 0.22); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0362c; }
.field__error { font-size: 0.8125rem; color: #b02a20; display: none; }
.field.has-error .field__error { display: block; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; align-items: start; font-size: 0.9rem; color: var(--text-muted); }
.consent input { width: 20px; height: 20px; margin: 0.15rem 0 0; accent-color: var(--blue); }
.consent.has-error { color: #b02a20; }
.form__note { font-size: 0.85rem; color: var(--text-muted); display: flex; gap: 0.6rem; align-items: flex-start; }
.form__note .icon { width: 18px; height: 18px; color: var(--teal-700); margin-top: 0.1rem; }
.form-status { padding: 1rem 1.25rem; font-size: 0.95rem; border-left: 3px solid var(--teal); background: var(--grey-50); display: none; }
.form-status.is-visible { display: block; }
.form-status--error { border-left-color: #c0362c; }
.form__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.form__required { font-size: 0.85rem; color: var(--text-muted); }
.form__required .req { color: var(--blue); }
.contact-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.contact-hero__email { border-left: 3px solid var(--teal); padding: 0.5rem 0 0.5rem 1.5rem; }
.contact-hero__email .footer__label { color: var(--text-on-dark-muted); }
.contact-hero__email a { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem); color: var(--white); text-decoration: none; word-break: break-word; }
.contact-hero__email a:hover { color: var(--teal); text-decoration: underline; }
.contact-hero__email p { color: var(--text-on-dark-muted); font-size: 0.92rem; margin-top: 0.5rem; }
@media (max-width: 860px) { .contact-hero { grid-template-columns: 1fr; align-items: start; } }
.address-block { padding: 1.25rem 1.5rem; background: var(--white); border-left: 3px solid var(--navy); }
.address-block address { font-style: normal; color: var(--charcoal); line-height: 1.6; }
.form-panel .form-status { margin-top: 1.25rem; }
.form-panel { background: var(--white); border: 1px solid var(--line-strong); border-top: 3px solid var(--blue); padding: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }


/* 14. Legal / prose */
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 2rem); font-size: 0.875rem; border-left: 2px solid var(--line-strong); padding-left: 1.25rem; }
.toc h2 { font-size: 0.75rem; font-family: var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.toc ol { list-style: none; display: grid; gap: 0.6rem; }
.toc a { color: var(--charcoal); text-decoration: none; }
.toc a:hover { color: var(--blue); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .toc { position: static; } }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); margin-top: 2.75rem; padding-top: 0.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.125rem; margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 1.1em; display: grid; gap: 0.45rem; }
.prose li::marker { color: var(--blue); }
.prose .meta { font-size: 0.875rem; color: var(--text-muted); }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 1.25rem; font-size: 0.93rem; }
.prose th, .prose td { text-align: left; padding: 0.75rem 0.75rem 0.75rem 0; border-bottom: 1px solid var(--line-strong); vertical-align: top; }
.prose th { font-weight: 600; color: var(--navy); }
.table-wrap { overflow-x: auto; }

/* 15. Footer (light, so the approved logo displays in its original colours) */
.site-footer { background: var(--white); color: var(--text-muted); font-size: 0.92rem; border-top: 1px solid var(--line-strong); }
.footer__top {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem); padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(3rem, 5vw, 4.5rem);
}
.brand--footer .brand__logo { height: 64px; }
.footer__desc { margin: 1.5rem 0 1.75rem; max-width: 25rem; color: var(--charcoal); line-height: 1.65; }
.footer__label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.45rem; }
.footer__contact { margin: 0 0 1.25rem; }
.footer__email { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 1rem; }
.footer__email:hover { color: var(--blue); }
.footer__email .icon { width: 18px; height: 18px; color: var(--blue); }
.footer__address address { font-style: normal; color: var(--charcoal); line-height: 1.6; }
.footer__col h2 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: 1.25rem; padding-bottom: 0.85rem; border-bottom: 2px solid var(--navy); }
.footer__col ul { list-style: none; display: grid; gap: 0.75rem; }
.footer__col a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer__col a:hover { color: var(--blue); }
.footer__bottom-wrap { background: var(--navy); color: var(--text-on-dark-muted); }
.footer__bottom { padding-block: 1.4rem; display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; font-size: 0.8125rem; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { list-style: none; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__bottom a { color: var(--text-on-dark); text-decoration: none; }
.footer__bottom a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom :focus-visible { outline-color: var(--teal); }
@media (max-width: 1024px) { .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer__top { grid-template-columns: 1fr 1fr; } .brand--footer .brand__logo { height: 54px; } }
@media (max-width: 420px) { .footer__top { grid-template-columns: 1fr; } }

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.text-center { text-align: center; }
.maxw-prose { max-width: 42rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Motion — subtle reveal, only when JS is available and motion is allowed */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: 0.08s; }
.js .reveal-delay-2 { transition-delay: 0.16s; }
.js .reveal-delay-3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero-slide__content > * { opacity: 1; transform: none; }
  .hero-slide__bg img { transform: none !important; }
  .hero-slider.is-playing .hero-slider__tab.is-active .hero-slider__fill { animation-duration: var(--slide-interval, 7000ms) !important; }
}

/* Print */
@media print {
  .topbar, .site-header, .anchor-nav, .cta-band, .site-footer .footer__top, .nav-toggle { display: none !important; }
  body { color: #000; }
  .page-hero, .section--navy { background: #fff !important; color: #000 !important; }
  .page-hero h1, .section--navy h2 { color: #000 !important; }
}
