:root {
  --font-main: "Montserrat", Arial, sans-serif;
  --color-heading: #213457;
  --color-text: #111827;
  --color-muted: #637394;
  --color-primary: #3d61e0;
  --color-primary-hover: #1e51ba;
  --color-blue: #4b74c8;
  --color-turquoise: #43bbcd;
  --color-green: #0b9c5b;
  --color-soft: #f3f6fc;
  --color-input: #e7eef4;
  --color-border: #e1ebf7;
  --color-footer: #2b2b2b;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --container: 1160px;
  --shadow: 0 18px 50px rgb(33 52 87 / 12%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
  min-width: 320px;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  background: var(--color-heading);
  color: #ffffff;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -60px;
  z-index: 200;
}

.skip-link:focus {
  top: 16px;
}

.container {
  margin: 0 auto;
  width: min(100% - 40px, var(--container));
}

.site-header {
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid #eceff3;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  align-items: center;
  color: var(--color-heading);
  display: inline-flex;
  flex: 0 0 auto;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  height: 44px;
  width: 210px;
  object-fit: contain;
}

.brand span {
  border-left: 1px solid var(--color-border);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  max-width: 190px;
  padding-left: 14px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 18px;
}

.site-nav a {
  color: var(--color-heading);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--color-primary);
}

.site-nav .nav-cta {
  background: var(--color-primary);
  border-radius: 999px;
  color: #ffffff;
  padding: 10px 18px;
}

.site-nav .nav-cta:hover {
  background: var(--color-primary-hover);
  color: #ffffff;
}

