@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');
/* SDI Training — Corporate rebuild stylesheet
   Palette: navy (#0a2540 / #14315a), gold (#c9a44c), white, slate (#f5f7fa)
   Self-contained, no external font deps; system stack for reliability. */

:root {
  --navy-900: #0a2540;
  --navy-700: #14315a;
  --navy-500: #1f4a7c;
  /* Brand accent — aligned to the SDI mark (orange #F06020).
     Deepened slightly to meet WCAG AA on white at small text sizes. */
  --gold-500: #d9601c;
  --gold-600: #e4651d;
  --gold-700: #b95218;
  --gold-300: #f0a04c;
  --slate-50:  #f5f7fa;
  --slate-100: #eef2f7;
  --slate-200: #d8e0ea;
  --slate-400: #68778c;
  --slate-600: #4a5868;
  --slate-800: #1f2937;
  --white: #ffffff;
  --danger: #b91c1c;
  --success: #15803d;
  --shadow-sm: 0 1px 2px rgba(10,37,64,.06), 0 1px 3px rgba(10,37,64,.08);
  --shadow-md: 0 4px 6px rgba(10,37,64,.05), 0 10px 15px rgba(10,37,64,.08);
  --shadow-lg: 0 10px 25px rgba(10,37,64,.10), 0 20px 40px rgba(10,37,64,.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --maxw: 1200px;
  --header-h: 72px;
  --ff-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --ff-serif: Georgia, "Times New Roman", "Noto Serif", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold-700); }

/* Document-level horizontal clip: the mobile nav drawer (fixed + translateX)
   otherwise creates 375px of swipable blank overflow on every page.
   clip is used (not hidden) because hidden would break the sticky header. */
html { overflow-x: clip; }
h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .6em; }
h3 { font-size: 1.2rem; margin-bottom: .5em; }
p  { margin-bottom: 1em; }
ul { padding-left: 1.25em; }
li { margin-bottom: .35em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--slate { background: var(--slate-50); }
.section--navy { background: var(--navy-900); color: #cdd7e5; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 700; color: var(--gold-700);
  margin-bottom: .8em;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo {
  width: 44px; height: 44px; object-fit: contain; display: block;
  flex-shrink: 0; border-radius: 6px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; color: var(--navy-900); font-size: 1.05rem; letter-spacing: .01em; }
.brand__tag { font-size: .68rem; color: var(--slate-400); text-transform: uppercase; letter-spacing: .14em; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__item {
  position: relative;
  padding: 13px 16px; font-size: .92rem; font-weight: 600; color: var(--navy-900);
  border-radius: var(--radius-sm); cursor: pointer; white-space: nowrap;
  letter-spacing: .01em;
}
.nav__item:hover, .nav__item.is-active { color: var(--navy-700); background: var(--slate-50); }
.nav__item.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--gold-500); border-radius: 2px;
}
.nav__dropdown {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s ease;
}
.nav__item:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a {
  display: block; padding: 9px 12px; font-size: .9rem; color: var(--slate-800);
  border-radius: var(--radius-sm);
}
.nav__dropdown a:hover { background: var(--slate-50); color: var(--navy-700); }
.nav__item--group:hover > .nav__chev { transform: rotate(180deg); }
.nav__chev { font-size: .65em; margin-left: 4px; transition: transform .2s ease; display: inline-block; }

.nav__cta {
  background: var(--gold-600); color: var(--navy-900) !important;
  padding: 10px 18px !important; border-radius: var(--radius-sm);
  font-weight: 700; margin-left: 8px;
}
.nav__cta:hover { background: var(--gold-300); color: var(--navy-900) !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--navy-900);
  border-radius: 2px; transition: .25s;
}
.nav-toggle span + span { margin-top: 6px; }

/* ===== Hero ===== */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10,37,64,.94) 0%, rgba(20,49,90,.88) 50%, rgba(31,74,124,.82) 100%),
    radial-gradient(circle at 80% 20%, rgba(201,164,76,.18), transparent 60%);
  background-color: var(--navy-900);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px; opacity: .5; pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  padding: 88px 0 80px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 920px) { .hero__inner { grid-template-columns: 1fr; gap: 0; } }
