/* =========================================================
   MANACLINIX
   MAIN WEBSITE STYLESHEET

   Brand colours:
   Teal  #061935
   Green #255a42
   Gold  #c89d3c
========================================================= */


/* =========================================================
   01. VARIABLES
========================================================= */

:root {
  --teal: #061935;
  --green: #255a42;
  --gold: #c89d3c;

  --slate: #46515c;
  --offwhite: #f8f8f6;
  --white: #ffffff;

  --line: rgba(6, 25, 53, 0.12);

  --teal-panel: rgba(6, 25, 53, 0.90);
  --green-panel: rgba(37, 90, 66, 0.88);
  --gold-panel: rgba(200, 157, 60, 0.88);

  --shadow-soft:
    0 14px 38px rgba(6, 25, 53, 0.05);

  --shadow-hover:
    0 22px 48px rgba(6, 25, 53, 0.10);

  --radius-large: 26px;
  --radius-medium: 18px;
}

/* =========================================================
   LOCAL SARABUN FONT
========================================================= */

@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun-latin-400-normal.woff2") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun-latin-600-normal.woff2") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun-latin-700-normal.woff2") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   02. RESET / BASE
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: var(--white);
  color: var(--teal);

  font-family:
    Helvetica,
    Arial,
    sans-serif;

  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3,
.eyebrow,
.btn,
.nav-links,
.nav-cta,
.what-title,
.mission-label,
.team-role,
.team-name {
  font-family:
    "Sarabun",
    Helvetica,
    Arial,
    sans-serif;
}


/* =========================================================
   03. GLOBAL LAYOUT
========================================================= */

.container {
  width:
    min(1080px, calc(100% - 120px));

  margin: 0 auto;
}

section.block {
  padding: 64px 0;

  background: var(--white);
}


/* =========================================================
   04. SECTION HEADINGS
========================================================= */

.section-head {
  width: 100%;
  max-width: 820px;

  margin-bottom: 26px;
}

.eyebrow {
  margin: 0 0 14px;

  color: var(--teal);

  font-size: 12px;
  font-weight: 700;

  letter-spacing: .26em;

  text-transform: uppercase;
}

.section-head h2 {
  position: relative;

  display: inline-block;

  margin: 0;
  padding-bottom: 18px;

  color: var(--teal);

  font-size:
    clamp(30px, 4vw, 44px);

  line-height: 1.08;

  letter-spacing: -.03em;
}

.section-head h2::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 92px;
  height: 4px;

  border-radius: 999px;

  background: var(--gold);
}

.section-head p {
  margin: 12px 0 0;

  color: var(--slate);

  font-size: 18px;

  line-height: 1.78;
}

.green,
.heading-green,
.green-highlight {
  color: var(--green);
}


/* =========================================================
   05. HEADER
========================================================= */

.header {
  position: sticky;

  top: 0;

  z-index: 1000;

  background:
    rgba(6, 25, 53, .98);

  border-bottom:
    1px solid rgba(255, 255, 255, .16);

  backdrop-filter:
    blur(14px);

  -webkit-backdrop-filter:
    blur(14px);

  box-shadow:
    0 1px 0 rgba(255,255,255,.08),
    0 12px 30px rgba(6,25,53,.12);
}


/* HEADER LAYOUT */

.nav-inner {
  min-height: 94px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;
}


/* =========================================================
   HEADER LOGO
   Image only — no white background
========================================================= */

.brand {
  display: flex;

  align-items: center;

  flex-shrink: 0;
}

.brand-logo {
  width: auto;
  height: 85px;

  display: flex;

  align-items: center;

  justify-content: flex-start;

  padding: 0 !important;

  overflow: visible;

  border: none !important;
  border-radius: 0 !important;

  background: transparent !important;

  box-shadow: none !important;
}