.menu-toggle {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.menu-toggle span {
  background: var(--color-heading);
  border-radius: 999px;
  display: block;
  height: 2px;
  position: absolute;
  width: 20px;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.floating-cta {
  background: var(--color-primary);
  border-radius: 999px;
  bottom: 24px;
  box-shadow: var(--shadow);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 22px;
  position: fixed;
  right: 24px;
  text-decoration: none;
  z-index: 90;
}

.floating-cta:hover {
  background: var(--color-primary-hover);
}

.hero {
  align-items: center;
  display: flex;
  min-height: calc(100vh - 74px);
  overflow: hidden;
  position: relative;
}

.hero-media {
  inset: 0;
  position: absolute;
}

.hero-media::after {
  background: linear-gradient(90deg, rgb(255 255 255 / 78%) 0%, rgb(255 255 255 / 50%) 46%, rgb(255 255 255 / 8%) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center right;
  width: 100%;
}

.hero-content {
  padding: 74px 0;
  position: relative;
  z-index: 1;
}

.hero-content > * {
  max-width: 720px;
}

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

.hero-title-art {
  display: block;
  height: auto;
  margin: 0 0 18px;
  max-width: min(100%, 760px);
  object-fit: contain;
  overflow: visible;
  width: 760px;
}

.hero-kicker {
  color: var(--color-heading);
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 18px;
}

.eyebrow {
  color: var(--color-green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--color-heading);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 22px;
}

h2 {
  color: var(--color-heading);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 20px;
}

h3 {
  color: var(--color-heading);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
}

.hero-lead {
  color: var(--color-heading);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 18px;
}

.hero-text {
  color: #334155;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.hero-actions,
.mid-cta-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--color-primary-hover);
}

.button-secondary {
  background: #ffffff;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.button-secondary:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.button-light {
  background: #ffffff;
  color: var(--color-primary);
}

.button-light:hover {
  background: var(--color-soft);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-badges span {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 14px;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--color-soft);
}

.section-head {
  margin-bottom: 38px;
  max-width: 820px;
}

.section-head p,
.split-layout p,
.media-layout p {
  color: #334155;
}

.section-head-narrow {
  max-width: 760px;
}

.section-subtitle {
  color: var(--color-heading) !important;
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 18px;
}

.split-layout {
  align-items: start;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.accent-text {
  border-left: 4px solid var(--color-green);
  color: var(--color-heading) !important;
  font-weight: 800;
  padding-left: 18px;
}

.fact-panel,
.impact-panel,
.nominations-panel,
.donation-form-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.fact-panel {
  display: grid;
  gap: 0;
}

.fact-panel div {
  padding: 28px;
}

.fact-panel div + div {
  border-top: 1px solid var(--color-border);
}

.fact-panel strong {
  color: var(--color-primary);
  display: block;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}

.fact-panel span {
  color: var(--color-muted);
  display: block;
  font-size: 15px;
  line-height: 1.55;
}

.nominations-panel {
  padding: 30px;
}

.nominations-panel h3 {
  margin-bottom: 20px;
}

.nominations-list {
  display: grid;
  gap: 12px;
}

.nominations-list article {
  background: var(--color-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.nominations-list h4 {
  color: var(--color-heading);
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 6px;
}

.nominations-list p {
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.fund-cards {
  display: grid;
  gap: 16px;
}

.fund-cards article {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 26px;
}

.fund-cards p {
  color: #475569;
  font-size: 15px;
  margin-bottom: 0;
}

.directions-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.direction-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  min-height: 300px;
  overflow: hidden;
}

.direction-card img {
  aspect-ratio: 4 / 3;
  background: var(--color-soft);
  object-fit: contain;
  object-position: center;
  padding: 18px;
  width: 100%;
}

.direction-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.direction-card small {
  color: var(--color-green);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.direction-card p {
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.direction-card a {
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 800;
  margin-top: auto;
  text-decoration: none;
}

.donation-chart {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-top: 28px;
  min-height: 420px;
  overflow: hidden;
}

.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps article,
.support-list article {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px;
}

.steps span {
  align-items: center;
  background: var(--color-primary);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 18px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  margin-bottom: 20px;
  width: 42px;
}

.steps p,
.support-list p {
  color: #475569;
  font-size: 15px;
  margin-bottom: 0;
}

.mid-cta {
  background: var(--color-heading);
  color: #ffffff;
  padding: 72px 0;
}

.mid-cta h2,
.mid-cta p,
.mid-cta .eyebrow {
  color: #ffffff;
}

.mid-cta p {
  margin-bottom: 0;
  max-width: 760px;
}

.mid-cta-inner {
  justify-content: space-between;
}

.mid-cta-inner > div {
  max-width: 780px;
}

.support-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-list-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.impact-panel {
  padding: 32px;
}

.impact-panel ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.impact-panel li {
  color: #334155;
  padding-left: 28px;
  position: relative;
}

.impact-panel li::before {
  background: var(--color-green);
  border-radius: 999px;
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  top: 10px;
  width: 10px;
}

.media-layout {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.media-layout img {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
}

.links-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.links-grid a {
  background: var(--color-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-heading);
  font-weight: 800;
  min-height: 82px;
  padding: 22px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.links-grid a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.donation-form-card {
  margin: 0 auto;
  max-width: 920px;
  padding: 38px;
}

.donation-form {
  margin-top: 28px;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid label,
.consents label {
  display: grid;
  gap: 8px;
}

.form-grid label > span {
  color: var(--color-heading);
  font-size: 14px;
  font-weight: 800;
}

.form-grid input,
.form-grid select {
  background: var(--color-input);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font: 600 16px/1.4 var(--font-main);
  height: 52px;
  min-height: 52px;
  outline: none;
  padding: 12px 16px;
  width: 100%;
}

.form-grid input:focus,
.form-grid select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgb(61 97 224 / 14%);
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.consents {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.consents label {
  align-items: start;
  color: #334155;
  grid-template-columns: 20px minmax(0, 1fr);
}

.consents input {
  height: 18px;
  margin-top: 4px;
  width: 18px;
}

.consents a {
  color: var(--color-primary);
  font-weight: 800;
  text-decoration: none;
}

.consents a:hover {
  text-decoration: underline;
}

.form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.form-note {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  max-width: 360px;
}

.form-message {
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  margin-top: 18px;
}

.form-message:not(:empty) {
  background: var(--color-soft);
  color: var(--color-heading);
  padding: 14px 16px;
}

.form-message.is-error {
  background: #fff1f0;
  color: #a8271f;
}

.qr-result {
  align-items: center;
  background: var(--color-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 220px;
  margin-top: 30px;
  padding: 28px;
}

.qr-result[hidden] {
  display: none;
}

.qr-result img {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px;
  width: 220px;
}

.legal-page {
  background: var(--color-bg);
  color: var(--color-text);
}

.legal-document {
  margin: 0 auto;
  max-width: 920px;
  padding: 64px 20px;
}

.legal-document h1 {
  color: var(--color-heading);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
  margin: 18px 0 22px;
}

.legal-document h2 {
  color: var(--color-heading);
  font-size: 24px;
  margin: 34px 0 12px;
}

.legal-document p,
.legal-document li {
  font-size: 17px;
  line-height: 1.7;
}

.legal-document ul {
  padding-left: 22px;
}

.legal-back {
  color: var(--color-primary);
  font-weight: 800;
  text-decoration: none;
}

.legal-back:hover {
  text-decoration: underline;
}

.site-footer {
  background: var(--color-footer);
  color: #ffffff;
}

.footer-inner {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  padding: 54px 0;
}

.site-footer h2 {
  color: #ffffff;
  font-size: 26px;
  margin-bottom: 16px;
}

.site-footer p,
.site-footer a {
  color: #d6d6d6;
}

.site-footer nav {
  display: grid;
  gap: 12px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  background: #313131;
  color: #9d9d9d;
  font-size: 14px;
  padding: 22px 0;
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 12px;
  }

  .brand span {
    display: none;
  }

  .directions-grid,
  .support-list-wide,
  .links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 120;
  }

  .site-nav {
    align-content: start;
    background: #ffffff;
    border-left: 1px solid var(--color-border);
    bottom: 0;
    box-shadow: var(--shadow);
    display: grid;
    gap: 4px;
    max-width: 360px;
    padding: 96px 24px 24px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(105%);
    transition: transform 0.25s ease;
    width: min(86vw, 360px);
    z-index: 110;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    border-bottom: 1px solid var(--color-border);
    font-size: 16px;
    padding: 16px 0;
  }

  .site-nav .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .split-layout,
  .media-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 64px 0;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgb(255 255 255 / 82%) 0%, rgb(255 255 255 / 62%) 58%, rgb(255 255 255 / 30%) 100%);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .brand img {
    height: 30px;
    width: 150px;
  }

  .floating-cta {
    bottom: 14px;
    left: 14px;
    opacity: 0;
    pointer-events: none;
    padding: 13px 16px;
    right: 14px;
    text-align: center;
    transform: translateY(14px);
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  }

  .floating-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-content {
    padding: 52px 0 76px;
  }

  .hero-actions,
  .mid-cta-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-badges {
    align-items: stretch;
    flex-direction: column;
  }

  .directions-grid,
  .links-grid,
  .steps,
  .support-list,
  .form-grid,
  .qr-result {
    grid-template-columns: 1fr;
  }

  .qr-result img {
    justify-self: center;
  }

  .donation-form-card {
    padding: 26px;
  }

  .mid-cta {
    padding: 56px 0;
  }
}