.hero__copy { max-width: 560px; }
.hero__media {
  position: relative; min-height: 360px;
  background: linear-gradient(160deg, rgba(201,164,76,.22), rgba(31,74,124,.5));
  border: 1.5px solid rgba(201,164,76,.45); border-radius: var(--radius-lg);
  padding: 36px; display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.hero__media::before {
  content: ""; position: absolute; top: -50px; right: -50px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(201,164,76,.3), transparent 65%);
}
.hero__media-quote {
  position: relative; z-index: 1;
  font-family: var(--ff-serif); font-size: 1.2rem; font-style: italic;
  color: var(--white); line-height: 1.5;
}
.hero__media-quote::before {
  content: "\201C"; display: block; font-size: 3rem; line-height: .6;
  color: var(--gold-500); margin-bottom: 12px;
}
.hero__media-cite {
  position: relative; z-index: 1; margin-top: 20px;
  font-size: .85rem; color: var(--gold-300); font-weight: 600; letter-spacing: .04em;
}
.hero__media-badges {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
}
.hero__media-badge {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: #cdd7e5; padding: 6px 12px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .03em;
}
@media (max-width: 920px) { .hero__media { display: none; } }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,164,76,.15); color: var(--gold-300);
  border: 1px solid rgba(201,164,76,.35);
  padding: 6px 14px; border-radius: 999px; font-size: .8rem;
  font-weight: 600; letter-spacing: .04em; margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 .accent { color: var(--gold-500); }
.hero__lead { font-size: 1.12rem; color: #cdd7e5; max-width: 640px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 36px; margin-top: 40px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12);
}
.hero__stat .num { font-size: 2rem; font-weight: 800; color: var(--gold-500); line-height: 1; }
.hero__stat .lbl { font-size: .85rem; color: #aeb9cb; margin-top: 6px; }

/* ===== Hero video background ===== */
.hero--video { background-color: #050a14; }
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  z-index: 0;
  /* Subtle ken-burns zoom while the video plays */
  animation: heroVideoZoom 28s ease-in-out infinite alternate;
}
@keyframes heroVideoZoom {
  0%   { transform: scale(1) translateY(0); }
  100% { transform: scale(1.08) translateY(-1.5%); }
}
.hero__video-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,10,20,.62) 0%, rgba(5,10,20,.35) 35%, rgba(5,10,20,.78) 100%),
    linear-gradient(90deg, rgba(10,37,64,.82) 0%, rgba(10,37,64,.45) 45%, rgba(10,37,64,.15) 100%),
    radial-gradient(circle at 80% 18%, rgba(201,164,76,.20), transparent 60%);
}
/* Keep the grid + content above the video — explicit stacking chain:
   video z=0 < overlay z=1 < container/inner z=3 */
.hero--video .container { position: relative; z-index: 3; }
.hero--video .hero__inner { z-index: 3; }
/* Text shadow keeps the copy readable when bright frames pass behind it */
.hero--video h1 { text-shadow: 0 2px 18px rgba(3,10,20,.45); }
.hero--video .hero__lead { text-shadow: 0 1px 10px rgba(3,10,20,.40); }
.hero--video .hero__media-quote { text-shadow: 0 1px 10px rgba(3,10,20,.40); }

/* Video credit line + pause/play toggle */
.hero__video-meta {
  position: absolute; top: 22px; right: 22px; z-index: 4;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: heroFadeIn .9s ease .25s forwards;
}
.hero__video-credit {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: rgba(255,255,255,.78);
  background: rgba(0,0,0,.32); backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
}
.hero__video-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(0,0,0,.32); backdrop-filter: blur(6px);
  cursor: pointer; display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.hero__video-toggle:hover { background: rgba(201,164,76,.32); border-color: rgba(201,164,76,.6); transform: scale(1.06); }
.hero__video-toggle:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
/* Pause icon (two bars) by default; switches to play triangle when paused */
.hero__video-toggle-icon {
  position: relative; width: 12px; height: 14px;
}
.hero__video-toggle-icon::before,
.hero__video-toggle-icon::after {
  content: ""; position: absolute; top: 0; width: 3.5px; height: 14px;
  background: #fff; border-radius: 1px;
}
.hero__video-toggle-icon::before { left: 1.5px; }
.hero__video-toggle-icon::after  { right: 1.5px; }
.hero__video-toggle[aria-pressed="true"] .hero__video-toggle-icon::before,
.hero__video-toggle[aria-pressed="true"] .hero__video-toggle-icon::after {
  width: 0; height: 0; background: transparent; border-style: solid;
}
.hero__video-toggle[aria-pressed="true"] .hero__video-toggle-icon::before {
  border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; left: 1px;
}
.hero__video-toggle[aria-pressed="true"] .hero__video-toggle-icon::after { display: none; }

