/* Sustainable Blood: values from the Claude Design handoff (design_handoff_sustainable_blood_site/README.md) */
:root {
  --bg: #fbf8f6;
  --ink: #2a1d1f;
  --muted: #4a3a3c;
  --muted-2: #5a4a4c;
  --muted-3: #8a7a7c;
  --body-dark: #3a2a2c;
  --red: #b3242f;
  --red-deep: #7d1621;
  --link: #a3202d;
  --blush: #f6e6e4;
  --sand: #f3ece9;
  --line: #eadfdc;
  --line-2: #e3d6d3;
  --line-3: #d9cbc8;
  --line-blush: #e5cfcb;
  --on-dark: #e6dcda;
  --on-dark-small: #b8a8aa;
  --on-dark-eyebrow: #e99a9f;
  --on-red: #ffe9ea;
  --on-red-eyebrow: #ffd5d8;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--red-deep); text-decoration: underline; }
p { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }
img { max-width: 100%; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.anchor { scroll-margin-top: 70px; }

/* Type */
.serif { font-family: var(--serif); font-weight: 400; }
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 8vw, 112px); line-height: .95; letter-spacing: -.025em; margin: 0; }
.h1 em, .h1-team em { color: var(--red); }
.h1-team { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7vw, 96px); line-height: .95; letter-spacing: -.025em; margin: 0; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.02em; margin: 0; }
.h2-sm { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.5vw, 52px); line-height: 1; letter-spacing: -.02em; margin: 0; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--red); margin-bottom: 18px; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--red); }

/* Buttons */
.pill { display: inline-block; padding: 14px 22px; border-radius: 999px; font-weight: 500; font-size: 15px; text-decoration: none; }
.pill:hover { text-decoration: none; }
.pill-red, .pill-red:hover { background: var(--red); color: #fff; }
.pill-outline, .pill-outline:hover { border: 1px solid var(--line-3); color: var(--ink); }
.pill-dark, .pill-dark:hover { background: var(--ink); color: #fff; }
.pill-white, .pill-white:hover { background: #fff; color: var(--red); padding: 15px 24px; font-size: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251, 248, 246, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { padding-top: 16px; padding-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand img { height: 34px; width: auto; display: block; }
.brand span { font-family: var(--serif); font-size: 26px; letter-spacing: -.01em; }
.site-nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14.5px; align-items: center; }
.site-nav a { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--red); font-weight: 500; }
.site-nav .nav-cta, .site-nav .nav-cta:hover { color: #fff; background: var(--ink); padding: 9px 16px; border-radius: 999px; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-3); border-radius: 999px; padding: 8px 14px; font: 500 14px var(--sans); color: var(--ink); cursor: pointer; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-2-wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }

/* Image placeholders: swap each for <img src="..." alt="..."> with the same class */
.ph { border-radius: 20px; background: repeating-linear-gradient(135deg, #efe3e0 0 12px, #f5ece9 12px 24px); display: flex; align-items: flex-end; padding: 20px; font-family: var(--mono); font-size: 12px; color: #8a6f72; box-sizing: border-box; }
img.ph { object-fit: cover; object-position: center 25%; padding: 0; width: 100%; height: 100%; display: block; background: none; }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 40px; }
.announce { display: inline-flex; align-items: center; gap: 10px; background: var(--blush); color: var(--red-deep); padding: 7px 14px 7px 8px; border-radius: 999px; font-size: 13.5px; margin-bottom: 32px; }
.announce .badge { background: var(--red); color: #fff; font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 999px; letter-spacing: .04em; }
.hero-grid { gap: 48px; align-items: end; }
.hero-side { display: flex; flex-direction: column; gap: 24px; padding-bottom: 10px; }
.hero-side p { font-size: 19px; line-height: 1.55; margin: 0; color: var(--muted); max-width: 520px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Mosaic */
.mosaic-section { padding-top: 16px; padding-bottom: 96px; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 240px 240px; gap: 14px; }
.mosaic .big { grid-row: span 2; }
.mosaic .small { padding: 18px; }
.program-card { border-radius: 20px; background: var(--red); color: #fff; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.program-card .label { color: #fff; opacity: .85; }
.program-card .serif { font-size: 30px; line-height: 1.1; }

/* Vision */
.vision { background: var(--ink); color: var(--bg); }
.vision .wrap { padding-top: 110px; padding-bottom: 110px; gap: 56px; }
.vision .eyebrow { color: var(--on-dark-eyebrow); margin-bottom: 22px; }
.vision-body { display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.6; color: var(--on-dark); }
.vision-body p { margin: 0; }

/* Our work */
.work { padding-top: 110px; padding-bottom: 110px; }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.work-head > div { max-width: 640px; }
.work-head p { max-width: 440px; font-size: 17px; line-height: 1.6; color: var(--muted-2); margin: 0; }
.aim { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.aim .ph { height: 200px; border-radius: 0; padding: 16px; }
.aim-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.aim h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; margin: 0; }
.aim p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted-2); }
.produce { margin-top: 56px; gap: 40px; padding: 44px; background: var(--blush); border-radius: 24px; }
.produce h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.05; margin: 0 0 14px; }
.produce ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.produce li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-blush); font-size: 16px; line-height: 1.5; }
.produce li span:first-child { font-family: var(--mono); font-size: 12px; color: var(--red); padding-top: 3px; }

/* Why it matters */
.why { border-top: 1px solid var(--line); }
.why .wrap { padding-top: 110px; padding-bottom: 110px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--ink); }
.stat { padding: 28px 24px 28px 0; display: flex; flex-direction: column; gap: 12px; }
.stat-value { font-family: var(--serif); font-size: clamp(56px, 6vw, 84px); line-height: 1; letter-spacing: -.02em; color: var(--red); }
.stat p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); max-width: 260px; }
.success { margin-top: 72px; gap: 48px; align-items: center; }
.success .ph { height: 380px; }
.success h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 48px); line-height: 1.05; margin: 0 0 28px; letter-spacing: -.01em; }
.dots { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.dots li { display: flex; gap: 14px; font-size: 17px; line-height: 1.5; color: var(--body-dark); }
.dots li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-top: 9px; }

