@font-face {
  font-family: "Inter";
  src: url("fonts/inter-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #f7f7f5;
  --dark: #1a1a1a;
  --dark-soft: #202020;
  --slate: #34495a;
  --sage: #b8c9c1;
  --accent: #c1002d;
  --nav-marker: #9b5725;
  --focus: #ffd54a;
  --content-max: 82rem;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--dark);
  color-scheme: dark;
  font-family: "Inter", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--dark);
  color: var(--ink);
}

a { color: inherit; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Homepage: a compact, portrait composition rather than a wide hero. */
.home-page {
  background: #303030;
  color: #fff;
}

.home-main {
  width: 100%;
  min-height: 100vh;
  padding: 0 clamp(0rem, 2vw, 1.25rem) 1.25rem;
}

.home-shell {
  width: min(100%, 47.5rem);
  margin-inline: auto;
}

.hero-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1444 / 2042;
  overflow: hidden;
  background: #171717;
}

.hero-canvas::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #c1002d;
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-top-nav,
.hero-bottom-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  align-items: stretch;
  background: #000;
}

.hero-top-nav {
  top: 13.61%;
  left: 3.45%;
  width: 93.1%;
  height: 8.08%;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, .82fr) minmax(0, .94fr);
}

.hero-bottom-nav {
  top: 81.3%;
  left: 26.85%;
  width: 56.05%;
  height: 8.1%;
  grid-template-columns: 1fr 1fr;
}

.hero-link,
.hero-logo-link {
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .2rem clamp(.15rem, 1vw, .75rem);
  text-decoration: none;
  background: transparent;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .95);
  transition: color 160ms ease, background-color 160ms ease;
}

.hero-logo-link {
  justify-content: flex-start;
  overflow: hidden;
}

.hero-logo-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.hero-link {
  font-size: clamp(.96rem, 3.35vw, 2rem);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.hero-link:hover,
.hero-logo-link:hover {
  color: var(--sage);
  background: rgba(255, 255, 255, .06);
}

.supporters-home-link {
  display: block;
  width: min(76%, 35rem);
  margin: clamp(1rem, 3.2vw, 1.75rem) auto .75rem;
  padding: .35rem;
  transition: opacity 160ms ease, transform 160ms ease;
}

.supporters-home-link:hover {
  opacity: .9;
  transform: translateY(-2px);
}

.home-copyright,
.site-copyright {
  margin: 1rem 0 0;
  text-align: center;
  font-size: .72rem;
  color: rgba(255, 255, 255, .78);
}

/* Shared inner-page system. */
.inner-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--slate);
  color: var(--sage);
}

.site-header,
.site-footer {
  flex: 0 0 auto;
  background: var(--dark);
  color: var(--ink);
}

.site-header {
  min-height: clamp(5.75rem, 10vw, 10.375rem);
  display: flex;
  align-items: center;
}

.site-nav {
  width: min(100% - clamp(1.25rem, 6vw, 5rem), var(--content-max));
  min-height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(8.5rem, 1.45fr) minmax(5.8rem, .58fr) minmax(6.8rem, .62fr);
  align-items: center;
  gap: clamp(.25rem, 3vw, 4rem);
}

.brand-link,
.nav-link,
.footer-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

.brand-link { justify-content: flex-start; }

.brand-link img {
  width: min(100%, 22rem);
  max-height: clamp(3rem, 7vw, 5.75rem);
  object-fit: contain;
}

.nav-link,
.footer-link {
  position: relative;
  min-height: clamp(4.35rem, 7vw, 5.4rem);
  padding: .25rem;
  font-size: clamp(1.25rem, 2.35vw, 2.4rem);
  line-height: 1;
  white-space: nowrap;
}

.nav-link::after,
.footer-link::after {
  content: "";
  position: absolute;
  bottom: calc(-1px - min(1.357vw, 1.625rem));
  left: 50%;
  width: min(12.787vw, 15.3125rem);
  height: min(1.879vw, 2.25rem);
  background:
    linear-gradient(var(--nav-marker), var(--nav-marker)) center top / min(9.447vw, 11.3125rem) min(.157vw, .1875rem) no-repeat,
    linear-gradient(var(--nav-marker), var(--nav-marker)) center min(.626vw, .75rem) / min(10.96vw, 13.125rem) min(.261vw, .3125rem) no-repeat,
    linear-gradient(var(--nav-marker), var(--nav-marker)) center min(1.514vw, 1.8125rem) / 100% min(.366vw, .4375rem) no-repeat;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 160ms ease;
}

