﻿:root {
  --green: #143b2c;
  --green-dark: #0b261d;
  --gold: #d3a95f;
  --cream: #f6f3eb;
  --ink: #24362d;
  --muted: #6c776f;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

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

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

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 em, h2 em {
  font-weight: 500;
  color: var(--gold);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 88px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  color: white;
  background: linear-gradient(to bottom, rgba(8, 30, 22, .8), transparent);
  transition: background .3s, box-shadow .3s;
}

.site-header.scrolled {
  background: rgba(11, 38, 29, .97);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

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

.brand-mark {
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 26px;
}

.brand-mark span {
  color: var(--gold);
}

.brand-name {
  font-weight: 700;
  letter-spacing: .15em;
  font-size: 15px;
}

.brand-name small {
  display: block;
  font-size: 9px;
  letter-spacing: .27em;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav > a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: color .2s;
}

.main-nav > a:hover {
  color: var(--gold);
}

.main-nav .nav-cta {
  background: var(--gold);
  color: var(--green-dark);
  padding: 15px 22px;
  border-radius: 2px;
}

.nav-cta span,
.button span,
.text-link span {
  margin-left: 10px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 780px;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--green-dark);
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1516026672322-bc52d61a55d5?auto=format&fit=crop&w=2000&q=85");
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  animation: heroReveal 2s ease-out both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,27,19,.87) 0%, rgba(5,27,19,.56) 52%, rgba(5,27,19,.18) 100%),
    linear-gradient(0deg, rgba(5,27,19,.6), transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, 88%);
  margin-left: 9%;
  padding: 145px 0 115px;
  animation: contentReveal 1s ease-out both;
}

.eyebrow,
.section-kicker,
.intro-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #f0d4a0;
}

.eyebrow-line {
  display: inline-block;
  width: 35px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(58px, 7.5vw, 118px);
  line-height: 1.06;
  letter-spacing: -.045em;
  margin: 25px 0;
}

.hero-description {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.9;
  max-width: 560px;
  color: rgba(255,255,255,.87);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 35px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 25px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid transparent;
  transition: transform .25s, background .25s, color .25s;
}

.button:hover {
  transform: translateY(-3px);
}

.button-gold {
  background: var(--gold);
  color: var(--green-dark);
}

.button-gold:hover {
  background: #ebc47e;
}

.button-outline {
  border-color: rgba(255,255,255,.7);
  color: white;
}

.button-outline:hover {
  background: white;
  color: var(--green-dark);
}

.button-dark {
  background: var(--green-dark);
  color: white;
}

.hero-bottom {
  position: absolute;
  bottom: 32px;
  left: 6%;
  right: 6%;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  color: rgba(255,255,255,.8);
}

.scroll-cue span {
  display: inline-block;
  margin-left: 10px;
  font-size: 18px;
  animation: bounce 2s infinite;
}

.section-padding {
  padding: 120px 9%;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 55px;
  background: var(--cream);
}

.intro-label {
  color: #8e846f;
  padding-top: 15px;
}

.section-kicker {
  color: #aa874c;
  margin-bottom: 24px;
}

.intro h2,
.section-heading h2,
.tourism h2,
.support h2 {
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.18;
  letter-spacing: -.035em;
  margin-bottom: 30px;
}

.intro h2 em,
.section-heading h2 em,
.support h2 em {
  color: #a5834e;
}

.intro-content > p:not(.section-kicker) {
  max-width: 650px;
  font-size: 17px;
  line-height: 1.95;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--gold);
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}

.mission {
  background: #e9eee7;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 55px;
}

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

.mission-card {
  position: relative;
  min-height: 350px;
  padding: 38px 32px;
  background: #fff;
  border: 1px solid rgba(20,59,44,.08);
  transition: transform .3s, box-shadow .3s;
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(20,59,44,.09);
}

.card-number {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 11px;
  color: #9aab9d;
}

.card-icon {
  color: #a5834e;
  font-size: 42px;
  margin-bottom: 55px;
}

