:root {
  --gold: #fbb034;
  --gold-dark: #d99412;
  --navy: #0b1b3a;
  --navy-2: #12264d;
  --ink: #16130f;
  --muted: #5c564e;
  --cream: #f6f0e4;
  --paper: #fffdf8;
  --line: #e6dccb;
  --footer: #2c2a2b;
  --white: #ffffff;
  --red: #ce1126;
  --green: #006b3f;
  --shadow: 0 16px 40px rgba(11, 27, 58, 0.12);
  --radius: 18px;
  --wrap: 1120px;
  --font: "Poppins", system-ui, sans-serif;
  --display: "Montserrat", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.gaif-skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
}

.gaif-skip:focus {
  top: 12px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.gaif-wrap {
  width: min(calc(100% - 32px), var(--wrap));
  margin: 0 auto;
}

.gaif-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #05070d;
  border-bottom: 3px solid var(--gold);
}

.gaif-header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 86px;
}

.gaif-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #f4efe4;
}

.gaif-logo img {
  width: 52px;
  height: auto;
}

.gaif-logo-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  text-align: left;
  line-height: 1.1;
}

.gaif-logo-wordmark strong {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.gaif-logo-wordmark span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffd36a;
}

.gaif-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  margin-left: auto;
}

.gaif-menu {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gaif-menu a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.gaif-menu .current-menu-item a,
.gaif-menu a:hover {
  color: var(--gold);
}

.gaif-nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.gaif-nav-toggle-bars,
.gaif-nav-toggle-bars::before,
.gaif-nav-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, top 0.28s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease;
}

.gaif-nav-toggle-bars::before,
.gaif-nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.gaif-nav-toggle-bars::before {
  top: -7px;
}

.gaif-nav-toggle-bars::after {
  top: 7px;
}

.gaif-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.84rem;
  border: 2px solid transparent;
  white-space: nowrap;
}

.gaif-btn-gold,
a.gaif-btn-gold,
a.gaif-btn-gold:hover,
button.gaif-btn-gold {
  background: var(--gold);
  color: #111827;
}

.gaif-btn-gold:hover,
a.gaif-btn-gold:hover {
  background: var(--gold-dark);
  color: #111827;
}

.gaif-btn-ghost,
a.gaif-btn-ghost,
a.gaif-btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.gaif-btn-ghost-light,
a.gaif-btn-ghost-light,
a.gaif-btn-ghost-light:hover {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.gaif-btn-lg {
  min-height: 54px;
  padding: 0 28px;
}

.gaif-hero {
  position: relative;
  min-height: min(92vh, 820px);
  background: var(--navy) center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.gaif-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 14, 30, 0.88) 0%, rgba(7, 14, 30, 0.55) 48%, rgba(7, 14, 30, 0.18) 100%);
}

.gaif-hero-content {
  position: relative;
  z-index: 1;
  padding: 24px 0;
  max-width: 760px;
  margin: 0;
  text-align: left;
}

.gaif-hero h1,
.gaif-page-hero h1,
h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.gaif-hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin: 0 0 18px;
}

.gaif-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 62ch;
}

.gaif-hero-actions,
.gaif-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.gaif-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.gaif-kicker-light {
  color: var(--gold);
}

.gaif-meta-bar {
  background: var(--navy-2);
  color: var(--white);
}

.gaif-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 22px 0;
}

