/* Maavadi Charitable Trust — design system */

:root {
  --forest: #176b45;
  --deep: #10452f;
  --gold: #d6a348;
  --gold-deep: #9a6e22;
  --maroon: #8e2027;
  --maroon-deep: #6f171d;
  --ivory: #fff9ef;
  --ivory-deep: #f6edd9;
  --white: #ffffff;
  --ink: #252b25;
  --muted: #4e5850;
  --line: rgba(214, 163, 72, 0.45);
  --shadow: 0 16px 40px rgba(16, 69, 47, 0.08);
  --shadow-soft: 0 8px 24px rgba(16, 69, 47, 0.06);
  --radius: 1.25rem;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --header-offset: 5.75rem;
}

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

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

[id] {
  scroll-margin-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 1.05rem;
}

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

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--deep);
}

h1,
h2,
h3,
h4,
.serif {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--deep);
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  background: var(--deep);
  color: var(--ivory);
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
  color: var(--ivory);
}

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

/* Header */

.site-header {
  background: rgba(255, 249, 239, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(214, 163, 72, 0.35);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(16, 69, 47, 0.08);
}

.navbar {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.navbar-brand {
  padding: 0;
  margin-right: 1rem;
}

.navbar-brand img {
  height: 78px;
  width: auto;
  display: block;
}

.navbar-toggler {
  border: 1px solid rgba(16, 69, 47, 0.18);
  border-radius: 0.7rem;
  color: var(--deep);
  font-size: 1.55rem;
  line-height: 1;
  padding: 0.3rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-nav {
  gap: 0.15rem;
}

.navbar-nav .nav-link {
  color: var(--deep);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.62rem;
  position: relative;
  border-radius: 999px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible {
  color: var(--forest);
  background: rgba(23, 107, 69, 0.06);
}

.navbar-nav .nav-link.active {
  color: var(--forest);
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

/* Buttons */

.btn {
  font-weight: 600;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-donate,
.btn-maroon {
  background: var(--maroon);
  color: var(--white);
  border: 1px solid var(--maroon);
  box-shadow: 0 8px 18px rgba(142, 32, 39, 0.18);
}

.btn-donate:hover,
.btn-maroon:hover,
.btn-donate:focus-visible,
.btn-maroon:focus-visible {
  background: var(--maroon-deep);
  border-color: var(--maroon-deep);
  color: var(--white);
}

.btn-forest {
  background: var(--forest);
  color: var(--white);
  border: 1px solid var(--forest);
}

.btn-forest:hover,
.btn-forest:focus-visible {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--deep);
  border: 1px solid var(--gold);
  font-weight: 600;
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: #e2b45c;
  border-color: #e2b45c;
  color: var(--deep);
}

.btn-outline-ivory {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(255, 249, 239, 0.85);
}

.btn-outline-ivory:hover,
.btn-outline-ivory:focus-visible {
  background: var(--ivory);
  color: var(--deep);
}

.btn-outline-forest {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}

.btn-outline-forest:hover,
.btn-outline-forest:focus-visible {
  background: var(--forest);
  color: var(--white);
}

.nav-donate {
  margin-left: 0.35rem;
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - 92px);
  min-height: calc(100svh - 92px);
  display: flex;
  align-items: center;
  color: var(--ivory);
  background: var(--deep) center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 42, 28, 0.88) 0%, rgba(12, 42, 28, 0.72) 38%, rgba(12, 42, 28, 0.28) 68%, rgba(12, 42, 28, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding: 4.5rem 0;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.7rem, 5.4vw, 4.8rem);
  font-weight: 600;
  margin: 0.7rem 0 1rem;
}

.hero p {
  color: rgba(255, 249, 239, 0.92);
  font-size: 1.12rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.text-center .ornament {
  justify-content: center;
}

.eyebrow.centered {
  display: flex;
  justify-content: center;
}

.eyebrow.centered::before {
  display: none;
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--gold);
}

.hero .eyebrow {
  color: var(--gold);
}

.hero .eyebrow::before {
  background: var(--gold);
}

/* Sections */

.section {
  padding: 5.25rem 0;
  position: relative;
}

.section.tight-top {
  padding-top: 0;
}

.section-sm {
  padding: 4rem 0;
}

.section-white {
  background: var(--white);
}

.section-ivory {
  background: var(--ivory);
}

.section-cream {
  background:
    radial-gradient(circle at 0 0, rgba(214, 163, 72, 0.08), transparent 42%),
    var(--ivory-deep);
}

.section-green {
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.04), rgba(255, 249, 239, 0)),
    var(--forest);
  color: var(--ivory);
}

.section-deep {
  background: var(--deep);
  color: var(--ivory);
}

.section-green h2,
.section-green h3,
.section-deep h2,
.section-deep h3,
.section-green .eyebrow,
.section-deep .eyebrow {
  color: var(--ivory);
}

.section-green .eyebrow,
.section-deep .eyebrow {
  color: var(--gold);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  margin: 0.4rem 0 0.8rem;
}

.lead-text {
  font-size: 1.12rem;
  color: var(--muted);
}

.section-green .lead-text,
.section-deep .lead-text {
  color: rgba(255, 249, 239, 0.86);
}

.ornament {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold-deep);
  margin: 0.85rem 0 0;
}