.brand-logo img {
  display: block;

  width: auto;
  height: 85px;

  max-width: 200px;

  object-fit: contain;

  background: transparent !important;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.nav-links {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 6px;
}

.nav-links a {
  position: relative;

  padding: 11px 13px;

  border-radius: 999px;

  color:
    rgba(255,255,255,.95);

  font-size: 15px;

  font-weight: 600;

  line-height: 1.2;

  transition:
    background 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover {
  background:
    rgba(255,255,255,.10);

  transform:
    translateY(-1px);
}

.nav-links a::after {
  content: "";

  position: absolute;

  left: 18%;
  right: 18%;
  bottom: 4px;

  height: 2px;

  border-radius: 999px;

  background: var(--gold);

  transform:
    scaleX(0);

  transition:
    transform 180ms ease;
}

.nav-links a:hover::after {
  transform:
    scaleX(1);
}


/* HOME ICON */

.home-nav {
  display:
    inline-grid !important;

  place-items: center;

  min-width: 44px;
  min-height: 44px;

  padding:
    10px !important;
}

.home-nav svg {
  width: 21px;
  height: 21px;

  fill: var(--white);
}


/* HEADER CONTACT BUTTON */

.nav-cta {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 13px 21px;

  border-radius: 999px;

  background: var(--white);

  color: var(--teal);

  font-size: 15px;

  font-weight: 700;

  line-height: 1.2;

  white-space: nowrap;

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.nav-cta:hover {
  transform:
    translateY(-1px);

  background: var(--offwhite);

  box-shadow:
    inset 0 0 0 1px var(--gold);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.menu-btn {
  display: none;

  width: 48px;
  height: 48px;

  border: 0;

  border-radius: 999px;

  background:
    rgba(255,255,255,.12);

  color: var(--white);

  font-size: 22px;

  cursor: pointer;
}

.mobile-nav {
  display: none;

  padding: 12px 0 16px;

  border-top:
    1px solid rgba(255,255,255,.16);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;

  padding: 13px 14px;

  border-radius: 12px;

  color: var(--white);

  font-family:
    "Sarabun",
    Helvetica,
    Arial,
    sans-serif;

  font-size: 16px;

  font-weight: 600;

  line-height: 1.3;
}

.mobile-nav a:hover {
  background:
    rgba(255,255,255,.09);
}


/* =========================================================
   06. HERO
========================================================= */

.hero {
  overflow: hidden;

  background: var(--white);
}

.hero-grid {
  min-height:
    calc(100vh - 94px);

  display: grid;

  grid-template-columns:
    minmax(0,.78fr)
    minmax(0,1.22fr);

  align-items: center;

  gap: 30px;

  padding: 38px 0;
}

.hero-copy {
  position: relative;

  z-index: 2;
}

.hero h1 {
  max-width: 11ch;

  margin: 0;

  color: var(--teal);

  font-size:
    clamp(42px,5.5vw,66px);

  line-height: 1.02;

  letter-spacing: -.04em;
}

.hero-gold {
  color: var(--gold);
}

.lead {
  max-width: 620px;

  margin: 20px 0 0;

  color: var(--slate);

  font-size: 19px;

  line-height: 1.75;
}

.hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 26px;
}


/* BUTTONS */

.btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  padding: 14px 22px;

  border:
    1px solid transparent;

  border-radius: 999px;

  font-size: 15px;

  font-weight: 700;

  cursor: pointer;

  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.btn:hover {
  transform:
    translateY(-1px);
}

.btn-primary {
  background: var(--teal);

  color: var(--white);
}

.btn-primary:hover {
  background: var(--green);
}

.btn-outline {
  background: var(--white);

  color: var(--teal);

  border-color:
    rgba(6,25,53,.18);
}


/* =========================================================
   07. ANIMATED MAP
========================================================= */

.hero-network {
  width: 100%;

  display: flex;

  align-items: center;

  justify-content: center;

  transform:
    scale(1.10);

  transform-origin: center;
}

.network {
  width: 100%;
}

.network svg {
  width: 100%;

  height: auto;

  display: block;

  overflow: visible;
}

.africa-dot {
  fill: var(--green);

  opacity: .46;
}

.route {
  fill: none;

  stroke-width: 1.35;

  stroke-dasharray:
    2.5 3;
}

.route.green {
  stroke: var(--green);
}

.route.gold {
  stroke: var(--gold);
}

.spoke {
  stroke: var(--gold);

  stroke-width: 2.8;
}

.node {
  stroke: var(--white);

  stroke-width: 4;
}

.node.green {
  fill: var(--green);
}

.node.teal {
  fill: var(--teal);
}

.node.gold {
  fill: var(--gold);
}


/* CENTRAL HUB */

.hub {
  fill: var(--offwhite);

  stroke: var(--gold);

  stroke-width: 6;
}

.hub-logo {
  width: 160px;
  height: 90px;

  pointer-events: none;
}


/* TRAVELLING PULSES */

.route-pulse {
  offset-distance: 0%;

  opacity: 0;

  animation:
    routeTravel 9s linear infinite;
}

.route-pulse.green {
  fill: var(--green);
}

.route-pulse.gold {
  fill: var(--gold);
}

.route-pulse.teal {
  fill: var(--teal);
}

.green-sync {
  animation-delay:
    0s !important;
}

.gold-sync {
  animation-delay:
    3s !important;
}

.teal-sync {
  animation-delay:
    6s !important;
}

@keyframes routeTravel {

  0% {
    offset-distance: 0%;
    opacity: 1;
  }

  27% {
    offset-distance: 100%;
    opacity: 1;
  }

  33%,
  100% {
    offset-distance: 100%;
    opacity: 0;
  }

}


/* =========================================================
   08. SCROLL POSITIONING
========================================================= */

#about,
#what-we-do,
#sponsors,
#cros,
#patients,
#contact {
  scroll-margin-top:
    108px;
}


/* =========================================================
   09. WHO WE ARE
========================================================= */

.who-grid {
  display: grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap: 20px;

  align-items: stretch;
}

.mission-panel,
.vision-panel {
  position: relative;

  display: flex;

  flex-direction: column;

  min-height: 310px;

  padding: 28px;

  overflow: hidden;

  border-radius:
    var(--radius-large);

  color: var(--white);
}

.mission-panel {
  background:
    var(--teal-panel);
}

.vision-panel {
  background:
    var(--green-panel);
}


/* GOLD CIRCLES */

.mission-panel::after,
.vision-panel::after,
.sponsor-value-card::after {
  content: "";

  position: absolute;

  width: 250px;
  height: 250px;

  right: -105px;
  bottom: -120px;

  border:
    1px solid rgba(200,157,60,.30);

  border-radius: 50%;

  box-shadow:
    0 0 0 34px rgba(200,157,60,.05),
    0 0 0 68px rgba(200,157,60,.025);

  pointer-events: none;
}

.mission-label {
  position: relative;

  z-index: 2;

  align-self: flex-start;

  display: inline-flex;

  padding: 7px 11px;

  border:
    1px solid rgba(255,255,255,.20);

  border-radius: 999px;

  color: var(--gold);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: .16em;

  text-transform: uppercase;
}

.mission-panel h3,
.vision-panel h3 {
  position: relative;

  z-index: 2;

  margin: 20px 0 12px;

  color: var(--white);

  font-size:
    clamp(26px,2.5vw,35px);

  line-height: 1.13;

  letter-spacing: -.025em;
}

.mission-panel p,
.vision-panel p {
  position: relative;

  z-index: 2;

  margin: 0;

  color:
    rgba(255,255,255,.82);

  font-size: 17px;

  line-height: 1.75;
}


/* =========================================================
   10. TEAM — HOMEPAGE
========================================================= */

.team-section {
  margin-top: 52px;
}

.team-heading {
  max-width: 760px;

  margin-bottom: 28px;
}

.team-heading h3 {
  margin: 0;

  color: var(--teal);

  font-size: 32px;
}

.team-heading p {
  margin: 10px 0 0;

  color: var(--slate);

  font-size: 17px;

  line-height: 1.75;
}

.team-group-title {
  margin: 30px 0 14px;

  color: var(--green);

  font-family:
    "Sarabun",
    Helvetica,
    Arial,
    sans-serif;

  font-size: 18px;

  font-weight: 700;
}

.team-grid {
  display: grid;

  grid-template-columns:
    repeat(3,minmax(0,1fr));

  gap: 14px;
}

.team-card {
  display: block;

  overflow: hidden;

  border:
    1px solid var(--line);

  border-radius: 22px;

  background: var(--white);

  box-shadow:
    0 10px 30px rgba(6,25,53,.035);

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.team-card:hover {
  transform:
    translateY(-4px);

  border-color:
    rgba(200,157,60,.42);

  box-shadow:
    0 18px 40px rgba(6,25,53,.08);
}

.team-photo {
  width: 100%;

  aspect-ratio: 1 / 1;

  overflow: hidden;

  background: var(--offwhite);
}

.team-photo img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}

.team-info {
  padding: 20px;
}

.team-role {
  color: var(--gold);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: .14em;

  text-transform: uppercase;
}

.team-name {
  margin-top: 6px;

  color: var(--teal);

  font-size: 22px;

  font-weight: 700;
}

.team-link {
  margin-top: 13px;

  color: var(--green);

  font-size: 13px;

  font-weight: 700;
}


/* =========================================================
   11. WHAT WE DO
========================================================= */

#what-we-do {
  min-height:
    calc(100vh - 94px);

  display: flex;

  align-items: center;
}

.what-we-do {
  padding: 64px 0;

  background: var(--white);

  border-top:
    1px solid var(--line);

  border-bottom:
    1px solid var(--line);
}

.what-grid {
  display: grid;

  grid-template-columns:
    repeat(4,minmax(0,1fr));

  gap: 14px;
}

.what-card {
  position: relative;

  min-width: 0;

  min-height: 340px;

  overflow: hidden;

  border-radius: 24px;

  color: var(--white);

  box-shadow:
    0 16px 38px rgba(6,25,53,.08);
}

.what-card:nth-child(1) {
  background:
    var(--green-panel);
}

.what-card:nth-child(2) {
  background:
    var(--teal-panel);
}

.what-card:nth-child(3) {
  background:
    var(--gold-panel);
}

.what-card:nth-child(4) {
  background:
    var(--green-panel);
}

.what-card::after {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  right: -75px;
  bottom: -75px;

  border:
    1px solid rgba(255,255,255,.18);

  border-radius: 50%;

  box-shadow:
    0 0 0 24px rgba(255,255,255,.045),
    0 0 0 48px rgba(255,255,255,.025);
}

.what-card-trigger {
  position: relative;

  z-index: 2;

  width: 100%;

  min-height: 340px;

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  padding: 24px;

  border: 0;

  background: transparent;

  color: var(--white);

  text-align: left;

  cursor: pointer;
}

.what-number {
  margin-bottom: 20px;

  color:
    rgba(255,255,255,.72);

  font-size: 13px;

  font-weight: 700;

  letter-spacing: .12em;
}

.what-title {
  display: block;

  padding-right: 24px;

  color: var(--white);

  font-size: 23px;

  line-height: 1.12;

  font-weight: 700;
}

.what-short {
  display: block;

  margin-top: 11px;

  color:
    rgba(255,255,255,.84);

  font-size: 14px;

  line-height: 1.6;
}

.what-icon {
  position: absolute;

  top: 23px;
  right: 22px;

  width: 38px;
  height: 38px;

  display: grid;

  place-items: center;

  border:
    1px solid rgba(255,255,255,.28);

  border-radius: 12px;

  background:
    rgba(255,255,255,.08);
}

.plus {
  position: relative;

  width: 15px;
  height: 15px;
}

.plus::before,
.plus::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 13px;
  height: 2px;

  border-radius: 999px;

  background: currentColor;

  transform:
    translate(-50%,-50%);
}

