@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/lato-latin-400.918b7dc3e2e2.woff2") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/lato-latin-700.c447dd7677b4.woff2") format("woff2");
}

:root {
  --navy: #002a6b;
  --ink: #13233a;
  --muted: #5b6470;
  --line: #d9e1ea;
  --paper: #fffaf2;
  --white: #ffffff;
  --mist: #f3f7fa;
  --orange: #fe6f06;
  --orange-ink: #ad4300;
  --green: #36df76;
  --green-hover: #24c963;
  --header-height: 9rem;
  --shadow: 0 18px 55px rgba(0, 42, 107, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:where(main, main [id]) {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px var(--navy);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  clip-path: inset(50%);
  background: var(--white);
  color: var(--navy);
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
}

.skip-link:focus {
  clip-path: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 72px;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 250, 242, 0.94);
  border-bottom: 1px solid rgba(217, 225, 234, 0.9);
  backdrop-filter: blur(14px);
  transition: top 350ms cubic-bezier(0.2, 0, 0, 1);
}

.site-header.is-hidden {
  top: calc(-1 * var(--header-height));
}

.site-header:has(:focus-visible) {
  top: 0;
  transition: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 50%;
}

.brand > span {
  min-width: 0;
}

.brand-name,
.brand-tagline {
  display: block;
}

.brand-name {
  font-size: clamp(0.98rem, 1.8vw, 1.1rem);
  font-weight: 700;
  line-height: 1.05;
}

.brand-tagline {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  text-wrap: balance;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1.6rem);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  white-space: nowrap;
}

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

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-inline-start: auto;
}

.menu-toggle,
.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle {
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.menu-close {
  font-size: 2rem;
  line-height: 1;
}

html.menu-open,
html.menu-restoring {
  scroll-behavior: auto;
}

.menu-open body {
  position: fixed;
  top: var(--menu-scroll-offset);
  left: 0;
  right: 0;
}

.menu-open .site-header,
.menu-restoring .site-header {
  transition: none;
  top: 0;
}

.mobile-menu {
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  border: 0;
  background: var(--paper);
  color: var(--navy);
  overscroll-behavior: contain;
}

.mobile-menu[open] {
  display: flex;
  flex-direction: column;
}

.mobile-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-menu-heading h2 {
  margin: 0;
  font-size: 1.25rem;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(100%, 640px);
  margin: auto;
  padding: 2rem 0;
}

.mobile-menu-nav a {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.5rem, 6vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.mobile-menu-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.mobile-menu-nav a:hover {
  color: var(--orange-ink);
}

.hero {
  position: relative;
  min-height: min(760px, 78svh);
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 42, 107, 0.92) 0%, rgba(0, 42, 107, 0.68) 45%, rgba(0, 42, 107, 0.16) 100%),
    linear-gradient(0deg, rgba(0, 42, 107, 0.62) 0%, rgba(0, 42, 107, 0) 34%);
}

.hero-content,
.section,
.page-hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(760px, 78svh);
  padding: clamp(2.5rem, 8vw, 5rem) 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--orange-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-weight: 700;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 1.6rem + 4.5vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  color: var(--navy);
  max-width: 980px;
  font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
}

h3 {
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.3;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 1.7rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.0625rem, 0.95rem + 0.65vw, 1.375rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: clamp(1.8rem, 6vw, 4rem);
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.button {
  padding: 0.78rem 1rem;
}

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

.button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(860px, 100%);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.18);
}

.hero-proof div {
  padding: 0.9rem;
  background: rgba(0, 42, 107, 0.54);
}

.hero-proof dt {
  font-weight: 700;
}

.hero-proof dd {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.section {
  padding: clamp(3.25rem, 7vw, 5.75rem) 0;
}

.intro-section {
  padding-top: clamp(3rem, 7vw, 5rem);
}

.intro-grid,
.event-feature,
.story-split,
.flyer-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.intro-grid > div:first-child p {
  max-width: 760px;
}

.intro-grid p,
.feature-copy p,
.story-split p,
.flyer-section p {
  color: var(--muted);
  font-size: 1.08rem;
}

.mission-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mission-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 65%;
}

.section-heading {
  max-width: 980px;
  margin-bottom: 2rem;
}

.section-heading,
.proof-band > div:first-child,
.tour-summary > div:first-child,
.section-heading h2,
.proof-band h2,
.tour-summary h2 {
  margin-left: auto;
  margin-right: auto;
}

.section-heading,
.proof-band > div:first-child,
.tour-summary > div:first-child {
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}

.info-card,
.action-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.3rem;
  background: var(--white);
}

.info-card h3 {
  text-align: center;
}

.info-card p,
.action-card p {
  color: var(--muted);
}

.event-feature,
.proof-band,
.tour-gallery {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100vw - 1180px) / 2));
  padding-right: max(1rem, calc((100vw - 1180px) / 2));
}

.event-feature {
  background: var(--navy);
  color: var(--white);
}

.event-feature h2,
.proof-band h2 {
  color: var(--white);
}

.event-feature p {
  color: rgba(255, 255, 255, 0.78);
}

.hero .eyebrow,
.event-feature .section-kicker,
.proof-band .section-kicker {
  color: var(--orange);
}

.text-link {
  color: var(--white);
  background: var(--orange-ink);
  padding: 0.75rem 1rem;
}

.feature-image-link,
.page-hero img,
.story-split img,
.flyer-section img,
.founder-portrait {
  position: relative;
}