/* Scroll cue (bottom center) */
.hero__scrollcue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none;
  opacity: 0; animation: heroFadeIn .9s ease .55s forwards;
}
.hero__scrollcue-mouse {
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.55);
  border-radius: 14px; display: block; position: relative;
}
.hero__scrollcue-wheel {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px; background: rgba(255,255,255,.85);
  animation: scrollWheel 1.6s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  35%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}
.hero__scrollcue-text {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.7); font-weight: 600;
}

@keyframes heroFadeIn { to { opacity: 1; } }

/* Entrance animations for hero copy (staggered) */
.hero--video .hero__eyebrow { animation: heroRise .7s ease .15s both; }
.hero--video .hero h1       { animation: heroRise .8s ease .25s both; }
.hero--video .hero__lead    { animation: heroRise .8s ease .4s both; }
.hero--video .hero__actions { animation: heroRise .8s ease .55s both; }
.hero--video .hero__contact { animation: heroRise .8s ease .65s both; }
.hero--video .hero__stats   { animation: heroRise .8s ease .8s both; }
.hero--video .hero__media   { animation: heroRise .9s ease .5s both; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile / reduced data: poster image instead of video, hide extras */
@media (max-width: 768px) {
  .hero__video { object-position: center 30%; animation: none; }
  .hero__video-meta { top: 14px; right: 14px; }
  .hero__video-credit { font-size: .62rem; padding: 5px 9px; }
  .hero__scrollcue { bottom: 14px; }
  .hero__scrollcue-mouse { width: 20px; height: 32px; }
}
/* On very small screens, prefer the poster (saves bandwidth; CSS can't stop
   the download, but JS will swap to poster via the data saver check below) */
@media (max-width: 480px) {
  .hero__video-credit { display: none; }
}

/* Respect reduced-motion: stop zoom + wheel animations, keep static poster feel */
@media (prefers-reduced-motion: reduce) {
  .hero__video { animation: none; }
  .hero__scrollcue-wheel { animation: none; }
  .hero--video .hero__eyebrow,
  .hero--video .hero h1,
  .hero--video .hero__lead,
  .hero--video .hero__actions,
  .hero--video .hero__contact,
  .hero--video .hero__stats,
  .hero--video .hero__media,
  .hero__video-meta,
  .hero__scrollcue { animation: none; opacity: 1; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .95rem; cursor: pointer;
  border: 1px solid transparent; transition: all .15s ease; text-decoration: none;
}
.btn--gold  { background: var(--gold-600); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-300); color: var(--navy-900); }
.btn--navy  { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); }
.btn--outline { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--outline:hover { border-color: var(--gold-300); color: var(--gold-300); background: rgba(201,164,76,.12); }
.btn--ghost { background: transparent; color: var(--navy-700); border-color: var(--slate-200); }
.btn--ghost:hover { border-color: var(--navy-700); color: var(--navy-900); }

/* ===== Page banner (inner pages) ===== */
.page-banner {
  background:
    linear-gradient(120deg, rgba(10,37,64,.96), rgba(31,74,124,.88));
  background-color: var(--navy-900);
  color: var(--white); padding: 56px 0 48px; position: relative;
}
.page-banner::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(201,164,76,.18), transparent 70%); pointer-events: none;
}
.page-banner h1 { color: var(--white); }
.page-banner .breadcrumb { font-size: .85rem; color: #aeb9cb; margin-bottom: 12px; }
.page-banner .breadcrumb a { color: var(--gold-300); }
.page-banner .breadcrumb a:hover { color: var(--white); }
.page-banner__lead { color: #cdd7e5; font-size: 1.05rem; max-width: 720px; margin-top: 14px; }

/* ===== Cards / grids ===== */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-md); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--slate-50); color: var(--gold-700);
  display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 16px;
  border: 1px solid var(--slate-200);
}
.card h3 { color: var(--navy-900); }
.card p { color: var(--slate-600); font-size: .95rem; }
.card__more {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: .88rem; color: var(--navy-700); margin-top: 14px;
}
.card__more:hover { color: var(--gold-700); }
.card__more::after { content: "→"; transition: transform .15s; }
.card__more:hover::after { transform: translateX(3px); }

