:root {
  --bg: #f7f2ea;
  --bg-elevated: #fffdf9;
  --ink: #2c241e;
  --ink-muted: #5e5349;
  --line: #e4d8c8;
  --accent: #c44536;
  --accent-hover: #a8372b;
  --accent-soft: #f8e8e4;
  --focus: #c44536;
  --error: #b42318;
  --error-bg: #fdecec;
  --radius: 12px;
  --space: 1.25rem;
  --max: 40rem;
  --header-max: 72rem;
  --font: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0.01em;
}

.site-logo,
h1,
h2,
h3 {
  font-optical-sizing: auto;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.site-header__inner,
.site-footer__inner {
  max-width: var(--header-max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.form-status a {
  color: inherit;
}

.site-header__inner {
  flex-wrap: nowrap;
  gap: 0.75rem;
}

@media (max-width: 720px) {
  .site-header__inner {
    flex-wrap: wrap;
  }
}

.site-logo {
  font-family: var(--display);
  font-size: clamp(0.95rem, 2.8vw, 1.12rem);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.03em;
  min-width: 0;
}

.site-logo:hover {
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 0.25rem 1rem;
  flex-shrink: 0;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
}

main {
  flex: 1;
  width: 100%;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

.page--wide {
  max-width: 44rem;
}

.page h1,
.success h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.03em;
  margin: 0 0 0.85rem;
}

.lede {
  font-size: 1.125rem;
  color: var(--ink);
  margin: 0 0 1.75rem;
}

.page p {
  margin: 0 0 1rem;
}

.page h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 2rem 0 0.65rem;
}

.hero-actions {
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.button--full {
  width: 100%;
}

.button--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.button--ghost:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-hover);
}

.note {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

/* Form */

.form-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.15rem 1.5rem;
}

@media (min-width: 640px) {
  .form-card {
    padding: 1.75rem 1.75rem 1.85rem;
  }
}

.donate-form fieldset {
  border: 0;
  margin: 0 0 1.75rem;
  padding: 0;
  min-width: 0;
}

.donate-form legend {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.donate-form fieldset fieldset legend,
.donate-form legend.field-label {
  font-family: var(--font);
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
}

.field {
  margin-bottom: 1.1rem;
}

.field label,
.field .field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.required-mark {
  color: var(--error);
  font-weight: 700;
}

.optional-mark {
  font-weight: 500;
  color: var(--ink-muted);
}

.field-hint {
  display: block;
  margin: 0.35rem 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.field-error {
  margin: 0.4rem 0 0;
  color: var(--error);
  font-size: 0.95rem;
}

.field-error[hidden] {
  display: none;
}

.donate-form input[type="text"],
.donate-form input[type="email"],
.donate-form input[type="number"],
.donate-form input[type="date"],
.donate-form input[type="file"],
.donate-form select,
.donate-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  border: 1px solid #d3c4b3;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
}

.donate-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.date-field {
  position: relative;
}

.donate-form .date-field__text {
  padding-right: 3.25rem;
}

.date-field__picker {
  position: absolute;
  top: 0;
  right: 0;
  width: 3rem;
  height: 48px;
}

.date-field__icon {
  position: absolute;
  inset: 0;
  margin: auto;
  color: var(--ink-muted);
  pointer-events: none;
}

.donate-form .date-field__native {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 48px;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  background: transparent;
}

.donate-form .date-field__native::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.donate-form input[aria-invalid="true"],
.donate-form select[aria-invalid="true"],
.donate-form textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .field-row--split {
    grid-template-columns: 1fr 1fr;
  }
}

.radio-list,
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.35rem 0;
}

.choice input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.2rem 0 0;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.choice label {
  font-weight: 500;
  margin: 0;
  cursor: pointer;
}

.honeypot {
  display: none;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--error);
  background: var(--error-bg);
  color: var(--error);
}

.form-status[hidden] {
  display: none;
}