.plus::after {
  transform:
    translate(-50%,-50%)
    rotate(90deg);
}

.what-card.is-open
.plus::after {
  transform:
    translate(-50%,-50%);
}

.what-card-content {
  position: absolute;

  inset: 0;

  z-index: 3;

  display: flex;

  align-items: flex-end;

  padding: 24px;

  background: inherit;

  transform:
    translateY(100%);

  transition:
    transform 280ms ease;
}

.what-card.is-open
.what-card-content {
  transform:
    translateY(0);
}

.what-card.is-open
.what-card-trigger {
  opacity: 0;

  pointer-events: none;
}

.what-card-content p {
  margin: 0;

  color:
    rgba(255,255,255,.94);

  font-size: 16px;

  line-height: 1.72;
}


/* =========================================================
   12. SPONSORS / CROs / PATIENTS
========================================================= */

.grid-2 {
  display: grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap: 18px;

  align-items: stretch;
}

#sponsors,
#cros,
#patients {
  min-height:
    calc(100vh - 94px);

  display: flex;

  align-items: center;
}


/* WHITE LEFT PANEL */

.card {
  border-radius:
    var(--radius-large);

  background: var(--white);

  box-shadow:
    var(--shadow-soft);
}

#sponsors .grid-2 > .card:first-child,
#cros .grid-2 > .card:first-child,
#patients .grid-2 > .card:first-child {
  border:
    1px solid rgba(200,157,60,.58);
}

