:root {
  --sage-deep: #3e5f47;
  --sage: #7a8f72;
  --clay: #c49a7d;
  --cream: #f4f2ed;
  --ink: #4a3a32;
  --sand: rgba(244, 242, 237, 0.84);
  --line: rgba(244, 242, 237, 0.18);
  --shadow: 0 24px 80px rgba(39, 47, 36, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background:
    radial-gradient(circle at top left, rgba(196, 154, 125, 0.22), transparent 34%),
    radial-gradient(circle at right 20%, rgba(244, 242, 237, 0.1), transparent 24%),
    linear-gradient(160deg, #6f8467 0%, #567258 32%, #46624e 72%, #3e5f47 100%);
  font-family: "Manrope", sans-serif;
}

body.lightbox-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(244, 242, 237, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 237, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(74, 58, 50, 0.14), rgba(74, 58, 50, 0.08));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  padding: 28px 28px 56px;
  min-height: auto;
}

.hero-home {
  min-height: calc(100svh - 32px);
  padding-bottom: 28px;
}

.hero-home .topbar {
  gap: 14px;
}

.hero-home .hero-banner {
  margin-top: 18px;
  min-height: clamp(160px, 22vw, 230px);
}

.hero-home .hero-grid {
  margin-top: 18px;
  gap: 20px;
  align-items: start;
}

.hero-home .hero-copy h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  line-height: 0.96;
}

.hero-home .lead {
  margin-top: 14px;
  line-height: 1.6;
  font-size: 1rem;
}

.hero-home .hero-actions {
  margin-top: 18px;
}

.hero-home .hero-panel {
  gap: 10px;
  padding: 14px;
}

.hero-home .panel-card {
  padding: 14px;
  border-radius: 18px;
}

.hero-home .panel-card h2 {
  font-size: 1.2rem;
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: 140px;
  border-radius: 44% 56% 59% 41% / 44% 42% 58% 56%;
  background: radial-gradient(circle at 30% 30%, rgba(244, 242, 237, 0.18), rgba(196, 154, 125, 0.04) 64%, transparent 72%);
  filter: blur(2px);
}

.topbar,
.hero-banner,
.hero-grid,
.section,
.contact-layout,
.intro-layout,
.cards,
.timeline {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong,
.section-heading h2,
.hero-copy h1,
.feature-card h3,
.panel-card h2,
.contact-card h3 {
  font-family: "Playfair Display", serif;
  letter-spacing: -0.02em;
}

.brand-copy strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-copy small {
  color: rgba(244, 242, 237, 0.72);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.nav-links a {
  color: rgba(244, 242, 237, 0.9);
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(244, 242, 237, 0.8);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang-switch-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 242, 237, 0.72);
}

.lang-switch-select {
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(244, 242, 237, 0.26);
  background: rgba(244, 242, 237, 0.12);
  color: var(--cream);
  padding: 0 12px;
  font-size: 0.92rem;
}

.lang-switch-select option {
  color: #222;
}

.hero-banner {
  position: relative;
  margin-top: 24px;
  min-height: clamp(220px, 34vw, 360px);
  border-radius: 30px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.hero-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(62, 95, 71, 0.85) 0%, rgba(62, 95, 71, 0.58) 38%, rgba(74, 58, 50, 0.28) 72%, rgba(74, 58, 50, 0.12) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.08));
}

.hero-banner-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  align-content: end;
  min-height: inherit;
  padding: clamp(20px, 4.5vw, 38px);
}

.banner-tag {
  margin: 0;
  color: rgba(244, 242, 237, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
}

.banner-title {
  margin: 0;
  max-width: 18ch;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 5.4vw, 4.8rem);
  line-height: 0.94;
  color: var(--cream);
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.38);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: end;
  margin-top: 30px;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: rgba(244, 242, 237, 0.7);
}

.hero-copy h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3.7rem, 8vw, 7rem);
  line-height: 0.95;
}

.lead,
.intro-card p,
.feature-card p,
.panel-card p,
.contact-card p,
.timeline p,
.quote-card p {
  color: rgba(244, 242, 237, 0.88);
  line-height: 1.75;
}

