/*
 * LIGHT — Lab for Innovation in Global Health Technology
 * Standalone stylesheet for Netlify deployment.
 * Link from index.html — do not paste into WordPress.
 *
 * Palette: navy + gold + cream — signals "international, institutional, capital."
 * Orange (#E8521A) retained for EC brand CTA consistency.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=Inter:wght@400;500;600&family=Fraunces:opsz,wght@9..144,400;9..144,500&display=swap');

/* ─── Design tokens ──────────────────────────────────────────────────────── */

:root {
  --cream:       #F5F5F0;
  --cream-2:     #EFEFE8;
  --ink:         #000000;
  --navy:        #0F1E3D;
  --navy-deep:   #0A1730;
  --gold:        #C9A44A;
  --gold-soft:   #E8D7A0;
  --orange:      #E8521A;
  --muted:       #6B6B66;
  --line:        #1a1a1a;
  --line-soft:   rgba(0,0,0,0.12);
  --accent-mist: #DCE5EC;
  --accent-warn: #F2C9B0;
  --max:         1200px;
  --pad:         clamp(20px, 4vw, 48px);
}

/* ─── Reset & base ───────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
p { margin: 0 0 1em; }

/* ─── Site nav ───────────────────────────────────────────────────────────── */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  background: rgba(245, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* TODO: swap text fallback for real EC logo SVG once asset is uploaded */
.nav-logo-text {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--line-soft);
}

.nav-program {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-sm {
  padding: 9px 18px !important;
  font-size: 14px !important;
}

@media (max-width: 540px) {
  .nav-logo-text { display: none; }
  .nav-divider   { display: none; }
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */

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

section { padding: clamp(40px, 5vw, 72px) 0; position: relative; }

/* ─── Typography ─────────────────────────────────────────────────────────── */

.eyebrow {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-block;
}
.eyebrow.gold  { color: var(--gold); }
.eyebrow.muted { color: var(--muted); }

h1, h2, h3, h4 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
  color: var(--ink);
}
h1 { font-size: clamp(40px, 6vw, 72px);   letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(30px, 4vw, 48px);   letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.3; }

p.lead { font-size: 19px; line-height: 1.5; color: var(--ink); max-width: 62ch; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  cursor: pointer;
  border: 1px solid var(--ink);
}
.btn-primary { background: var(--orange); color: var(--cream); border-color: var(--orange); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-outline  { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  /* padding-top clears the 72px fixed nav plus breathing room */
  padding: clamp(120px, 11vw, 160px) 0 clamp(56px, 6vw, 96px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(201, 164, 74, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, var(--cream) 0%, #FAFAF5 100%);
}

.hero-head { max-width: 920px; }

.hero-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}
.hero-eyebrow-row .dot-sep {
  width: 4px; height: 4px;
  background: var(--ink);
  border-radius: 50%;
  display: inline-block;
}

.hero h1 { margin-bottom: 28px; }
.hero h1 em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
}

.hero .sub {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 60ch;
  margin-bottom: 36px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }

.hero .ticker {
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero .ticker .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201, 164, 74, 0.6);
  animation: pulse-gold 2.4s infinite;
}
@keyframes pulse-gold {
  0%   { box-shadow: 0 0 0 0   rgba(201,164,74,0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(201,164,74,0); }
  100% { box-shadow: 0 0 0 0   rgba(201,164,74,0); }
}

/* Decorative background splashes */
.splash {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.hero .splash-1 { top: 80px; right: -120px; width: 460px; height: 460px; background: var(--gold-soft); }
.hero .splash-2 { bottom: -200px; left: -180px; width: 380px; height: 380px; background: var(--accent-mist); }
.hero > .container { position: relative; z-index: 1; }

/* ─── Stats strip ────────────────────────────────────────────────────────── */

.stats {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 40px 0;
  background: #FFFFFF;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid .stat {
  padding: 22px 26px;
  border-right: 1px solid var(--line-soft);
}
.stats-grid .stat:last-child { border-right: 0; }

.stats-grid .stat .num {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 4.2vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--navy);
}
.stats-grid .stat .lbl {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.stats-grid .stat.featured { background: var(--navy); color: var(--cream); border-right: 0; }
.stats-grid .stat.featured .num { color: var(--gold); }
.stats-grid .stat.featured .lbl { color: rgba(245,245,240,0.78); }

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat { border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
  .stats-grid .stat:nth-child(2n)    { border-right: 0; }
  .stats-grid .stat:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ─── Two-col editorial ──────────────────────────────────────────────────── */

.twocol {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.twocol .col-left h2 { margin-top: 10px; max-width: 12ch; }
.twocol .col-right p { margin-bottom: 18px; }

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

/* ─── Photo grid ─────────────────────────────────────────────────────────── */

.photo-grid {
  columns: 3;
  column-gap: 14px;
  margin-top: 40px;
}
.photo-grid figure {
  break-inside: avoid;
  margin: 0 0 14px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-2);
}
.photo-grid img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) { .photo-grid { columns: 2; } }
@media (max-width: 560px) { .photo-grid { columns: 1; } }

/* ─── Benefits list ──────────────────────────────────────────────────────── */

.benefits-list {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 48px;
  border-top: 1px solid var(--line-soft);
}

.benefit-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.6fr;
  gap: 28px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.benefit-row .num-mark {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--gold);
  line-height: 1;
}
.benefit-row .title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: clamp(19px, 1.7vw, 24px);
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.2;
}
.benefit-row .note { font-size: 15px; color: var(--muted); line-height: 1.55; }

@media (max-width: 800px) {
  .benefit-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 4px; }
  .benefit-row .num-mark { font-size: 28px; }
}