.card-body {
  padding: 24px;
}


/* =========================================================
   SMALL COLOURED PANELS
========================================================= */

.africa-reasons {
  display: grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap: 10px;

  margin-top: 14px;
}

.africa-reason {
  min-height: 135px;

  display: flex;

  flex-direction: column;

  padding: 15px 17px;

  border-radius:
    var(--radius-medium);

  color: var(--white);
}

.africa-reason:nth-child(1),
.africa-reason:nth-child(4) {
  background:
    var(--green-panel);
}

.africa-reason:nth-child(2),
.africa-reason:nth-child(3) {
  background:
    var(--gold-panel);
}


/* =========================================================
   SUBPANEL PICTOGRAMS
   No border or surrounding box
========================================================= */

.subpanel-pictogram {
  width: 36px;
  height: 36px;

  display: flex;

  align-items: center;

  justify-content: flex-start;

  flex: 0 0 auto;

  margin-bottom: 10px;

  border: none;

  border-radius: 0;

  background: transparent;

  color: var(--white);
}

.subpanel-pictogram svg {
  width: 30px;
  height: 30px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2.4;

  stroke-linecap: round;

  stroke-linejoin: round;

  overflow: visible;
}

.subpanel-pictogram svg path,
.subpanel-pictogram svg circle,
.subpanel-pictogram svg rect,
.subpanel-pictogram svg line,
.subpanel-pictogram svg polyline,
.subpanel-pictogram svg ellipse {
  fill: none;

  stroke: var(--white);

  stroke-width: 2.4;

  stroke-linecap: round;

  stroke-linejoin: round;
}