.gaif-meta-grid span {
  display: block;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.gaif-section {
  padding: 72px 0;
}

.gaif-section-cream {
  background: var(--cream);
}

.gaif-section-navy {
  background: var(--navy);
  color: var(--white);
}

.gaif-section-head {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.gaif-section-head h2,
.gaif-split h2,
.gaif-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 12px;
}

.gaif-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.gaif-highlights,
.gaif-card,
.gaif-contact-facts,
.gaif-speaker,
.gaif-form,
.gaif-logo-grid li {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gaif-highlights {
  padding: 28px;
}

.gaif-highlights ul,
.gaif-two-lists ul,
.gaif-ol {
  margin: 0;
  padding-left: 1.1rem;
}

.gaif-highlights li,
.gaif-two-lists li,
.gaif-ol li {
  margin: 0 0 10px;
}

.gaif-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gaif-cards-4 {
  grid-template-columns: repeat(2, 1fr);
}

.gaif-card {
  padding: 24px;
}

.gaif-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.gaif-outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gaif-outcomes figure {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gaif-outcomes img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gaif-outcomes figcaption {
  padding: 14px 16px 18px;
  font-weight: 600;
}

.gaif-cta {
  background:
    linear-gradient(135deg, rgba(11, 27, 58, 0.92), rgba(206, 17, 38, 0.72)),
    url("../images/home/hero.png") center / cover;
  color: var(--white);
  padding: 72px 0;
}

.gaif-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.gaif-cta-inner p:last-child {
  max-width: 58ch;
}

.gaif-stats {
  background: var(--gold);
  color: var(--navy);
}

.gaif-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 36px 0;
  text-align: center;
}

.gaif-stats strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.gaif-stats span {
  font-weight: 600;
}

.gaif-two-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gaif-two-lists h3 {
  color: var(--gold);
}

.gaif-page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  min-height: 220px;
  padding: 36px 0 40px;
  overflow: hidden;
  text-align: left;
}

.gaif-page-hero .gaif-wrap {
  text-align: left;
}

.gaif-page-hero h1 {
  margin: 0 0 10px;
  max-width: 18ch;
  text-align: left;
}

.gaif-page-hero-kente {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 18px;
  object-fit: cover;
}

.gaif-page-hero .gaif-lead {
  color: rgba(255, 255, 255, 0.84);
}

.gaif-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gaif-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gaif-narrow {
  max-width: 820px;
}

.gaif-center {
  text-align: center;
}

.gaif-logo-grid {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gaif-logo-grid li {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 18px;
}

.gaif-logo-grid img {
  max-height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.gaif-speakers {
  display: grid;
  gap: 28px;
}

.gaif-speaker {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 22px;
}

.gaif-speaker figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
}

.gaif-speaker img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}

.gaif-speaker h2 {
  margin: 0 0 6px;
  font-size: 1.45rem;
}

.gaif-role {
  color: var(--gold-dark);
  font-weight: 700;
  margin-top: 0;
}

.gaif-contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
}

.gaif-form {
  padding: 24px;
}

.gaif-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gaif-form label,
.gaif-form .is-full {
  display: block;
}

.gaif-form .is-full {
  grid-column: 1 / -1;
}

.gaif-form span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
  font-weight: 600;
}

.gaif-form input,
.gaif-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.gaif-form input:focus,
.gaif-form textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

.gaif-honeypot {
  position: absolute;
  left: -9999px;
}

.gaif-alert {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.gaif-alert.is-success {
  background: #e8f7ee;
  color: #155d36;
}

.gaif-alert.is-error {
  background: #fdecee;
  color: #8a1c28;
}

.gaif-form-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.g-recaptcha {
  margin: 16px 0;
}

.gaif-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow);
}

.gaif-map iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

.gaif-map-link {
  margin: 10px 0 0;
}

.gaif-map-link a {
  color: var(--gold-dark);
  font-weight: 600;
}

.gaif-contact-facts {
  list-style: none;
  margin: 18px 0 0;
  padding: 20px 22px;
}

.gaif-contact-facts li + li {
  margin-top: 14px;
}

.gaif-contact-facts strong {
  display: block;
  color: var(--gold-dark);
}

.gaif-footer {
  background: var(--footer);
  color: #d7d2cc;
}

.gaif-kente {
  height: 10px;
  background:
    linear-gradient(90deg, var(--red) 0 16%, var(--gold) 16% 33%, #111 33% 41%, var(--green) 41% 58%, var(--gold) 58% 75%, var(--red) 75% 88%, var(--green) 88% 100%);
}

.gaif-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 32px;
  padding: 56px 0 36px;
}

.gaif-footer h3 {
  color: var(--white);
  margin-top: 0;
}