.mission-card h3 {
  font-size: 26px;
  margin-bottom: 18px;
}

.mission-card p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 14px;
}

.tourism {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(6,29,21,.92), rgba(6,29,21,.35)),
    url("https://images.unsplash.com/photo-1516026672322-bc52d61a55d5?auto=format&fit=crop&w=2000&q=80")
    center/cover;
}

.tourism-inner {
  position: relative;
  max-width: 780px;
}

.tourism h2 {
  margin-bottom: 25px;
}

.tourism-inner > p:not(.section-kicker) {
  max-width: 540px;
  line-height: 1.9;
  color: rgba(255,255,255,.85);
  margin-bottom: 30px;
}

.support {
  text-align: center;
  background: var(--cream);
}

.support h2 {
  max-width: 800px;
  margin: 0 auto 25px;
}

.support > p:not(.section-kicker) {
  max-width: 620px;
  margin: 0 auto 30px;
  line-height: 1.9;
  color: var(--muted);
}

.footer {
  background: var(--green-dark);
  color: white;
  padding: 70px 9% 25px;
}

.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-top {
  align-items: start;
  padding-bottom: 70px;
}

.footer-brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .1em;
}

.footer-brand span {
  display: block;
  font-size: 12px;
  letter-spacing: .25em;
  margin-top: 6px;
  color: var(--gold);
}

.footer-top p {
  line-height: 1.8;
  color: rgba(255,255,255,.7);
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.6);
  font-size: 11px;
}

@keyframes heroReveal {
  from { opacity: 0; transform: scale(1.12); }
  to { opacity: 1; transform: scale(1.04); }
}