/* Who's involved */
.involved-band { background: var(--sand); }
.involved-band > .wrap { padding-top: 100px; padding-bottom: 100px; gap: 56px; }
.involved-band .h2 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 24px; }
.involved-band p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 16px; }
.involved-band p.last { margin-bottom: 28px; }
.chip-groups { display: flex; flex-direction: column; gap: 28px; }
.chip-label { font-size: 13px; font-weight: 600; margin-bottom: 12px; color: var(--muted-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.funder { display: flex; align-items: center; gap: 18px; padding: 20px; background: #fff; border-radius: 16px; border: 1px solid var(--line-2); }
.funder { flex-direction: column; align-items: flex-start; }
.funder-logos { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.funder-logos .goc { height: 28px; width: auto; display: block; }
.funder-logos .nfrf { height: 60px; width: auto; display: block; }
.funder p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.funder p[lang="fr"] { margin-top: 6px; color: var(--muted-2); }

/* Get involved */
.get-involved { background: var(--red); color: #fff; }
.get-involved > .wrap { padding-top: 110px; padding-bottom: 110px; gap: 56px; }
.get-involved .eyebrow { color: var(--on-red-eyebrow); }
.get-involved .h2 { margin-bottom: 22px; }
.get-involved p { font-size: 17px; line-height: 1.6; margin: 0 0 32px; color: var(--on-red); max-width: 480px; }
.ways { display: flex; flex-direction: column; }
.way { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .28); display: flex; flex-direction: column; gap: 6px; }
.way-title { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.way-body { font-size: 15.5px; line-height: 1.55; color: var(--on-red); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); }
.site-footer .wrap { padding-top: 88px; padding-bottom: 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 64px; border-bottom: 1px solid var(--muted); }
.footer-top > div { max-width: 560px; }
.footer-top h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.5vw, 56px); line-height: 1; letter-spacing: -.02em; margin: 0 0 18px; color: #fff; }
.footer-top p { margin: 0; font-size: 17px; line-height: 1.6; }
.footer-mail, .footer-mail:hover { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 44px); color: #fff; align-self: flex-end; border-bottom: 1px solid var(--red); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; font-size: 13.5px; line-height: 1.6; color: var(--on-dark-small); }
.footer-bottom span:last-child { max-width: 520px; }

/* Team page */
.team-hero { padding-top: 80px; padding-bottom: 64px; gap: 48px; align-items: end; }
.team-hero .eyebrow { margin-bottom: 20px; }
.team-hero p { font-size: 18px; line-height: 1.6; margin: 0; color: var(--muted); max-width: 520px; }
.lead-section { padding-bottom: 100px; }
.lead-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.lead-card .ph { min-height: 420px; border-radius: 0; }
.lead-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.lead-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.5vw, 56px); line-height: 1; margin: 0; }
.lead-affil { font-size: 15px; color: var(--muted-2); }
.lead-body p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body-dark); }
.copi-section { padding-bottom: 110px; }
.copi-section .h2-sm { margin-bottom: 36px; }
.copis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.copi { display: flex; flex-direction: column; gap: 16px; }
.copi .ph { aspect-ratio: 4 / 5; border-radius: 18px; padding: 16px; }
.copi img.ph { height: auto; padding: 0; }
.mosaic img.ph, .aim img.ph { padding: 0; }
.copi h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; margin: 0 0 6px; }
.copi-role { font-size: 14px; color: var(--red); font-weight: 500; margin-bottom: 10px; }
.copi p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted-2); }
.groups-band { background: var(--sand); }
.groups-band .wrap { padding-top: 100px; padding-bottom: 100px; }
.groups-band .h2-sm { margin-bottom: 14px; }
.groups-band .intro { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 44px; max-width: 640px; }
.group { background: #fff; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line-2); }
.group h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 0; }
.group p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted-2); }
.institutions { padding-top: 100px; padding-bottom: 100px; gap: 56px; }
.institutions .h2-sm { margin-bottom: 18px; }
.institutions p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; }
.site-footer.team-footer .wrap { padding-top: 72px; }
.team-footer .footer-top { padding-bottom: 56px; }
.team-footer .footer-top h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: 0; margin: 0; }
.team-footer .footer-mail { font-size: clamp(26px, 3vw, 40px); align-self: auto; }

/* Narrow screens: the design has no mobile menu, so collapse the nav behind a toggle */
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 16px; padding: 8px 0 4px; }
  .site-header.open .site-nav { display: flex; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: 260px 200px auto; }
  .mosaic .big { grid-row: auto; }
  .produce { padding: 28px; }
  .lead-body { padding: 32px; }
}
@media (max-width: 480px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
}