.ornament span {
  display: block;
  width: 3.2rem;
  height: 1px;
  background: var(--gold);
}

.ornament svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: var(--gold);
}

.text-muted-trust {
  color: var(--muted);
}

/* Intro and frames */

.intro-copy h2 {
  font-size: clamp(2.15rem, 4vw, 3.3rem);
  margin: 0.35rem 0 1rem;
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.fact-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.92rem;
  color: var(--deep);
}

.fact-chip strong {
  font-weight: 600;
}

.frame-photo {
  position: relative;
  z-index: 1;
}

.frame-photo img,
.photo-card img,
.activity-card img,
.gallery-item img {
  width: 100%;
  object-fit: cover;
}

.frame-photo img {
  border-radius: var(--radius);
  height: 100%;
  min-height: 320px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.frame-photo::after {
  content: "";
  position: absolute;
  inset: 1.15rem -1rem -1.15rem 1.15rem;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  z-index: 0;
}

.photo-note {
  margin-top: 0.85rem;
  font-size: 0.84rem;
  color: var(--muted);
}

/* Mission cards */

.mission-card,
.value-card,
.donate-purpose,
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.45rem;
  height: 100%;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(214, 163, 72, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mission-card:hover,
.value-card:hover,
.donate-purpose:hover,
.why-card:hover,
.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.icon-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(23, 107, 69, 0.1);
  color: var(--forest);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.mission-card h3,
.value-card h3,
.donate-purpose h3,
.why-card h3,
.activity-feature h3 {
  font-size: 1.65rem;
  margin-bottom: 0.55rem;
}

/* Gaushala mosaic */

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 0.85rem;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.mosaic img:first-child {
  grid-row: 1 / span 2;
}

/* Activity cards */

.activity-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  color: var(--white);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.activity-card img {
  height: 320px;
  transition: transform 0.5s ease;
}

.activity-card:hover img {
  transform: scale(1.05);
}

.activity-card figcaption,
.activity-card .card-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.8rem 1.2rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(12, 36, 24, 0.88));
}

.activity-card h3,
.activity-card p {
  color: var(--white);
  margin: 0;
}

.activity-card h3 {
  font-size: 1.7rem;
}

.activity-card p {
  margin-top: 0.25rem;
  font-size: 0.95rem;
  color: rgba(255, 249, 239, 0.88);
}

.activity-card:hover {
  color: var(--white);
}

/* Why / appeal */

.why-card .num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold-deep);
  line-height: 1;
  display: block;
  margin-bottom: 0.45rem;
}

.donate-band {
  border-radius: 1.75rem;
  overflow: hidden;
  background: var(--deep);
  color: var(--ivory);
  box-shadow: var(--shadow);
}

.donate-band img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.donate-band-copy {
  padding: 2.5rem 2.2rem;
}

