/* ============================================================
   QUATENARY INTERNATIONAL — SITE STYLES
   Tokens follow the Quatenary design system exactly:
   Poppins display / Montserrat body; black ink #14140f;
   blue #1d5fae secondary; green #1f8a4c accent; light surfaces.
   ============================================================ */

:root {
  /* Neutrals (warm-tinted black per logo wordmark) */
  --n-0: #ffffff;
  --n-50: #f5f7f6;
  --n-100-green: #e7f2ec;
  --n-200: #dfe4e2;
  --n-300: #c7cdca;
  --n-400: #9aa39e;
  --n-500: #707b75;
  --n-600: #4d5750;
  --n-800: #1e2622;
  --n-900: #14140f;
  --n-950: #0b0d0b;

  /* Blue (secondary) */
  --blue-50: #eaf1fb;
  --blue-100: #d3e3f6;
  --blue-300: #6fa3e0;
  --blue-500: #1d5fae;
  --blue-600: #164d90;
  --blue-800: #0f2f59;
  --blue-900: #0b2242;

  /* Green (accent) */
  --green-50: #e9f6ee;
  --green-100: #cdead9;
  --green-300: #62bd88;
  --green-500: #1f8a4c;
  --green-600: #166638;
  --green-700: #0f4d2a;

  /* Semantic */
  --surface-page: var(--n-0);
  --surface-alt: var(--n-50);
  --surface-alt-green: var(--n-100-green);
  --text-primary: var(--n-900);
  --text-secondary: var(--n-600);
  --text-muted: var(--n-500);
  --border-subtle: var(--n-200);
  --border-default: var(--n-300);
  --brand-navy: var(--blue-900);

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Montserrat', 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 2px rgba(20, 20, 15, 0.06), 0 1px 3px rgba(20, 20, 15, 0.08);
  --shadow-md: 0 2px 4px rgba(20, 20, 15, 0.05), 0 6px 16px rgba(20, 20, 15, 0.08);

  --radius-card: 16px;
  --radius-ctrl: 8px;

  --container: 1160px;
  --gutter: 24px;

  --ease: cubic-bezier(0.2, 0, 0.2, 1);
}

/* ---------------- Reset & base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-500); }
a:hover { color: var(--blue-600); }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.overline {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin: 0 0 14px;
}
.overline-light { color: var(--green-300); }
.hero .overline-light { color: rgba(255, 255, 255, 0.92); }

.section { padding: 96px 0; }
.section-alt { background: var(--surface-alt); }
.section-alt-green { background: var(--surface-alt-green); }
.section-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 48px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--radius-ctrl);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease),
              color 160ms var(--ease), transform 160ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 17px 30px; font-size: 16px; }

.btn-accent { background: var(--green-500); color: #fff; }
.btn-accent:hover { background: var(--green-600); color: #fff; }
.btn-accent:active { background: var(--green-700); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border-subtle); box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.brand-sub { font-size: 11px; color: var(--text-muted); letter-spacing: 0.04em; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a:not(.btn) {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
}
.nav-menu a:not(.btn):hover { color: var(--blue-600); text-decoration: underline; text-underline-offset: 4px; }
.nav-cta .btn { padding: 11px 18px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-ctrl);
  padding: 8px 10px;
  font-size: 22px;
  color: var(--text-primary);
  cursor: pointer;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(11, 34, 66, 0.30) 0%, rgba(11, 34, 66, 0.42) 45%, rgba(8, 20, 40, 0.82) 100%);
}
/* Hero content spans the full viewport width (with padding), not the centered container */
.hero-inner {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 150px clamp(24px, 6vw, 100px) 76px;
}
.hero h1 {
  color: #fff;
  max-width: 22ch;
  margin-bottom: 22px;
}
.hero-lead {
  font-size: 18px;
  line-height: 1.7;
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
/* leave room so the overlapping stat card doesn't cover hero CTAs */
.hero { padding-bottom: 60px; }

/* ---------------- Stats (overlap the hero) ---------------- */
.stats {
  position: relative;
  z-index: 5;
  margin-top: -72px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  padding: 40px 44px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--border-subtle); }