.form-privacy {
  margin: 1.15rem 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.success {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
}

.success[hidden] {
  display: none;
}

.success h1 {
  margin-bottom: 0.75rem;
}

.success p {
  font-size: 1.0625rem;
}

@media (max-width: 480px) {
  .page {
    padding-top: 1.5rem;
  }
}

/* Homepage */

.hero-band {
  background:
    radial-gradient(900px 420px at 88% -8%, #f3d3b8 0%, transparent 58%),
    radial-gradient(700px 320px at 8% 110%, #f6e2c9 0%, transparent 52%),
    linear-gradient(180deg, #fbf4ea 0%, #f7f2ea 100%);
  color: var(--ink);
}

.layout-home .site-header {
  background: rgba(251, 244, 234, 0.9);
  border-bottom-color: transparent;
}

.home-hero {
  max-width: var(--header-max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.25rem;
}

.home-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.9fr);
    gap: 3.25rem;
    align-items: stretch;
  }
}

.eyebrow {
  margin: 0 0 0.8rem;
  display: inline-flex;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.05rem, 5vw, 3.05rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
}

.home-hero .mark {
  color: var(--accent);
}

.home-hero .lede {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.hero-photo {
  margin: 0;
  max-width: 36rem;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(44, 36, 30, 0.1);
  border: 1px solid var(--line);
  background: #fff;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
  .home-hero__visual {
    position: relative;
    min-height: 0;
    overflow: hidden;
  }

  .hero-photo {
    position: absolute;
    inset: 0;
    max-width: none;
    height: auto;
  }

  .hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: unset;
  }
}

.home-wrap {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.home-wrap--narrow {
  max-width: 42rem;
}

.home-section {
  padding: 3.25rem 0;
}

.home-section--alt {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-section h2,
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0 0.65rem;
}

.section-lede {
  margin: 0 0 2rem;
  color: var(--ink-muted);
  max-width: 38rem;
  font-size: 1.08rem;
}

.section-note {
  margin: 1.5rem 0 0;
  color: var(--ink-muted);
}

.faq {
  margin: 0;
  padding: 0;
}

.faq > div {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.faq > div:first-child {
  padding-top: 0;
}

.faq dt {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem;
}

.faq dd {
  margin: 0;
  color: var(--ink-muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.2rem 1.4rem;
}

.home-section--alt .steps li {
  background: var(--bg);
}

.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
}

.steps h3 {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0 0.45rem;
}

.steps p {
  margin: 0;
  color: var(--ink-muted);
}

.type-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .type-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.type-grid li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 64px;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 600;
  font-family: var(--display);
  letter-spacing: 0.03em;
}

.type-grid__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.plain-list {
  margin: 1.15rem 0 0;
  padding-left: 1.15rem;
}

.plain-list li {
  margin-bottom: 0.45rem;
}

.home-section p {
  margin: 0 0 1rem;
}

.home-section .section-lede {
  margin-bottom: 2rem;
}

.home-section .section-note {
  margin-top: 1.75rem;
  margin-bottom: 0;
}

.cta-band {
  background: var(--accent);
  color: #fff;
  padding: 2.6rem 0;
}

.cta-band p {
  margin: 0;
  color: #f6ddd8;
  max-width: 32rem;
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band .button {
  background: #fff;
  border-color: #fff;
  color: var(--accent);
}

.cta-band .button:hover {
  background: #f8e8e4;
  border-color: #f8e8e4;
  color: var(--accent-hover);
}

.photo-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
}

@media (min-width: 800px) {
  .photo-mosaic {
    grid-template-columns: repeat(4, 1fr);
  }
}

.photo-mosaic img {
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.logo-block {
  margin-top: 1.4rem;
}

.logo-block__title {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.logo-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .logo-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.logo-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 1.05rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.logo-grid img {
  display: block;
  width: auto;
  height: auto;
  max-width: 10rem;
  max-height: 2.85rem;
  object-fit: contain;
}

.cause-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 720px) {
  .cause-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cause-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cause-grid img {
  width: 100%;
  height: 12.5rem;
  object-fit: cover;
  display: block;
}

.cause-grid__body {
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cause-grid h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.45rem;
}

.cause-grid p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  flex: 1;
}

.cause-grid a {
  font-weight: 700;
  text-decoration: none;
}

.cause-grid a:hover {
  text-decoration: underline;
}

@media (max-width: 540px) {
  .layout-home .site-header__inner {
    flex-wrap: wrap;
  }

  .home-hero {
    padding-top: 1.5rem;
  }

  .home-hero .hero-actions .button {
    width: 100%;
  }
}
