@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-roman.var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --gold: #b68a2f;
  --gold-dark: #8e6a24;
  --sand: #f5ecdb;
  --charcoal: #1e1c1a;
  --ink: #2f2b27;
  --cloud: #ffffff;
  --warm-gray: #5c5346;
  --radius-lg: 28px;
  --radius-md: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background-color: #f7f4ef;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.6rem;
}

.lead {
  font-size: 1.15rem;
  color: #f2e9d8;
  max-width: 55ch;
}

.hero {
  position: relative;
  isolation: isolate;
  background-image: url("../images/IMG_5481.jpeg");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
  background-color: #f0e6d1;
  color: var(--cloud);
  padding: 4rem 1.5rem 5rem;
  min-height: min(80vh, 720px);
}

@media (max-width: 720px) {
  .hero {
    background-position: 60% center;
    min-height: auto;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 15% 25%,
      rgba(255, 255, 255, 0.6),
      transparent 55%
    ),
    linear-gradient(
      120deg,
      rgba(26, 20, 13, 0.4) 0%,
      rgba(50, 40, 26, 0.25) 40%,
      rgba(240, 230, 210, 0.35) 100%
    );
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 13, 11, 0.25),
    rgba(15, 13, 11, 0.08) 50%,
    rgba(15, 13, 11, 0.55)
  );
  z-index: 0;
}

.hero-content {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-logo {
  border-radius: var(--radius-lg);
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

.hero-text h1 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin: 0 0 1rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  margin: 0 0 1.5rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
  color: inherit;
  background: transparent;
}

.btn.primary {
  background-color: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background-color: var(--gold-dark);
  color: var(--cloud);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--cloud);
}

.btn.outline {
  border-color: var(--gold);
  color: var(--gold-dark);
  background-color: transparent;
}

.btn:focus-visible {
  outline: 3px solid rgba(182, 138, 47, 0.45);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-1px);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.hero-highlights article {
  background-color: rgba(15, 12, 9, 0.55);
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--cloud);
  backdrop-filter: blur(10px);
  transition: transform 200ms ease, background-color 200ms ease;
}

.hero-highlights h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.hero-highlights article:hover {
  transform: translateY(-4px);
  background-color: rgba(15, 12, 9, 0.75);
}

.scroll-cue {
  position: absolute;
  inset-inline: 0;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}

.scroll-cue .cue-dot {
  animation: cueBounce 2s infinite;
}

@keyframes cueBounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
  100% {
    transform: translateY(0);
  }
}

.support-bar {
  position: sticky;
  top: 0;
  z-index: 9;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(30, 28, 26, 0.08);
  font-weight: 600;
  color: var(--ink);
}

.support-bar p {
  margin: 0;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

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

.section {
  padding: 4rem 1.5rem;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-intro h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  color: var(--charcoal);
}

.mission {
  background-color: var(--sand);
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.impact-stats article {
  background-color: var(--cloud);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  border: 1px solid rgba(30, 28, 26, 0.08);
  text-align: center;
  box-shadow: 0 10px 24px rgba(30, 28, 26, 0.05);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.mission-grid article {
  background-color: var(--cloud);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  border: 1px solid rgba(30, 28, 26, 0.08);
  box-shadow: 0 12px 24px rgba(30, 28, 26, 0.05);
}

.mission-grid h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: var(--gold-dark);
}

.tnvr-info {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 1.5rem;
  background-color: var(--cloud);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem auto 0;
  max-width: 1100px;
  border: 1px solid rgba(30, 28, 26, 0.08);
  box-shadow: 0 18px 32px rgba(30, 28, 26, 0.07);
}

.tnvr-copy h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
  color: var(--charcoal);
}

.tnvr-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

.tnvr-steps article {
  background-color: var(--sand);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid rgba(182, 138, 47, 0.2);
}

.tnvr-steps span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background-color: var(--gold);
  color: var(--charcoal);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tnvr-steps h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--gold-dark);
}

.impact {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.impact-card {
  background: radial-gradient(circle at top left, rgba(182, 138, 47, 0.25), transparent 60%),
    var(--charcoal);
  color: var(--cloud);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.impact-card ul {
  padding-left: 1.2rem;
  margin: 1.2rem 0 0;
}

.impact-card li {
  margin-bottom: 0.55rem;
}

blockquote {
  margin: 0;
  background-color: var(--sand);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(182, 138, 47, 0.4);
  font-size: 1.1rem;
  line-height: 1.7;
}

blockquote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--gold-dark);
  font-weight: 600;
}

.donate {
  background-color: #fffdf8;
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.donate-card {
  border: 1px solid rgba(30, 28, 26, 0.08);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background-color: var(--cloud);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 220px;
  position: relative;
}

.donate-card h3 {
  margin: 0;
}

.donate-card .handle {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-dark);
}

.donate-card .helper-text {
  font-size: 0.9rem;
  color: var(--warm-gray);
}

.donate-card button {
  width: fit-content;
}

.qr-card {
  margin: 0;
  padding: 1rem;
  border: 1px dashed rgba(30, 28, 26, 0.12);
  border-radius: var(--radius-md);
  text-align: center;
  background-color: #fffdf8;
}

.qr-card img {
  margin: 0 auto 0.5rem;
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.hashtags {
  text-align: center;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tag-grid span {
  border-radius: 999px;
  padding: 0.5rem 1rem;
  background-color: var(--sand);
  border: 1px solid rgba(182, 138, 47, 0.3);
  font-weight: 600;
  font-size: 0.9rem;
}

.gallery {
  background-color: var(--sand);
}

.gallery-track {
  margin: 0 auto;
  max-width: 1100px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.gallery-track figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 30px rgba(30, 28, 26, 0.15);
  scroll-snap-align: center;
}

.gallery-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.gallery-track figure:hover img {
  transform: scale(1.05);
}

.gallery-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

@media (min-width: 1024px) {
  .gallery-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    scroll-snap-type: none;
  }
}

.site-footer {
  padding: 2.5rem 1.5rem;
  background-color: var(--charcoal);
  color: var(--cloud);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer p {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.footer-meta {
  flex-basis: 100%;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-meta a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(182, 138, 47, 0.6);
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--cloud);
  border-color: var(--cloud);
}

.site-footer .credit {
  flex-basis: 100%;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.site-footer .credit a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(182, 138, 47, 0.6);
}

.site-footer .credit a:hover,
.site-footer .credit a:focus-visible {
  color: var(--cloud);
  border-color: var(--cloud);
}

@media (min-width: 1100px) {
  .hero {
    background-size: 1400px auto;
    background-position: center top;
  }
}

@media (max-width: 780px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-highlights {
    text-align: left;
  }

  .tnvr-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero,
  .section {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .scroll-cue .cue-dot {
    animation: none !important;
  }
}