.donate-band h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 0.4rem 0 0.8rem;
}

.donate-band p {
  color: rgba(255, 249, 239, 0.88);
}

/* Gallery preview */

.preview-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 0.8rem;
}

.preview-grid a {
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}

.preview-grid a:first-child {
  grid-row: 1 / span 2;
}

.preview-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.preview-grid a:hover img {
  transform: scale(1.05);
}

/* Instagram */

.insta-panel {
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(214, 163, 72, 0.12), transparent 40%),
    var(--white);
  box-shadow: var(--shadow-soft);
}

.insta-panel .bi-instagram {
  font-size: 1.8rem;
  color: var(--maroon);
}

/* Page hero */

.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--deep) center 40% / cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 45, 31, 0.25) 0%, rgba(12, 36, 24, 0.82) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 6.5rem;
  padding-bottom: 2.4rem;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  margin: 0.35rem 0 0.6rem;
}

.page-hero p {
  max-width: 40rem;
  color: rgba(255, 249, 239, 0.9);
  margin: 0;
}

.page-hero .eyebrow {
  color: var(--gold);
}

/* About and content blocks */

.info-panel {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(214, 163, 72, 0.28);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

.info-panel dt {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-top: 0.9rem;
}

.info-panel dt:first-child {
  margin-top: 0;
}

.info-panel dd {
  margin: 0.15rem 0 0;
  color: var(--ink);
}

.story-block + .story-block {
  margin-top: 4rem;
}

.story-block img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.65rem;
}

.check-list li::before {
  content: "\F26A";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--forest);
}

.prose h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.prose h3 {
  font-size: 1.7rem;
  margin-top: 0.2rem;
}

/* Activity feature pages */

.activity-feature {
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(214, 163, 72, 0.22);
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.activity-feature img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.activity-feature .body {
  padding: 1.35rem 1.35rem 1.5rem;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--maroon);
  margin-bottom: 0.35rem;
}

/* Gallery */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-bar button {
  border: 1px solid rgba(16, 69, 47, 0.18);
  background: var(--white);
  color: var(--deep);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}

.filter-bar button[aria-pressed="true"],
.filter-bar button:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.gallery-grid {
  columns: 3 260px;
  column-gap: 0.9rem;
}

.gallery-item {
  break-inside: avoid;
  margin: 0 0 0.9rem;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 1rem;
  overflow: hidden;
  appearance: none;
  text-align: left;
}

.gallery-item img {
  display: block;
  border-radius: 1rem;
  transition: transform 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item .label {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  background: rgba(16, 45, 31, 0.82);
  color: var(--ivory);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.gallery-item.is-hidden {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(10, 24, 18, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem 4.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 8rem);
  border-radius: 0.8rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  text-align: center;
  color: var(--ivory);
  padding: 0 4rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 249, 239, 0.14);
  color: var(--white);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-nav.prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav.next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 249, 239, 0.28);
}

.credits {
  font-size: 0.88rem;
  color: var(--muted);
}

.credits li {
  margin-bottom: 0.35rem;
}

/* Donate */

.donate-purpose .amount-label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}

.placeholder-box {
  border: 1.5px dashed rgba(142, 32, 39, 0.45);
  background: repeating-linear-gradient(
    -45deg,
    rgba(214, 163, 72, 0.08),
    rgba(214, 163, 72, 0.08) 10px,
    rgba(255, 249, 239, 0.5) 10px,
    rgba(255, 249, 239, 0.5) 20px
  );
  border-radius: 1rem;
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
  color: var(--maroon-deep);
}

.placeholder-box strong,
.placeholder-box span {
  display: block;
  max-width: 16rem;
  margin-inline: auto;
}

.placeholder-box strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  max-width: none;
}

.upi-qr {
  display: block;
  width: min(100%, 18rem);
  height: auto;
  margin: 0.75rem auto 1.1rem;
  border-radius: 0.85rem;
  box-shadow: var(--shadow-soft);
}

.bank-table {
  width: 100%;
  border-collapse: collapse;
}