@keyframes contentReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (max-width: 900px) {
  .site-header {
    height: 75px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    padding: 12px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 25px;
    height: 2px;
    background: white;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    padding: 25px 6% 35px;
    background: var(--green-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a {
    font-size: 15px;
  }

  .main-nav .nav-cta {
    text-align: center;
  }

  .hero-content {
    margin-left: 6%;
    width: 88%;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-card {
    min-height: 260px;
  }

  .card-icon {
    margin-bottom: 30px;
  }
}

@media (max-width: 600px) {
  .section-padding {
    padding: 85px 6%;
  }

  .hero {
    min-height: 720px;
    min-height: 100svh;
  }

  .hero h1 {
    font-size: clamp(47px, 12vw, 70px);
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-actions {
    align-items: stretch;
  }

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

  .hero-bottom {
    bottom: 20px;
  }

  .hero-bottom > span:last-child {
    display: none;
  }

  .hero-bottom,
  .scroll-cue {
    font-size: 8px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-top {
    padding-bottom: 35px;
  }
}

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

  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* COMMUNITY PHOTO GALLERY */

.community {
  background: #fffdf8;
}

.community-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 55px;
}

.community-heading h2 {
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.15;
  letter-spacing: -.035em;
  margin-bottom: 0;
}

.community-heading h2 em {
  color: #a5834e;
}

.community-heading > p {
  max-width: 370px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 15px;
}

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

.gallery-item {
  position: relative;
  margin: 0;
  height: 280px;
  overflow: hidden;
  background: #e6e6de;
  cursor: zoom-in;
}

.gallery-featured {
  grid-column: span 2;
  grid-row: span 2;
  height: auto;
  min-height: 576px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease, filter .4s ease;
}

.gallery-item:hover img {
  transform: scale(1.055);
  filter: brightness(.85);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 45px 22px 20px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.gallery-item figcaption span {
  font-size: 10px;
  letter-spacing: .1em;
}

.gallery-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 70px 20px 25px;
  border: none;
  background: rgba(5,20,15,.97);
  color: white;
  text-align: center;
}

.gallery-lightbox::backdrop {
  background: rgba(0,0,0,.85);
}

.gallery-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 145px);
  object-fit: contain;
  margin: 0 auto;
}

.gallery-lightbox p {
  font-size: 14px;
  margin-top: 16px;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 25px;
  background: transparent;
  border: none;
  color: white;
  font-size: 42px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .community-heading {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }

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

  .gallery-featured {
    grid-column: span 2;
    grid-row: auto;
    height: 420px;
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .community-gallery {
    gap: 10px;
  }

  .gallery-item {
    height: 190px;
  }

  .gallery-featured {
    height: 270px;
  }

  .gallery-item figcaption {
    padding: 30px 12px 12px;
    font-size: 11px;
  }
}


/* Expanded multi-page navigation */

@media (min-width: 901px) {
  .site-header {
    padding-left: 4%;
    padding-right: 4%;
  }

  .main-nav {
    gap: clamp(9px, 1.3vw, 20px);
  }

  .main-nav > a {
    font-size: 11px;
    white-space: nowrap;
  }

  .main-nav .nav-cta {
    padding: 13px 16px;
  }
}

@media (max-width: 1150px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    padding: 12px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 25px;
    height: 2px;
    background: white;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    padding: 25px 6% 35px;
    background: var(--green-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
  }

  .main-nav.open {
    display: flex;
  }

  .site-header {
    height: 75px;
  }
}

/* Reliable responsive navigation */

@media (max-width: 1150px) {
  .site-header .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 102;
  }

  .site-header .main-nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: #0b261d;
    padding: 25px 6%;
    max-height: calc(100dvh - 75px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-header .main-nav.open {
    display: flex;
  }

  .site-header .main-nav a {
    display: block;
    padding: 15px 5px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    font-size: 15px;
  }

  .site-header .main-nav .nav-cta {
    margin-top: 15px;
    text-align: center;
  }
}

/* Five-page navigation improvements */

@media (min-width: 1151px) {
  .main-nav {
    gap: 32px;
  }

  .main-nav > a {
    font-size: 14px;
    font-weight: 600;
  }
}

@media (max-width: 1150px) {
  .main-nav > a {
    font-size: 17px;
  }
}

/* HOMEPAGE DONATE BUTTON */

#main-nav .home-donate {
  background:#d3a95f;
  color:#102b21;
  padding:12px 18px;
  border-radius:3px;
  font-weight:800;
  text-decoration:none;
}

#main-nav .home-donate:hover {
  background:white;
  color:#102b21;
}

#main-nav.open,
#main-nav.is-open {
  visibility:visible;
}


/* PROMINENT DONATE NAVIGATION */

#main-nav .nav-donate,
#sub-nav .nav-donate {
    background:#d3a95f;
    color:#102b21 !important;
    padding:12px 20px;
    border-radius:4px;
    font-weight:800;
    text-decoration:none;
    display:inline-block;
}

#main-nav .nav-donate:hover,
#sub-nav .nav-donate:hover {
    background:#ffffff;
    color:#102b21 !important;
}


/* STEP 31J — CLEAN NAVIGATION SPACING */

/* Consistent header layout */
.sub-header {
    gap: 24px;
    padding-left: 4%;
    padding-right: 4%;
}

/* Desktop navigation */
@media (min-width: 1151px) {

    .sub-header #sub-nav,
    #main-nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: clamp(14px, 1.65vw, 28px);
    }

    .sub-header #sub-nav a,
    #main-nav a {
        white-space: nowrap;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.01em;
        line-height: 1.4;
    }

    .sub-header .sub-logo {
        flex-shrink: 0;
    }

    .sub-header #sub-nav .nav-donate,
    #main-nav .nav-donate {
        padding: 13px 22px;
        margin-left: 6px;
        white-space: nowrap;
    }
}

/* Mobile and tablet navigation */
@media (max-width: 1150px) {

    .sub-header #sub-nav.open {
        gap: 4px;
    }

    .sub-header #sub-nav a {
        padding: 15px 12px;
        line-height: 1.5;
    }

    .sub-header #sub-nav .nav-donate {
        margin-top: 12px;
        padding: 16px 20px;
        text-align: center;
    }
}


