/* RTN-Ghana — earth / circular textile identity */
:root {
  --forest: #163628;
  --moss: #2f5a40;
  --leaf: #4a7a52;
  --sage: #8faf8a;
  --mist: #e8efe4;
  --linen: #f3efe6;
  --sand: #d8cbb4;
  --clay: #b56a3a;
  --clay-deep: #8f4f28;
  --ink: #17231c;
  --muted: #4d5c52;
  --white: #fffdf8;
  --line: rgba(22, 54, 40, 0.12);
  --shadow: 0 18px 50px rgba(22, 54, 40, 0.12);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --container: 1120px;
  --header-h: 78px;
}

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

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(143, 175, 138, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(181, 106, 58, 0.12), transparent 45%),
    linear-gradient(180deg, #f6f3eb 0%, var(--linen) 40%, #eef3ea 100%);
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--moss); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--forest);
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  background: var(--forest);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(243, 239, 230, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    conic-gradient(from 210deg, var(--leaf), var(--forest), var(--clay), var(--sage), var(--leaf));
  box-shadow: inset 0 0 0 3px rgba(255,253,248,0.55);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--linen);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--forest);
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list > li { position: relative; }

.nav-list a {
  display: block;
  padding: 0.55rem 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius);
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--forest);
  background: rgba(47, 90, 64, 0.08);
}

.sub-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  /* Invisible hover bridge so the menu does not close between link and panel */
  padding: 0.5rem 0 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  z-index: 30;
}

.sub-nav::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: -1;
}

.has-sub:hover > .sub-nav,
.has-sub:focus-within > .sub-nav { display: block; }

/* Keep hover alive while moving into the menu */
.has-sub > a {
  position: relative;
  z-index: 31;
}

.sub-nav a {
  font-size: 0.88rem;
  padding: 0.55rem 0.75rem;
  position: relative;
  z-index: 1;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--forest);
  margin: 0 auto;
  position: relative;
  transition: 0.2s ease;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
}
.btn-accent {
  background: var(--clay);
  color: var(--white);
  border-color: var(--clay);
  box-shadow: 0 10px 24px rgba(143, 79, 40, 0.22);
}
.btn-accent:hover { background: var(--clay-deep); color: var(--white); }
.btn-primary {
  background: var(--forest);
  color: var(--white);
}
.btn-primary:hover { background: var(--moss); color: var(--white); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,253,248,0.45);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,253,248,0.12); color: var(--white); }
.btn-light {
  background: var(--white);
  color: var(--forest);
}
.btn-outline {
  background: transparent;
  border-color: var(--moss);
  color: var(--forest);
}
.btn-outline:hover {
  background: rgba(47, 90, 64, 0.08);
  color: var(--forest);
}

.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--forest);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 18px,
      rgba(255,253,248,0.03) 18px,
      rgba(255,253,248,0.03) 19px
    );
  pointer-events: none;
}

.hero-content {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto 4.5rem;
  max-width: 38rem;
  animation: riseIn 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 700;
  line-height: 0.95;
  margin: 0 0 0.85rem;
  color: var(--white);
  text-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 500;
  max-width: 28ch;
  margin-bottom: 0.9rem;
}

.hero p {
  color: rgba(255,253,248,0.9);
  font-size: 1.05rem;
  max-width: 42ch;
  margin-bottom: 1.6rem;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

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

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(74,122,82,0.18), transparent 40%),
    linear-gradient(180deg, rgba(22,54,40,0.06), transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 16ch;
  animation: riseIn 0.7s ease both;
}

.page-hero p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 52ch;
  animation: riseIn 0.8s 0.08s ease both;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }
.section-alt {
  background:
    linear-gradient(180deg, rgba(232,239,228,0.7), rgba(243,239,230,0.4));
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split-media {
  min-height: 360px;
  background-color: var(--moss);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(22,54,40,0.45));
}