/* SUBPANEL TEXT */

.africa-reason strong {
  margin-bottom: 5px;

  color: var(--white);

  font-family:
    "Sarabun",
    Helvetica,
    Arial,
    sans-serif;

  font-size: 16px;

  font-weight: 700;

  line-height: 1.22;
}

.africa-reason
> span:not(.subpanel-pictogram) {
  color:
    rgba(255,255,255,.90);

  font-size: 13.5px;

  line-height: 1.5;
}


/* =========================================================
   RIGHT VALUE PANELS
========================================================= */

.sponsor-value-card {
  position: relative;

  height: 100%;

  overflow: hidden;

  border-radius:
    var(--radius-large);

  background:
    var(--teal-panel);

  color: var(--white);

  box-shadow:
    0 14px 38px rgba(6,25,53,.08);
}

.sponsor-value-card .card-body {
  position: relative;

  z-index: 2;

  padding: 24px;
}

.sponsor-value-card h3 {
  margin: 0;

  color: var(--white);

  font-family:
    "Sarabun",
    Helvetica,
    Arial,
    sans-serif;

  font-size: 30px;

  line-height: 1.15;
}

.sponsor-copy {
  margin: 14px 0 0;

  color:
    rgba(255,255,255,.86);

  font-size: 16px;

  line-height: 1.65;
}


/* VALUE LIST */

.feature-list {
  display: grid;

  gap: 8px;

  margin: 15px 0 0;

  padding: 0;

  list-style: none;
}

.feature-list li {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  padding: 10px 13px;

  border:
    1px solid rgba(255,255,255,.10);

  border-radius: 18px;

  background:
    rgba(255,255,255,.06);

  color:
    rgba(255,255,255,.94);

  font-size: 14px;

  line-height: 1.45;
}

.check {
  flex: 0 0 auto;

  color: var(--gold);

  font-weight: 900;
}


/* =========================================================
   13. CONTACT
========================================================= */

.form {
  display: grid;

  gap: 14px;
}

.form-row {
  display: grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap: 14px;
}

input,
textarea,
select {
  width: 100%;

  padding: 14px 16px;

  border:
    1px solid rgba(6,25,53,.18);

  border-radius: 18px;

  background: var(--offwhite);

  color: var(--teal);

  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--green);

  box-shadow:
    0 0 0 3px rgba(37,90,66,.08);
}

textarea {
  min-height: 150px;

  resize: vertical;
}

.contact-info-stack {
  display: grid;

  gap: 18px;
}

.card-dark {
  background:
    var(--teal-panel);

  color: var(--white);
}


/* LET'S CONNECT — GOLD */

#contact .card-dark h3 {
  margin-top: 0;

  color: var(--gold);

  font-family:
    "Sarabun",
    Helvetica,
    Arial,
    sans-serif;

  font-size: 30px;

  line-height: 1.15;
}


/* SEND INQUIRY — GREEN */

#contact .form .btn-primary {
  background: var(--green);

  color: var(--white);

  border-color: var(--green);
}

#contact .form .btn-primary:hover {
  background:
    #1f4d38;

  border-color:
    #1f4d38;
}


/* =========================================================
   CONTACT PROMISE
========================================================= */

.promise-text {
  display: flex;

  flex-direction: column;

  gap: 5px;

  margin-top: 0;

  font-family:
    "Sarabun",
    Helvetica,
    Arial,
    sans-serif;

  font-size: 26px;

  line-height: 1.3;

  font-weight: 700;
}

.promise-text span {
  display: block;
}

.promise-teal {
  color: var(--teal);
}

.promise-green {
  color: var(--green);
}

.promise-gold {
  color: var(--gold);
}


/* =========================================================
   14. PATIENT DISCLAIMER
========================================================= */

.patient-disclaimer {
  position: relative;

  z-index: 2;

  margin: 24px 0 0;

  padding: 16px 18px;

  border-left:
    3px solid var(--gold);

  background:
    rgba(255,255,255,.06);

  color:
    rgba(255,255,255,.76);

  font-size: 13px;

  line-height: 1.65;
}


