:root {
  --page: #fffaf2;
  --surface: #fffefd;
  --ink: #402433;
  --muted: #765f69;
  --accent: #ee725d;
  --accent-dark: #b94754;
  --line: rgba(101, 52, 69, 0.1);
  --line-strong: rgba(101, 52, 69, 0.2);
  --soft-accent: rgba(250, 179, 72, 0.16);
  --section-tint: rgba(255, 226, 171, 0.23);
  --wash-one: rgba(255, 198, 72, 0.16);
  --wash-two: rgba(238, 114, 93, 0.1);
  --brand-gradient: linear-gradient(145deg, #f59b58, #e45168);
  --brand-shadow: rgba(229, 81, 104, 0.2);
  --visual-background: #f9dca9;
}

.heart-mark {
  border-radius: 50% 50% 48% 52%;
}

.heart-mark svg {
  width: 18px;
  height: 18px;
}

.brand-name-long {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 680;
  letter-spacing: 0;
}

.charity-hero h1 {
  max-width: 880px;
}

.charity-hero > .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.sunshine-visual {
  isolation: isolate;
  margin: 0;
  border-color: rgba(115, 69, 39, .13);
  box-shadow: 0 28px 80px rgba(130, 74, 39, .16);
}

.sunshine-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 58% center;
}

.moment-card:nth-child(1) {
  background: linear-gradient(155deg, #fffefb, #fff2c9);
}

.moment-card:nth-child(2) {
  background: linear-gradient(155deg, #fffefb, #ffe1d8);
}

.moment-card:nth-child(3) {
  background: linear-gradient(155deg, #fffefb, #f7e2ed);
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
}

.work-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.work-steps li:first-child {
  padding-top: 0;
}

.work-steps li > span {
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 840;
  letter-spacing: .1em;
}

.work-steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.work-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 60px;
  align-items: end;
  padding: clamp(36px, 6vw, 72px);
  border: 1px solid rgba(111, 40, 81, .14);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #ffe4a8, #fff5dc 55%, #ffd8ce);
}

.support-panel h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.support-panel p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.support-action {
  display: grid;
  justify-items: start;
  gap: 13px;
}

.support-action span {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}

.page-heading {
  max-width: 900px;
  padding-block: 72px 58px;
}

.page-heading h1 {
  font-size: clamp(2.85rem, 5.5vw, 4.8rem);
}

.page-heading .lede {
  max-width: 760px;
}

.supporter-hero {
  padding-block: clamp(58px, 7vw, 90px);
}

.supporter-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .78fr);
  gap: clamp(48px, 8vw, 108px);
  align-items: center;
}

.supporter-hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5.8vw, 5.25rem);
}

.supporter-hero-centred > .shell {
  text-align: center;
}

.supporter-hero-centred h1,
.supporter-hero-centred .lede {
  margin-inline: auto;
}

.supporter-hero-centred h1 {
  max-width: 960px;
  font-size: clamp(3rem, 5.4vw, 4.9rem);
  letter-spacing: -.055em;
  text-wrap: balance;
}

.supporter-hero-centred .hero-actions {
  justify-content: center;
}

.support-hub-hero {
  padding-bottom: clamp(78px, 10vw, 132px);
}

.legacy-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(30px, 5vw, 52px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #6f2851, #402433 64%, #b94754);
  color: #fffaf2;
  box-shadow: 0 30px 80px rgba(64, 36, 51, .2);
}

.legacy-card::before,
.legacy-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 226, 171, .12);
}

.legacy-card::before {
  width: 270px;
  height: 270px;
  top: -90px;
  right: -70px;
}

.legacy-card::after {
  width: 110px;
  height: 110px;
  top: 90px;
  right: 110px;
}

.legacy-card-mark {
  position: relative;
  z-index: 1;
  margin-bottom: auto;
  color: #ffd88f;
  font-size: 2rem;
}

.legacy-card p,
.legacy-card strong {
  position: relative;
  z-index: 1;
}

