/* =========================================================
   TIMANDI GLOBAL HEALTH — DESIGN SYSTEM
   Palette: navy + teal + warm gold on a warm off-white canvas
   Type:    Instrument Serif (display) + Geist (body) + JetBrains Mono (eyebrow)
   ========================================================= */

:root {
  /* Brand */
  --ink: #142346;          /* deep navy — primary surface + text */
  --ink-2: #1E315C;        /* secondary navy */
  --teal: #3FBFB0;         /* primary accent / CTAs / data */
  --teal-deep: #0F8F86;
  --gold: #C9A96A;         /* highlight, evidence accent */
  --gold-deep: #A88947;
  --bone: #F6F4EF;         /* canvas */
  --bone-2: #EDE9E0;       /* card / band */
  --paper: #FFFFFF;
  --slate: #5C7A8A;        /* secondary text */
  --slate-2: #94A8B5;
  --line: rgba(14, 31, 43, 0.10);
  --line-strong: rgba(14, 31, 43, 0.20);

  /* Type */
  --display: "Instrument Serif", "Source Serif Pro", Georgia, serif;
  --body: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  /* Scale */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 4px;
  --radius-lg: 14px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-feature-settings: "ss01","cv11";
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--teal);
}
.eyebrow.no-mark::before { display: none; }
.eyebrow.gold { color: var(--gold-deep); }
.eyebrow.gold::before { background: var(--gold); }
.eyebrow.bone { color: var(--bone-2); }
.eyebrow.bone::before { background: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
.display-xl { font-size: clamp(48px, 7vw, 96px); line-height: 1.0; letter-spacing: -0.02em; }
.display-lg { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.02em; }
.display-md { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.05; }
.display-sm { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--slate);
  max-width: 60ch;
  text-wrap: pretty;
}
p { text-wrap: pretty; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }

.grid { display: grid; gap: 32px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 900px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 240ms var(--ease);
  white-space: nowrap;
}
.btn .arrow {
  width: 16px; height: 16px;
  transition: transform 240ms var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--teal);
  color: var(--ink);
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-deep); color: var(--bone); border-color: var(--teal-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bone); }

.btn-on-dark {
  background: transparent;
  color: var(--bone);
  border-color: rgba(255,255,255,0.25);
}
.btn-on-dark:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-deep); color: var(--bone); border-color: var(--gold-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,244,239,0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.dark {
  background: rgba(14,31,43,0.86);
  color: var(--bone);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 12px; }
.nav-logo svg { display: block; }
.nav-wordmark {
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}
.nav-wordmark small {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--slate);
  margin-top: 4px;
}
.dark .nav-wordmark small { color: var(--slate-2); }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 200ms var(--ease);
}
.dark .nav-links a { color: var(--bone); }
.nav-links a:hover { color: var(--teal-deep); }
.dark .nav-links a:hover { color: var(--teal); }
.nav-links a.active { color: var(--teal-deep); }
.dark .nav-links a.active { color: var(--teal); }
.nav-links a.active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--teal);
}
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 4px;
    margin-left: auto; padding: 10px;
    border: 1px solid var(--line-strong); border-radius: 6px;
  }
  .nav-toggle span {
    display: block; width: 18px; height: 1.5px; background: currentColor;
  }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bone); padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
  }
  .dark .nav-links.open { background: var(--ink); }
  .nav-links.open a {
    padding: 14px 0; border-top: 1px solid var(--line);
  }
  .nav-cta { margin-left: 0; margin-top: 12px; align-self: flex-start; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--bone);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
  margin-bottom: 72px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-list a {
  color: rgba(246,244,239,0.78);
  font-size: 14.5px;
  transition: color 200ms var(--ease);
}
.footer-list a:hover { color: var(--teal); }
.footer-tagline {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.3;
  color: var(--bone);
  margin: 16px 0 24px;
  max-width: 28ch;
}
.footer-newsletter {
  display: flex; gap: 8px; margin-top: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 8px;
}
.footer-newsletter input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--bone); font: inherit; font-size: 14px;
  padding: 6px 0;
}
.footer-newsletter input::placeholder { color: rgba(246,244,239,0.5); }
.footer-newsletter button {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal);
  padding: 0 4px;
}

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.10);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em;
  color: rgba(246,244,239,0.6);
  flex-wrap: wrap; gap: 16px;
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 999px;
  color: var(--bone); transition: all 200ms var(--ease);
}
.socials a:hover { background: var(--teal); color: var(--ink); border-color: var(--teal); }

/* Subtle dot grid in footer */
.footer-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(63,191,176,0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 60% at 80% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 80% 0%, #000 0%, transparent 70%);
}

