:root {
  --green: #153a34;
  --green-deep: #0d2925;
  --green-soft: #dbe8e2;
  --burgundy: #8f3143;
  --gold: #d5aa3f;
  --gold-dark: #9d741b;
  --ink: #17211f;
  --muted: #5e6b67;
  --line: #d9dfdc;
  --paper: #f7f8f5;
  --white: #ffffff;
  --content: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green-deep);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(21, 58, 52, 0.12);
}

.header-inner {
  width: min(calc(100% - 40px), var(--content));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-width: 240px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.08;
  text-decoration: none;
}

.brand img {
  width: 50px;
  height: 50px;
}

.brand small {
  color: var(--burgundy);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.main-nav a {
  position: relative;
  padding: 26px 0 23px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--burgundy);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 10px;
  display: none;
  border: 0;
  color: var(--green-deep);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  margin: 5px auto;
  display: block;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  height: calc(100svh - 110px);
  min-height: 560px;
  max-height: 760px;
  overflow: hidden;
  color: var(--white);
  background: var(--green-deep);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background: rgba(6, 25, 22, 0.58);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--content));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero h1 {
  width: min(820px, 100%);
  margin: 14px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.hero-actions,
.button-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 48px;
  padding: 11px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.button.primary:hover,
.button.primary:focus-visible {
  background: #a83c50;
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.08);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  color: var(--green-deep);
  background: var(--white);
}

.button.dark {
  color: var(--white);
  background: var(--green-deep);
}

.button.dark:hover,
.button.dark:focus-visible {
  background: var(--burgundy);
}

.button.gold {
  color: #261b05;
  background: var(--gold);
}

.button.gold:hover,
.button.gold:focus-visible {
  background: #e5bd5a;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #f0c96c;
}

.section,
.statement-band {
  scroll-margin-top: var(--header-height);
}

.section {
  padding: 100px 0;
}

.section-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.statement-band {
  padding: 46px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.statement-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}

.statement {
  max-width: 830px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.45;
}

.section-heading {
  margin-bottom: 46px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: end;
}

.section-heading h2,
.congress-copy h2,
.donation-copy h2,
.about-title h2,
.closing h2,
.service-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

.mission-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mission-item {
  min-height: 235px;
  padding: 30px 26px 34px;
  border-right: 1px solid var(--line);
}

.mission-item:last-child {
  border-right: 0;
}

.mission-number {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
}

.mission-item h3 {
  margin: 30px 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
}

.mission-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.service-story,
.donation {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  min-height: 570px;
}

.service-media,
.donation-media {
  min-height: 500px;
  overflow: hidden;
}

.service-media img,
.donation-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-copy,
.donation-copy {
  padding: 76px max(40px, calc((100vw - var(--content)) / 2));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--white);
  background: var(--green-deep);
}

.service-copy blockquote {
  margin: 34px 0 6px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.service-copy p:last-child,
.donation-copy p {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.82);
}

.congress {
  background: var(--paper);
}

.congress-intro {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 62px;
  align-items: center;
}

.congress-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  background: var(--green-deep);
}

.congress-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.congress-copy .lead {
  margin: 19px 0;
  color: var(--burgundy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.4;
}

.congress-copy > p:not(.eyebrow):not(.lead) {
  color: var(--muted);
}

.text-link {
  color: var(--green-deep);
  font-size: 15px;
  font-weight: 800;
}

.guests-heading {
  margin: 90px 0 28px;
}

.guests-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}

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

.guest-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.guest-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center 25%;
}

.guest-card div {
  padding: 20px;
}

.guest-card h4 {
  margin: 0 0 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.guest-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.donation {
  grid-template-columns: 0.9fr 1.1fr;
  scroll-margin-top: var(--header-height);
}

.donation-media {
  order: 2;
}

.donation-copy {
  order: 1;
  background: var(--burgundy);
}

.donation-copy .button {
  margin-top: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.about-title img {
  width: 230px;
  height: 300px;
  margin-top: 42px;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.72;
}

.about-content article {
  padding: 0 0 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.about-content article:last-child {
  margin-bottom: 0;
}

.about-content h3 {
  margin: 0 0 10px;
  color: var(--burgundy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.about-content p {
  margin: 0;
  color: var(--muted);
}

.closing {
  padding: 64px 0;
  color: var(--white);
  background: var(--green-deep);
}

.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-footer {
  padding: 48px 0;
  color: #d5dfdc;
  background: #091d1a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 50px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.35;
}

.footer-brand img {
  width: 52px;
  height: 52px;
}

.footer-inner p {
  margin: 0 0 4px;
}

.footer-inner a {
  color: var(--white);
}

.footer-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-legal {
  text-align: right;
}

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

.error-page {
  width: min(calc(100% - 40px), 680px);
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.error-page img {
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
}

.error-page h1 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  line-height: 1.12;
}

.error-page p:not(.eyebrow) {
  margin: 0 0 26px;
  color: var(--muted);
}

@media (max-width: 1040px) {
  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 13px;
  }

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

  .mission-item:nth-child(2) {
    border-right: 0;
  }

  .mission-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .service-copy,
  .donation-copy {
    padding-right: 44px;
    padding-left: 44px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .header-inner {
    width: min(calc(100% - 28px), var(--content));
  }

  .brand {
    min-width: 0;
    font-size: 15px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    padding: 25px 24px 40px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: var(--ink);
    background: var(--white);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 17px 4px;
    font-size: 18px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    height: calc(100svh - 96px);
    min-height: 520px;
    max-height: 680px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-lead {
    font-size: 22px;
  }

  .section {
    padding: 76px 0;
  }

  .statement-grid,
  .section-heading,
  .congress-intro,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .statement-grid,
  .section-heading,
  .about-grid {
    gap: 25px;
  }

  .congress-intro {
    gap: 38px;
  }

  .section-heading h2,
  .congress-copy h2,
  .donation-copy h2,
  .about-title h2,
  .closing h2,
  .service-copy h2 {
    font-size: 38px;
  }

  .service-story,
  .donation {
    grid-template-columns: 1fr;
  }

  .service-media,
  .donation-media {
    min-height: 380px;
  }

  .service-copy,
  .donation-copy {
    min-height: 450px;
    padding: 60px 28px;
  }

  .donation-media {
    order: 1;
  }

  .donation-copy {
    order: 2;
  }

  .about-title img {
    display: none;
  }

  .closing-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-legal {
    grid-column: 1 / -1;
    text-align: left;
  }
}

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

  .section-inner,
  .hero-content,
  .footer-inner {
    width: min(calc(100% - 32px), var(--content));
  }

  .brand span {
    max-width: 180px;
  }

  .hero {
    min-height: 510px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .hero-actions,
  .button-row {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

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

  .statement {
    font-size: 21px;
  }

  .section-heading h2,
  .congress-copy h2,
  .donation-copy h2,
  .about-title h2,
  .closing h2,
  .service-copy h2 {
    font-size: 34px;
  }

  .mission-list,
  .guest-grid {
    grid-template-columns: 1fr;
  }

  .mission-item {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mission-item:last-child {
    border-bottom: 0;
  }

  .service-media,
  .donation-media {
    min-height: 290px;
  }

  .congress-image {
    aspect-ratio: 4 / 3;
  }

  .guests-heading {
    margin-top: 66px;
  }

  .guest-card {
    display: grid;
    grid-template-columns: 120px 1fr;
  }

  .guest-card img {
    height: 100%;
    min-height: 150px;
    aspect-ratio: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