/* STEP 36 — CIRCULAR TOURISM MODEL */

.circular-model {
    background:#f6f3e9;
    color:#173b2d;
    padding:110px 7%;
}

.circular-intro {
    max-width:760px;
    margin:0 auto 65px;
    text-align:center;
}

.circular-intro .section-eyebrow {
    color:#9b793d;
    font-size:12px;
    font-weight:700;
    letter-spacing:0.18em;
}

.circular-intro h2 {
    font-family:"Playfair Display",Georgia,serif;
    font-size:clamp(40px,5vw,72px);
    line-height:1.15;
    margin:22px 0;
}

.circular-intro h2 em {
    color:#9b793d;
}

.circular-intro p {
    color:#66766a;
    line-height:1.9;
    font-size:17px;
}

.circular-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    max-width:1300px;
    margin:auto;
}

.circular-step {
    background:#fff;
    border:1px solid #dce4d7;
    padding:35px 25px;
    min-height:240px;
    transition:transform .25s ease,box-shadow .25s ease;
}

.circular-step:hover {
    transform:translateY(-7px);
    box-shadow:0 20px 40px rgba(16,43,33,.09);
}

.circular-step span {
    color:#b08b4d;
    font-size:15px;
    font-weight:700;
}

.circular-step h3 {
    font-family:"Playfair Display",Georgia,serif;
    font-size:27px;
    margin:25px 0 15px;
}

.circular-step p {
    color:#66766a;
    font-size:15px;
    line-height:1.8;
}

.circular-closing {
    text-align:center;
    font-family:"Playfair Display",Georgia,serif;
    font-style:italic;
    font-size:27px;
    margin:50px 0 25px;
}

.circular-actions {
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
}

.circular-actions a {
    display:inline-block;
    background:#173b2d;
    color:white;
    padding:16px 25px;
    text-decoration:none;
    font-weight:700;
}

.circular-actions a:last-child {
    background:transparent;
    color:#173b2d;
    border:1px solid #173b2d;
}

@media(max-width:1050px) {
    .circular-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:600px) {
    .circular-model {
        padding:75px 6%;
    }

    .circular-grid {
        grid-template-columns:1fr;
    }

    .circular-step {
        min-height:auto;
    }

    .circular-actions a {
        width:100%;
        text-align:center;
    }
}


/* STEP 37 — FOUNDATION FOUR PILLARS */

.foundation-pillars {
    background:#102b21;
    color:white;
    padding:110px 7%;
}

.pillars-heading {
    max-width:780px;
    margin:0 auto 65px;
    text-align:center;
}

.pillars-heading .section-eyebrow {
    font-size:12px;
    letter-spacing:.18em;
    font-weight:700;
    color:#d3a95f;
}

.pillars-heading h2 {
    font-family:"Playfair Display",Georgia,serif;
    font-size:clamp(40px,5vw,70px);
    line-height:1.15;
    margin:25px 0;
}

.pillars-heading h2 em {
    color:#d3a95f;
}

.pillars-heading p {
    color:#d4dfd6;
    line-height:1.85;
    font-size:17px;
}

.foundation-pillars-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
    max-width:1250px;
    margin:auto;
}

.foundation-pillar {
    background:#173b2d;
    border:1px solid rgba(255,255,255,.14);
    padding:42px;
    transition:transform .25s ease,background .25s ease;
}

.foundation-pillar:hover {
    background:#1c4835;
    transform:translateY(-5px);
}

.pillar-number {
    color:#d3a95f;
    font-size:11px;
    font-weight:700;
    letter-spacing:.14em;
}

.pillar-symbol {
    color:#d3a95f;
    font-size:35px;
    margin:22px 0;
}

.foundation-pillar h3 {
    font-family:"Playfair Display",Georgia,serif;
    font-size:clamp(27px,3vw,38px);
    line-height:1.2;
    margin:0 0 20px;
    color:white;
}

.foundation-pillar p {
    color:#d5dfd6;
    line-height:1.8;
    font-size:15px;
}

