:root {
  --color-teal: #006D77;
  --color-surface: #F5F5F5;
  --color-coral: #F75C57;
  --color-coral-deep: #c42924;
  --color-ink: #333333;
  --color-white: #FFFFFF;
  --color-on-teal: #F5F5F5;
  --color-quote: #39828f;
  --font-heading: "DM Serif Display", Georgia, serif;
  --font-body: Inter, system-ui, sans-serif;
  --button-gradient: linear-gradient(315deg, #F75C57 0%, #c42924 88%);
  --radius-button: 0.75em;
  --shell: 1161px;
  --inset: 63px;
  --header-h: 75px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-teal);
  color: var(--color-on-teal);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
.h1,
.section-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 45px;
  line-height: 1.25;
  color: var(--color-on-teal);
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  transform: translateY(-150%);
  background: var(--color-white);
  color: var(--color-ink);
  padding: 0.5rem 0.75rem;
  z-index: 30;
  border-radius: 0.4rem;
}

.skip:focus {
  transform: none;
}

.shell {
  width: min(var(--shell), 100%);
  margin-inline: auto;
  padding-inline: var(--inset);
}

.section {
  scroll-margin-top: var(--header-h);
}

.section-pad {
  padding-block: 86px;
}

.lede {
  font-size: 22.5px;
  line-height: 1.6;
  max-width: 1035px;
}

.muted-line {
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
}

.fine {
  font-size: 14.4px;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius-button);
  background: var(--button-gradient);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  border: 0;
}

.btn {
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(196, 41, 36, 0.28);
}

.btn:focus-visible,
a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-teal);
  min-height: var(--header-h);
}

.nav-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
  padding-block: 10px;
}

.logo img {
  width: 55px;
  height: 55px;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: var(--color-on-teal);
  text-decoration: none;
  font-size: 16px;
  padding: 8px;
  border-radius: 12px;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--color-white);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  position: relative;
}

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

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

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

.hero-copy {
  display: grid;
  gap: 26px;
  justify-items: start;
  max-width: 1035px;
}

.hero-copy h1 {
  max-width: 18em;
}

.why {
  background:
    url("assets/why-accent-bg.png") center / cover no-repeat,
    var(--color-teal);
}

.trust-band {
  background: var(--color-surface);
  padding-block: 28px;
}

.marquee {
  overflow: hidden;
  position: relative;
  margin: 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  background: none;
  border: 0;
  box-shadow: none;
}

.marquee-track {
  display: flex;
  gap: 80px;
  align-items: center;
  width: max-content;
  animation: scroll 40s linear infinite;
}

@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

.trust-marquee .marquee-track {
  gap: 72px;
  animation: scroll 55s linear infinite;
}

.trust-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.trust-marquee img {
  max-height: 30px;
  max-width: none;
  width: auto;
  height: auto;
  flex: none;
  object-fit: contain;
  display: block;
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.trust-marquee img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.trust-marquee img[src*="standard-life"] { max-height: 36px; }
.trust-marquee img[src*="inclusive-outcomes"] { max-height: 36px; }
.trust-marquee img[src*="africa-tech-summit"] { max-height: 42px; }
.trust-marquee img[src*="the-big-window"] { max-height: 42px; }
.trust-marquee img[src*="fihri-foundation"] { max-height: 40px; }
.trust-marquee img[src*="chai"] { max-height: 32px; }
.trust-marquee img[src*="jacobs-company"] { max-height: 24px; }

.why h2,
.center-title {
  text-align: center;
}

.why-copy {
  display: grid;
  gap: 20px;
  margin-top: 28px;
  color: var(--color-white);
}

.surface {
  background: var(--color-surface);
  color: var(--color-ink);
}

.surface .section-title,
.surface h2 {
  color: var(--color-ink);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.proof-grid article {
  text-align: center;
  border-radius: 8px;
  padding: 8px 8px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.proof-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 45, 51, 0.1);
}

.proof-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 16px;
}

.proof-grid h3,
.service h3 {
  font-family: var(--font-body);
  font-size: 22.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-ink);
}

.proof-grid p {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.6;
}

.services-intro {
  margin: 28px 0 32px;
  padding-left: 27px;
  font-size: 18px;
  line-height: 1.6;
  max-width: 1035px;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service {
  background: var(--color-surface);
  color: var(--color-ink);
  border-radius: 6px;
  padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 20, 24, 0.16);
}

