:root {
  --color-primary: #0047bb;
  --color-primary-dark: #00358c;
  --color-primary-tint: #eef3fc;
  --color-accent: #ff6b35;
  --color-accent-dark: #bf5027;
  --color-accent-light: #ff885d;
  --color-bg: #ffffff;
  --color-text: #1f1f1f;
  --color-text-muted: #565f6b;
  --max-width: 1080px;
  --radius: 10px;
  --header-height: 96px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3 {
  line-height: 1.2;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  background: var(--color-primary);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.site-header h1 {
  margin: 0;
  line-height: 1.2;
}

.site-header-name {
  display: block;
  font-size: 2.1rem;
  font-weight: 700;
}

.site-header-tagline {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
}

.site-header nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin: 0;
  padding: 0;
}

.site-header nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.site-header nav a:hover {
  border-bottom-color: var(--color-accent-light);
}

/* Hero */

.hero {
  background: linear-gradient(155deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: 2.5rem 0 3rem;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--color-accent);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.hero-photo {
  flex: 0 0 auto;
  width: 260px;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.hero-content {
  flex: 1 1 auto;
  text-align: left;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 56ch;
  margin: 0;
}

.button {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.85rem 1.85rem;
  background: var(--color-accent);
  color: var(--color-text);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover {
  background: var(--color-accent-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.involve-step {
  margin-top: 2.25rem;
}

.involve-step + .involve-step {
  margin-top: 2.8rem;
}

.involve-step-label {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-accent-dark);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.involve-step-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 1.75rem;
}

.involve-step-text {
  margin: 1.5rem 0 0;
  max-width: 55ch;
}

.involve-step-text a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.involve-step-text a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.involve-step-heading-row .button {
  margin-top: 0;
  margin-left: 3.5rem;
  flex: 0 0 auto;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4.5rem 1rem;
  margin-top: 1.5rem;
}

.button-group .button {
  margin-top: 0;
  min-width: 0;
  max-width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center;
  line-height: 1.35;
}

.button-secondary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 6px 18px rgba(0, 71, 187, 0.35);
}

.button-secondary:hover {
  background: var(--color-primary-dark);
  color: white;
  box-shadow: 0 8px 20px rgba(0, 71, 187, 0.4);
}

.donate-method {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mail-toggle {
  border: none;
  font: inherit;
  cursor: pointer;
}

.mail-donate {
  position: relative;
}

.mail-instructions {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 1.75rem;
  width: 260px;
  max-width: 260px;
  background: white;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.mail-instructions p {
  margin: 0 0 0.85rem;
}

.mail-instructions p:last-child {
  margin-bottom: 0;
}

.mail-instructions strong {
  color: var(--color-text);
}

.mail-donate.is-expanded .mail-instructions {
  display: block;
}

.qr-code {
  margin-top: 1.75rem;
  max-width: 220px;
}

.qr-code a {
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.qr-code a:hover {
  transform: translateY(-1px);
}

.qr-code img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.qr-code a:hover img {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.qr-code p {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.event-invite {
  max-width: 420px;
  margin-top: 1.5rem;
}

.event-invite img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Sections */

.section {
  padding: 2rem 0;
  border-bottom: 1px solid #e9edf3;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.section:nth-of-type(even) {
  background: var(--color-primary-tint);
}

.section h2 {
  font-size: 1.75rem;
  position: relative;
  padding-bottom: 0.6rem;
  margin-bottom: 1.25rem;
}

.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-accent-dark);
}

.section p {
  color: var(--color-text-muted);
  max-width: 65ch;
}

/* Read more */

.read-more {
  position: relative;
}

.read-more-content {
  display: none;
}

.read-more-inline {
  display: none;
}

.read-more.is-expanded .read-more-content {
  display: block;
}

.read-more.is-expanded .read-more-inline {
  display: inline;
}

.read-more.is-expanded > .read-more-toggle {
  display: none;
}

.read-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: -0.5rem 0 1rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.read-more-toggle:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* Footer */

.site-footer {
  background: var(--color-primary-dark);
  color: white;
  padding: 2.5rem 0;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.site-footer h2 {
  font-size: 1.4rem;
  margin-top: 0;
}

.site-footer a {
  color: var(--color-accent-light);
}

/* Responsive */

@media (max-width: 600px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header nav ul {
    gap: 0.5rem 1.1rem;
  }

  .hero {
    padding: 1.75rem 0 2.25rem;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-photo {
    width: 180px;
    height: 235px;
  }

  .hero-content {
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 1.4rem 0;
  }
}

@media (max-width: 700px) {
  .button-group {
    flex-direction: column;
    align-items: center;
  }

  .mail-instructions {
    position: static;
    transform: none;
    width: auto;
  }
}

@media (min-width: 1050px) {
  .site-header nav {
    margin-left: 91px;
  }
}