.foundation-pillar ul {
    padding-left:20px;
    margin:25px 0;
}

.foundation-pillar li {
    color:#e1e9e2;
    margin-bottom:11px;
    line-height:1.6;
}

.foundation-pillar a {
    display:inline-block;
    margin-top:15px;
    color:#d3a95f;
    font-weight:700;
    text-decoration:none;
}

.foundation-pillar a:hover {
    color:white;
}

@media(max-width:750px) {
    .foundation-pillars {
        padding:75px 6%;
    }

    .foundation-pillars-grid {
        grid-template-columns:1fr;
    }

    .foundation-pillar {
        padding:30px 25px;
    }
}


/* STEP 37 — REDEEM THE CHILDREN */

.redeem-intro {
    background:#f8f5ed;
    padding:110px 7%;
}

.redeem-intro-inner {
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:8%;
}

.redeem-intro-copy .section-eyebrow {
    color:#a07b40;
    font-size:12px;
    font-weight:700;
    letter-spacing:.17em;
}

.redeem-intro-copy h2 {
    color:#173b2d;
    font-family:"Playfair Display",Georgia,serif;
    font-size:clamp(38px,4.5vw,64px);
    line-height:1.15;
    margin:25px 0;
}

.redeem-intro-copy h2 em {
    color:#a07b40;
}

.redeem-intro-copy p {
    color:#617264;
    font-size:16px;
    line-height:1.9;
    margin-bottom:18px;
}

.redeem-intro-actions {
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    margin-top:30px;
}

.redeem-intro-actions a {
    display:inline-block;
    padding:16px 24px;
    font-weight:700;
    text-decoration:none;
}

.redeem-primary {
    background:#173b2d;
    color:white;
}

.redeem-secondary {
    border:1px solid #173b2d;
    color:#173b2d;
}

.redeem-intro-visual {
    position:relative;
}

.redeem-intro-visual img {
    width:100%;
    height:540px;
    object-fit:cover;
    display:block;
}

.redeem-visual-caption {
    position:absolute;
    bottom:20px;
    left:20px;
    right:20px;
    background:rgba(16,43,33,.94);
    padding:22px;
    display:flex;
    flex-direction:column;
    gap:8px;
    color:white;
}

.redeem-visual-caption strong {
    font-family:"Playfair Display",Georgia,serif;
    font-size:23px;
}

.redeem-visual-caption span {
    color:#d3a95f;
    font-size:12px;
    letter-spacing:.08em;
}

@media(max-width:850px) {
    .redeem-intro {
        padding:75px 6%;
    }

    .redeem-intro-inner {
        grid-template-columns:1fr;
        gap:45px;
    }

    .redeem-intro-visual img {
        height:400px;
    }
}

@media(max-width:500px) {
    .redeem-intro-visual img {
        height:320px;
    }

    .redeem-intro-actions a {
        width:100%;
        text-align:center;
    }
}


/* STEP 38I — CINEMATIC HERO REFINEMENT */

.hero {
    position:relative;
    min-height: min(820px, 100svh);
    display:flex;
    align-items:center;
    overflow:hidden;
    isolation:isolate;
    padding:110px 7% 65px;
    box-sizing:border-box;
}

.hero::before {
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    background:linear-gradient(
        90deg,
        rgba(9,29,21,.83) 0%,
        rgba(9,29,21,.60) 45%,
        rgba(9,29,21,.13) 100%
    );
}

.hero > * {
    position:relative;
    z-index:1;
}

.hero #hero-title {
    font-family:"Playfair Display",Georgia,serif;
    font-size:clamp(36px,4.5vw,68px) !important;
    font-weight:500;
    line-height:1.12;
    letter-spacing:-.035em;
    max-width:800px;
    margin:20px 0 22px;
    text-wrap:balance;
}

.hero #hero-title em {
    color:#e2bd7b;
    font-weight:400;
}