.service p,
.service li {
  font-size: 18px;
  line-height: 1.6;
}

.service p + p,
.service ul {
  margin-top: 12px;
}

.service ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.service .outcome {
  margin-top: 14px;
  color: var(--color-coral);
  font-weight: 700;
}

.services .btn {
  margin-top: 36px;
}

.center-action {
  display: flex;
  justify-content: center;
}

.testimonials .section-title {
  margin-bottom: 28px;
}

.testimonial-list {
  display: grid;
  gap: 28px;
}

.testimonial-shot {
  width: min(798px, 100%);
  height: auto;
}

.testimonial-shot.align-right {
  width: min(734px, 100%);
  margin-left: auto;
}

.quote-card {
  width: min(881px, 100%);
  margin: 0;
  background: var(--color-quote);
  color: var(--color-white);
  border-radius: 8px;
  padding: 28px 32px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quote-card.align-right {
  margin-left: auto;
}

.quote-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 45, 51, 0.12);
}

.stars {
  color: var(--color-coral);
  letter-spacing: 0.15em;
  font-size: 18px;
  margin-bottom: 14px;
}

.quote-card p {
  font-size: 16px;
  line-height: 1.55;
}

.quote-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.quote-person img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.quote-person cite {
  font-style: normal;
}

.quote-person strong {
  display: block;
  font-size: 16px;
}

.quote-person span {
  display: block;
  font-size: 14px;
  margin-top: 2px;
}

.stats {
  background: var(--color-coral);
  padding: 128px 16px;
}

.stats-panel {
  width: min(var(--shell), 100%);
  margin-inline: auto;
  background: var(--color-surface);
  color: var(--color-ink);
  border-radius: 11px;
  padding: 42px var(--inset) 48px;
}

.stats h2,
.stats h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.25;
  color: var(--color-ink);
}

.stats h2 {
  text-align: center;
  max-width: 18em;
  margin-inline: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 45px;
  margin-top: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 37.5% 62.5%;
  align-items: center;
  gap: 28px;
}

.contact-visual {
  border-radius: 6px;
  overflow: hidden;
  min-height: 467px;
  background: url("assets/contact-accent.png") center / cover no-repeat;
}

.contact-copy {
  display: grid;
  gap: 22px;
  justify-items: start;
  padding-right: 12px;
}

.contact-copy h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.25;
  color: var(--color-on-teal);
}

.contact-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.contact-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--color-on-teal);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.contact-link img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.contact-link:hover img {
  transform: scale(1.08);
}

.contact-link:hover span {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.about-grid {
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr);
  gap: 45px;
  align-items: start;
}

.about-grid img {
  width: 226px;
  height: 226px;
  object-fit: cover;
}

.about-copy {
  display: grid;
  gap: 16px;
}

.about-copy a {
  font-size: 22.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.about-copy p {
  font-size: 18px;
  line-height: 1.6;
}

.braw-mark {
  margin-top: 36px;
}

.braw-line {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 22.5px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.25;
}

.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;
}

@media (max-width: 900px) {
  :root {
    --inset: 24px;
  }

  h1,
  .h1,
  .section-title {
    font-size: 36px;
  }

  .lede,
  .proof-grid h3,
  .service h3 {
    font-size: 20px;
  }

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    padding: 48px 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    min-height: 280px;
  }

  .about-grid img {
    width: 180px;
    height: 180px;
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  .why {
    background-attachment: fixed;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise 0.8s ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 28%;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-bar {
    grid-template-columns: 1fr auto auto;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 12px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .section-pad {
    padding-block: 56px;
  }

  .trust-marquee img {
    max-height: 24px;
  }

  .trust-marquee .marquee-track {
    gap: 52px;
  }
}

@media (max-width: 560px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .quote-card {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee {
    mask-image: none;
  }

  .marquee-track {
    animation: none;
    width: auto;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 28px;
  }

  .trust-marquee img[aria-hidden="true"] {
    display: none;
  }

  .btn,
  .service,
  .proof-grid article,
  .quote-card,
  .contact-link img,
  .trust-marquee img {
    transition: none;
  }

  .reveal {
    animation: none;
  }
}