.nav-link:hover,
.footer-link:hover { color: var(--sage); }

.nav-link[aria-current="page"]::after,
.footer-link[aria-current="page"]::after { opacity: 1; }

.nav-link[aria-current="page"],
.footer-link[aria-current="page"] {
  color: var(--sage);
  font-weight: 600;
}

.page-main {
  flex: 1 0 auto;
  width: 100%;
  min-height: clamp(27rem, 57vh, 46rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.1rem, 5vw, 4rem);
}

.page-content {
  width: min(100%, 62rem);
  margin-inline: auto;
  text-align: center;
}

.page-title {
  margin: 0 0 clamp(2rem, 5vw, 4rem);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

.coming-soon {
  margin: 0;
  font-size: clamp(1.4rem, 4vw, 2.45rem);
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}

.contact-list {
  margin: 0;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.6rem);
  font-size: clamp(1.05rem, 2.2vw, 1.72rem);
  font-weight: 600;
}

.contact-list div { margin: 0; }
.contact-list dt { display: none; }
.contact-list dd { margin: 0; }

.contact-list a {
  display: inline-block;
  padding: .35rem .2rem;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
  overflow-wrap: anywhere;
}

.contact-list a:hover { color: #fff; }

.social-placeholders {
  margin-top: clamp(3rem, 8vw, 6.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 8vw, 8rem);
  font-size: clamp(.92rem, 1.9vw, 1.42rem);
  font-weight: 600;
}

.not-ready {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  opacity: .82;
}

.faq-empty {
  min-height: clamp(12rem, 32vh, 25rem);
  display: grid;
  place-items: center;
}

.faq-empty .page-title { margin: 0; }

/* Reserved hook for future accordion entries. */
.faq-list:empty { display: none; }

.supporters-main { align-items: flex-start; }

.supporters-content { width: min(100%, 52rem); }

.supporters-content .page-title {
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}

.supporters-copy,
.support-amount {
  margin-inline: auto;
  max-width: 47rem;
  font-size: clamp(1rem, 2vw, 1.46rem);
  font-weight: 600;
  line-height: 1.45;
  text-wrap: pretty;
}

.support-amount {
  margin-top: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.supporter-figure {
  max-width: 40rem;
  margin: 0 auto;
}

.supporter-figure img {
  width: 100%;
  height: auto;
}

.site-footer {
  min-height: clamp(8rem, 16vw, 11rem);
  display: grid;
  align-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 1.1rem 1rem .9rem;
}

.footer-nav {
  width: min(100%, 22rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 5vw, 4rem);
}

.site-copyright { margin: 0; }

@media (max-width: 520px) {
  .site-nav {
    width: calc(100% - 1rem);
    grid-template-columns: minmax(7.7rem, 1.35fr) minmax(4.9rem, .7fr) minmax(5.8rem, .8fr);
    gap: .2rem;
  }

  .brand-link img { max-height: 3.2rem; }

  .nav-link {
    padding-inline: .15rem;
    min-height: 3.75rem;
    padding-bottom: 1.15rem;
    font-size: clamp(.9rem, 4vw, 1.08rem);
  }

  .nav-link::after,
  .footer-link::after {
    bottom: .05rem;
    width: 90%;
    height: .9rem;
    background:
      linear-gradient(var(--nav-marker), var(--nav-marker)) center top / 74% 2px no-repeat,
      linear-gradient(var(--nav-marker), var(--nav-marker)) center 6px / 86% 2px no-repeat,
      linear-gradient(var(--nav-marker), var(--nav-marker)) center bottom / 100% 3px no-repeat;
  }

  .page-main { min-height: 31rem; }

  .social-placeholders {
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
    font-size: clamp(.78rem, 3.3vw, .92rem);
  }

  .social-instagram { order: 2; }
  .social-youtube { order: 1; }
}

@media (max-width: 350px) {
  .hero-link { font-size: .88rem; }
  .site-nav { grid-template-columns: minmax(7.1rem, 1.28fr) minmax(4.65rem, .68fr) minmax(5.45rem, .78fr); }
  .nav-link { font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