.hero p {
    max-width:570px;
    font-size:clamp(14px,1.2vw,17px);
    line-height:1.8;
    color:#edf1ec;
}

.hero .hero-content,
.hero .hero-text,
.hero .hero-inner,
.hero .hero-copy {
    max-width:850px;
}

.hero .hero-actions,
.hero .hero-buttons,
.hero .hero-ctas {
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
    margin-top:28px;
}

.hero .hero-actions a,
.hero .hero-buttons a,
.hero .hero-ctas a {
    display:inline-flex;
    justify-content:center;
    align-items:center;
    min-height:49px;
    padding:13px 23px;
    box-sizing:border-box;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    transition:transform .25s ease,background .25s ease;
}

.hero .hero-actions a:hover,
.hero .hero-buttons a:hover,
.hero .hero-ctas a:hover {
    transform:translateY(-3px);
}

@media(max-width:850px) {
    .hero {
        min-height:720px;
        padding:125px 6% 65px;
    }

    .hero::before {
        background:linear-gradient(
            90deg,
            rgba(9,29,21,.84),
            rgba(9,29,21,.48)
        );
    }

    .hero #hero-title {
        font-size:clamp(36px,6vw,55px) !important;
        max-width:650px;
    }
}

@media(max-width:600px) {
    .hero {
        min-height:660px;
        min-height: min(760px, 100svh);
        padding:105px 6% 50px;
        align-items:center;
    }

    .hero::before {
        background:linear-gradient(
            180deg,
            rgba(9,29,21,.58),
            rgba(9,29,21,.83)
        );
    }

    .hero #hero-title {
        font-size:clamp(31px,8vw,43px) !important;
        line-height:1.16;
        letter-spacing:-.025em;
        margin:16px 0 18px;
    }

    .hero p {
        font-size:14px;
        line-height:1.7;
    }

    .hero .hero-actions,
    .hero .hero-buttons,
    .hero .hero-ctas {
        gap:10px;
        margin-top:22px;
    }

    .hero .hero-actions a,
    .hero .hero-buttons a,
    .hero .hero-ctas a {
        min-height:45px;
        padding:12px 17px;
        font-size:12px;
    }
}

@media(max-height:680px) and (min-width:601px) {
    .hero {
        min-height:650px;
    }
}


/* STEP 38J — BALANCED CINEMATIC HERO */

.hero {
    min-height: min(760px, 100svh);
    padding: 115px 7% 90px;
}

.hero-content {
    width: min(100%, 780px);
    max-width: 780px;
    margin: 0;
    position: relative;
    z-index: 3;
}

.hero .eyebrow {
    font-size: 10px;
    letter-spacing: .16em;
    color: #e3c18b;
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero #hero-title {
    font-size: clamp(34px, 3.65vw, 57px) !important;
    line-height: 1.15;
    letter-spacing: -.025em;
    max-width: 780px;
    margin: 0 0 21px;
    font-weight: 500;
    color: #fff;
}

.hero #hero-title em {
    color: #e1bd7d;
    font-weight: 400;
}

.hero .hero-description {
    max-width: 550px;
    font-size: clamp(14px, 1.15vw, 16px);
    line-height: 1.75;
    color: #e1eae3;
    margin: 0;
}

.hero .hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.hero .hero-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 48px;
    padding: 13px 21px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .025em;
    text-decoration: none;
    box-sizing: border-box;
    transition: transform .25s ease, background .25s ease;
}

.hero .hero-actions .button-gold {
    background: #d5ae6d;
    color: #112b20;
    border: 1px solid #d5ae6d;
}

.hero .hero-actions .button-outline {
    background: rgba(255,255,255,.04);
    color: #fff;
    border: 1px solid rgba(255,255,255,.65);
    backdrop-filter: blur(8px);
}

.hero .hero-actions .button:hover {
    transform: translateY(-3px);
}

.hero .hero-actions .button-gold:hover {
    background: #efcf95;
    color: #112b20;
}

