:root {
  --paper: #faf5e8;
  --ink: #123c32;
  --dark: #11372e;
  --deep: #0c2c25;
  --lime: #e4eb9d;
  --orange: #bc371f;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #d17526; outline-offset: 5px; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 5; top: 12px; left: 12px; transform: translateY(-180%); padding: 10px 14px; background: white; }
.skip:focus { transform: none; }
.wrap { width: min(100% - 112px, 1250px); margin-inline: auto; }
.header { border-bottom: 1px solid #173b3229; background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.brand-mark { width: 46px; height: 46px; object-fit: cover; border-radius: 9px; }
nav { display: flex; align-items: center; gap: clamp(18px, 4vw, 53px); }
nav a { font-size: .9375rem; font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 21px; border-radius: 99px; font-size: .9375rem; font-weight: 750; line-height: 1.3; text-align: center; text-decoration: none; }
.button.dark { background: var(--ink); color: #fffbed; }
.button.dark:hover { background: #275748; }
.button.orange { background: var(--orange); color: #fffbed; }
.button.orange:hover { background: #9d2a16; }
.hero { max-width: 1770px; margin: auto; display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
.hero-copy { padding: clamp(54px, 6vw, 94px) 36px clamp(58px, 6.5vw, 102px) max(56px, calc((100vw - 1250px) / 2)); align-self: center; }
.eyebrow { margin: 0 0 17px; font-size: .875rem; font-weight: 800; letter-spacing: .115em; text-transform: uppercase; line-height: 1.4; }
.eyebrow > span { display: inline-block; width: 8px; height: 8px; margin-right: 7px; vertical-align: .1em; background: #cc4a2a; border-radius: 50%; }
h1, h2, h3, h4, p, figure { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; }
h1 { margin-bottom: 21px; font-size: clamp(5.2rem, 10.7vw, 10rem); line-height: .79; letter-spacing: -.085em; }
h1 em { color: var(--orange); font-weight: 500; letter-spacing: -.085em; }
.intro { max-width: 425px; margin: 31px 0 25px; font-size: clamp(1rem, 1.4vw, 1.19rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 21px; }
.text-link { font-weight: 750; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.hero-art { position: relative; min-width: 0; margin: 0; background: var(--dark); overflow: hidden; }
.hero-art img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 59% center; }
.hero-art figcaption { position: absolute; bottom: 14px; right: 16px; padding: 3px 9px; border-radius: 4px; background: #10291f; color: #fffbed; font-size: .75rem; }
.fact-band { background: var(--lime); }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; padding-block: 23px 25px; }
.fact-grid > div { display: grid; align-content: start; gap: 4px; padding: 0 clamp(12px, 3.9vw, 55px); border-left: 1px solid #183f3747; }
.fact-grid > div:first-child { padding-left: 0; border: 0; }
.fact-grid strong { font: 500 clamp(1.85rem, 4vw, 3.45rem)/1.05 var(--serif); letter-spacing: -.07em; }
.fact-grid span { font-size: .875rem; font-weight: 650; }
.section { padding-block: clamp(60px, 7.1vw, 108px); scroll-margin-top: 15px; }
h2 { margin-bottom: 19px; font-size: clamp(2.8rem, 6vw, 5.35rem); line-height: .95; letter-spacing: -.078em; }
.meter { padding: clamp(19px, 4vw, 51px); background: var(--dark); color: var(--paper); border-radius: 22px; }
.meter-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 13px 22px; border-bottom: 1px solid #fffbed40; padding-bottom: 22px; }
.founders ul { margin: 0; padding: 0; list-style: none; }
.story { background: #efe7d2; }
.story-layout, .join { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px, 8vw, 116px); align-items: center; }
.story-layout p, .join p { max-width: 520px; }
.founders { position: relative; background: #f8f2e3; border: 1px solid #183f3739; border-radius: 22px; padding: 25px clamp(18px, 3.5vw, 38px); }
.founders h3 { margin-bottom: 11px; font: 500 1.9rem/1.2 var(--serif); letter-spacing: -.04em; }
.founders li { display: flex; align-items: center; gap: 15px; padding-block: 12px; font-weight: 750; }
.founders li + li { border-top: 1px solid #173b3229; }
.founder-portrait {
  flex: 0 0 auto;
  width: 76px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #efe7d2 url('assets/founders-cheque-presentation.jpg') no-repeat;
  background-size: 345% auto;
}
.portrait-jeff { background-position: 26% 6%; }
.portrait-maureen { background-position: 89.5% 26%; }
.portrait-monica { background-position: 58% 24%; }
.founders a, .appeal-events a { text-underline-offset: 4px; }
.event { display: grid; grid-template-columns: auto 1fr; gap: clamp(14px, 2.4vw, 29px); align-items: start; padding: clamp(18px, 3vw, 34px); background: var(--lime); border-radius: 22px; }
.event-date { display: grid; min-width: 65px; place-items: center; align-content: center; padding: 12px 8px; background: var(--ink); color: var(--paper); border-radius: 11px; }
.event-date strong { font: 500 2.45rem/.9 var(--serif); letter-spacing: -.07em; }
.event-date span { font-size: .875rem; font-weight: 800; letter-spacing: .1em; }
.event .eyebrow { margin: 0 0 7px; }
.event h3 { font: 500 clamp(1.65rem, 3.6vw, 2.65rem)/1.06 var(--serif); letter-spacing: -.055em; margin-bottom: 12px; }
.event p { margin-bottom: 12px; }
.footer { background: var(--deep); color: var(--paper); }
.footer-inner { min-height: 150px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 26px; }
.footer p { margin: 9px 0 0; font-size: .875rem; }
@media (min-width: 1770px) { .hero-copy { padding-left: 260px; } }
@media (max-width: 950px) {
  .wrap { width: calc(100% - 64px); }
  .hero-copy { padding-left: 32px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 72px; gap: 10px; }
  .header .brand { font-size: .875rem; }
  .header .brand-mark { width: 40px; height: 40px; }
  .header nav { display: none; }
  .header .button { padding-inline: 14px; min-height: 44px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 50px 18px 39px; }
  h1 { font-size: clamp(5rem, 17vw, 7.1rem); }
  .intro { margin-top: 23px; }
  .hero-art { min-height: min(67vw, 385px); }
  .fact-grid { padding-block: 15px 17px; }
  .fact-grid > div { padding-inline: 8px; gap: 5px; }
  .fact-grid > div:last-child { padding-right: 0; }
  .fact-grid strong { font-size: clamp(1.04rem, 4.5vw, 1.85rem); letter-spacing: -.055em; }
  .fact-grid span { font-size: .875rem; line-height: 1.3; }
  .story-layout, .join { grid-template-columns: 1fr; gap: 22px; }
  .event-date { min-width: 52px; }
  .footer-inner { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gallery { padding-block: clamp(47px, 6.2vw, 85px); background: #efe7d2; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px 25px; margin-bottom: 24px; }
.gallery-heading h2 { margin-bottom: 0; }
.gallery-heading > a { margin-bottom: 6px; }
.carousel-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 16px) / 2);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: #516f58 #dfd5bd;
  padding-bottom: 8px;
}
.carousel-track figure { min-width: 0; margin: 0; scroll-snap-align: start; background: var(--paper); border-radius: 16px; overflow: hidden; }
.carousel-photo { display: block; aspect-ratio: 16 / 10; background: var(--deep); }
.carousel-photo img { width: 100%; height: 100%; object-fit: contain; }
.carousel-photo:focus-visible { outline-offset: -4px; }
.carousel-track figcaption { display: grid; gap: 3px; padding: 15px 19px 17px; }
.carousel-track figcaption strong { font: 500 clamp(1.4rem, 2.6vw, 2.1rem)/1.1 var(--serif); letter-spacing: -.045em; }
.carousel-track figcaption span { font-size: .9375rem; }
.carousel-track figcaption a { font-size: .875rem; text-underline-offset: 4px; }
.carousel-controls { display: flex; justify-content: end; gap: 8px; padding-top: 12px; }
.carousel-controls button {
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  background: var(--ink);
  color: var(--paper);
  font: 700 .875rem/1.3 var(--sans);
  cursor: pointer;
}
.carousel-controls button:disabled { opacity: .55; cursor: default; }
.video-gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(20px, 5vw, 57px);
  margin-top: 33px;
  padding: clamp(15px, 3vw, 35px);
  color: var(--paper);
  background: var(--deep);
  border-radius: 20px;
}
.video-gallery video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 11px; }
.video-gallery .eyebrow { color: var(--lime); margin-bottom: 8px; }
.video-gallery h3, .fundraising-record h2 { font: 500 clamp(1.85rem, 4vw, 3.4rem)/1.02 var(--serif); letter-spacing: -.055em; margin-bottom: 12px; }
.video-gallery p { max-width: 41ch; }
.comparison-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(26px, 5.2vw, 70px); padding-top: 25px; }
.comparison-grid .eyebrow { color: var(--lime); margin-bottom: 11px; }
.connection { border-left: 1px solid #fffbed40; padding-left: clamp(20px, 4vw, 54px); }
.connection dl { margin: 0; }
.connection dl div { padding-block: 12px; border-bottom: 1px solid #fffbed40; }
.connection dt { font: 500 clamp(1.48rem, 3vw, 2.15rem)/1.15 var(--serif); letter-spacing: -.025em; }
.connection dd { margin: 5px 0 0; }
.connection a { text-underline-offset: 3px; }
.connection-note { font-size: .875rem; margin: 13px 0 0; }
.fundraising-record > p { max-width: 72ch; }
.ledger-scroll { width: 100%; overflow-x: auto; border: 1px solid #173b3230; border-radius: 16px; }
.ledger { width: 100%; min-width: 650px; border-collapse: collapse; text-align: left; font-size: .9375rem; line-height: 1.42; }
.ledger td, .ledger th { padding: 12px 14px; vertical-align: top; }
.ledger td:nth-child(3) { white-space: nowrap; font-weight: 800; }
.ledger td:first-child { white-space: nowrap; }
.ledger thead { background: var(--dark); color: var(--paper); }
.ledger tbody tr + tr { border-top: 1px solid #173b3229; }
.ledger tbody tr:nth-child(even) { background: #f1eddf; }
.ledger small { display: block; margin-top: 3px; font-size: .875rem; color: #3a5148; }
.sponsors { background: var(--lime); padding-block: clamp(35px, 5.6vw, 70px); }
.sponsors h2 { font-size: clamp(2.45rem, 5.2vw, 4.65rem); }
.sponsors ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; padding: 0; margin: 0; list-style: none; }
.sponsors li { display: grid; min-width: 0; }
.sponsors li a { display: grid; grid-template-rows: auto 1fr; gap: 10px; padding: 10px; background: #f7f4d5; border: 1px solid #173b3240; border-radius: 13px; font-weight: 760; text-decoration: none; }
.sponsors li a:hover { border-color: var(--ink); }
.sponsors li a:hover > span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.sponsors li a > span:last-child { align-self: center; text-align: center; line-height: 1.3; }
.sponsor-logo { display: grid; place-items: center; height: 112px; padding: 10px; background: #fff; border-radius: 7px; }
.sponsor-logo img { width: auto; height: auto; max-width: min(100%, 150px); max-height: 92px; object-fit: contain; }
.sponsor-logo-dark { background: var(--deep); }
@media (max-width: 700px) {
  .carousel-track { grid-auto-columns: 100%; gap: 11px; }
  .carousel-track figcaption { padding-inline: 12px; }
  .video-gallery, .comparison-grid { grid-template-columns: 1fr; }
  .connection { padding: 20px 0 0; border-left: 0; border-top: 1px solid #fffbed40; }
  .sponsors ul { grid-template-columns: 1fr 1fr; }
}

.appeal-history { margin-top: clamp(35px, 6vw, 70px); padding-top: clamp(24px, 4vw, 48px); border-top: 1px solid #173b3240; }
.appeal-history h3 { margin-bottom: 21px; font: 500 clamp(1.8rem, 4.5vw, 3.45rem)/1.04 var(--serif); letter-spacing: -.05em; }
.appeal-events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.appeal-events article { padding: clamp(15px, 3vw, 28px); border: 1px solid #173b3230; border-radius: 16px; background: var(--paper); }
.appeal-events .eyebrow { margin-bottom: 9px; }
.appeal-events h4 { margin-bottom: 8px; font: 500 clamp(1.4rem, 2.8vw, 2.2rem)/1.12 var(--serif); letter-spacing: -.035em; }
.appeal-events article > p:last-child { margin-bottom: 0; }
.appeal-source { margin: 12px 0 0; font-size: .875rem; }
@media (max-width: 700px) {
  .appeal-events { grid-template-columns: 1fr; }
}

.impact-feature { padding-block: clamp(16px, 3.5vw, 45px); }
.comparison .meter-top h2 {
  font-size: clamp(1.85rem, 4.2vw, 3.65rem);
  line-height: 1.03;
  margin: 0;
  letter-spacing: -.06em;
}
.chart-instructions { margin: 0 0 12px; font-size: .875rem; }
.impact-plot { --plot-height: clamp(135px, 16vw, 215px); position: relative; padding-inline-start: 39px; }
.chart-axis {
  position: absolute;
  inset: 0 0 auto;
  height: var(--plot-height);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: .75rem;
  line-height: 0;
  pointer-events: none;
}
.chart-axis span { display: flex; align-items: center; gap: 7px; }
.chart-axis span::after { content: ''; flex: 1; border-top: 1px solid #fffbed38; }
.cause-bars { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; margin: 0; padding: 0; list-style: none; }
.cause-local { --cause: #e9ed95; }
.cause-health { --cause: #86ddd0; }
.cause-community { --cause: #f8b778; }
.cause-relief { --cause: #eeb5dd; }
.cause-button {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  background: transparent;
  border: 0;
  border-radius: 6px;
  padding: 0 2px 5px;
  color: var(--paper);
  text-align: center;
  font: inherit;
}
.impact-chart[data-ready] .cause-button { cursor: pointer; }
.impact-chart[data-ready] .cause-button:hover .cause-name,
.cause-button[aria-pressed="true"] .cause-name { color: var(--cause); text-decoration: underline; text-underline-offset: 4px; }
.cause-column { display: block; position: relative; height: var(--plot-height); }
.cause-fill {
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  width: min(70%, 66px);
  height: calc(var(--share) * 2%);
  background: var(--cause);
  border-radius: 7px 7px 0 0;
  transform-origin: bottom;
}
.cause-value {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  bottom: calc(var(--share) * 2% + 4px);
  color: var(--cause);
  font-weight: 800;
  font-size: .9375rem;
}
.cause-name { margin-top: 8px; font-size: clamp(.75rem, 1.45vw, .9375rem); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.cause-detail { margin: 13px 0 0; }
.cause-detail > div { min-height: 84px; padding: 12px 14px; background: #fffbed10; border-inline-start: 3px solid var(--cause); border-radius: 5px; }
.cause-detail > div + div { margin-top: 6px; }
.cause-detail dt { color: var(--cause); font-weight: 800; }
.cause-detail dd { margin: 2px 0 0; font-size: .9rem; }
@media (prefers-reduced-motion: no-preference) {
  .impact-chart[data-animate] .cause-fill { transform: scaleY(0); }
  .impact-chart[data-animate] .cause-value { opacity: 0; }
  .impact-chart[data-animate].is-visible .cause-fill { transform: scaleY(1); transition: transform 750ms cubic-bezier(.2,.8,.2,1); }
  .impact-chart[data-animate].is-visible .cause-value { opacity: 1; transition: opacity 260ms ease 360ms; }
}

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(20px, 6vw, 86px); align-items: start; }
.contact-layout p { max-width: 34ch; }
.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(16px, 3vw, 34px);
  background: #f8f2e3;
  border: 1px solid #183f3739;
  border-radius: 22px;
}
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form label { display: grid; gap: 5px; min-width: 0; font-weight: 700; }
.contact-form :is(input, select, textarea) {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid #6c7c70;
  border-radius: 8px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
  font-weight: 400;
}
.contact-form textarea { resize: vertical; }
.contact-form button { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
@media (max-width: 700px) {
  .contact-layout, .contact-details { grid-template-columns: 1fr; }
}