.weave-frame {
  position: relative;
}
.weave-frame::before {
  content: "";
  position: absolute;
  inset: 1rem -0.75rem -0.75rem 1rem;
  border: 1px solid rgba(47,90,64,0.35);
  z-index: -1;
}

/* Feature strips — not cards */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-item {
  padding: 1.75rem 1.4rem;
  border-right: 1px solid var(--line);
  background: transparent;
  transition: background 0.25s ease;
}
.feature-item:last-child { border-right: 0; }
.feature-item:hover { background: rgba(47, 90, 64, 0.05); }

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.feature-item p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
.feature-item a {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--forest);
}
.feature-item a::after { content: " →"; }

/* Content lists / editorial */
.story-list {
  display: grid;
  gap: 2rem;
}

.story-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.story-thumb {
  aspect-ratio: 4/3;
  background-color: var(--moss);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.story-meta {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--leaf);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.story-row h3 {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}
.story-row h3 a {
  color: inherit;
  text-decoration: none;
}
.story-row h3 a:hover { color: var(--moss); }
.story-row p { color: var(--muted); margin-bottom: 0.75rem; }

.meta-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--moss);
}

/* Grid of projects / events */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.media-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.media-tile-image {
  aspect-ratio: 16/11;
  background-color: var(--moss);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 0.9rem;
  transition: transform 0.45s ease, filter 0.35s ease;
  overflow: hidden;
}

.media-tile:hover .media-tile-image {
  transform: scale(1.025);
  filter: saturate(1.05);
}

.media-tile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-bottom: 0.45rem;
}

.media-tile h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  color: var(--forest);
}
.media-tile p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.meta-pill-accent {
  color: var(--clay-deep);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--moss);
}

.gallery-item img,
.gallery-item .gallery-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-fallback {
  background:
    linear-gradient(145deg, var(--forest), var(--leaf) 60%, var(--clay));
}

.gallery-item:hover img,
.gallery-item:hover .gallery-fallback {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(15,30,22,0.75));
  color: var(--white);
  font-size: 0.88rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* Partners */
.partner-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2.5rem;
}

.partner-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.partner-logo {
  width: 88px;
  height: 64px;
  display: grid;
  place-items: center;
  background: rgba(47,90,64,0.08);
  color: var(--forest);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.35rem;
}

.partner-row h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.partner-row p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Forms */
.form-panel {
  max-width: 640px;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--forest);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="password"],
input[type="url"],
input[type="datetime-local"],
select,
textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(22,54,40,0.2);
  background: rgba(255,253,248,0.88);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(22,54,40,0.32);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(74,122,82,0.35);
  outline-offset: 1px;
  border-color: var(--leaf);
  background: var(--white);
}

textarea { min-height: 140px; resize: vertical; }

.label-optional {
  font-weight: 500;
  color: var(--muted);
  text-transform: lowercase;
  letter-spacing: 0;
  font-size: 0.8em;
}

.alert {
  padding: 0.95rem 1.1rem;
  margin-bottom: 1rem;
  border-left: 3px solid;
  background: rgba(255,253,248,0.78);
}
.alert-success { border-color: var(--leaf); color: var(--forest); }
.alert-error { border-color: #a33; color: #6b1d1d; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-member-photo {
  aspect-ratio: 1;
  margin-bottom: 1rem;
  background-color: var(--moss);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

.team-member h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.team-member .role { color: var(--clay-deep); font-weight: 600; font-size: 0.92rem; margin-bottom: 0.5rem; }
.team-member p { color: var(--muted); margin: 0; }

/* Prose */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.75rem; }
.prose ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}
.prose li { margin-bottom: 0.4rem; }

.impact-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  color: var(--forest);
  border-left: 3px solid var(--clay);
  padding-left: 1.25rem;
  margin: 2rem 0;
  max-width: 28ch;
}