.hero .hero-actions .button-outline:hover {
    background: rgba(255,255,255,.18);
    color: #fff;
}

.hero .hero-bottom {
    position: absolute;
    left: 7%;
    right: 7%;
    bottom: 25px;
    z-index: 3;
    font-size: 10px;
    letter-spacing: .1em;
}

@media(max-width: 850px) {
    .hero {
        min-height: 680px;
        padding: 110px 6% 80px;
    }

    .hero #hero-title {
        font-size: clamp(34px, 5.6vw, 49px) !important;
    }

    .hero .hero-bottom {
        left: 6%;
        right: 6%;
    }
}

@media(max-width: 600px) {
    .hero {
        min-height: 620px;
        padding: 105px 6% 75px;
    }

    .hero .eyebrow {
        font-size: 9px;
        letter-spacing: .1em;
        margin-bottom: 16px;
    }

    .hero #hero-title {
        font-size: clamp(30px, 7.4vw, 39px) !important;
        line-height: 1.16;
        margin-bottom: 16px;
    }

    .hero .hero-description {
        font-size: 13px;
        line-height: 1.65;
    }

    .hero .hero-actions {
        margin-top: 22px;
        gap: 9px;
    }

    .hero .hero-actions .button {
        padding: 11px 14px;
        min-height: 44px;
        font-size: 11px;
        gap: 7px;
    }

    .hero .hero-bottom {
        bottom: 15px;
        font-size: 9px;
    }
}

@media(max-height: 600px) and (min-width: 601px) {
    .hero {
        min-height: 600px;
    }
}

@media(prefers-reduced-motion: reduce) {
    .hero .hero-actions .button {
        transition: none;
    }
}


/* CINEMATIC SUNSET HERO — FINAL IMAGE */

.hero .hero-background {
    background-image: url("assets/images/murchison-cinematic-hero.webp") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
}

.hero .hero-shade {
    background: linear-gradient(
        90deg,
        rgba(5,25,17,.83) 0%,
        rgba(5,25,17,.48) 40%,
        rgba(5,25,17,.04) 78%
    ) !important;
}

@media (max-width:600px) {
    .hero .hero-background {
        background-position: 65% center !important;
    }

    .hero .hero-shade {
        background: linear-gradient(
            90deg,
            rgba(5,25,17,.80),
            rgba(5,25,17,.30)
        ) !important;
    }
}


/* CINEMATIC HERO IMAGE VISIBILITY FIX */

section.hero {
    position: relative !important;
    background-color: #10271e !important;
    isolation: isolate;
}

section.hero .hero-background {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background: url("./assets/images/murchison-cinematic-hero.webp") center center / cover no-repeat !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 0 !important;
}

section.hero .hero-shade {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        90deg,
        rgba(5,25,17,.82),
        rgba(5,25,17,.38) 55%,
        rgba(5,25,17,.03)
    ) !important;
    z-index: 1 !important;
    pointer-events: none;
}

section.hero .hero-content,
section.hero .hero-bottom {
    position: relative;
    z-index: 3 !important;
}

section.hero::before {
    display: none !important;
}


/* STEP 40 — UNIFIED FOUNDATION NAVIGATION */

.site-header .brand-name {
  font-size:12px;
  letter-spacing:.07em;
  line-height:1.3;
}

.site-header .brand-name small {
  display:block;
  font-size:9px;
  letter-spacing:.11em;
}

.site-header .main-nav {
  gap:clamp(10px,1.5vw,24px);
}

.site-header .main-nav a {
  white-space:nowrap;
  font-size:12px;
}

.site-header .main-nav .nav-cta,
.sub-header #sub-nav .nav-donate {
  background:#d9b16e;
  color:#143426;
  border:1px solid #d9b16e;
  padding:12px 16px;
  font-weight:700;
  text-decoration:none;
}

.site-header .main-nav .nav-cta:hover,
.sub-header #sub-nav .nav-donate:hover {
  background:#f0d098;
  color:#143426;
}