/* ===== Industry / feature tiles ===== */
.tile {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: var(--white);
  border-radius: var(--radius-md); padding: 28px; min-height: 200px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .2s ease;
}
.tile:hover { transform: translateY(-3px); }
.tile::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,37,64,.35), rgba(10,37,64,.92));
}
.tile__num {
  position: absolute; top: 18px; right: 22px; z-index: 1;
  font-size: 2rem; font-weight: 800; color: rgba(201,164,76,.4);
}
.tile__content { position: relative; z-index: 1; }
.tile h3 { color: var(--white); margin-bottom: 6px; }
.tile p { color: #cdd7e5; font-size: .92rem; margin: 0; }

/* ===== Split layout ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.grid > * { min-width: 0; }
.split--wide-left { grid-template-columns: 1.6fr 1fr; align-items: start; }
@media (max-width: 860px) { .split, .split--wide-left { grid-template-columns: 1fr; gap: 32px; } }
.split__media {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg); padding: 48px; color: var(--white);
  min-height: 320px; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.split__media::after {
  content: ""; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,164,76,.25), transparent 70%);
}
.split__media .stat { margin-bottom: 24px; }
.split__media .stat .num { font-size: 2.4rem; font-weight: 800; color: var(--gold-500); }
.split__media .stat .lbl { color: #cdd7e5; font-size: .92rem; }

/* ===== Check list ===== */
.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative; padding-left: 32px; margin-bottom: 14px;
  color: var(--slate-800);
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-600); color: var(--navy-900);
  font-size: .78rem; font-weight: 800; display: grid; place-items: center;
}

/* ===== Quote / callout ===== */
.callout {
  background: var(--slate-50); border-left: 4px solid var(--gold-500);
  padding: 24px 28px; border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }
.quote {
  font-family: var(--ff-serif); font-size: 1.2rem; font-style: italic;
  color: var(--navy-900); line-height: 1.5;
}
.quote__author { display: block; margin-top: 14px; font-family: var(--ff-sans); font-style: normal;
  font-size: .9rem; color: var(--slate-600); font-weight: 600; }