/* Donate */
.donate-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.detail-box {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-box dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.85rem;
}
.detail-box dt:first-child { margin-top: 0; }
.detail-box dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
  color: var(--forest);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
}
.status-chip::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}
.status-chip.is-open,
.status-chip.is-confirmed { color: var(--leaf); }
.status-chip.is-closed,
.status-chip.is-cancelled { color: var(--muted); }
.status-chip.is-pending { color: var(--clay-deep); }
.status-chip-lg {
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
}

.page-hero-inner { position: relative; z-index: 1; }
.hero-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255,253,248,0.28);
  color: rgba(255,253,248,0.92);
  font-size: 0.88rem;
  font-weight: 500;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: rgba(14, 35, 24, 0.28);
  margin: 0;
}
.page-hero-media .btn-group { margin-top: 0.35rem; }

.section-head-tight { margin-bottom: 1.5rem; }
.prose-actions { margin-top: 1.75rem; }
.event-aside-media { margin-top: 1.5rem; }
.event-aside-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.order-ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
}

.confirm-hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(74,122,82,0.16), transparent 42%),
    linear-gradient(180deg, rgba(22,54,40,0.05), transparent 70%);
}
.confirm-hero-confirmed {
  background:
    radial-gradient(circle at 15% 10%, rgba(74,122,82,0.22), transparent 45%),
    linear-gradient(180deg, rgba(232,239,228,0.85), transparent 75%);
}
.confirm-hero-pending {
  background:
    radial-gradient(circle at 15% 10%, rgba(181,106,58,0.18), transparent 45%),
    linear-gradient(180deg, rgba(243,239,230,0.9), transparent 75%);
}
.confirm-hero-cancelled {
  background:
    radial-gradient(circle at 15% 10%, rgba(77,92,82,0.16), transparent 45%),
    linear-gradient(180deg, rgba(232,232,228,0.9), transparent 75%);
}
.confirm-event { margin-bottom: 1.25rem; }
.confirm-event h2 { margin-bottom: 0.35rem; }
.confirm-meta { color: var(--muted); margin: 0; }

/* Event tickets */
.ticket-panel {
  max-width: 100%;
  padding: 1.35rem 0 0;
}
.ticket-type-picker {
  display: grid;
  gap: 0;
  margin-bottom: 0.25rem;
}
.ticket-option {
  display: grid;
  grid-template-columns: 1fr 5.75rem;
  gap: 1.1rem;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.2s ease;
}
.ticket-option:first-child { border-top: 1px solid var(--line); }
.ticket-option-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
}
.ticket-option-copy strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--forest);
  font-weight: 650;
}
.ticket-option-copy p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.ticket-price {
  color: var(--clay-deep);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}
.ticket-stock {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--leaf);
}
.ticket-stock.is-sold { color: var(--muted); }
.ticket-option.is-soldout { opacity: 0.55; }
.ticket-qty-input {
  text-align: center;
  font-weight: 600;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}