/* =========================================================
   15. FOOTER
========================================================= */

.footer {
  padding: 24px 0 34px;

  border-top:
    1px solid var(--line);

  background: var(--white);

  color: var(--slate);

  font-size: 14px;
}

.footer-inner {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 16px;

  flex-wrap: wrap;
}

.footer-links {
  display: flex;

  gap: 16px;
}


/* =========================================================
   16. TEAM PAGE
========================================================= */

.team-page {
  min-height: 100vh;

  padding: 64px 0 100px;

  background: var(--white);
}


/* BACK */

.team-back {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 38px;

  color: var(--green);

  font-family:
    "Sarabun",
    Helvetica,
    Arial,
    sans-serif;

  font-size: 14px;

  font-weight: 700;
}

.team-back:hover {
  color: var(--gold);
}


/* =========================================================
   TEAM PAGE HEADER
========================================================= */

.team-page-header {
  max-width: 780px;

  margin-bottom: 50px;
}

.team-page-header h1 {
  position: relative;

  display: inline-block;

  margin: 0;

  padding-bottom: 17px;

  color: var(--teal);

  font-family:
    "Sarabun",
    Helvetica,
    Arial,
    sans-serif;

  font-size:
    clamp(36px,4vw,50px);

  line-height: 1.05;

  letter-spacing: -.035em;
}

.team-page-header h1::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 82px;
  height: 4px;

  border-radius: 999px;

  background: var(--gold);
}

.team-page-header p {
  margin: 18px 0 0;

  color: var(--slate);

  font-size: 18px;

  line-height: 1.75;
}


/* =========================================================
   FOUNDERS / ADVISORS
   GREEN
========================================================= */

.team-list-section {
  margin-top: 48px;

  scroll-margin-top: 120px;
}

.team-list-heading {
  margin: 0 0 18px;

  color: var(--green);

  font-family:
    "Sarabun",
    Helvetica,
    Arial,
    sans-serif;

  font-size:
    clamp(25px,2.5vw,32px);

  font-weight: 700;

  line-height: 1.15;
}


/* =========================================================
   TEAM ACCORDION
========================================================= */

.team-accordion {
  border-top:
    1px solid var(--line);
}

.team-member {
  border-bottom:
    1px solid var(--line);

  scroll-margin-top: 120px;
}

.team-member-button {
  width: 100%;

  display: grid;

  grid-template-columns:
    140px 1fr auto;

  align-items: center;

  gap: 32px;

  min-height: 175px;

  padding: 22px 8px;

  border: 0;

  background: transparent;

  text-align: left;

  cursor: pointer;

  transition:
    background 180ms ease,
    padding-left 180ms ease;
}

.team-member-button:hover {
  padding-left: 15px;

  background: var(--offwhite);
}


/* =========================================================
   TEAM MEMBER PHOTO
   TEAL CIRCLE
========================================================= */

.team-member-photo {
  width: 128px;
  height: 128px;

  overflow: hidden;

  border:
    4px solid var(--teal);

  border-radius: 50%;

  background: var(--offwhite);

  box-shadow:
    0 0 0 5px rgba(6,25,53,.07);
}

.team-member-photo img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}


/* =========================================================
   MEMBER LABEL
   CO-FOUNDER / ADVISOR = GOLD
========================================================= */

.team-member-role {
  margin-bottom: 7px;

  color: var(--gold);

  font-family:
    "Sarabun",
    Helvetica,
    Arial,
    sans-serif;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: .14em;

  text-transform: uppercase;
}


/* =========================================================
   MEMBER NAME = TEAL
========================================================= */

.team-member-name {
  color: var(--teal);

  font-family:
    "Sarabun",
    Helvetica,
    Arial,
    sans-serif;

  font-size: 31px;

  font-weight: 700;

  line-height: 1.15;
}


/* =========================================================
   TEAM PLUS / MINUS
========================================================= */

.team-member-toggle {
  position: relative;

  width: 48px;
  height: 48px;

  display: grid;

  place-items: center;

  border:
    1px solid rgba(200,157,60,.45);

  border-radius: 13px;

  color: var(--gold);
}

.team-member-plus {
  position: relative;

  width: 16px;
  height: 16px;
}

.team-member-plus::before,
.team-member-plus::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 15px;
  height: 2px;

  border-radius: 999px;

  background: currentColor;

  transform:
    translate(-50%,-50%);

  transition:
    transform 180ms ease;
}

.team-member-plus::after {
  transform:
    translate(-50%,-50%)
    rotate(90deg);
}