/* ---------- Hero (shared) ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  padding: clamp(120px, 16vw, 200px) 0 clamp(80px, 10vw, 130px);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--bone); }
.hero .lede { color: rgba(246,244,239,0.78); }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, transparent 80%);
  pointer-events: none;
}

/* ---------- Page header (smaller) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(120px, 14vw, 180px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--bone); margin-top: 18px; }
.page-hero .lede { color: rgba(246,244,239,0.78); margin-top: 24px; }
.page-hero-meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: rgba(246,244,239,0.65);
}
.page-hero-meta strong { color: var(--bone); font-weight: 500; display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 280ms var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(14,31,43,0.18);
}
.card-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--slate); margin-bottom: 24px;
}
.card h3 { font-family: var(--display); font-size: 26px; margin: 14px 0 12px; }
.card p { color: var(--slate); margin: 0 0 20px; font-size: 15px; line-height: 1.6; }
.card-icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--bone);
  color: var(--teal-deep);
  margin-bottom: 8px;
}
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink);
  padding-top: 8px; border-top: 1px solid var(--line);
  width: 100%;
}
.card-link svg { transition: transform 240ms var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }
.card-link .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--teal); margin-right: 4px;
}

/* Service-style card with big number gutter */
.svc-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 36px 32px;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background 240ms var(--ease);
}
.svc-card:last-child { border-bottom: 1px solid var(--line); }
.svc-card:hover { background: rgba(63,191,176,0.04); }
.svc-card .num {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  color: var(--slate);
  padding-top: 8px;
}
.svc-card h3 { font-size: 28px; margin: 0 0 10px; }
.svc-card p { color: var(--slate); margin: 0; max-width: 60ch; }
.svc-card .tags {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px;
}
.svc-card .tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  padding: 5px 10px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--slate);
}

/* ---------- Stat block ---------- */
.stat { padding: 32px 0; border-top: 1px solid var(--line); }
.stat-num {
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 88px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.stat-num .unit { color: var(--teal); }
.stat-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); margin-top: 14px; }

/* ---------- Image placeholder ---------- */
.img-ph {
  position: relative;
  background: linear-gradient(135deg, #1E315C, #142346);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  color: rgba(246,244,239,0.7);
}
.img-ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(63,191,176,0.10) 0 1px,
    transparent 1px 14px
  );
}
.img-ph::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(63,191,176,0.30), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(201,169,106,0.18), transparent 50%);
  mix-blend-mode: screen;
}
.img-ph .ph-label {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: rgba(246,244,239,0.85);
  display: flex; gap: 10px; align-items: flex-start;
  z-index: 2;
}
.img-ph .ph-label::before {
  content: ""; flex: 0 0 auto;
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--gold);
  margin-top: 4px;
}
.img-ph.tall { aspect-ratio: 3 / 4; }
.img-ph.wide { aspect-ratio: 16 / 9; }
.img-ph.square { aspect-ratio: 1 / 1; }

.img-ph.gold {
  background: linear-gradient(135deg, #C9A96A, #A88947);
}
.img-ph.gold::after {
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.35), transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(14,31,43,0.20), transparent 50%);
}
.img-ph.bone {
  background: linear-gradient(135deg, #EDE9E0, #D9D2C2);
  color: var(--ink);
}
.img-ph.bone::before {
  background-image: repeating-linear-gradient(135deg, rgba(14,31,43,0.06) 0 1px, transparent 1px 14px);
}
.img-ph.bone::after {
  background:
    radial-gradient(circle at 30% 30%, rgba(63,191,176,0.20), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201,169,106,0.25), transparent 50%);
  mix-blend-mode: multiply;
}
.img-ph.bone .ph-label { color: var(--ink); }
.img-ph.bone .ph-label::before { background: var(--ink); }

/* ---------- Marquee strip ---------- */
.strip {
  background: var(--ink);
  color: var(--bone);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.strip-row {
  display: flex; gap: 56px; align-items: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246,244,239,0.8);
}
.strip-row span:not(:first-child)::before {
  content: "◆ ";
  color: var(--gold);
  margin-right: 56px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: end;
}
@media (max-width: 800px) { .cta-banner { grid-template-columns: 1fr; } }
.cta-banner h2 { color: var(--bone); margin: 0; }
.cta-banner .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-self: end; }
@media (max-width: 800px) { .cta-banner .actions { justify-self: start; } }
.cta-banner::after {
  content: ""; position: absolute;
  right: -120px; bottom: -120px;
  width: 360px; height: 360px;
  border-radius: 999px;
  border: 1px solid rgba(63,191,176,0.30);
}
.cta-banner::before {
  content: ""; position: absolute;
  right: -40px; bottom: -40px;
  width: 200px; height: 200px;
  border-radius: 999px;
  border: 1px solid rgba(201,169,106,0.30);
}