.legacy-card p {
  max-width: 430px;
  margin-bottom: 24px;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: -.035em;
}

.legacy-card strong {
  color: rgba(255, 250, 242, .68);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.availability-label {
  flex: 0 0 auto;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  font-size: .88rem;
  font-weight: 760;
}

.fundraiser-preview {
  position: relative;
  padding: clamp(28px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(111, 40, 81, .14);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #fffefb 0%, #fff3d3 58%, #ffdcd3 100%);
  box-shadow: 0 30px 80px rgba(130, 74, 39, .15);
}

.fundraiser-preview::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  top: -85px;
  right: -70px;
  border-radius: 50%;
  background: rgba(238, 114, 93, .12);
}

.fundraiser-preview-top,
.fundraiser-preview-stats,
.fundraiser-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.fundraiser-preview-top {
  position: relative;
  margin-bottom: 50px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 780;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.preview-badge {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(64, 36, 51, .08);
  letter-spacing: .03em;
}

.fundraiser-preview-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 18px;
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 14px 30px var(--brand-shadow);
  font-size: 1.25rem;
}

.fundraiser-preview-kicker {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: .76rem;
  font-weight: 820;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.fundraiser-preview h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
}

.fundraiser-preview > p:not(.fundraiser-preview-kicker) {
  margin-bottom: 32px;
  color: var(--muted);
  line-height: 1.6;
}

.fundraiser-total {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.fundraiser-total strong {
  font-size: 1.85rem;
}

.fundraiser-total span,
.fundraiser-preview-stats {
  color: var(--muted);
  font-size: .82rem;
}

.fundraiser-progress {
  height: 9px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(64, 36, 51, .1);
}

.fundraiser-progress span {
  display: block;
  width: 68.4%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-gradient);
}

.fundraiser-preview-stats strong {
  color: var(--ink);
}

.supporter-section-heading h2 {
  max-width: 700px;
}

.fundraiser-idea {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(155deg, rgba(255, 254, 253, .96), rgba(255, 255, 255, .72));
}

.fundraiser-idea:nth-child(2) {
  background: linear-gradient(155deg, #fffdf8, #ffe7df);
}

.fundraiser-idea:nth-child(3) {
  background: linear-gradient(155deg, #fffdf8, #f6e4ee);
}

.fundraiser-idea a {
  margin-top: 10px;
  color: var(--accent-dark);
  font-weight: 760;
  text-decoration: none;
}

.idea-symbol {
  display: block;
  margin-bottom: auto;
  padding-bottom: 38px;
  color: var(--accent-dark);
  font-size: 2.1rem;
}

.fundraising-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid var(--line);
}

.fundraising-steps li {
  padding: 34px 28px;
  border-left: 1px solid var(--line);
}

.fundraising-steps li:first-child {
  border-left: 0;
}

.fundraising-steps li > span {
  display: block;
  margin-bottom: 40px;
  color: var(--accent-dark);
  font-size: .75rem;
  font-weight: 840;
  letter-spacing: .12em;
}

.fundraising-steps p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-compact-top {
  padding-top: 0;
}

.supporter-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  padding: clamp(36px, 6vw, 68px);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #ffe4a8, #fff5dc 55%, #ffd8ce);
}

.supporter-cta h2 {
  margin-bottom: 12px;
  font-size: clamp(2.25rem, 4vw, 3.7rem);
}

.supporter-cta p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.supporter-cta .button {
  flex: 0 0 auto;
}

.prose {
  max-width: 780px;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.source-list {
  margin: 28px 0 0;
  padding-left: 20px;
}

.source-list li + li {
  margin-top: 14px;
}

.contact-panel {
  max-width: 780px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.contact-email {
  font-weight: 760;
  overflow-wrap: anywhere;
}

.contact-form-card h2,
.newsletter-panel h2 {
  margin-bottom: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label,
.newsletter-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 720;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.newsletter-form input[type="email"] {
  box-sizing: border-box;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.newsletter-form input:focus {
  border-color: var(--accent-dark);
  outline: 3px solid rgba(185, 71, 84, .15);
}

.contact-form .check-label,
.newsletter-form .check-label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  align-items: start;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
}

.contact-form .check-label input,
.newsletter-form .check-label input {
  width: auto;
  margin-top: 4px;
}

.form-success,
.form-errors {
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(65, 145, 92, .12);
}

.form-errors {
  margin-bottom: 18px;
  background: rgba(185, 71, 84, .1);
}

.form-errors ul { margin-bottom: 0; }
.field-error { margin: 6px 0 0; color: var(--accent-dark); font-size: .85rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.newsletter-section {
  padding: 52px 0;
  background: var(--section-tint);
}

.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.newsletter-panel p { color: var(--muted); line-height: 1.6; }
.newsletter-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 12px; }
.newsletter-row .button { white-space: nowrap; }

.preview-explanation {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.launch-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.launch-note p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.launch-note a {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-weight: 760;
}

.feature-card {
  display: flex;
  flex-direction: column;
}

.feature-card p {
  flex: 1;
}

.feature-card a,
.support-action > a:not(.button) {
  color: var(--accent-dark);
  font-weight: 760;
}

.button-on-dark {
  border-color: rgba(255, 255, 255, .32);
  color: var(--page);
}

.donation-preview-layout,
.preview-two-column {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: 850;
}

.donation-preview fieldset,
.preview-form fieldset {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  border: 0;
}

.donation-preview {
  display: grid;
  gap: 18px;
}

.donation-preview h2 {
  margin-bottom: 0;
}

.donation-preview legend {
  margin-bottom: 22px;
  font-size: 1.45rem;
  font-weight: 800;
}

.choice-row,
.amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.choice-row label,
.choice-preview,
.amount-grid button,
.amount-grid span {
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 720;
  text-align: center;
}

.choice-preview.is-selected,
.amount-grid span:nth-child(2) {
  border-color: var(--accent-dark);
  background: var(--soft-accent);
}

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

.field-label {
  margin: 0 0 -10px;
  font-size: .86rem;
  font-weight: 760;
}

.preview-field,
.preview-form label {
  display: grid;
  gap: 7px;
  font-size: .88rem;
  font-weight: 720;
}

.preview-field input,
.preview-form input,
.preview-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.donation-preview .check-label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  color: var(--muted);
  line-height: 1.5;
}

.preview-submit {
  width: 100%;
}

.preview-explanation {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .86rem;
}

.contact-cta {
  margin-top: 28px;
  padding: clamp(32px, 6vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.contact-cta p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .work-layout,
  .support-panel,
  .contact-layout,
  .newsletter-panel,
  .donation-preview-layout,
  .preview-two-column {
    grid-template-columns: 1fr;
  }

  .supporter-hero-layout,
  .fundraising-steps {
    grid-template-columns: 1fr 1fr;
  }

  .fundraising-steps li:nth-child(3) {
    border-left: 0;
  }

  .supporter-cta {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 640px) {
  .supporter-hero h1,
  .supporter-hero-centred h1,
  .page-heading h1 {
    font-size: clamp(2.65rem, 13vw, 3.55rem);
  }

  .launch-note {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .charity-hero h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 13.5vw, 3.35rem);
    overflow-wrap: normal;
  }

  .form-grid,
  .newsletter-row,
  .amount-grid {
    grid-template-columns: 1fr;
  }

  .supporter-hero-layout,
  .fundraising-steps {
    grid-template-columns: 1fr;
  }

  .supporter-hero h1 {
    font-size: clamp(2.85rem, 12.8vw, 3.4rem);
    line-height: .97;
    letter-spacing: -.05em;
  }

  .supporter-hero-centred h1 {
    font-size: clamp(2.85rem, 12vw, 3.3rem);
  }

  .legacy-card {
    min-height: 360px;
  }

  .fundraising-steps li,
  .fundraising-steps li:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .fundraising-steps li:first-child {
    border-top: 0;
  }
}