.team-member.is-open
.team-member-plus::after {
  transform:
    translate(-50%,-50%);
}


/* =========================================================
   TEAM BIO
========================================================= */

.team-member-bio {
  display: grid;

  grid-template-rows: 0fr;

  transition:
    grid-template-rows 280ms ease;
}

.team-member.is-open
.team-member-bio {
  grid-template-rows: 1fr;
}

.team-member-bio-inner {
  overflow: hidden;
}

.team-member-bio-content {
  max-width: 850px;

  margin-left: 172px;

  padding: 2px 25px 38px 0;
}

.team-member-bio-content p {
  margin: 0;

  color: var(--slate);

  font-size: 18px;

  line-height: 1.82;
}


/* EXPERTISE */

.team-member-expertise {
  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 18px;
}

.team-member-expertise span {
  display: inline-flex;

  padding: 7px 11px;

  border:
    1px solid rgba(200,157,60,.32);

  border-radius: 999px;

  color: var(--green);

  font-family:
    "Sarabun",
    Helvetica,
    Arial,
    sans-serif;

  font-size: 12px;

  font-weight: 600;
}


/* OPEN STATE */

.team-member.is-open
.team-member-button {
  background:
    rgba(248,248,246,.65);
}


/*
   Name stays teal when expanded
*/

.team-member.is-open
.team-member-name {
  color: var(--teal);
}


/* =========================================================
   17. TABLET
========================================================= */

@media (max-width: 1050px) {

  .container {
    width:
      min(100% - 64px,1080px);
  }


  /* HEADER */

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-btn {
    display: inline-grid;

    place-items: center;
  }

  .nav-inner {
    min-height: 86px;
  }

  .brand-logo,
  .brand-logo img {
    height: 76px;
  }

  .brand-logo img {
    max-width: 175px;
  }


  /* HERO */

  .hero-grid {
    grid-template-columns: 1fr;

    min-height: auto;

    padding: 48px 0 54px;
  }

  .hero-network {
    transform: none;
  }


  /* LAYOUT */

  .who-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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


  /* REMOVE DESKTOP VIEWPORT LOCK */

  #what-we-do,
  #sponsors,
  #cros,
  #patients {
    min-height: auto;

    display: block;
  }


  /* SCROLL OFFSET */

  #about,
  #what-we-do,
  #sponsors,
  #cros,
  #patients,
  #contact {
    scroll-margin-top: 96px;
  }

}


/* =========================================================
   18. MOBILE
========================================================= */

@media (max-width: 760px) {

  .container {
    width:
      min(100% - 32px,1080px);
  }


  /* SECTIONS */

  section.block,
  .what-we-do {
    padding: 54px 0;
  }


  /* HEADER */

  .brand-logo,
  .brand-logo img {
    height: 68px;
  }

  .brand-logo img {
    max-width: 160px;
  }

  .menu-btn {
    width: 44px;
    height: 44px;

    font-size: 20px;
  }


  /* HERO */

  .hero-grid {
    padding: 42px 0 36px;
  }

  .hero h1 {
    font-size:
      clamp(40px,12vw,55px);
  }

  .lead {
    font-size: 17px;
  }


  /* SINGLE COLUMN */

  .what-grid,
  .africa-reasons,
  .team-grid,
  .form-row {
    grid-template-columns: 1fr;
  }


  /* WHAT WE DO */

  .what-card,
  .what-card-trigger {
    min-height: 300px;
  }

  .what-card-trigger,
  .what-card-content {
    padding: 22px;
  }

  .what-title {
    font-size: 22px;
  }


  /* MISSION / VISION */

  .mission-panel,
  .vision-panel {
    min-height: auto;

    padding: 28px;
  }


  /* HOMEPAGE TEAM */

  .team-section {
    margin-top: 50px;
  }


  /* CONTACT */

  .promise-text {
    font-size: 22px;
  }


  /* TEAM PAGE */

  .team-page {
    padding: 50px 0 75px;
  }

  .team-page-header {
    margin-bottom: 42px;
  }

  .team-page-header h1 {
    font-size: 36px;
  }

  .team-page-header p {
    font-size: 17px;
  }

  .team-list-heading {
    font-size: 25px;
  }

  .team-member-button {
    grid-template-columns:
      88px 1fr 40px;

    gap: 18px;

    min-height: 125px;

    padding: 17px 3px;
  }

  .team-member-photo {
    width: 82px;
    height: 82px;

    border-width: 3px;

    box-shadow:
      0 0 0 3px rgba(6,25,53,.07);
  }

  .team-member-name {
    font-size: 23px;
  }

  .team-member-role {
    font-size: 11px;
  }

  .team-member-bio-content {
    margin-left: 0;

    padding: 8px 8px 30px;
  }

  .team-member-bio-content p {
    font-size: 16px;
  }


  /* SCROLL */

  #about,
  #what-we-do,
  #sponsors,
  #cros,
  #patients,
  #contact {
    scroll-margin-top: 86px;
  }

}