.ticket-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0;
  margin: 0.35rem 0 0.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.ticket-total-bar strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest);
  font-weight: 650;
}
.ticket-buyer { display: grid; gap: 1rem; margin-top: 0.5rem; }
.ticket-submit { display: grid; gap: 0.65rem; justify-items: start; }
.ticket-footnote {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.info-rail {
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--line);
}
.info-rail h3 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}
.info-steps {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  display: grid;
  gap: 0.55rem;
}
.info-steps li { padding-left: 0.15rem; }
.ticket-instructions {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
}
.ticket-instructions h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: var(--forest);
}
.ticket-instructions p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  line-height: 1.55;
}
.ticket-instructions p:last-child { margin-bottom: 0; }
.ticket-ref-note { color: var(--forest) !important; }
.ticket-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}
.ticket-summary-table th,
.ticket-summary-table td {
  text-align: left;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.ticket-summary-table thead th {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.ticket-summary-table tfoot th {
  color: var(--forest);
  font-size: 1.05rem;
  border-bottom: 0;
  padding-top: 1rem;
}

/* Newsletter + footer */
.newsletter-band {
  background:
    linear-gradient(120deg, var(--forest), #214832 50%, var(--moss));
  color: var(--white);
  padding: 2.75rem 0;
}

.newsletter-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter-band h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 0.35rem;
}
.newsletter-band p {
  margin: 0;
  color: rgba(255,253,248,0.85);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-width: min(100%, 380px);
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  border: 0;
  background: rgba(255,253,248,0.95);
}

.site-footer {
  background: #10251b;
  color: rgba(255,253,248,0.82);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-brand .brand-name,
.footer-brand .brand-sub { color: var(--white); }
.footer-brand .brand-sub { opacity: 0.7; }
.footer-brand p {
  margin-top: 1rem;
  color: rgba(255,253,248,0.7);
  max-width: 32ch;
}

.footer-links a,
.footer-contact a {
  color: rgba(255,253,248,0.78);
  text-decoration: none;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--white); }
.footer-links li,
.footer-contact li { margin-bottom: 0.45rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,253,248,0.12);
  font-size: 0.88rem;
}
.footer-note { opacity: 0.65; }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}
.footer-social a {
  color: rgba(255,253,248,0.78);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.footer-social a:hover { color: var(--white); }

/* Toast */
.toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  display: grid;
  gap: 0.5rem;
}
.toast {
  padding: 0.85rem 1.1rem;
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--shadow);
  animation: fadeUp 0.35s ease both;
  max-width: 320px;
}
.toast-error { background: #6b1d1d; }

/* Empty / status */
.empty-state {
  padding: 2rem 0;
  color: var(--muted);
}

.status-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--clay-deep);
  margin-bottom: 0.35rem;
}

/* CTA band */
.cta-band {
  padding: 4rem 0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(74,122,82,0.2), transparent 55%),
    linear-gradient(180deg, transparent, rgba(22,54,40,0.05));
}
.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 18ch;
  margin-inline: auto;
}
.cta-band p {
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 1.5rem;
}

/* ——— Enhanced sections & photography ——— */
.page-hero-media {
  min-height: 52vh;
  display: grid;
  align-items: end;
  padding: 5.5rem 0 3.25rem;
  color: var(--white);
  isolation: isolate;
}
.page-hero-media::before {
  background:
    linear-gradient(115deg, rgba(14,35,24,.86) 0%, rgba(22,54,40,.5) 52%, rgba(22,54,40,.28) 100%),
    var(--page-hero) center/cover no-repeat;
  z-index: -1;
}
.page-hero.page-hero-media h1 {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.page-hero.page-hero-media .eyebrow {
  color: #c5dbc0;
}
.page-hero.page-hero-media p,
.page-hero.page-hero-media p.lead,
.page-hero.page-hero-media .lead {
  color: rgba(255, 253, 248, 0.94);
  opacity: 1;
  max-width: 48ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.page-hero.page-hero-media a:not(.btn) {
  color: #e8efe4;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.pillar-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: rgba(255,253,248,0.55);
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.pillar-tile:hover {
  border-color: var(--clay);
  transform: translateY(-3px);
  color: inherit;
}
.pillar-image {
  aspect-ratio: 4/3;
  background: var(--moss) center/cover no-repeat;
}
.pillar-body { padding: 1.1rem 0.15rem 0.35rem; }
.pillar-body h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.pillar-body p { color: var(--muted); font-size: 0.94rem; margin: 0 0 0.7rem; }
.pillar-link {
  font-weight: 600;
  color: var(--forest);
  font-size: 0.9rem;
}
.pillar-link::after { content: " →"; }

.impact-strip {
  background: var(--forest);
  color: rgba(255,253,248,0.9);
  padding: 1.75rem 0;
}
.impact-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.impact-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  line-height: 1.1;
}
.impact-strip span {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
}

.section-photo {
  position: relative;
  isolation: isolate;
  color: var(--white);
  padding: 4.5rem 0;
}
.section-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,35,24,.78), rgba(22,54,40,.72)),
    var(--section-photo) center/cover no-repeat;
}
.section-photo-compact { padding: 3.5rem 0; }
.section-head-light h2,
.section-head-light .eyebrow { color: var(--white); }
.section-head-light p { color: rgba(255,253,248,0.85); }
.section-photo .status-tag { color: var(--sage); }
.section-photo .media-tile h3 { color: var(--white); }
.section-photo .media-tile p { color: rgba(255,253,248,0.8); }

