:root {
  --maroon: #4c0708;
  --red: #970d10;
  --blue: #1a9fd9;
  --blue-dark: #1386b8;
  --grey: #f2f2f2;
  --text-on-photo: #fff;
  --serif: "Caudex", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", Arial, sans-serif;
  --max: 980px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--maroon); font-family: var(--serif); font-size: 18px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 400; margin: 0 0 .5em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.brand img { width: 220px; }
.site-header nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.site-header nav a { font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 700; color: #000; text-decoration: none; text-transform: uppercase; }
.site-header nav li:last-child a { text-transform: none; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--blue); }
.nav-toggle, .nav-burger { display: none; }

/* Floating donate */
.donate-float { position: fixed; right: 18px; top: 50%; z-index: 40; background: var(--blue); color: #fff; font-family: var(--sans); letter-spacing: .2em; text-transform: uppercase; font-size: 13px; padding: 13px 40px; text-decoration: none; }
.donate-float:hover { background: var(--blue-dark); }

/* Heroes */
.hero { position: relative; min-height: 70vh; display: flex; align-items: flex-end; justify-content: center; text-align: center; color: var(--text-on-photo); background: #333 center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,.45)); }
.hero > div { position: relative; max-width: 620px; padding: 40px 20px 60px; }
.hero h1 { font-size: clamp(28px, 4vw, 36px); line-height: 1.25; }
.hero p { font-size: 19px; margin: 0; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.hero.short { min-height: 50vh; align-items: center; }
.hero.short h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: .04em; }

/* Sections */
section { padding: 60px 0; }
.eyebrow { font-family: var(--sans); font-weight: 300; color: var(--red); text-transform: uppercase; letter-spacing: .08em; font-size: 15px; text-align: center; margin: 0 0 14px; }
.lead { font-size: clamp(22px, 3vw, 28px); line-height: 1.35; text-align: center; max-width: 760px; margin: 0 auto 50px; }
.center { text-align: center; }
.full-img { width: 100%; max-height: 520px; object-fit: cover; }
.btn { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-family: var(--sans); letter-spacing: .2em; text-transform: uppercase; font-size: 13px; padding: 13px 36px; }
.btn:hover { background: var(--blue-dark); }
.divider { width: 30px; height: 2px; background: var(--maroon); margin: 14px auto 40px; border: 0; }

/* Icon lists */
.icon { width: 64px; height: 64px; color: var(--maroon); stroke-width: 1.4; flex: none; }
.feature-list { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; display: grid; gap: 28px; }
.feature-list li { display: flex; align-items: center; gap: 26px; font-size: 20px; }
.feature-list img { width: 64px; flex: none; }
.feature-list li:nth-child(even) { margin-left: 60px; }
.feature-grid { list-style: none; padding: 0; margin: 0 auto; max-width: var(--max); display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; }
.feature-grid li { display: flex; align-items: center; gap: 26px; font-size: 20px; }
.feature-grid .icon { width: 80px; height: 80px; }
.plus { text-align: center; margin-top: 50px; }
.plus .big { font-size: 70px; line-height: 1; display: block; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.trio .icon { width: 110px; height: 110px; margin: 0 auto 20px; display: block; }

/* About team strip */
.team-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.team-strip img { width: 100%; height: 520px; object-fit: cover; }
.team-strip .card { background: #e8f1f6; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px; }
.team-strip .card h2 { font-family: var(--sans); font-weight: 500; font-size: 52px; line-height: 1; color: #0e3a5c; margin: 0; }
.team-strip .card h2 span { font-weight: 300; display: block; }
.team-strip .card p { font-family: var(--sans); font-size: 15px; }

/* Team page */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.person { text-align: center; }
.person img, .trustees img { width: 216px; height: 216px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; }
.person h3 { font-style: italic; font-size: 20px; }
.person p { font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.6; }
.trustees { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.trustees img { width: 190px; height: 190px; margin: 0; }

/* Get onboard */
.onboard { background: center/cover no-repeat; padding: 80px 0 0; }
.onboard h1 { text-align: center; color: #fff; font-size: clamp(26px, 4vw, 38px); text-shadow: 0 2px 6px rgba(0,0,0,.6); max-width: 760px; margin: 0 auto 40px; padding: 0 20px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); }
.tier { padding: 36px 30px 50px; text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tier:nth-child(1) { background: #1f2d8c; }
.tier:nth-child(2) { background: #f4c15d; color: var(--maroon); }
.tier:nth-child(3) { background: #23893b; }
.tier .btn-ghost { font-family: var(--serif); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .05em; color: inherit; text-decoration: underline; text-underline-offset: 5px; }
.tier .coffees { display: inline-flex; gap: 4px; vertical-align: middle; }
.tier .coffees .icon { width: 20px; height: 20px; color: currentColor; stroke-width: 2; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.gallery a { display: block; overflow: hidden; }
.gallery img { width: 100%; height: 240px; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery .wide { grid-column: 1 / -1; }
.gallery .wide img { height: auto; object-fit: contain; background: #fff; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.lightbox:target { display: flex; }
.lightbox img { max-height: 90vh; width: auto; }
.lightbox .close { position: absolute; top: 14px; right: 22px; color: #fff; font-size: 40px; text-decoration: none; font-family: Arial, sans-serif; }

/* Forms / contact */
.contact-box { max-width: 620px; margin: 0 auto; text-align: center; }
.contact-box img { margin: 30px auto 10px; }
form.speaker { max-width: 620px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.speaker label { display: flex; flex-direction: column; font-family: var(--sans); font-size: 14px; gap: 4px; }
form.speaker .full { grid-column: 1 / -1; }
form.speaker input, form.speaker textarea { font: inherit; font-family: var(--sans); font-size: 16px; padding: 10px; border: 1px solid #b9a5a5; border-radius: 0; color: #222; background: #fff; }
form.speaker textarea { min-height: 140px; resize: vertical; }
form.speaker button { border: 0; cursor: pointer; justify-self: start; }

/* Footer */
.site-footer { background: var(--grey); padding: 50px 20px 26px; text-align: center; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 760px; margin: 0 auto 36px; }
.footer-cols h4 { font-family: var(--sans); font-weight: 300; font-size: 26px; letter-spacing: .08em; margin-bottom: 18px; }
.footer-cols a { display: block; font-size: 14px; margin-bottom: 14px; }
.footer-base { display: flex; align-items: center; gap: 24px; max-width: var(--max); margin: 0 auto; }
.footer-base p { font-size: 12px; margin: 0; flex: 1; }
.social { display: flex; gap: 8px; }
.social img { width: 32px; }

@media (max-width: 860px) {
  .site-header { padding: 10px 16px; }
  .brand img { width: 180px; }
  .nav-burger { display: block; cursor: pointer; }
  .nav-burger .icon { width: 30px; height: 30px; color: #000; stroke-width: 2; }
  .nav-burger .icon + .icon, .nav-toggle:checked + .nav-burger .icon:first-child { display: none; }
  .nav-toggle:checked + .nav-burger .icon + .icon { display: block; }
  .site-header nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 6px 8px rgba(0,0,0,.12); }
  .nav-toggle:checked ~ nav { display: block; }
  .site-header nav ul { flex-direction: column; gap: 0; }
  .site-header nav a { display: block; padding: 14px 20px; border-top: 1px solid #eee; }
  .donate-float { top: auto; bottom: 16px; right: 16px; padding: 12px 26px; }
  .feature-grid, .trio, .people, .tiers, .footer-cols { grid-template-columns: 1fr; }
  .feature-list li:nth-child(even) { margin-left: 0; }
  .team-strip { grid-template-columns: 1fr 1fr; }
  .team-strip img { height: 300px; }
  .footer-cols { gap: 24px; }
  .footer-base { flex-direction: column; padding-bottom: 50px; }
  form.speaker { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
}