/* =========================================================
   19. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .route-pulse {
    animation:
      none !important;

    opacity:
      0 !important;
  }

  .what-card-content,
  .team-member-bio {
    transition:
      none !important;
  }

}

/* =========================================================
   CONTACT FORM PRIVACY NOTICE
========================================================= */

.form-privacy-note {
  margin:
    4px 2px 0;

  color:
    var(--slate);

  font-size:
    12px;

  line-height:
    1.6;
}

.form-privacy-note a {
  color:
    var(--green);

  font-weight:
    600;

  text-decoration:
    underline;

  text-underline-offset:
    2px;
}


/* =========================================================
   COOKIE CONSENT BANNER
========================================================= */

.cookie-banner {
  position:
    fixed;

  left:
    18px;

  right:
    18px;

  bottom:
    18px;

  z-index:
    5000;

  max-width:
    1050px;

  margin:
    0 auto;

  border:
    1px solid rgba(255,255,255,.14);

  border-radius:
    18px;

  background:
    rgba(6,25,53,.98);

  color:
    var(--white);

  box-shadow:
    0 18px 50px rgba(6,25,53,.24);

  backdrop-filter:
    blur(14px);

  -webkit-backdrop-filter:
    blur(14px);
}

.cookie-banner[hidden] {
  display:
    none !important;
}

.cookie-banner-inner {
  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    28px;

  padding:
    16px 18px;
}

.cookie-banner-copy {
  flex:
    1;

  min-width:
    0;
}

.cookie-banner-copy strong {
  display:
    block;

  margin-bottom:
    3px;

  color:
    var(--gold);

  font-family:
    "Sarabun",
    Helvetica,
    Arial,
    sans-serif;

  font-size:
    15px;

  font-weight:
    700;
}

.cookie-banner-copy p {
  max-width:
    650px;

  margin:
    0;

  color:
    rgba(255,255,255,.82);

  font-size:
    13px;

  line-height:
    1.55;
}

.cookie-banner-copy a {
  color:
    var(--white);

  font-weight:
    600;

  text-decoration:
    underline;

  text-decoration-color:
    rgba(200,157,60,.7);

  text-underline-offset:
    3px;
}


/* COOKIE BUTTONS */

.cookie-banner-actions {
  display:
    flex;

  align-items:
    center;

  gap:
    8px;

  flex-shrink:
    0;
}

.cookie-banner-btn {
  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  min-height:
    38px;

  padding:
    9px 14px;

  border:
    1px solid transparent;

  border-radius:
    999px;

  font-family:
    "Sarabun",
    Helvetica,
    Arial,
    sans-serif;

  font-size:
    12px;

  font-weight:
    700;

  line-height:
    1;

  white-space:
    nowrap;

  cursor:
    pointer;

  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.cookie-banner-btn:hover {
  transform:
    translateY(-1px);
}


/* REJECT */

.cookie-reject {
  border-color:
    rgba(255,255,255,.35);

  background:
    transparent;

  color:
    var(--white);
}

.cookie-reject:hover {
  background:
    rgba(255,255,255,.08);
}


/* SETTINGS */

.cookie-settings {
  border-color:
    rgba(255,255,255,.20);

  background:
    rgba(255,255,255,.08);

  color:
    var(--white);
}

.cookie-settings:hover {
  background:
    rgba(255,255,255,.13);
}


/* ACCEPT */

.cookie-accept {
  background:
    var(--green);

  color:
    var(--white);
}

.cookie-accept:hover {
  background:
    #1f4d38;
}


/* MOBILE */

@media (max-width: 760px) {

  .cookie-banner {
    left:
      10px;

    right:
      10px;

    bottom:
      10px;

    border-radius:
      16px;
  }

  .cookie-banner-inner {
    display:
      block;

    padding:
      15px;
  }

  .cookie-banner-copy p {
    font-size:
      12.5px;
  }

  .cookie-banner-actions {
    display:
      grid;

    grid-template-columns:
      1fr 1fr;

    gap:
      8px;

    margin-top:
      13px;
  }

  .cookie-banner-btn {
    width:
      100%;
  }

  .cookie-accept {
    grid-column:
      1 / -1;
  }

}