.cta-band-photo {
  position: relative;
  isolation: isolate;
  color: var(--white);
}
.cta-band-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(14,35,24,.85), rgba(22,54,40,.7)),
    var(--cta-photo) center/cover no-repeat;
}
.cta-band-photo h2 { color: var(--white); }
.cta-band-photo p { color: rgba(255,253,248,0.88); }

.home-feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.check-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--clay);
}

.photo-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.photo-note strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest);
  margin-bottom: 0.35rem;
}
.photo-note p { color: var(--muted); margin-bottom: 0.85rem; }

.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.process-row span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--clay);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.process-row h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.process-row p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.purpose-block {
  max-width: 46rem;
  padding-bottom: 0.5rem;
}
.purpose-block h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 0.75rem;
}
.purpose-text {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  max-width: 40ch;
}

.motto-band {
  margin-top: 3rem;
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.motto-line {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.1;
  margin: 0.35rem 0 0.85rem;
}
.motto-band p:last-child {
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.mission-panel {
  position: relative;
  isolation: isolate;
  min-height: 280px;
  padding: 2rem;
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.mission-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,35,24,.35), rgba(14,35,24,.82)),
    var(--panel-img) center/cover no-repeat;
  transition: transform 0.5s ease;
}
.mission-panel:hover::before { transform: scale(1.04); }
.mission-panel .eyebrow { color: var(--sage); }
.mission-panel h2 { color: var(--white); font-size: 1.8rem; }
.mission-panel p { color: rgba(255,253,248,0.9); margin: 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}
.values-grid h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.values-grid p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.impact-quote-light {
  color: var(--white);
  border-left-color: var(--clay);
  max-width: 34ch;
  margin: 0;
}

.gallery-preview { grid-template-columns: repeat(4, 1fr); }
.article-layout { max-width: 820px; }
.article-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin-bottom: 2rem;
}
.article-body img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  margin: 1.25rem 0;
}
.article-body ul,
.article-body ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 0.35rem; }
.contact-aside-media,
.donate-lead-media {
  min-height: 220px;
  margin-bottom: 1.25rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 980px) {
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .feature-item:nth-child(2) { border-right: 0; }
  .feature-item:nth-child(1),
  .feature-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .split,
  .donate-layout,
  .home-feed,
  .mission-grid { grid-template-columns: 1fr; }
  .media-grid,
  .team-grid,
  .gallery-grid,
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story-row { grid-template-columns: 160px 1fr; }
  .process-row,
  .values-grid,
  .impact-strip-inner,
  .gallery-preview { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--linen);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }
  .sub-nav {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0 0.75rem;
  }
  .nav-cta { width: 100%; text-align: center; }
  .hero { min-height: 78vh; }
  .hero-content { margin-bottom: 3rem; }
  .page-hero-media { min-height: 40vh; }
}

@media (max-width: 640px) {
  .feature-strip,
  .media-grid,
  .team-grid,
  .gallery-grid,
  .partner-list,
  .footer-grid,
  .form-row-2,
  .pillar-grid,
  .process-row,
  .values-grid,
  .impact-strip-inner,
  .gallery-preview { grid-template-columns: 1fr; }
  .feature-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-item:last-child { border-bottom: 0; }
  .story-row { grid-template-columns: 1fr; }
  .newsletter-form { width: 100%; }
  .ticket-option {
    grid-template-columns: 1fr 4.75rem;
    gap: 0.75rem;
  }
  .ticket-option-top { flex-direction: column; align-items: flex-start; }
  .hero-meta-chip { width: 100%; justify-content: center; }
}