.stat-figure {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat:nth-child(4) .stat-figure { color: var(--green-500); }
.stat-label { font-size: 14px; color: var(--text-secondary); max-width: 22ch; }

/* ---------------- About ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}
.about-copy h2 { max-width: 24ch; }
.about-copy p { color: var(--text-secondary); max-width: 62ch; }

.check-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 500;
}
.check-list i { color: var(--green-500); font-size: 20px; flex-shrink: 0; margin-top: 1px; }

.award-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 14px 18px;
  background: var(--surface-alt-green);
  border: 1px solid var(--green-100);
  border-radius: 12px;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.award-badge i { font-size: 26px; color: var(--green-600); flex-shrink: 0; }

.about-media { margin: 0; display: grid; gap: 22px; }
.about-media figure { margin: 0; }
.about-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}
.about-media figcaption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  padding-left: 2px;
}

/* ---------------- Services: register (signature) ---------------- */
.register {
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 40px;
  margin-bottom: 24px;
}
.register-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 720px;
  margin-bottom: 34px;
}
.register-head p { color: var(--text-secondary); margin: 0; }

.service-icon,
.register-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.register-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--border-subtle);
}
.register-item {
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.register-item dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.register-item dt::after { content: '.'; color: var(--green-500); }
.register-item--more dt { color: var(--n-400); }
.register-item--more dt::after { content: none; }
.register-item dd {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}
.register-foot {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 68ch;
}

/* ---------------- Services: cards ---------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.service-card h3 { margin-top: 18px; }
.service-card p { color: var(--text-secondary); font-size: 15px; flex-grow: 1; }

.tag-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
}
.tag-row li {
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* ---------------- Extended capabilities ---------------- */
.ext-block { margin-top: 48px; }
.ext-head { margin-bottom: 28px; }
.ext-head h3 { font-size: 22px; }
.ext-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
}
.ext-item { display: flex; gap: 16px; align-items: flex-start; }
/* uniform boxed duotone icon, matching the service cards */
.ext-item > i {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.ext-item h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin: 4px 0 6px;
}
.ext-item p { font-size: 14px; color: var(--text-secondary); margin: 0; }

/* ---------------- Duotone service icons (uniform green two-tone) ---------------- */
.register-icon i.ph-duotone,
.service-icon i.ph-duotone,
.ext-item > i.ph-duotone { color: var(--green-600); }
/* the duotone secondary layer inherits a green tint */
.ph-duotone::after { color: var(--green-500); opacity: 0.28; }

/* ---------------- Leadership ---------------- */
.leader-feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
  margin-top: 44px;
}
.leader-photo { margin: 0; }
.leader-photo img {
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
}
.leader-copy h3 { font-size: 26px; margin-bottom: 6px; }
.leader-role {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--green-700);
  margin: 0 0 4px;
}
.leader-honors {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.leader-copy > p { color: var(--text-secondary); max-width: 60ch; }
.leader-copy .check-list { margin-top: 22px; }

/* ---------------- Accreditations ---------------- */
.section-tight { padding: 64px 0; }
.cred-wall {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cred-wall li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--surface-page);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  padding: 12px 22px;
}

/* ---------------- Insights ---------------- */
.insights-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.insights-soon {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--surface-alt-green);
  border: 1px solid var(--green-100);
  border-radius: 999px;
  padding: 8px 16px;
  margin-top: 6px;
}
.insights-grid {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.insight-cover { aspect-ratio: 16 / 9; background: var(--surface-alt); }
.insight-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insight-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 24px;
}
.insight-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-50);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}
.insight-card h3 { font-size: 18px; line-height: 1.35; margin-bottom: 10px; }
.insight-card p { font-size: 14.5px; color: var(--text-secondary); flex-grow: 1; margin: 0; }
.insight-meta {
  margin-top: 18px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
}
.insights-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 0;
  font-size: 13.5px;
  color: var(--text-muted);
}
.insights-note i { color: var(--blue-500); font-size: 18px; }

/* ---------------- Contact extras: social, map, microcopy ---------------- */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--blue-600);
  text-decoration: none;
}
.social-link i { font-size: 20px; }
.social-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.map-embed {
  margin-top: 26px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.map-embed iframe { width: 100%; height: 260px; border: 0; }
.map-note { margin: 12px 0 0; font-size: 13px; color: var(--text-muted); }

.form-microcopy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}
.form-microcopy i { color: var(--green-600); font-size: 18px; }