/* ===== Table ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--slate-200); }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { padding: 14px 18px; text-align: left; font-size: .92rem; border-bottom: 1px solid var(--slate-100); }
th { background: var(--navy-900); color: var(--white); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: var(--slate-50); }

/* ===== Forms ===== */
.form { display: grid; gap: 18px; max-width: 720px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy-900); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  padding: 11px 14px; border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm); font: inherit; font-size: .95rem;
  background: var(--white); color: var(--slate-800);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--navy-500);
  box-shadow: 0 0 0 3px rgba(31,74,124,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--full { grid-column: 1 / -1; }
.form__note { font-size: .82rem; color: var(--slate-400); }
.form__success {
  background: #ecfdf5; border: 1px solid #a7f3d0; color: var(--success);
  padding: 14px 18px; border-radius: var(--radius-sm); font-size: .92rem;
}

/* ===== Offices (contact) ===== */
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .offices { grid-template-columns: 1fr; } }
.office {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm);
}
.office__flag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-700); margin-bottom: 6px;
}
.office h3 { color: var(--navy-900); margin-bottom: 10px; }
.office__addr { font-size: .92rem; color: var(--slate-600); line-height: 1.5; margin-bottom: 10px; }
.office__phone { font-size: .92rem; color: var(--navy-700); font-weight: 600; }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-500));
  color: var(--white); border-radius: var(--radius-lg);
  padding: 48px; display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(201,164,76,.2), transparent 65%);
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: #cdd7e5; margin: 0; max-width: 560px; }
.cta-band__actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-900); color: #aeb9cb; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col a { color: #aeb9cb; font-size: .9rem; display: block; padding: 9px 0; }
.footer-col a:hover { color: var(--gold-300); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .brand__name { color: var(--white); }
.footer-brand .brand__tag { color: #8893a5; }
.footer-col p { font-size: .9rem; line-height: 1.55; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: #8893a5;
}
.footer-bottom a { color: #8893a5; }
.footer-bottom a:hover { color: var(--gold-300); }

/* ===== Misc utilities ===== */
.lead { font-size: 1.1rem; color: var(--slate-600); max-width: 720px; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.text-center { margin-left: auto; margin-right: auto; }

/* ===== Mobile nav ===== */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 16px; gap: 4px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open { transform: translateX(0); visibility: visible;
    transition: transform .25s ease; }
  .nav__item { padding: 12px 14px; border-radius: var(--radius-sm); }
  .nav__item.is-active::after { display: none; }
  .nav__dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 0 16px; margin-top: 4px;
    background: var(--slate-50); border-radius: var(--radius-sm);
  }
  .nav__cta { margin: 8px 0 0 0; text-align: center; }
}
@media (max-width: 600px) {
  .section { padding: 48px 0; }
  .hero__inner { padding: 64px 0 56px; }
  .cta-band { padding: 32px; flex-direction: column; align-items: flex-start; }
  .hero__stats { gap: 24px; }
}


/* ===== Ubuntu wordmark logos (header + footer) — added 2026-11-30 ===== */
.brand__logo--wordmark {
  width: auto !important;
  height: 52px !important;
  max-width: 220px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  border-radius: 0;
}
.brand__logo--footer {
  height: 60px !important;
  max-width: 240px;
  margin-bottom: 6px;
  /* Reuse the colored header logo and filter it to pure white for the dark navy footer */
  filter: brightness(0) saturate(100%) invert(1);
}
@media (max-width: 1024px) {
  .brand__logo--wordmark { height: 44px !important; max-width: 180px; }
}
@media (max-width: 640px) {
  .brand__logo--wordmark { height: 38px !important; max-width: 160px; }
  .brand__logo--footer { height: 48px !important; max-width: 200px; }
}

/* ===== Production audit fixes (2026-11-30) ===== */
/* Skip-to-content link (WCAG 2.4.1) */
.skip-link {
  position: absolute; left: -10000px; top: 0; z-index: 9999;
  background: var(--navy-900); color: #fff; padding: 12px 20px;
  font-weight: 600; font-size: .9rem; border-radius: 0 0 6px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Hero contact line (above the fold) */
.hero__contact { margin-top: 18px; font-size: .92rem; color: var(--slate-500); }
.hero__contact a { color: var(--navy-900); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold-500); }
.hero__contact a:hover { color: var(--gold-700); }

/* Honeypot field (visually hidden from humans, visible to bots) */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer column headings are now h3 (was h4) */
.footer-col h4, .footer-col h3 { color: var(--white); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }

/* Form error + inline validation states */
.form__error {
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  padding: 14px 18px; border-radius: 8px; font-size: .92rem; margin-top: 14px;
}
.field--error input, .field--error select, .field--error textarea { border-color: #b91c1c; }
.field__msg { font-size: .78rem; color: #b91c1c; margin-top: 4px; }

/* ── Facilitator cards (about-facilitators.html) ── */
.fac-grid { margin-bottom: 32px; }
.fac-card {
  display: flex; flex-direction: column;
  padding: 28px 26px;
}
.fac-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  color: var(--gold-500); display: grid; place-items: center;
  font-size: 1.7rem; font-weight: 800; margin-bottom: 16px;
  flex-shrink: 0;
}
.fac-name { color: var(--navy-900); font-size: 1.25rem; margin-bottom: 4px; }
.fac-role {
  color: var(--gold-700); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px;
}
.fac-tagline { color: var(--slate-700); font-size: .95rem; font-style: italic; margin-bottom: 14px; }
.fac-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.fac-tags .tag {
  background: var(--surface); color: var(--navy-700);
  border: 1px solid var(--slate-200, #e2e8f0);
  border-radius: 999px; padding: 3px 11px; font-size: .72rem; font-weight: 600;
}
.fac-bio { color: var(--slate-600); font-size: .92rem; line-height: 1.6; margin-bottom: 16px; }
.fac-subhead {
  color: var(--navy-900); font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px;
}
.fac-edu { list-style: none; padding: 0; margin: 0 0 16px 0; }
.fac-edu li {
  color: var(--slate-600); font-size: .85rem; line-height: 1.5;
  padding-left: 18px; position: relative; margin-bottom: 5px;
}
.fac-edu li::before {
  content: "▸"; color: var(--gold-500); position: absolute; left: 0; top: 0; font-size: .8rem;
}
.fac-meta {
  color: var(--slate-500); font-size: .8rem; margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--slate-200, #e2e8f0);
}
.fac-note {
  background: var(--surface); color: var(--navy-700);
  font-size: .8rem; padding: 8px 12px; border-radius: 6px;
  border-left: 3px solid var(--gold-500); margin-top: 12px;
}
@media (max-width: 620px) { .fac-avatar { width: 60px; height: 60px; font-size: 1.4rem; } }

/* ── Brand font unification (round 11): match the SPA homepage design ── */
:root {
  --ff-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --ff-serif: "Playfair Display", Georgia, "Times New Roman", serif;
}
h1, h2, h3, h4 { font-family: var(--ff-serif); font-weight: 600; }

/* round 13: country flags next to cities */
.city-flag{width:1.35em;height:auto;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.10);margin-right:.45em;display:inline-block;vertical-align:-0.18em}
.chip .city-flag{width:1.15em;margin-right:.35em;vertical-align:-0.15em}