.lead {
  max-width: 56ch;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.nav-links a:hover,
.contact-card a:hover {
  transform: translateY(-2px);
}

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

.button-secondary {
  border-color: rgba(244, 242, 237, 0.26);
  background: rgba(244, 242, 237, 0.08);
}

.hero-panel,
.intro-card,
.quote-card,
.feature-card,
.contact-card,
.timeline article {
  border: 1px solid var(--line);
  background: rgba(244, 242, 237, 0.06);
  backdrop-filter: blur(10px);
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.panel-card {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(244, 242, 237, 0.09), rgba(244, 242, 237, 0.03));
}

.logo-panel {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 18px;
}

.logo-seal-image {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 28px;
  border: 1px solid rgba(244, 242, 237, 0.24);
  object-fit: cover;
  background: rgba(244, 242, 237, 0.08);
}

.panel-card span,
.timeline article span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel-card h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.section {
  padding: 28px;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 24px;
}

.intro-card,
.quote-card,
.contact-card,
.feature-card,
.timeline article {
  border-radius: 26px;
  padding: 26px;
}

.quote-card {
  display: grid;
  align-items: end;
  background: linear-gradient(180deg, rgba(196, 154, 125, 0.22), rgba(244, 242, 237, 0.05));
}

.cards.three-up {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card h3,
.contact-card h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
}

.formal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.detail-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  background: rgba(244, 242, 237, 0.06);
}

.detail-card span,
.gallery-copy span,
.contact-facts span {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.detail-value {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--cream);
}

.detail-value-small {
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  line-height: 1.25;
}

.support-section {
  background: linear-gradient(145deg, rgba(196, 154, 125, 0.18), rgba(62, 95, 71, 0.14));
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 20px;
  align-items: stretch;
}

.support-copy,
.support-qr,
.impact-card,
.story-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(244, 242, 237, 0.06);
  backdrop-filter: blur(10px);
}

.support-copy {
  padding: 26px;
}

.support-copy .lead {
  margin: 0 0 18px;
}

.donation-box {
  border: 1px solid rgba(244, 242, 237, 0.2);
  border-radius: 20px;
  padding: 18px;
  background: rgba(62, 95, 71, 0.34);
}

.donation-box span {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
}

.donation-box code {
  display: block;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.35;
  font-family: "Manrope", sans-serif;
  color: var(--cream);
  font-weight: 700;
}

.donation-box p {
  margin: 10px 0 14px;
  color: rgba(244, 242, 237, 0.8);
}

.pay-meta {
  margin: 10px 0 12px;
}

.pay-meta p {
  margin: 4px 0;
  color: rgba(244, 242, 237, 0.86);
  line-height: 1.5;
}

.copy-button {
  width: fit-content;
}

.support-qr {
  display: grid;
  gap: 10px;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 20px;
}

.support-qr img {
  width: clamp(180px, 24vw, 260px);
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(244, 242, 237, 0.18);
  background: #fff;
}

.support-qr p {
  margin: 0;
  color: rgba(244, 242, 237, 0.85);
}

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

.impact-card {
  padding: 22px;
}

.impact-number {
  margin: 0 0 6px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.95;
  color: var(--cream);
}

.impact-card h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
}

.impact-card p {
  margin: 0;
  color: rgba(244, 242, 237, 0.84);
  line-height: 1.65;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.story-card {
  overflow: hidden;
}

.story-card img {
  display: block;
  width: 100%;
  height: clamp(220px, 26vw, 320px);
  object-fit: cover;
  cursor: zoom-in;
}

.story-copy {
  padding: 18px 20px 20px;
}

.story-copy h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
}

.story-copy p {
  margin: 0;
  color: rgba(244, 242, 237, 0.85);
  line-height: 1.7;
}

.missing {
  opacity: 0.75;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.9fr;
  gap: 18px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(244, 242, 237, 0.06);
}

.gallery-media {
  position: relative;
  overflow: hidden;
  height: clamp(280px, 30vw, 400px);
  background: rgba(244, 242, 237, 0.06);
}

.gallery-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-card-large .gallery-media {
  height: clamp(360px, 38vw, 520px);
}

.gallery-media.slideshow .slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 480ms ease;
  pointer-events: none;
}

.gallery-media.slideshow .slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slideshow-dots {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(62, 95, 71, 0.5);
  backdrop-filter: blur(6px);
}

.slide-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(244, 242, 237, 0.42);
  cursor: pointer;
}

.slide-dot.is-active {
  background: var(--cream);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(10, 12, 10, 0.86);
  backdrop-filter: blur(4px);
}

.lightbox-overlay.is-open {
  display: grid;
}

.lightbox-panel {
  position: relative;
  width: min(1200px, 96vw);
  max-height: 92vh;
  border-radius: 18px;
  border: 1px solid rgba(244, 242, 237, 0.24);
  background: rgba(36, 45, 35, 0.92);
  overflow: hidden;
}