@media(max-width:1100px) {
  .site-header .main-nav a {
    font-size:11px;
  }
}

@media(max-width:900px) {
  .site-header .main-nav {
    gap:0;
  }

  .site-header .main-nav a {
    font-size:15px;
    white-space:normal;
  }

  .site-header .main-nav .nav-cta {
    margin-top:12px;
    text-align:center;
  }
}


/* STEP 40F — IMPACT-INSPIRED HOMEPAGE HERO */

section.hero {
    position: relative !important;
    min-height: 680px;
    min-height: min(760px, 100svh);
    padding: 125px 7% 95px;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background: #102c21;
}

section.hero .hero-background {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    background-image: url("assets/images/murchison-cinematic-hero.webp") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 0 !important;
    transform: none !important;
}

section.hero::before {
    display: none !important;
}

section.hero .hero-shade {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        90deg,
        rgba(7,31,22,.88) 0%,
        rgba(7,31,22,.61) 43%,
        rgba(7,31,22,.05) 100%
    ) !important;
    z-index: 1 !important;
    pointer-events: none;
}

section.hero .hero-content {
    position: relative !important;
    z-index: 3 !important;
    width: min(100%, 740px);
    max-width: 740px;
    margin: 0 !important;
}

section.hero #hero-title {
    font-family: Georgia, serif;
    font-size: clamp(37px, 4vw, 60px) !important;
    line-height: 1.13;
    font-weight: 500;
    letter-spacing: -.025em;
    max-width: 740px;
    margin: 0 0 23px;
    color: #fff;
}

section.hero #hero-title em {
    color: #e7bf7d;
    font-weight: 400;
}

section.hero .hero-description {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.75;
    color: #e3eae4;
}

section.hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

section.hero .hero-bottom {
    position: absolute;
    z-index: 3;
    bottom: 24px;
    left: 7%;
    right: 7%;
}

/* TABLET */
@media(max-width: 900px) {
    section.hero {
        padding: 125px 6% 85px;
        min-height: 690px;
    }

    section.hero .hero-background {
        background-position: 58% center !important;
    }

    section.hero #hero-title {
        font-size: clamp(35px, 5vw, 50px) !important;
    }
}

/* MOBILE — SHOW THE CHILDREN AND SUNSET */
@media(max-width: 600px) {
    section.hero {
        min-height: 760px;
        min-height: max(760px, 100svh);
        padding: 105px 6% 85px;
        align-items: flex-start;
    }

    section.hero .hero-background {
        background-size: cover !important;
        background-position: 68% center !important;
    }

    section.hero .hero-shade {
        background: linear-gradient(
            180deg,
            rgba(5,25,17,.73) 0%,
            rgba(5,25,17,.48) 43%,
            rgba(5,25,17,.06) 75%,
            rgba(5,25,17,.28) 100%
        ) !important;
    }

    section.hero .hero-content {
        width: 100%;
        max-width: 100%;
    }

    section.hero .eyebrow {
        font-size: 9px;
        letter-spacing: .1em;
        margin-bottom: 15px;
    }

    section.hero #hero-title {
        font-size: clamp(30px, 7.2vw, 40px) !important;
        line-height: 1.14;
        margin: 0 0 17px;
        max-width: 100%;
    }

    section.hero .hero-description {
        font-size: 13px;
        line-height: 1.6;
        max-width: 95%;
    }

    section.hero .hero-actions {
        margin-top: 20px;
        gap: 9px;
    }

    section.hero .hero-actions .button {
        min-height: 44px;
        padding: 11px 14px;
        font-size: 11px;
    }

    section.hero .hero-bottom {
        bottom: 15px;
        left: 6%;
        right: 6%;
    }
}

/* SMALL PHONES */
@media(max-width: 380px) {
    section.hero #hero-title {
        font-size: 28px !important;
    }

    section.hero .hero-description {
        font-size: 12px;
    }

    section.hero .hero-actions .button {
        padding: 10px 12px;
        font-size: 10px;
    }
}