.founder-portrait::before,
.founder-portrait::after {
  content: "";
  position: absolute;
  width: 1.75rem;
  height: 1.75rem;
  border-color: var(--orange);
  border-style: solid;
  pointer-events: none;
}

.founder-portrait::before {
  top: -0.5rem;
  left: -0.5rem;
  border-width: 2px 0 0 2px;
}

.founder-portrait::after {
  right: -0.5rem;
  bottom: -0.5rem;
  border-width: 0 2px 2px 0;
}

.feature-image-link {
  display: block;
  overflow: hidden;
}

.feature-image-link img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.proof-band {
  background: var(--navy);
  color: var(--white);
}

.proof-grid,
.gallery-grid {
  display: grid;
  gap: 1rem;
}

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

.proof-grid figure,
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
}

.proof-grid img,
.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.proof-grid figcaption,
.gallery-grid figcaption {
  padding: 0.85rem 1rem;
  color: var(--ink);
  font-weight: 700;
}

.get-involved {
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  background: var(--navy);
  color: var(--white);
}

.site-footer p {
  max-width: 560px;
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .footer-legal {
  grid-column: 1 / -1;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.875rem;
}

.footer-legal p {
  max-width: none;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-content: start;
  font-weight: 700;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 6vw, 4rem);
}

.page-hero-copy {
  min-width: 0;
}

.page-hero h1 {
  max-width: 650px;
}

.page-hero h1,
.founder-heading h1 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  line-height: 1.1;
}

.page-hero-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.tour-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  border-top: 1px solid var(--line);
}

.tour-summary > div:first-child {
  max-width: 980px;
}

.tour-logistics {
  margin: -1rem 0 0;
  text-align: center;
  color: var(--muted);
}

.tour-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.tour-details dt {
  margin-bottom: 0.4rem;
  color: var(--navy);
  font-weight: 700;
}

.tour-details dd {
  margin: 0;
  color: var(--muted);
}

.story-split {
  border-top: 1px solid var(--line);
}

.tour-gallery {
  background: var(--mist);
}

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

.flyer-section {
  align-items: start;
}

.flyer-section img {
  width: min(100%, 520px);
  justify-self: center;
}

.founder-heading {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.founder-heading > p:last-child {
  color: var(--muted);
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  object-position: bottom;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.founder-message {
  max-width: 65ch;
  font-size: 1.1rem;
  line-height: 1.75;
}

.founder-message p {
  margin-bottom: 1.5rem;
}

.founder-signature {
  color: var(--navy);
  font-weight: 700;
}

.site-nav .nav-donate,
.header-actions .nav-donate,
.mobile-menu .nav-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: var(--green);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav .nav-donate:hover,
.header-actions .nav-donate:hover,
.mobile-menu .nav-donate:hover,
.donation-button:hover {
  background: var(--green-hover);
  color: var(--navy);
}

.donation-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.donation-copy p:not(.section-kicker) {
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.donation-impact {
  margin: 1.25rem 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.donation-impact li + li {
  margin-top: 0.5rem;
}

.donation-impact li::marker {
  color: var(--orange-ink);
}

.donation-proof a {
  color: var(--navy);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.donation-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
}

.donation-card h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.donation-card > p {
  color: rgba(255, 255, 255, 0.85);
}

.donation-button {
  scroll-margin-top: max(calc(var(--header-height) + 1rem), calc(50svh - 1.5rem));
  background: var(--green);
  color: var(--navy);
  width: 100%;
  margin: 0.5rem 0 0;
}

.donation-card .donation-checkout {
  margin: 1rem 0 0;
  padding: 0.75rem;
  border-radius: 6px;
  background: var(--navy);
  color: var(--green);
  font-size: 0.875rem;
}

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

  .brand {
    flex-shrink: 0;
    max-width: 100%;
  }

  .site-nav {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    justify-content: center;
  }

  .intro-grid,
  .event-feature,
  .story-split,
  .flyer-section,
  .page-hero,
  .donation-section,
  .founder-layout {
    grid-template-columns: 1fr;
  }

  .founder-portrait {
    width: min(85%, 357px);
    justify-self: center;
  }

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

@media (max-width: 620px) and (scripting: enabled) {
  .site-header {
    background: var(--paper);
    backdrop-filter: none;
    gap: 0.375rem;
    padding: 0.75rem 0.5rem;
  }

  .brand {
    flex-shrink: 1;
    gap: 0.375rem;
  }

  .brand-mark {
    width: clamp(3.5rem, 20vw - 0.5rem, 4.5rem);
    height: clamp(3.5rem, 20vw - 0.5rem, 4.5rem);
  }

  .brand-name {
    font-size: clamp(0.875rem, 3.5vw, 1rem);
  }

  .brand-tagline {
    font-size: clamp(0.6875rem, 2.75vw, 0.8125rem);
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    display: flex;
    flex-shrink: 0;
  }

  .header-actions .nav-donate {
    padding: 0.5rem 0.625rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 620px) {
  .hero,
  .hero-content {
    min-height: 78svh;
  }

  .hero-content {
    justify-content: end;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(0, 42, 107, 0.9) 0%, rgba(0, 42, 107, 0.68) 56%, rgba(0, 42, 107, 0.16) 100%);
  }

  .hero-proof div {
    padding: 0.75rem;
  }

  .hero-proof dd {
    font-size: 0.85rem;
  }

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

  .tour-details {
    grid-template-columns: 1fr;
  }

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

  .proof-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 0.5rem);
    justify-self: center;
  }

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

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

  .button:hover,
  .text-link:hover {
    transform: none;
  }

  .site-header {
    transition: none;
  }
}