.lightbox-image {
  display: block;
  width: 100%;
  max-height: calc(92vh - 64px);
  object-fit: contain;
  background: #1b211c;
}

.lightbox-caption {
  margin: 0;
  padding: 10px 14px 14px;
  color: rgba(244, 242, 237, 0.88);
  font-size: 0.95rem;
  line-height: 1.4;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(244, 242, 237, 0.3);
  border-radius: 50%;
  background: rgba(22, 30, 23, 0.78);
  color: var(--cream);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-copy {
  padding: 22px;
}

.gallery-copy h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
}

.gallery-copy p {
  margin: 0;
  color: rgba(244, 242, 237, 0.88);
  line-height: 1.7;
}

.gallery-link-card {
  display: grid;
  align-items: stretch;
  background: linear-gradient(180deg, rgba(196, 154, 125, 0.2), rgba(244, 242, 237, 0.03));
}

.gallery-link-card .button {
  margin-top: 18px;
}

.band {
  background: linear-gradient(180deg, rgba(74, 58, 50, 0.12), rgba(244, 242, 237, 0.03));
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-grid span {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(244, 242, 237, 0.16);
  background: rgba(244, 242, 237, 0.06);
  color: rgba(244, 242, 237, 0.92);
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.accent {
  background: linear-gradient(180deg, rgba(196, 154, 125, 0.22), rgba(244, 242, 237, 0.04));
}

.contact-card a {
  display: block;
  margin-top: 12px;
  color: var(--cream);
}

.contact-facts {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-facts strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--cream);
}

.map-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 16px;
  background: rgba(244, 242, 237, 0.06);
  backdrop-filter: blur(10px);
}

.map-embed {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(244, 242, 237, 0.16);
  margin-bottom: 14px;
}

.map-embed iframe {
  width: 100%;
  height: clamp(300px, 45vw, 520px);
  border: 0;
  display: block;
}

.map-card-compact {
  padding: 14px;
}

.map-embed-compact iframe {
  height: clamp(220px, 30vw, 340px);
}

.small-note {
  margin-top: 18px;
  color: rgba(244, 242, 237, 0.68);
  font-size: 0.9rem;
}

.visit-counter-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 28px 28px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(244, 242, 237, 0.06);
  backdrop-filter: blur(8px);
}

.visit-counter-label,
.visit-counter-value {
  margin: 0;
}

.visit-counter-label {
  color: rgba(244, 242, 237, 0.82);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.visit-counter-value {
  font-family: "Playfair Display", serif;
  font-size: 1.18rem;
  color: var(--cream);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .intro-layout,
  .support-grid,
  .formal-grid,
  .gallery-grid,
  .impact-grid,
  .stories-grid,
  .cards.three-up,
  .timeline,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 36px;
  }

  .hero-home {
    min-height: auto;
    padding-bottom: 22px;
  }

  .hero-home .hero-banner {
    min-height: clamp(160px, 26vw, 210px);
  }

  .hero-home .hero-copy h1 {
    font-size: clamp(2.1rem, 8.3vw, 3.5rem);
  }

  .hero-home .hero-panel {
    gap: 8px;
  }

  .hero-home .panel-card {
    padding: 12px;
  }

  .hero-grid {
    margin-top: 22px;
  }

  .section-heading h2,
  .hero-copy h1 {
    max-width: none;
  }

  .logo-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 18px, 100%);
    margin: 9px auto;
  }

  .hero,
  .section {
    padding: 18px;
  }

  .hero-home {
    min-height: auto;
    padding-bottom: 18px;
  }

  .hero-home .hero-banner {
    min-height: 170px;
    margin-top: 14px;
  }

  .hero-home .hero-grid {
    margin-top: 14px;
    gap: 14px;
  }

  .hero-home .hero-copy h1 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .hero-home .lead {
    margin-top: 10px;
    font-size: 0.96rem;
  }

  .hero-home .hero-actions {
    margin-top: 14px;
    gap: 10px;
  }

  .hero-home .button {
    min-height: 42px;
    padding: 0 16px;
  }

  .hero-home .panel-card h2 {
    font-size: 1.05rem;
  }

  .visit-counter-strip {
    margin: 0 18px 18px;
    padding: 12px 14px;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .lang-switch {
    margin-left: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 17vw, 4.8rem);
  }

  .hero-banner {
    min-height: 230px;
    border-radius: 24px;
  }

  .banner-title {
    max-width: 100%;
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .lead {
    font-size: 1rem;
  }
}