.gaif-footer a:not(.gaif-btn) {
  color: var(--gold);
  text-decoration: none;
}

.gaif-footer .gaif-btn-gold,
.gaif-footer a.gaif-btn-gold,
.gaif-footer a.gaif-btn-gold:hover {
  background: var(--gold);
  color: #111827;
}

.gaif-footer .gaif-btn-ghost,
.gaif-footer a.gaif-btn-ghost {
  color: var(--gold);
}

.gaif-footer-actions {
  align-items: stretch;
  flex-direction: column;
}

.gaif-footer-actions .gaif-btn {
  width: 100%;
  max-width: 260px;
}

.gaif-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
}

.gaif-footer-logo img {
  width: 170px;
}

.gaif-social {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.gaif-footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  font-size: 0.88rem;
}

.gaif-prose :where(h1, h2, h3) {
  color: var(--navy);
}

@media (max-width: 900px) {
  .gaif-nav-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .gaif-nav-toggle-bars {
    background: transparent;
  }

  body.nav-open .gaif-nav-toggle-bars::before {
    top: 0;
    transform: rotate(45deg);
  }

  body.nav-open .gaif-nav-toggle-bars::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .gaif-nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    min-height: calc(100dvh - 86px);
    background:
      linear-gradient(180deg, #05070d 0%, #0b1b3a 100%);
    padding: 12px 22px 36px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 28px;
    margin-left: 0;
    border-bottom: 3px solid var(--gold);
    transform: translateY(-18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    transition:
      opacity 0.32s ease,
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.4s;
  }

  body.nav-open .gaif-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .gaif-menu {
    flex-direction: column;
    gap: 0;
  }

  .gaif-menu a {
    display: block;
    padding: 16px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(12px);
    opacity: 0;
    transition:
      color 0.2s ease,
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.4s ease;
  }

  body.nav-open .gaif-menu a {
    transform: none;
    opacity: 1;
  }

  body.nav-open .gaif-menu li:nth-child(1) a { transition-delay: 0.06s; }
  body.nav-open .gaif-menu li:nth-child(2) a { transition-delay: 0.1s; }
  body.nav-open .gaif-menu li:nth-child(3) a { transition-delay: 0.14s; }
  body.nav-open .gaif-menu li:nth-child(4) a { transition-delay: 0.18s; }
  body.nav-open .gaif-menu li:nth-child(5) a { transition-delay: 0.22s; }
  body.nav-open .gaif-menu li:nth-child(6) a { transition-delay: 0.26s; }

  .gaif-header-cta {
    width: 100%;
    transform: translateY(12px);
    opacity: 0;
    transition:
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.4s ease,
      background-color 0.2s ease,
      color 0.2s ease;
    transition-delay: 0.28s;
  }

  body.nav-open .gaif-header-cta {
    transform: none;
    opacity: 1;
  }

  .gaif-split,
  .gaif-cards,
  .gaif-cards-4,
  .gaif-outcomes,
  .gaif-meta-grid,
  .gaif-stats-grid,
  .gaif-two-lists,
  .gaif-footer-grid,
  .gaif-contact,
  .gaif-speaker,
  .gaif-form-grid,
  .gaif-logo-grid,
  .gaif-cta-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .gaif-hero {
    min-height: 78vh;
    background-position: 72% center;
  }

  .gaif-hero-overlay {
    background: linear-gradient(180deg, rgba(7, 14, 30, 0.35) 0%, rgba(7, 14, 30, 0.88) 70%);
  }

  .gaif-hero-content {
    padding: 20px 0;
  }

  .gaif-section {
    padding: 52px 0;
  }

  .gaif-speaker figure {
    max-width: 280px;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .gaif-nav,
  .gaif-menu a,
  .gaif-header-cta,
  .gaif-nav-toggle-bars,
  .gaif-nav-toggle-bars::before,
  .gaif-nav-toggle-bars::after {
    transition: none;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .gaif-logo-grid,
  .gaif-cards,
  .gaif-outcomes {
    grid-template-columns: 1fr 1fr;
  }
}