/* ─── CTA strip ──────────────────────────────────────────────────────────── */

.cta-strip {
  padding: clamp(28px, 3.5vw, 48px) 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #FFFFFF;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-strip h3 { font-size: clamp(22px, 2.4vw, 30px); color: var(--navy); }
.cta-strip-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Comparison cards ───────────────────────────────────────────────────── */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

.card {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 32px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: 0 12px 40px -20px rgba(0,0,0,0.25); }

.card .tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent-mist);
  color: var(--ink);
  border-radius: 999px;
  margin-bottom: 22px;
  align-self: flex-start;
}
.card .tag.tag-warn  { background: var(--accent-warn); }
.card .tag.tag-light { background: var(--gold); color: var(--navy-deep); }
.card.sky .tag { background: var(--accent-mist); }
.card.gold {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.card.gold h3 { color: var(--cream); }
.card.gold p  { color: rgba(245,245,240,0.85); }
.card h3 { margin-bottom: 14px; color: var(--navy); }
.card p  { color: var(--muted); font-size: 15px; line-height: 1.55; flex: 1; }

/* ─── Full-bleed image break ─────────────────────────────────────────────── */

.bleed {
  padding: 0;
  margin: clamp(32px, 6vw, 80px) 0;
}
.bleed img {
  width: 100%;
  height: clamp(320px, 55vh, 620px);
  object-fit: cover;
}

/* ─── Testimonials ───────────────────────────────────────────────────────── */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 800px) { .testimonial-grid { grid-template-columns: 1fr; } }

.quote-card {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 32px;
  background: #FFFFFF;
}
.quote-card .mark {
  font-family: 'Fraunces', serif;
  font-size: 64px;
  line-height: 0.8;
  color: var(--gold);
  margin-bottom: 8px;
}
.quote-card blockquote {
  margin: 0 0 18px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.quote-card cite {
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
  display: block;
}
.quote-card cite .who { color: var(--ink); font-weight: 500; }

/* ─── Founding partners block ────────────────────────────────────────────── */

.partners-block {
  background: var(--navy);
  color: var(--cream);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 80px);
  margin-top: 40px;
}
.partners-block .eyebrow { color: var(--gold); }
.partners-block h2 { color: var(--cream); max-width: 22ch; margin-bottom: 20px; }
.partners-block p  { color: rgba(245,245,240,0.82); max-width: 64ch; font-size: 17px; }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
}
@media (max-width: 800px) { .partners-grid { grid-template-columns: 1fr; } }

.partner-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,245,240,0.12);
  border-radius: 14px;
  padding: 22px 24px;
}
.partner-card .partner-name {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--cream);
  margin-bottom: 6px;
  line-height: 1.2;
}
.partner-card .partner-role {
  font-size: 13px;
  color: rgba(245,245,240,0.7);
  line-height: 1.4;
}

/* ─── Get more info form ─────────────────────────────────────────────────── */

.info-panel {
  background: #FFFFFF;
  border-radius: 24px;
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  border: 1px solid var(--line-soft);
}
@media (max-width: 800px) { .info-panel { grid-template-columns: 1fr; } }

.info-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.info-form label { display: flex; flex-direction: column; gap: 6px; }
.info-form label.full { grid-column: 1 / -1; }
.info-form .lbl {
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-form input {
  appearance: none;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  background: var(--cream);
  color: var(--ink);
}
.info-form input:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.info-form button { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.info-form .form-note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 0;
}
@media (max-width: 540px) { .info-form { grid-template-columns: 1fr; } }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 40px;
  border-top: 1px solid var(--line-soft);
}
.faq-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 28px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.faq-row .q {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--navy);
  letter-spacing: -0.01em;
}
.faq-row .a { font-size: 15px; color: var(--muted); line-height: 1.6; }

@media (max-width: 800px) {
  .faq-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 4px; }
}

/* ─── Final CTA ──────────────────────────────────────────────────────────── */

.final {
  text-align: center;
  padding: clamp(72px, 10vw, 140px) 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.final h2 { max-width: 22ch; margin: 0 auto 24px; }
.final h2 em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.final .sub { color: var(--muted); max-width: 56ch; margin: 0 auto 32px; font-size: 17px; }
.final-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.final .btn { font-size: 16px; padding: 16px 30px; }

/* ─── Sticky mobile CTA ──────────────────────────────────────────────────── */

.cta-sticky {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 40;
  background: var(--orange);
  color: var(--cream);
  border-radius: 999px;
  padding: 14px 22px;
  text-align: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.35);
}
.cta-sticky:hover { background: var(--ink); color: var(--cream); }
@media (max-width: 720px) { .cta-sticky { display: block; } }

/* ─── Site footer ────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--navy);
  color: rgba(245,245,240,0.7);
  padding: clamp(40px, 6vw, 64px) 0;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--cream);
  margin-bottom: 6px;
}
.footer-address { color: rgba(245,245,240,0.6); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.footer-links a {
  color: rgba(245,245,240,0.7);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: rgba(245,245,240,0.45); font-size: 13px; width: 100%; margin-top: 24px; }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ─── Accessibility ──────────────────────────────────────────────────────── */

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