/* ---------- Two-column feature ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.feature.alt { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .feature, .feature.alt { grid-template-columns: 1fr; } }

/* ---------- Tags / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
}
.chip.dark { background: transparent; color: var(--bone); border-color: rgba(255,255,255,0.18); }
.chip.gold { border-color: var(--gold); color: var(--gold-deep); background: rgba(201,169,106,0.08); }
.chip.teal { border-color: var(--teal); color: var(--teal-deep); background: rgba(63,191,176,0.08); }

/* ---------- Tweaks panel ---------- */
.tweaks {
  position: fixed; right: 24px; bottom: 24px; z-index: 100;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 14px;
  padding: 18px 20px; width: 280px;
  box-shadow: 0 30px 60px -20px rgba(14,31,43,0.25);
  font-size: 13px;
  display: none;
}
.tweaks.open { display: block; }
.tweaks h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); margin: 0 0 14px; display: flex; justify-content: space-between; align-items: center; }
.tweaks h5 button { font-family: inherit; font-size: 14px; color: var(--slate); }
.tweaks .row { gap: 10px; margin-bottom: 14px; }
.tweaks label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); display: block; margin-bottom: 6px; }
.tweaks .swatches { display: flex; gap: 8px; }
.tweaks .swatch {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--line); cursor: pointer; padding: 0;
}
.tweaks .swatch.active { box-shadow: 0 0 0 2px var(--ink); }
.tweaks select { width: 100%; padding: 8px 10px; font: inherit; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--bone); }

/* ---------- Article cards ---------- */
.article {
  display: flex; flex-direction: column; gap: 18px;
  background: transparent;
}
.article .img-ph { border-radius: 10px; }
.article-meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--slate);
  display: flex; gap: 16px;
}
.article-meta .dot { color: var(--teal); }
.article h3 { font-size: 24px; margin: 0; line-height: 1.2; }
.article p { color: var(--slate); margin: 0; font-size: 14.5px; }
.article-link {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px;
}

/* ---------- Tables / lists ---------- */
.kv-list { list-style: none; margin: 0; padding: 0; }
.kv-list li {
  display: grid; grid-template-columns: 32px 1fr;
  padding: 18px 0; gap: 18px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.kv-list li .num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--slate); padding-top: 4px;
}
.kv-list li strong { font-family: var(--display); font-size: 22px; font-weight: 400; display: block; margin-bottom: 4px; }
.kv-list li p { margin: 0; color: var(--slate); font-size: 14.5px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 22px; }
.field label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--slate);
  display: block; margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font: inherit; font-size: 15px; color: var(--ink);
  transition: border 200ms var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(63,191,176,0.18);
}
.field textarea { resize: vertical; min-height: 140px; }

/* ---------- Helper utils ---------- */
.text-center { text-align: center; }
.muted { color: var(--slate); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.spacer-sm { height: 24px; }
.spacer-md { height: 48px; }
.spacer-lg { height: 80px; }
.bone-bg { background: var(--bone-2); }
.ink-bg { background: var(--ink); color: var(--bone); }
.ink-bg h1, .ink-bg h2, .ink-bg h3 { color: var(--bone); }
.ink-bg .lede, .ink-bg p { color: rgba(246,244,239,0.78); }

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.fade-in.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Globe / data motif */
.globe {
  position: relative;
  width: 100%; aspect-ratio: 1 / 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(63,191,176,0.18), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(201,169,106,0.14), transparent 60%),
    #142346;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(14,31,43,0.5);
}
.globe::before, .globe::after {
  content: ""; position: absolute; inset: 8%;
  border-radius: 999px;
  border: 1px dashed rgba(63,191,176,0.35);
}
.globe::after { inset: 22%; border-color: rgba(201,169,106,0.30); border-style: solid; opacity: 0.5;}
.globe .dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(246,244,239,0.55) 1px, transparent 1px);
  background-size: 14px 14px;
  mask-image: radial-gradient(circle at 50% 50%, #000 38%, transparent 60%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 38%, transparent 60%);
  opacity: 0.6;
}
.globe .pin {
  position: absolute; width: 10px; height: 10px;
  border-radius: 999px; background: var(--teal);
  box-shadow: 0 0 0 4px rgba(63,191,176,0.20), 0 0 0 10px rgba(63,191,176,0.10);
}
.globe .pin.gold { background: var(--gold); box-shadow: 0 0 0 4px rgba(201,169,106,0.20), 0 0 0 10px rgba(201,169,106,0.10); }

/* Print-style framing for capacity / training certificate */
.cert {
  background: var(--bone);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 32px;
  position: relative;
}
.cert::before {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  pointer-events: none;
}
.cert .seal {
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink); font-weight: 600;
}