.bank-table th,
.bank-table td {
  text-align: left;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid rgba(214, 163, 72, 0.35);
  vertical-align: top;
}

.bank-table th {
  width: 42%;
  color: var(--muted);
  font-weight: 500;
}

.donate-action {
  background: var(--white);
  border: 1px solid rgba(214, 163, 72, 0.35);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.donate-action form {
  display: flex;
  justify-content: center;
  margin: 1rem 0 0;
  min-height: 2.75rem;
}

.notice-banner {
  background: rgba(142, 32, 39, 0.08);
  border-left: 4px solid var(--maroon);
  border-radius: 0.75rem;
  padding: 0.95rem 1rem;
  color: var(--ink);
}

/* Contact */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.contact-list i {
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(23, 107, 69, 0.1);
  color: var(--forest);
}

.form-control,
.form-select {
  border-radius: 0.8rem;
  border: 1px solid rgba(16, 69, 47, 0.18);
  background: var(--white);
  padding: 0.75rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 0.2rem rgba(23, 107, 69, 0.15);
}

.form-label {
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 0.35rem;
}

.map-frame {
  border: 0;
  width: 100%;
  min-height: 360px;
  height: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: var(--ivory-deep);
}

.form-notice {
  background: var(--ivory-deep);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem 1.05rem;
}

/* Footer */

.site-footer {
  background: var(--deep);
  color: rgba(255, 249, 239, 0.86);
  padding: 3.5rem 0 1.25rem;
}

.site-footer h2 {
  color: var(--gold);
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.footer-logo {
  display: inline-block;
  background: var(--ivory);
  border-radius: 1rem;
  padding: 0.35rem 0.55rem 0.25rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 86px;
  width: auto;
  display: block;
}

.site-footer a {
  color: rgba(255, 249, 239, 0.88);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-base {
  border-top: 1px solid rgba(214, 163, 72, 0.25);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.92rem;
  color: rgba(255, 249, 239, 0.75);
}

/* Reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.delay-1 { transition-delay: 0.08s; }
.js .reveal.delay-2 { transition-delay: 0.16s; }
.js .reveal.delay-3 { transition-delay: 0.24s; }

.js .reveal.is-inview {
  opacity: 1;
  transform: none;
}

@media (scripting: none) {
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal,
  .btn,
  .activity-card img,
  .preview-grid img,
  .gallery-item img,
  .mission-card,
  .value-card,
  .why-card,
  .donate-purpose {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* Responsive */

@media (max-width: 991.98px) {
  .navbar-brand img {
    height: 64px;
  }

  .navbar-collapse {
    background: var(--ivory);
    border: 1px solid rgba(214, 163, 72, 0.3);
    border-radius: 1rem;
    margin-top: 0.6rem;
    padding: 0.75rem;
    box-shadow: var(--shadow);
  }

  .nav-donate {
    margin: 0.4rem 0 0.2rem;
    display: inline-flex;
  }

  .navbar-nav .nav-link.active::after {
    display: none;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(12, 42, 28, 0.35) 0%, rgba(12, 42, 28, 0.88) 58%, rgba(12, 42, 28, 0.92) 100%);
  }

  .hero {
    align-items: flex-end;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .mosaic,
  .preview-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 200px;
  }

  .mosaic img:first-child,
  .preview-grid a:first-child {
    grid-column: 1 / span 2;
    grid-row: auto;
    min-height: 220px;
  }

  .story-block img {
    height: 300px;
  }

  .frame-photo::after {
    inset: 0.65rem;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 3.4rem 0;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .mosaic,
  .preview-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .mosaic img,
  .preview-grid a,
  .mosaic img:first-child,
  .preview-grid a:first-child {
    grid-column: auto;
    height: 220px;
    min-height: 0;
  }

  .lightbox {
    padding: 4.5rem 1rem 5rem;
  }

  .lightbox-caption {
    padding: 0 1rem;
  }

  .donate-band-copy {
    padding: 1.6rem 1.25rem 1.8rem;
  }

  .page-hero {
    min-height: 280px;
  }
}