/* ---------------- Photo band ---------------- */
.photo-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 10px;
  padding: 0 10px;
}
.photo-band figure { margin: 0; position: relative; overflow: hidden; border-radius: 10px; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.photo-band figure:hover img { transform: scale(1.03); }
.photo-band figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 16px 12px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(to top, rgba(11, 13, 11, 0.72), transparent);
}
/* editorial rhythm: wide shots bookend the band */
.photo-band figure:nth-child(1) { grid-column: span 2; }
.photo-band figure:nth-child(6) { grid-column: span 2; }

/* ---------------- Why (inverse) ---------------- */
.section-inverse {
  background: var(--brand-navy);
  color: #fff;
}
.section-inverse h2 { color: #fff; max-width: 22ch; }

.vision-statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 26ch;
  margin: 8px 0 0;
}
.vision-statement em { font-style: normal; color: var(--green-300); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
  margin-top: 48px;
}
.proof-grid { grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
.why-item i { font-size: 30px; color: var(--green-300); }
.why-item h3 { color: #fff; margin: 14px 0 8px; }
.why-item p { color: rgba(255, 255, 255, 0.75); font-size: 15px; margin: 0; }

/* ---------------- Clients (logo wall) ---------------- */
.logo-wall {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.logo-plate {
  flex: 0 1 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 116px;
  padding: 22px 24px;
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.logo-plate:hover { border-color: var(--border-default); box-shadow: var(--shadow-sm); }
.logo-plate img {
  max-height: 60px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.client-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 62ch;
}
.reg-line {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 62ch;
}
.reg-mark { height: 60px; width: auto; flex-shrink: 0; }
.reg-line span { font-size: 13.5px; color: var(--text-secondary); }

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}
.contact-copy p { color: var(--text-secondary); }

.office-block { margin-top: 26px; }
.office-block h3 {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.office-block h3 i { color: var(--green-600); font-size: 18px; }
.office-block p { font-size: 14.5px; color: var(--text-secondary); margin: 0; }

.contact-form {
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--surface-page);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-ctrl);
  padding: 12px 14px;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px var(--blue-100);
}
.field input.is-invalid,
.field textarea.is-invalid { border-color: #c0392b; }

.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-status { margin: 14px 0 0; font-size: 14.5px; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: var(--green-600); }
.form-status.err { color: #c0392b; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 0;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand img { border-radius: 50%; margin-bottom: 16px; }
.footer-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: #fff;
  margin-bottom: 8px;
}
.footer-tag { margin: 0; max-width: 40ch; }

.site-footer h3 {
  color: #fff;
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: 13px;
}
.footer-legal p { margin: 0; }

/* ---------------- Reveal animation ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .photo-band img { transition: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .section { padding: 72px 0; }
  .stats { margin-top: -48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; padding: 32px; }
  .stat:nth-child(3) { border-left: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .leader-feature { grid-template-columns: 1fr; gap: 28px; }
  .leader-photo { max-width: 480px; }
  .register-list { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid .service-card:last-child { grid-column: span 2; }
  .ext-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .photo-band { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .photo-band figure:nth-child(1),
  .photo-band figure:nth-child(6) { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface-page);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li a:not(.btn) { display: block; padding: 14px var(--gutter); font-size: 16px; }
  .nav-cta { padding: 12px var(--gutter); }
  .nav-cta .btn { display: block; text-align: center; }
  .site-nav { position: static; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }

  .brand-sub { display: none; }

  .hero-inner { padding-top: 110px; }
  .hero-lead { font-size: 16px; }

  .stats { margin-top: -40px; }
  .stats-grid { gap: 24px 16px; padding: 28px 22px; }
  .stat + .stat { border-left: 0; }
  .stat-figure { font-size: 36px; }
  .cred-wall li { font-size: 14px; padding: 10px 16px; }
  .insights-head { flex-direction: column; gap: 12px; }

  .register { padding: 28px 22px; }
  .register-head { flex-direction: column; }
  .register-list { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid .service-card:last-child { grid-column: auto; }
  .service-card { padding: 26px; }
  .ext-grid { grid-template-columns: 1fr; gap: 22px; }
  .logo-plate { flex-basis: 44%; min-height: 92px; padding: 16px; }
  .logo-plate img { max-height: 46px; }

  .photo-band { grid-template-columns: 1fr; grid-auto-rows: 240px; padding: 0 8px; }
  .photo-band figure:nth-child(1),
  .photo-band figure:nth-child(6) { grid-column: auto; }

  .why-grid { grid-template-columns: 1fr; gap: 32px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 26px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
