/* tokens.css */
:root {
  --teal: #00A896;
  --teal-dark: #088F7F;
  --teal-light: #E6F7F5;
  --warm-beige: #B7A095;
  --burnt-orange: #DD6F3E;
  --burnt-orange-dark: #C45E32;
  --deep-brown: #3D2321;
  --charcoal: #2C1A18;
  --copper-tan: #C37F58;
  --copper: #B07040;
  --slate: #8A7E76;
  --ink: #1A0F0D;
  --soft-sand: #F3E9D2;
  --sand-50: #FDFAF4;
  --sand-100: #FAF6EE;
  --sand-200: #F3E9D2;
  --sand-300: #E8D5BC;
  --white: #FFFFFF;

  --font-display: "Playfair Display", Georgia, serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", "Lato", system-ui, sans-serif;
  --font-footer: "Lato", system-ui, sans-serif;

  --lj-earth: #3D2321;
  --lj-paper: #F2EFE9;
  --lj-accent: #C5A059;
  --lj-ink-light: rgba(61, 35, 33, 0.6);

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  --shadow-sm: 0 1px 3px rgba(61, 35, 33, 0.04), 0 1px 2px rgba(61, 35, 33, 0.06);
  --shadow-md: 0 4px 6px rgba(61, 35, 33, 0.04), 0 10px 15px rgba(61, 35, 33, 0.06);
  --shadow-lg: 0 10px 25px rgba(61, 35, 33, 0.06), 0 20px 48px rgba(61, 35, 33, 0.08);

  --ease: ease;
  --ease-out: ease-out;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max: 1240px;
  --max-narrow: 720px;
  --header-offset: 96px;
}


/* base.css */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--deep-brown);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.011em;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(0, 168, 150, 0.15);
  color: var(--deep-brown);
}

h1,
h2,
h3,
.serif {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--deep-brown);
  letter-spacing: -0.025em;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Full-bleed hero photos must ignore the global img height:auto rule */
img.hero-bg,
.hero > img.hero-bg,
.hero-bg img,
img.hero-right-bg,
.hero-right > img,
.hero-right-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

@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;
  }
}


/* utilities.css */
/* Layout */
.u-container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.u-container-narrow {
  max-width: var(--max-narrow);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.u-section {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.u-section-sm {
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.u-grid-2 {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .u-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.u-grid-3 {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .u-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.u-flex {
  display: flex;
}

.u-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.u-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.u-flex-wrap {
  flex-wrap: wrap;
}

.u-gap-sm {
  gap: var(--space-sm);
}

.u-gap-md {
  gap: var(--space-md);
}

/* Spacing */
.u-mt-0 { margin-top: 0; }
.u-mt-sm { margin-top: var(--space-sm); }
.u-mt-md { margin-top: var(--space-md); }
.u-mb-0 { margin-bottom: 0; }
.u-mb-sm { margin-bottom: var(--space-sm); }
.u-mb-md { margin-bottom: var(--space-md); }
.u-mb-lg { margin-bottom: var(--space-lg); }

/* Text */
.u-text-center { text-align: center; }
.u-text-left { text-align: left; }
.u-text-muted { color: var(--slate); }
.u-text-teal { color: var(--teal); }
.u-text-orange { color: var(--burnt-orange); }
.u-text-brown { color: var(--deep-brown); }

.u-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal);
}

.u-eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
}

.u-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burnt-orange);
}

.u-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #5a4a42;
}

.u-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.u-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.u-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Surfaces */
.u-surface {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.u-surface-sand {
  background: var(--sand-50);
}

.u-rounded { border-radius: var(--radius-md); }
.u-rounded-lg { border-radius: var(--radius-lg); }

.u-shadow-sm { box-shadow: var(--shadow-sm); }
.u-shadow-md { box-shadow: var(--shadow-md); }

/* Media */
.u-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.u-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.u-aspect-video {
  aspect-ratio: 16 / 9;
}

.u-aspect-square {
  aspect-ratio: 1;
}

/* Visibility */
.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.u-hide-mobile {
  display: none;
}

@media (min-width: 769px) {
  .u-hide-mobile {
    display: initial;
  }

  .u-hide-desktop {
    display: none;
  }
}

/* Simple fade-in for content (replaces heavy reveal stacks) */
.u-fade-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js .u-fade-in.is-pending {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .js .u-fade-in.is-visible,
  .js .u-fade-in.visible {
    opacity: 1;
    transform: none;
  }
}

.is-clickable { cursor: pointer; }
.is-hidden { display: none !important; }


.u-text-xs { font-size: 0.6rem; }
.u-chip { font-size: 0.62rem; width: auto; padding: 0 8px; letter-spacing: 0.06em; }
.u-link-accent { cursor: pointer; color: var(--burnt-orange); }
.u-span-2 { grid-column: span 2; }
.u-media-cover { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; display: block; }
.u-media-sand { background: #f5f5dc; border-radius: 0; }
.u-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 1em 0; }
.u-embed--rounded { border-radius: 6px; margin: 1.25rem 0; }
.u-embed__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.u-pb-lg { padding-bottom: 4rem; }
.u-text-danger { color: #c00; }
.u-text-strong { font-weight: 700; color: var(--lj-earth, #3d2321); }
.u-card-in { animation: cardIn 0.4s ease both; }
.u-card-in--0 { animation-delay: 0ms; }
.u-card-in--1 { animation-delay: 60ms; }
.u-card-in--2 { animation-delay: 120ms; }
.u-card-in--3 { animation-delay: 180ms; }
.u-card-in--4 { animation-delay: 240ms; }
.u-card-in--5 { animation-delay: 300ms; }
.u-card-in--6 { animation-delay: 360ms; }
.u-card-in--7 { animation-delay: 420ms; }
.u-card-in--8 { animation-delay: 480ms; }
.u-card-in--9 { animation-delay: 540ms; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

[data-base-rot] {
  --base-rot: 0deg;
  --base-x: 0px;
  --base-y: 0px;
}


/* components.css */
/* Buttons */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: 40px;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.c-btn--primary {
  background: var(--burnt-orange);
  color: var(--white);
}

.c-btn--primary:hover {
  background: var(--burnt-orange-dark);
}

.c-btn--teal {
  background: var(--teal);
  color: var(--white);
}

.c-btn--teal:hover {
  background: var(--teal-dark);
}

.c-btn--ghost {
  background: transparent;
  color: var(--deep-brown);
  border: 1px solid rgba(61, 35, 33, 0.18);
}

.c-btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Cards */
.c-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.c-card:hover {
  box-shadow: var(--shadow-md);
}

.c-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand-200);
}

.c-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.c-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.c-card__meta {
  font-size: 0.78rem;
  color: var(--slate);
  margin-bottom: 0.65rem;
}

.c-card__excerpt {
  font-size: 0.95rem;
  color: #5a4a42;
  line-height: 1.65;
}

.c-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
}

.c-card__link:hover {
  color: var(--teal-dark);
}

/* Section heading block */
.c-section-head {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.c-section-head--center {
  text-align: center;
}

.c-section-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.c-section-head__desc {
  max-width: 40rem;
  color: #5a4a42;
  line-height: 1.75;
}

.c-section-head--center .c-section-head__desc {
  margin-inline: auto;
}

/* Navbar shell (shared patterns; page CSS may extend) */
.c-nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1400px;
  z-index: 1000;
  border-radius: 60px;
  background: rgba(26, 15, 13, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.c-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 1.25rem;
}

/* Footer ticket shell */
.c-footer {
  background: var(--lj-earth);
  color: var(--lj-paper);
}

/* Form controls */
.c-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.c-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--deep-brown);
}

.c-input,
.c-textarea,
.c-select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(61, 35, 33, 0.15);
  border-radius: var(--radius-md);
  background: var(--white);
  font: inherit;
  color: var(--deep-brown);
}

.c-input:focus,
.c-textarea:focus,
.c-select:focus {
  outline: 2px solid rgba(0, 168, 150, 0.35);
  outline-offset: 1px;
  border-color: var(--teal);
}

.c-textarea {
  min-height: 8rem;
  resize: vertical;
}

/* Loader (simple) */
.c-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-dark);
  color: var(--white);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.c-loader.is-hidden,
.c-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


/* style.css */
/* DESIGN TOKENS */
/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
::selection { background: rgba(0,168,150,.15); color: var(--deep-brown); }

body {
    font-family: 'Montserrat', 'Lato', sans-serif;
    color: var(--deep-brown);
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: -.011em;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--deep-brown);
    text-rendering: geometricPrecision;
    letter-spacing: -.025em;
}

img, video { max-width: 100%; height: auto; display: block; }
img.hero-bg,
.hero > img.hero-bg,
.hero-bg img,
img.hero-right-bg,
.hero-right > img,
.hero-right-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* TYPOGRAPHY */
.label-overline {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: .68rem; font-weight: 800;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--burnt-orange);
}

.eyebrow {
    font-size: .62rem; letter-spacing: 5px; text-transform: uppercase;
    color: var(--teal); font-weight: 700;
    display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--teal); }

/* LAYOUT UTILITIES */
.container     { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section       { padding: 100px 0; }
.section-light { background: var(--white); }
.text-center   { text-align: center; }
.mb-50         { margin-bottom: 50px; }

.dusty-bg, .section-light, .section-mission, .section-news, .section-updates, .split-panel {
    background-image:
        radial-gradient(circle at 20% 30%, rgba(221,111,62,.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0,168,150,.02) 0%, transparent 40%);
    background-color: var(--sand-50);
}

/* REVEAL ANIMATIONS (kept light for content pages) */
.reveal {
    opacity: 1;
    transform: none;
}
.reveal.visible   { opacity: 1; transform: none; }
.reveal-delay-1,
.reveal-delay-2,
.reveal-delay-3   { transition-delay: 0s; }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .35s ease, transform .35s ease;
  }
  .js .reveal.visible { opacity: 1; transform: none; }
  .js .reveal-delay-1 { transition-delay: .05s; }
  .js .reveal-delay-2 { transition-delay: .1s; }
  .js .reveal-delay-3 { transition-delay: .15s; }
}

/* PAGE LOADER */
#page-loader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--teal-dark);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 1.25rem;
    transition: opacity .35s ease, visibility .35s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem; font-weight: 700; color: var(--white); letter-spacing: .06em;
    opacity: 1;
}
.loader-logo em { color: var(--soft-sand); font-style: italic; font-weight: 400; }
.loader-timeline { width: min(380px, 80vw); display: flex; flex-direction: column; gap: .6rem; }
.loader-wave-wrap { position: relative; height: 48px; overflow: visible; }
.loader-wave-wrap svg { width: 100%; height: 48px; overflow: visible; }
.wave-base { stroke: rgba(255,255,255,.2); stroke-width: 2.5; fill: none; }
.wave-fill {
    stroke: var(--soft-sand); stroke-width: 2.5; fill: none;
    stroke-dasharray: 800; stroke-dashoffset: 800;
    animation: waveReveal 2.8s .3s cubic-bezier(.4,0,.2,1) forwards;
    filter: drop-shadow(0 0 6px rgba(243,233,210,.3));
}
@keyframes waveReveal { to { stroke-dashoffset: 0; } }
.loader-dots-row { display: flex; justify-content: space-between; padding: 0 2px; }
.loader-dot-item { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.loader-dot-circle {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.25);
    transition: background .5s, border-color .5s;
}
.loader-dot-circle.lit { background: var(--soft-sand); border-color: var(--soft-sand); box-shadow: 0 0 8px rgba(243,233,210,.6); }
.loader-dot-label {
    font-family: 'Lato', sans-serif; font-size: .58rem; letter-spacing: .1em;
    text-transform: uppercase; color: rgba(255,255,255,.4); transition: color .5s;
}
.loader-dot-item.lit .loader-dot-label { color: var(--soft-sand); }
.loader-subtitle {
    font-family: 'Lato', sans-serif; font-size: .72rem; font-weight: 300;
    letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5);
    text-align: center; margin-top: .4rem;
    opacity: 0; animation: loaderFadeIn 1.2s .6s ease forwards;
}
@keyframes loaderFadeIn { to { opacity: 1; } }

/* Alternate loader layout (gallery, store, archive, donate) */
.loader-inner {
    display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
}
.loader-inner .loader-logo {
    height: 64px; width: auto; object-fit: contain;
    font-size: unset;
    opacity: 0; animation: loaderFadeIn 1s .1s ease forwards;
    filter: brightness(0) invert(1);
}
.loader-dots {
    display: flex; gap: 10px; align-items: center;
}
.loader-dots .loader-dot-item { display: flex; }
.loader-dots .loader-dot-circle {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,.25); border: 2px solid rgba(255,255,255,.3);
    animation: loaderPulse 1.2s ease-in-out infinite;
}
.loader-dots .loader-dot-item:nth-child(2) .loader-dot-circle { animation-delay: .18s; }
.loader-dots .loader-dot-item:nth-child(3) .loader-dot-circle { animation-delay: .36s; }
@keyframes loaderPulse {
    0%,100% { background: rgba(255,255,255,.25); transform: scale(1); }
    50%      { background: var(--soft-sand);     transform: scale(1.3); box-shadow: 0 0 8px rgba(243,233,210,.5); }
}

/* NAVBAR */
.navbar {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: calc(100% - 40px); max-width: 1400px;
    background: rgba(255,255,255,.08);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    backdrop-filter: blur(8px) saturate(180%);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 60px; padding: 8px 25px; z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    transition: background .5s ease, border-color .5s, box-shadow .5s;
}
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    gap: 12px;
}

/* Prevent page CSS (button { min-height/padding }) from bloating the hamburger */
.navbar .menu-toggle,
button.menu-toggle#menuToggle {
    min-height: 44px !important;
    min-width: 44px !important;
    max-width: 48px;
    padding: 8px 10px !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    line-height: 1 !important;
    font-size: 1.35rem !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    box-shadow: none !important;
}

/* ── Logo ── */
.logo {
    font-family: 'Playfair Display', serif; font-size: 24px;
    text-decoration: none; color: white;
    display: flex; align-items: center; gap: 10px;
    text-shadow: 0 2px 5px rgba(0,0,0,.2);
    flex-shrink: 0;
}
.logo img {
    height: 56px; width: auto; object-fit: contain;
    /* Make logo white on dark-hero navbar */
    filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,.3));
    transition: filter .5s ease;
}

/* ── Nav links ── */
.nav-links { display: flex; list-style: none; gap: 28px; align-items: center; }
.nav-links a {
    text-decoration: none; color: rgba(255,255,255,.92); font-weight: 600;
    font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.6px;
    transition: color .3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,.35); position: relative;
}
.nav-links a:not(.nav-cta)::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
    height: 1.5px; background: var(--teal);
    transition: width .4s ease;
    filter: drop-shadow(0 0 4px rgba(0,168,150,.6));
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:not(.nav-cta):hover,
.nav-links a.active { color: #fff; }

/* ── Social icons ── */
.nav-social { display: flex; gap: 7px; align-items: center; margin-right: 8px; }
.nav-social a {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,.18);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.9); text-decoration: none;
    transition: all .25s ease;
    font-size: .72rem; border: 1px solid rgba(255,255,255,.22);
}
.nav-social a:hover { background: var(--teal); border-color: var(--teal); color: white; transform: translateY(-2px); }

/* ── Donate CTA ── */
.nav-cta {
    background: var(--burnt-orange); color: white !important;
    padding: 8px 22px; border-radius: 40px; font-weight: 700; border: none;
    box-shadow: 0 4px 15px rgba(221,111,62,.35);
    transition: background .4s, transform .4s ease, box-shadow .4s;
    text-shadow: none !important;
}
.nav-cta:hover { background: var(--burnt-orange-dark); transform: translateY(-2px); color: white !important; box-shadow: 0 6px 20px rgba(221,111,62,.45); }
.nav-cta::after { display: none !important; }

/* ── Search button ── */
.nav-search-btn { color: rgba(255,255,255,.85); transition: color .3s ease; cursor: pointer; }
.nav-search-btn:hover { color: var(--burnt-orange); }

/* ── Mobile toggle ── */
.menu-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    font-family: inherit;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    display: none;
    font-size: 1.35rem;
    cursor: pointer;
    color: white;
    transition: color .4s, background .25s;
    flex-shrink: 0;
    border-radius: 10px;
}
.menu-toggle:hover {
    color: var(--teal, #00A896);
}
.menu-toggle:focus-visible,
.nav-links a:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}
.menu-toggle[aria-expanded="true"] {
    color: var(--teal, #00A896);
}
body.nav-open {
    overflow: hidden;
    touch-action: none;
}

/* ── Scrolled / light-background state ── */
.navbar-light {
    background: rgba(255,255,255,.95);
    border-color: rgba(61,35,33,.1);
    box-shadow: 0 8px 32px rgba(61,35,33,.08);
}
.navbar-light .logo img {
    /* Restore real logo colors on light navbar */
    filter: none;
}
.navbar-light .logo { color: var(--deep-brown); text-shadow: none; }
.navbar-light .nav-links a {
    color: var(--teal); text-shadow: none;
}
.navbar-light .nav-links a:not(.nav-cta):hover,
.navbar-light .nav-links a.active { color: var(--teal-dark); }
.navbar-light .nav-links a:not(.nav-cta)::after {
    background: var(--teal); filter: none;
}
.navbar-light .nav-social a {
    background: rgba(61,35,33,.07); color: var(--deep-brown); border-color: rgba(61,35,33,.14);
}
.navbar-light .nav-social a:hover { background: var(--teal); color: white; border-color: var(--teal); }
.navbar-light .menu-toggle { color: var(--deep-brown); }
.navbar-light .nav-search-btn { color: var(--deep-brown); }
.navbar-light .nav-search-btn:hover { color: var(--teal); }

/* HERO (shared patterns) */
.hero {
    position: relative; min-height: 60vh;
    display: flex; align-items: center;
    background-size: cover; background-position: center;
    color: white;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(44,26,24,.6) 0%, rgba(61,35,33,.75) 100%);
}
.hero-content { position: relative; z-index: 1; }

/* Hero Slider (home) */
.wrapper { height: calc(100vh - 50px); min-height: 36rem; position: relative; }
.slide-wrapper {
    background-size: cover; height: 100%; background-position: center center;
    position: absolute; width: 100%;
    opacity: 0; transition: opacity 1s ease-in-out; will-change: opacity; pointer-events: none;
}
.slide-wrapper.active { opacity: 1; pointer-events: auto; animation: kenBurns 8s ease-out forwards; }
.slide-inner { position: relative; z-index: 2; height: 100%; overflow: hidden; }
.slide-content {
    color: #fff; margin-top: 5rem; position: absolute;
    top: 50%; left: calc(13vw + 0.7 * 48vh);
    transform: translateY(-50%); display: flex; flex-direction: column;
}
.slide-content-text {
    font-family: 'Playfair Display'; font-size: 9rem;
    letter-spacing: -.03em; line-height: .87; font-weight: 900;
    text-shadow: 0 2px 20px rgba(0,0,0,.25), 0 4px 60px rgba(0,0,0,.12);
}
.slide-content-text > span { display: block; }
.slide-content-text > span:last-child { padding-left: 3rem; }
.slide-content-cta {
    font-family: 'Montserrat'; text-transform: uppercase; color: #fff;
    letter-spacing: .18rem; font-size: .68rem; line-height: 1;
    cursor: pointer; align-self: flex-start; margin-top: 4.5rem;
    margin-left: calc(0.3 * 48vh + 4.5rem);
    padding: 1rem 2.4rem;
    border-left: 1px solid rgba(255,255,255,.6);
    border-right: 1px solid rgba(255,255,255,.6);
    transition: all .35s ease;
    font-weight: 700; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); background: rgba(255,255,255,.06);
}
.slide-content-cta:hover { color: var(--deep-brown); background-color: #fff; border-color: #fff; transform: translateY(-1px); }
.slide-side-text {
    font-family: 'Montserrat'; text-transform: uppercase; color: #fff;
    letter-spacing: .12rem; font-size: .7rem; line-height: 1;
    position: absolute; left: calc(13vw - 3rem); writing-mode: vertical-rl;
    top: calc((50% - 31vh) + 2.5vh);
}
.slide-side-text > span:first-child { font-weight: 700; }
.slide-side-text::after {
    content: ''; width: 1px; background-color: #fff; height: 40px;
    display: block; position: absolute; top: calc(100% + 25px);
    left: 50%; transform: translateX(-50%);
}
.pagination-container {
    position: absolute; z-index: 200;
    display: flex; flex-direction: column; align-items: flex-end;
    right: 2rem; top: 50%; transform: translateY(-50%);
}
.pagination-item {
    width: 32px; height: 2px;
    background-color: rgba(255,255,255,.35);
    transition: all .5s cubic-bezier(.22,.61,.36,1);
    border-radius: 2px; cursor: pointer;
}
.pagination-item + .pagination-item { margin-top: 1rem; }
.pagination-item.active {
    background-color: #fff; position: relative;
    width: 48px; height: 3px; transform: translateX(-.5rem);
    box-shadow: 0 0 8px rgba(255,255,255,.3); cursor: default;
}
.pagination-item.active::after {
    content: ''; height: 5px; width: 3px; border-radius: 50%;
    background-color: var(--burnt-orange); display: inline-block;
    position: absolute; right: -2px; top: 50%; transform: translateY(-50%);
}

/* Scroll hint */
.scroll-hint {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 100; display: flex; flex-direction: column; align-items: center;
    gap: .5rem; cursor: pointer;
    transition: opacity .3s, transform .3s;
    animation: scrollHintFade 2s ease-in-out infinite;
}
.scroll-hint:hover { transform: translateX(-50%) translateY(-4px); opacity: .9; }
.scroll-mouse {
    width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.8);
    border-radius: 12px; position: relative;
    background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.scroll-wheel {
    width: 4px; height: 6px; background: rgba(255,255,255,.9);
    border-radius: 2px; position: absolute; top: 6px; left: 50%;
    transform: translateX(-50%); animation: scrollWheel 1.5s ease-in-out infinite;
}
.scroll-text {
    font-family: 'Montserrat', sans-serif; font-size: .6rem;
    text-transform: uppercase; letter-spacing: .15em;
    color: rgba(255,255,255,.85); font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
}
@keyframes scrollWheel { 0%,100% { transform: translateX(-50%) translateY(0); opacity: 1; } 50% { transform: translateX(-50%) translateY(6px); opacity: .5; } }
@keyframes scrollHintFade { 0%,100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes kenBurns { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }
[v-cloak] { visibility: hidden; }

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Montserrat', sans-serif; font-weight: 700;
    text-decoration: none; cursor: pointer;
    border: none; border-radius: var(--radius-sm);
    transition: all .5s ease;
}

.btn--teal  { background: var(--teal);        color: white; padding: 14px 40px; letter-spacing: 1.5px; text-transform: uppercase; font-size: .8rem; }
.btn--teal:hover  { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,168,150,.25); }

.btn--orange { background: var(--burnt-orange); color: white; padding: 14px 40px; letter-spacing: 1.5px; text-transform: uppercase; font-size: .8rem; }
.btn--orange:hover { background: var(--burnt-orange-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(221,111,62,.3); }

.btn--outline {
    border: 1.5px solid var(--white); color: var(--white);
    background: transparent; padding: 12px 32px;
    font-weight: 700; letter-spacing: 1.5px;
    font-size: .8rem; text-transform: uppercase;
}
.btn--outline:hover { background: var(--white); color: var(--teal); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }

.btn--outline-sand {
    border: 1.5px solid var(--soft-sand); color: var(--soft-sand); background: transparent;
    padding: 14px 40px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
    font-size: .8rem;
}
.btn--outline-sand:hover { background: var(--soft-sand); color: var(--deep-brown); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(243,233,210,.2); }

.btn--archive {
    display: inline-flex; align-items: center; gap: 10px; background: transparent;
    border: 1.5px solid rgba(195,127,88,.55); color: var(--copper-tan);
    padding: 14px 36px; font-size: .75rem; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none;
    transition: all .5s cubic-bezier(.16,1,.3,1);
}
.btn--archive:hover { background: var(--copper-tan); color: #1a0f0c; transform: translateY(-2px); box-shadow: 0 12px 36px rgba(195,127,88,.3); border-color: var(--copper-tan); }
.btn--archive i { font-size: 10px; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.btn--archive:hover i { transform: translateX(4px); }

.btn--cta {
    display: inline-flex; align-items: center; gap: 10px;
    border: 2px solid transparent;
    background: linear-gradient(#FAF7F1,#FAF7F1) padding-box, linear-gradient(135deg,#006B62 0%,#DD6F3E 100%) border-box;
    color: #2C1810; padding: 14px 38px; font-size: 11px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase; border-radius: 4px;
}
.btn--cta:hover { background: linear-gradient(135deg,#006B62 0%,#DD6F3E 100%) border-box; color: #FAF7F1; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,107,98,.25); }
.btn--cta i { font-size: 10px; transition: transform .4s ease; }
.btn--cta:hover i { transform: translateX(4px); }

/* Legacy aliases kept for pages that use old class names */
.btn-outline      { border: 1.5px solid var(--white); color: var(--white); background: transparent; padding: 12px 32px; font-weight: 700; letter-spacing: 1.5px; font-size: .8rem; text-transform: uppercase; display: inline-block; text-decoration: none; transition: all .5s ease; }
.btn-outline:hover { background: var(--white); color: var(--teal); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.btn-outline-sand { border: 1.5px solid var(--soft-sand); color: var(--soft-sand); background: transparent; padding: 14px 40px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none; display: inline-block; font-size: .8rem; transition: all .5s ease; }
.btn-outline-sand:hover { background: var(--soft-sand); color: var(--deep-brown); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(243,233,210,.2); }
.btn-archive { display: inline-flex; align-items: center; gap: 10px; background: transparent; border: 1.5px solid rgba(195,127,88,.55); color: var(--copper-tan); padding: 14px 36px; font-size: .75rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none; transition: all .5s cubic-bezier(.16,1,.3,1); }
.btn-archive:hover { background: var(--copper-tan); color: #1a0f0c; transform: translateY(-2px); box-shadow: 0 12px 36px rgba(195,127,88,.3); border-color: var(--copper-tan); }
.btn-cta { display: inline-flex; align-items: center; gap: 10px; border: 2px solid transparent; background: linear-gradient(#FAF7F1,#FAF7F1) padding-box, linear-gradient(135deg,#006B62 0%,#DD6F3E 100%) border-box; color: #2C1810; padding: 14px 38px; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: all .5s ease; border-radius: 4px; }
.btn-cta:hover { background: linear-gradient(135deg,#006B62 0%,#DD6F3E 100%) border-box; color: #FAF7F1; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,107,98,.25); }
.btn-subscribe { width: 100%; padding: 12px; background: var(--teal); color: #fff; border: none; border-radius: var(--radius-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .75rem; cursor: pointer; transition: all .5s ease; }
.btn-subscribe:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* FORMS */
input, textarea, select {
    font-family: inherit; font-size: 1rem;
    color: var(--deep-brown); background: transparent;
    border: none; outline: none;
}
input[type="email"],
input[type="text"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--sand-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: border-color .4s ease, box-shadow .4s;
    font-size: .95rem;
}
input[type="email"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0,168,150,.1);
    outline: none;
}
textarea { resize: vertical; min-height: 130px; }
label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .5px; margin-bottom: 6px; color: var(--deep-brown); }

/* CARDS */
.card {
    background: var(--white); border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform .7s ease, box-shadow .7s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { height: 250px; background-size: cover; background-position: center; }
.card-body { padding: 32px; }
.card-body h3 { margin-bottom: 16px; font-size: 1.5rem; color: var(--deep-brown); letter-spacing: -.01em; }
.card-body p { font-size: .95rem; color: #666; margin-bottom: 25px; line-height: 1.75; }

/* Update cards (blog feed) */
.update-card {
    overflow: hidden; border: 1px solid rgba(61,35,33,.10); border-radius: 18px;
    background: rgba(255,255,255,.92); box-shadow: 0 14px 40px rgba(61,35,33,.08);
    transition: transform .38s cubic-bezier(.16,1,.3,1), box-shadow .38s, border-color .38s;
    position: relative;
}
.update-card::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 18% 8%, rgba(0,168,150,.10) 0%, transparent 46%), radial-gradient(circle at 88% 0%, rgba(221,111,62,.10) 0%, transparent 52%);
    opacity: .55;
}
.update-card:hover { transform: translateY(-6px); box-shadow: 0 24px 70px rgba(61,35,33,.14); border-color: rgba(0,168,150,.22); }
.update-card-inner { overflow: hidden; border-radius: 16px; margin: 10px; position: relative; z-index: 1; background: linear-gradient(135deg,rgba(0,168,150,.08) 0%,rgba(221,111,62,.06) 100%); min-height: 220px; }
.update-card-inner.no-image { background: linear-gradient(135deg,rgba(0,168,150,.15) 0%,rgba(221,111,62,.12) 100%); display: flex; align-items: center; justify-content: center; }
.update-card-inner.no-image::before { content: '\f03e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 3rem; color: rgba(61,35,33,.12); }
.update-card img { width: 100%; height: 220px; object-fit: cover; transition: transform .9s ease, filter .6s ease; filter: saturate(.95) contrast(1.02); display: block; }
.update-card:hover img { transform: scale(1.07); filter: saturate(1.06) contrast(1.02); }
.update-card-body { padding: 16px 18px 10px; position: relative; z-index: 1; }
.update-card-body h4 { font-size: 1.1rem; font-weight: 700; color: var(--deep-brown); margin-bottom: 10px; letter-spacing: -.012em; line-height: 1.25; }
.update-card-body p { color: rgba(61,35,33,.68); line-height: 1.75; font-size: .95rem; }
.update-card-cat {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .68rem; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
    color: rgba(44,26,24,.92);
    background: linear-gradient(135deg,rgba(0,168,150,.16),rgba(221,111,62,.12));
    border-radius: 999px; padding: 6px 12px; margin-bottom: 12px; border: 1px solid rgba(61,35,33,.10);
}
.update-card-cat::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0,168,150,.14); }
.update-card-foot { display: flex; justify-content: space-between; align-items: center; padding: 0 18px 18px; position: relative; z-index: 1; }
.update-card-read { font-size: .78rem; font-weight: 900; color: rgba(0,168,150,.95); text-decoration: none; letter-spacing: 1.5px; text-transform: uppercase; transition: color .2s, transform .2s; display: inline-flex; align-items: center; gap: 8px; }
.update-card-read::after { content: '›'; font-size: 1.05rem; line-height: 1; transform: translateY(-1px); }
.update-card:hover .update-card-read { color: var(--burnt-orange); transform: translateX(2px); }

/* Loading skeleton */
.loading-skeleton { background: white; border-radius: 18px; padding: 10px; animation: skeleton-pulse 1.5s ease-in-out infinite; }
.skeleton-image { height: 220px; background: linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%); background-size: 200% 100%; border-radius: 16px; margin-bottom: 16px; animation: skeleton-shimmer 1.5s infinite; }
.skeleton-text { height: 16px; background: linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%); background-size: 200% 100%; border-radius: 4px; margin-bottom: 8px; animation: skeleton-shimmer 1.5s infinite; }
.skeleton-text.short { width: 60%; }
@keyframes skeleton-pulse { 0%,100% { opacity: 1; } 50% { opacity: .7; } }
@keyframes skeleton-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* News card (featured) */
.news-card {
    display: flex; flex-wrap: wrap; background: #fff; overflow: hidden; position: relative;
    box-shadow: var(--shadow-lg); max-width: 960px; margin: 0 auto;
    border-radius: var(--radius-md); transition: box-shadow .6s ease;
}
.news-card:hover { box-shadow: var(--shadow-xl); }
.news-card-body {
    flex: 1; min-width: 260px; background: var(--teal); padding: 48px 42px;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; overflow: hidden;
}
.news-card-body::before { content: ''; position: absolute; top: -50%; right: -30%; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.04); }
.news-card-body h3 { font-family: 'Playfair Display', serif; font-size: 1.45rem; color: #fff; margin-bottom: 16px; letter-spacing: -.01em; line-height: 1.35; }
.news-card-body p  { font-size: 14px; line-height: 1.85; color: rgba(255,255,255,.88); }
.news-card-body a  { display: inline-block; margin-top: 22px; font-size: 11px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 2.5px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 3px; transition: all .5s ease; }
.news-card-body a:hover { border-bottom-color: var(--burnt-orange); color: var(--soft-sand); padding-bottom: 5px; }
.news-card-img { flex: 1; min-width: 280px; min-height: 320px; background: url('https://i.postimg.cc/Qtcsn003/IMG-0880.jpg') center/cover no-repeat; transition: background-image .5s ease; }

/* MISSION SECTION */
.section-mission { padding: 44px 0 28px; }
.mission-layout { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; }
.mission-accent { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 6px; }
.mission-accent-line { width: 2px; height: 56px; background: linear-gradient(180deg,var(--burnt-orange) 0%,var(--copper-tan) 100%); border-radius: 2px; }
.mission-accent-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--burnt-orange); }
.mission-content { max-width: 720px; }
.mission-label { display: inline-block; font-family: 'Lato',sans-serif; font-size: .68rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--burnt-orange); margin-bottom: 12px; }
.mission-heading { font-size: clamp(1.85rem,3.6vw,2.75rem); letter-spacing: -.03em; line-height: 1.12; color: var(--deep-brown); margin-bottom: 14px; }
.mission-heading em { font-style: normal; color: var(--burnt-orange); }
.mission-body { font-size: 1.02rem; line-height: 1.85; color: #5a4a42; margin-bottom: 18px; }
.mission-stats { display: flex; gap: 32px; padding-top: 18px; border-top: 1px solid var(--sand-300); }
.mission-stat-num { font-family: 'Playfair Display',serif; font-size: 1.8rem; font-weight: 700; color: var(--deep-brown); line-height: 1; }
.mission-stat-label { font-size: .75rem; letter-spacing: 1px; text-transform: uppercase; color: var(--copper-tan); margin-top: 4px; }
.mission-img-wrap { position: relative; width: 276px; height: 276px; flex-shrink: 0; }
.mission-img-wrap::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed var(--sand-300); animation: missionSpin 30s linear infinite; }
.mission-img-wrap::after { content: ''; position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%); width: 70%; height: 24px; background: radial-gradient(ellipse,rgba(61,35,33,.15) 0%,transparent 70%); border-radius: 50%; }
.mission-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 18px 40px rgba(61,35,33,.12),0 6px 12px rgba(61,35,33,.08); border: 4px solid var(--white); position: relative; z-index: 1; }
@keyframes missionSpin { to { transform: rotate(360deg); } }

/* SECTION: WHY / VIDEO */
.section-why {
    background: url('https://i.postimg.cc/tJyy0WMJ/IMG-1466.jpg') center/cover fixed;
    position: relative; padding: 120px 5%; text-align: center; color: #fff;
}
.section-why::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(44,26,24,.75) 0%,rgba(61,35,33,.85) 100%); }
.section-why > * { position: relative; z-index: 2; }
.section-why h2 { font-family: 'Playfair Display',serif; font-size: 2.8rem; color: var(--soft-sand); letter-spacing: -.02em; }
.section-why p  { max-width: 680px; margin: 24px auto 36px; color: rgba(243,233,210,.85); line-height: 1.85; font-size: 1.05rem; }

.section-video { padding: 80px 5%; background: var(--teal); position: relative; overflow: hidden; }
.paleo-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; opacity: .1; background: repeating-linear-gradient(45deg,rgba(44,26,24,.08) 0px,rgba(44,26,24,.08) 20px,rgba(195,127,88,.12) 20px,rgba(195,127,88,.06) 40px); background-size: 80px 80px; animation: shiftStrata 30s linear infinite; }
@keyframes shiftStrata { 0% { background-position: 0 0; } 100% { background-position: 160px 160px; } }
.video-with-text { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.video-text h2 { font-size: 2.4rem; margin-bottom: 22px; color: var(--white); letter-spacing: -.02em; }
.video-text p  { font-size: 1.05rem; color: rgba(255,255,255,.85); margin-bottom: 24px; line-height: 1.8; }
.video-col .video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; background: #000; border-radius: var(--radius-md); overflow: hidden; transition: transform .7s ease, box-shadow .7s ease; }
.video-wrapper:hover { transform: scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,.25); }

/* SECTION: ARCHIVES */
.section-archives {
    background:
        radial-gradient(ellipse 90% 60% at 10% 100%, rgba(0,168,150,.10) 0%, transparent 55%),
        radial-gradient(ellipse 85% 65% at 90% 0%, rgba(221,111,62,.14) 0%, transparent 52%),
        linear-gradient(170deg, #0E0B08 0%, #1a0f0c 55%, #0f1410 100%);
    padding: 100px 5%; position: relative; overflow: hidden;
}
.section-archives::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg,rgba(0,168,150,.14) 0%,rgba(0,168,150,.08) 36%,rgba(221,111,62,.16) 36%,rgba(221,111,62,.08) 100%); clip-path: polygon(58% 0,100% 0,100% 100%,42% 100%); opacity: .55; z-index: 0; }
.section-archives::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 200px; opacity: .04; mix-blend-mode: overlay; }
.archives-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,6vw,7rem); align-items: center; position: relative; z-index: 1; }
.archives-eyebrow { font-size: .62rem; letter-spacing: 5px; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.archives-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--teal); }
.archives-title { font-family: 'Playfair Display',serif; font-size: clamp(2.4rem,4.5vw,3.8rem); color: #F3E9D2; line-height: 1.05; letter-spacing: -.03em; margin-bottom: 24px; }
.archives-title em { font-style: italic; color: var(--copper-tan); }
.archives-rule { width: 52px; height: 2px; background: linear-gradient(90deg,var(--copper-tan),var(--teal)); margin-bottom: 24px; }
.archives-desc { font-size: 1rem; font-weight: 300; line-height: 1.85; color: rgba(234,226,212,.6); max-width: 480px; margin-bottom: 40px; }
.archives-meta { display: flex; gap: 2.5rem; margin-bottom: 40px; flex-wrap: wrap; }
.archives-meta-num { font-family: 'Playfair Display',serif; font-size: 2.2rem; font-weight: 700; line-height: 1; color: #F3E9D2; letter-spacing: -.04em; }
.archives-meta-label { font-size: .62rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2.5px; color: rgba(234,226,212,.4); margin-top: 4px; }
.archives-meta-sep { width: 1px; background: rgba(234,226,212,.08); align-self: stretch; }
.archives-right { position: relative; height: clamp(320px,42vw,500px); }
.arch-polaroid { position: absolute; background: #fdfaf4; padding: 9px 9px 38px; box-shadow: 0 16px 48px rgba(0,0,0,.55); transition: transform .5s cubic-bezier(.34,1.56,.64,1), box-shadow .5s cubic-bezier(.16,1,.3,1); cursor: pointer; }
.arch-polaroid:hover { transform: scale(1.06) rotate(0deg) !important; box-shadow: 0 30px 80px rgba(0,0,0,.7); z-index: 10; }
.arch-polaroid img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) brightness(.88); transition: filter .5s cubic-bezier(.16,1,.3,1); }
.arch-polaroid:hover img { filter: saturate(1.1) brightness(1.05); }
.arch-polaroid .ap-label { position: absolute; bottom: 0; left: 0; right: 0; height: 38px; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display',serif; font-size: .65rem; color: #2C1A18; font-style: italic; text-align: center; padding: 0 8px; opacity: 0; transition: opacity .35s; }
.arch-polaroid:hover .ap-label { opacity: 1; }
.arch-p1 { width: 52%; height: 62%; top: 0; left: 4%; transform: rotate(-4.5deg); z-index: 3; }
.arch-p2 { width: 44%; height: 52%; top: 8%; right: 0; transform: rotate(3.2deg); z-index: 2; }
.arch-p3 { width: 46%; height: 54%; bottom: 0; left: 0; transform: rotate(2.8deg); z-index: 4; }
.arch-p4 { width: 40%; height: 48%; bottom: 4%; right: 5%; transform: rotate(-3.1deg); z-index: 1; }
.arch-dot { position: absolute; top: 42%; left: 48%; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 24px rgba(0,168,150,.6); animation: archDotPulse 2.8s ease-in-out infinite; z-index: 5; }
@keyframes archDotPulse { 0%,100% { opacity: .4; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.3); } }

/* SECTION: UPDATES / TABS */
.section-updates {
    background:
        linear-gradient(135deg,rgba(0,168,150,.10) 0%,rgba(253,250,244,.92) 38%,rgba(221,111,62,.12) 100%),
        radial-gradient(110% 80% at 18% 24%,rgba(255,255,255,.55) 0%,rgba(255,255,255,0) 62%),
        radial-gradient(95% 75% at 82% 78%,rgba(230,247,245,.48) 0%,rgba(236,245,242,0) 64%);
    position: relative; padding: 60px 0;
}
.updates-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.tabs { display: flex; border-bottom: 1.5px solid var(--sand-300); margin-bottom: 24px; }
.tab { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 12px 0; margin-right: 32px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1.5px; color: #999; transition: all .5s ease; }
.tab.active { border-color: var(--burnt-orange); color: var(--deep-brown); }
.tab:hover:not(.active) { color: var(--copper-tan); }
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; transition: opacity .5s cubic-bezier(.4,0,.2,1); }
.cards-grid.cycling-fade { opacity: 0; }

/* SECTION: CTA */
.cta {
    position: relative; overflow: hidden;
    padding: clamp(60px,10vw,120px) clamp(24px,6vw,120px);
    text-align: center;
    background:
        linear-gradient(135deg,rgba(0,168,150,.12) 0%,rgba(250,247,241,.95) 38%,rgba(221,111,62,.14) 100%),
        radial-gradient(110% 80% at 18% 24%,rgba(255,255,255,.60) 0%,rgba(255,255,255,0) 62%),
        radial-gradient(95% 75% at 82% 78%,rgba(230,247,245,.50) 0%,rgba(236,245,242,0) 64%);
}
.cta::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 15% 30%,rgba(0,168,150,.12) 0%,transparent 50%), radial-gradient(circle at 85% 25%,rgba(221,111,62,.12) 0%,transparent 55%), linear-gradient(180deg,rgba(61,35,33,.02) 0%,rgba(61,35,33,0) 40%,rgba(61,35,33,.03) 100%); mix-blend-mode: multiply; opacity: .9; }
.cta > * { position: relative; z-index: 1; }
.cta .label { font-size: .65rem; letter-spacing: 4px; text-transform: uppercase; background: linear-gradient(135deg,#006B62 0%,#DD6F3E 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 700; margin-bottom: 16px; display: block; }
.cta h2 { font-family: 'Playfair Display',serif; font-size: clamp(1.8rem,3.5vw,2.8rem); background: linear-gradient(135deg,#2C1810 0%,#006B62 50%,#DD6F3E 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 16px; line-height: 1.15; letter-spacing: -.02em; }
.cta p  { font-size: .95rem; color: rgba(61,35,33,.75); max-width: 480px; margin: 0 auto 36px; line-height: 1.85; }

/* SECTION: SPLIT PANEL */
.section-split { display: grid; grid-template-columns: 1fr 1fr; }
.split-img-1 { min-height: 480px; position: relative; overflow: hidden; background: var(--teal); }
.split-img-1 img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.split-panel {
    padding: 80px 10%; display: flex; flex-direction: column; justify-content: center;
    position: relative; overflow: hidden;
    background:
        linear-gradient(135deg,rgba(0,168,150,.12) 0%,rgba(253,250,244,.95) 40%,rgba(221,111,62,.14) 100%),
        radial-gradient(110% 80% at 20% 30%,rgba(255,255,255,.6) 0%,rgba(255,255,255,0) 55%),
        linear-gradient(180deg,#f5f0e8 0%,#faf6ee 50%,#f3ece0 100%);
}
.split-panel h2 { font-size: 2.2rem; margin-bottom: 22px; letter-spacing: -.02em; color: var(--deep-brown); }
.split-panel > p { line-height: 1.8; color: rgba(61,35,33,.75); margin-bottom: 8px; }
.accordion-item { border-bottom: 1px solid rgba(61,35,33,.08); padding: 20px 0; cursor: pointer; }
.accordion-header { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--deep-brown); font-size: .95rem; text-transform: uppercase; letter-spacing: 1.5px; }
.accordion-header i { transition: transform .6s ease; color: var(--copper-tan); font-size: .85rem; }
.accordion-item.open .accordion-header i { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .7s ease, padding .7s ease; color: #555; font-size: .95rem; line-height: 1.75; }
.accordion-item.open .accordion-content { max-height: 300px; padding-top: 18px; }

/* GALLERY */
.gallery-scroll { width: 100%; overflow-x: auto; overflow-y: hidden; white-space: nowrap; -webkit-overflow-scrolling: touch; padding: 32px 0; cursor: grab; scrollbar-width: thin; scrollbar-color: var(--copper-tan) var(--sand-100); background: var(--sand-50); }
.gallery-scroll:active { cursor: grabbing; }
.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-track { background: var(--sand-100); }
.gallery-scroll::-webkit-scrollbar-thumb { background-color: var(--copper-tan); border-radius: 20px; }
.gallery-track { display: inline-flex; gap: 18px; padding: 0 5%; }
.gallery-item { width: 340px; height: 230px; background-size: cover; background-position: center; flex-shrink: 0; border-radius: var(--radius-md); position: relative; z-index: 1; transition: transform .7s ease, box-shadow .7s ease, filter .7s; filter: saturate(.9); }
.gallery-item:hover { transform: translateY(-4px) scale(1.04); z-index: 5; box-shadow: 0 16px 32px rgba(61,35,33,.15); filter: saturate(1.1); }

/* NEWSLETTER PANEL */
.newsletter-panel {
    position: fixed; bottom: 24px; left: 24px; width: 340px; z-index: 1001;
    background: var(--charcoal); color: var(--soft-sand); border-radius: var(--radius-lg);
    box-shadow: 0 12px 48px rgba(0,0,0,.35); padding: 32px 28px 24px;
    transform: translateY(120%) scale(.95); opacity: 0;
    transition: transform .6s ease, opacity .5s ease;
}
.newsletter-panel.open { transform: translateY(0) scale(1); opacity: 1; }
.newsletter-close { position: absolute; top: 12px; right: 14px; background: none; border: none; color: var(--soft-sand); font-size: 18px; cursor: pointer; transition: all .4s ease; }
.newsletter-close:hover { color: var(--burnt-orange); transform: rotate(90deg); }
.newsletter-panel h3 { font-family: 'Playfair Display',serif; color: #fff; margin-bottom: 8px; font-size: 1.15rem; }
.newsletter-panel p  { font-size: 13px; color: rgba(243,233,210,.8); line-height: 1.6; }
.newsletter-panel input[type="email"] { width: 100%; padding: 11px 12px; border: 1px solid rgba(183,160,149,.3); border-radius: var(--radius-sm); background: rgba(255,255,255,.06); color: #fff; margin: 16px 0 12px; font-size: .9rem; transition: border .4s ease, background .4s; }
.newsletter-panel input[type="email"]:focus { border-color: var(--burnt-orange); background: rgba(255,255,255,.1); outline: none; }
.newsletter-divider { border-color: rgba(183,160,149,.2); margin: 18px 0; }
.older-link { color: var(--copper-tan); text-decoration: none; font-size: 12px; transition: color .4s; }
.older-link:hover { color: var(--burnt-orange); }

/* COOKIE BANNER */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--charcoal); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    color: var(--soft-sand); padding: 18px 5%;
    display: flex; justify-content: space-between; align-items: center;
    gap: 20px; z-index: 999; flex-wrap: wrap;
    border-top: 1.5px solid var(--copper-tan); box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}
.cookie-banner p { font-size: 13px; line-height: 1.6; }
.cookie-banner a { color: var(--burnt-orange); transition: color .4s ease; text-decoration: none; border-bottom: 1px solid transparent; }
.cookie-banner a:hover { color: var(--soft-sand); border-bottom-color: var(--soft-sand); }
.cookie-btns { display: flex; gap: 10px; }
.cookie-btn { padding: 9px 22px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; border: none; border-radius: var(--radius-sm); transition: all .4s ease; }
.cookie-btn.accept { background: var(--teal); color: #fff; }
.cookie-btn.accept:hover { background: var(--teal-dark); transform: translateY(-1px); }
.cookie-btn.reject { background: transparent; color: var(--soft-sand); border: 1px solid rgba(243,233,210,.3); }
.cookie-btn.reject:hover { background: rgba(243,233,210,.1); border-color: var(--soft-sand); }

/* SEARCH MODAL */
.search-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26,15,13,.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    z-index: 10000; display: flex; align-items: flex-start; justify-content: center;
    padding-top: 100px; opacity: 0; visibility: hidden;
    transition: all .4s ease;
}
.search-modal.active { opacity: 1; visibility: visible; }
.search-modal-content {
    background: white; border-radius: 20px; width: 90%; max-width: 800px;
    max-height: 80vh; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.3);
    transform: translateY(-30px) scale(.95); transition: transform .4s ease;
}
.search-modal.active .search-modal-content { transform: translateY(0) scale(1); }
.search-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 32px; border-bottom: 1px solid var(--sand-300); }
.search-modal-header h3 { font-family: 'Playfair Display',serif; font-size: 1.5rem; color: var(--deep-brown); margin: 0; }
.search-modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; padding: 8px; border-radius: 50%; transition: all .3s ease; }
.search-modal-close:hover { background: var(--sand-200); }
.search-modal-body { padding: 32px; max-height: calc(80vh - 100px); overflow-y: auto; }

/* EXIT-INTENT POPUP */
.exit-popup {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26,15,13,.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all .4s ease;
}
.exit-popup.active { opacity: 1; visibility: visible; }
.exit-popup-content {
    background: linear-gradient(135deg,#FAF7F1 0%,#F3EAD6 100%);
    border-radius: 24px; padding: 48px; max-width: 500px; width: 90%;
    text-align: center; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.3);
    transform: translateY(30px) scale(.95); transition: transform .4s ease;
}
.exit-popup.active .exit-popup-content { transform: translateY(0) scale(1); }
.exit-popup-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 1.5rem; cursor: pointer; padding: 8px; border-radius: 50%; transition: all .3s ease; }
.exit-popup-close:hover { background: rgba(0,0,0,.1); }
.exit-popup-icon { width: 80px; height: 80px; margin: 0 auto 24px; background: linear-gradient(135deg,var(--teal) 0%,var(--burnt-orange) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: white; }
.exit-popup h3 { font-family: 'Playfair Display',serif; font-size: 2rem; color: var(--deep-brown); margin: 0 0 16px; line-height: 1.2; }
.exit-popup p  { color: rgba(61,35,33,.75); font-size: 1rem; line-height: 1.6; margin: 0 0 24px; }
.exit-popup-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.exit-popup-form input[type="email"] { padding: 14px 20px; border: 2px solid var(--sand-300); border-radius: 12px; font-size: 1rem; font-family: inherit; transition: all .3s; }
.exit-popup-form input[type="email"]:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,168,150,.1); }
.exit-popup-form button { padding: 14px 28px; background: linear-gradient(135deg,var(--teal) 0%,var(--burnt-orange) 100%); color: white; border: none; border-radius: 12px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all .4s ease; }
.exit-popup-form button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,168,150,.3); }
.exit-popup-note { font-size: .85rem !important; color: rgba(61,35,33,.75) !important; margin: 0 !important; opacity: .8; }

/* TICKET FOOTER */
.ticket-footer-wrapper {
    padding: 2rem 1rem 3rem;
    display: flex; justify-content: center;
    font-family: var(--font-footer);
}
.ticket-container {
    display: flex; flex-direction: column; width: 100%; max-width: 1200px;
    background-color: var(--lj-paper); border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,.2); color: var(--lj-earth); position: relative;
}
.ticket-main { flex: 1; padding: 2.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.ticket-header { display: flex; flex-direction: column; gap: .75rem; }
.ticket-logo { max-height: 65px; width: auto; }
.ticket-mission { font-size: .85rem; color: var(--lj-ink-light); max-width: 400px; margin: 0; line-height: 1.5; }
.ticket-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }
.ticket-nav a { color: var(--lj-earth); text-decoration: none; font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; transition: color .2s ease; }
.ticket-nav a:hover { color: var(--lj-accent); }
.ticket-nav a.donate-link { background-color: var(--lj-earth); color: var(--lj-paper); padding: .4rem 1rem; border-radius: 6px; }
.ticket-nav a.donate-link:hover { background-color: var(--lj-accent); }
.ticket-social-row { display: flex; gap: .5rem; margin: .5rem 0; width: 100%; justify-content: flex-start; order: 0; }
.ticket-social-row a { width: 28px; height: 28px; border-radius: 50%; background: rgba(61,35,33,.12); display: flex; align-items: center; justify-content: center; color: var(--lj-earth); text-decoration: none; transition: all .25s ease; font-size: .75rem; border: 1px solid rgba(61,35,33,.1); }
.ticket-social-row a:hover { background: var(--lj-accent); color: #fff; transform: translateY(-2px); border-color: var(--lj-accent); }
.ticket-legal { display: flex; flex-direction: column; gap: .5rem; font-size: .75rem; color: var(--lj-ink-light); border-top: 1px solid rgba(61,35,33,.1); padding-top: 1.5rem; }
.legal-links { display: flex; gap: 1.5rem; }
.legal-links a, .ddx-attr a { color: var(--lj-earth, #3D2321); text-decoration: none; font-weight: 700; }
.legal-links a:hover, .ddx-attr a:hover { text-decoration: underline; color: var(--lj-accent, #DD6F3E); }
.ddx-attr {
  display: block;
  margin: 0;
  font-size: .72rem;
  letter-spacing: .02em;
  opacity: .9;
}
.ddx-attr a {
  border-bottom: 1px dotted currentColor;
  transition: color .2s ease, border-color .2s ease;
}
.ddx-attr a:hover { border-bottom-color: transparent; }
.giraffe { display: inline-block; transition: transform .3s ease; }
.ddx-attr:hover .giraffe { transform: translateY(-3px) scale(1.1); }
.ticket-perforation {
    position: relative; display: flex; align-items: center; justify-content: center;
    height: 2px;
    background: repeating-linear-gradient(90deg,transparent,transparent 6px,rgba(61,35,33,.2) 6px,rgba(61,35,33,.2) 12px);
    margin: 0 1.5rem;
}
.ticket-perforation::before, .ticket-perforation::after {
    content: ''; position: absolute; width: 24px; height: 24px;
    background-color: var(--lj-earth); border-radius: 50%;
}
.ticket-stub {
    width: 100%; padding: 2.5rem;
    display: flex; flex-direction: column; justify-content: center;
    transition: transform .3s cubic-bezier(.175,.885,.32,1.275); cursor: pointer;
}
.stub-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 900; margin: 0 0 .5rem; color: var(--lj-accent); }
.stub-heading { font-size: 1.5rem; font-weight: 300; margin: 0 0 1.5rem; line-height: 1.2; }
.stub-form { display: flex; flex-direction: column; gap: 1rem; }
.stub-form input { background: transparent; border: none; border-bottom: 2px solid rgba(61,35,33,.2); padding: .5rem 0; font-family: var(--font-footer); font-size: .95rem; color: var(--lj-earth); outline: none; transition: border-color .3s ease; }
.stub-form input:focus { border-color: var(--lj-earth); }
.stub-form input::placeholder { color: var(--lj-ink-light); font-style: italic; }
.stub-form button { background-color: transparent; color: var(--lj-earth); border: 2px solid var(--lj-earth); padding: .6rem; border-radius: 6px; font-family: var(--font-footer); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; transition: all .2s ease; }
.stub-form button:hover { background-color: var(--lj-earth); color: var(--lj-paper); }
.barcode { margin-top: 2rem; height: 30px; width: 100%; background: linear-gradient(90deg, var(--lj-earth) 0%, var(--lj-earth) 5%, transparent 5%, transparent 8%, var(--lj-earth) 8%, var(--lj-earth) 10%, transparent 10%, transparent 15%, var(--lj-earth) 15%, var(--lj-earth) 22%, transparent 22%, transparent 24%, var(--lj-earth) 24%, var(--lj-earth) 26%, transparent 26%, transparent 30%, var(--lj-earth) 30%, var(--lj-earth) 32%, transparent 32%, transparent 35%, var(--lj-earth) 35%, var(--lj-earth) 45%, transparent 45%, transparent 48%, var(--lj-earth) 48%, var(--lj-earth) 50%, transparent 50%, transparent 55%, var(--lj-earth) 55%, var(--lj-earth) 60%, transparent 60%, transparent 62%, var(--lj-earth) 62%, var(--lj-earth) 70%, transparent 70%, transparent 75%, var(--lj-earth) 75%, var(--lj-earth) 77%, transparent 77%, transparent 80%, var(--lj-earth) 80%, var(--lj-earth) 85%, transparent 85%, transparent 88%, var(--lj-earth) 88%, var(--lj-earth) 95%, transparent 95%, transparent 97%, var(--lj-earth) 97%, var(--lj-earth) 100%); opacity: .3; }

/* ATLAS SECTION */
.atlas-section { background: linear-gradient(135deg,#EFE9DF 0%,#F7F2EA 50%,#E8E2D8 100%); padding: 70px 0 100px; position: relative; overflow: hidden; color: var(--deep-brown); }
.atlas-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 40%,rgba(0,168,150,.08) 0%,transparent 55%), radial-gradient(ellipse at 80% 60%,rgba(221,111,62,.06) 0%,transparent 50%); pointer-events: none; z-index: 1; }
.atlas-container { max-width: 1400px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.atlas-header { text-align: center; margin-bottom: 28px; }
.atlas-header h2 { color: var(--deep-brown); font-size: clamp(2.8rem,5.5vw,4.2rem); margin-bottom: 12px; font-family: 'Playfair Display',serif; letter-spacing: -.02em; font-weight: 700; }
.atlas-header .atlas-sub { color: var(--teal); letter-spacing: 4px; text-transform: uppercase; font-size: .88rem; font-weight: 800; }
.atlas-simple-grid { display: grid; grid-template-columns: 200px minmax(0,2.5fr) minmax(300px,1fr); gap: 22px; align-items: stretch; margin-bottom: 32px; }
.atlas-simple-nav { padding: 16px 14px; border-radius: 16px; background: #fff; border: 1px solid rgba(61,35,33,.1); box-shadow: 0 20px 35px rgba(0,0,0,.1); display: flex; flex-direction: column; gap: 8px; font-family: 'Lato',sans-serif; overflow-y: auto; }
.atlas-simple-label { font-size: .65rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(61,35,33,.6); }
.atlas-simple-tab { border-radius: 999px; border: 1px solid transparent; background: rgba(255,255,255,.7); padding: 10px 12px; font-size: .8rem; font-weight: 600; text-align: left; color: #33241c; cursor: pointer; transition: all .2s ease; }
.atlas-simple-tab.active, .atlas-simple-tab:hover { background: rgba(193,101,42,.15); border-color: rgba(193,101,42,.4); color: #c45e32; }
.atlas-simple-photo { background: #fff; border-radius: 18px; border: 1px solid rgba(61,35,33,.1); padding: 16px; box-shadow: 0 18px 36px rgba(0,0,0,.15); position: relative; overflow: hidden; min-height: 300px; }
.atlas-simple-photo img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; border-radius: 12px; display: block; background: #f5f2ed; }
.atlas-photo-caption { position: absolute; bottom: 18px; left: 22px; background: rgba(0,0,0,.6); color: #fff; padding: 6px 10px; border-radius: 6px; font-size: .7rem; }
.atlas-info-card { background: #fff; border-radius: 18px; padding: 32px; border: 1px solid rgba(61,35,33,.08); box-shadow: 0 18px 36px rgba(0,0,0,.12); }
.atlas-info-kicker { font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(61,35,33,.5); margin-bottom: 8px; }
.atlas-info-card h3 { margin: 0 0 12px; font-size: 2rem; }
.atlas-info-card p { line-height: 1.6; color: rgba(61,35,33,.85); }
.atlas-info-matrix { margin-top: 20px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; font-size: .85rem; color: rgba(61,35,33,.65); }
.atlas-info-matrix span { display: block; font-size: .7rem; letter-spacing: 1.6px; text-transform: uppercase; }
.atlas-info-matrix strong { font-size: .95rem; color: #1c1813; margin-top: 4px; }
.atlas-info-actions { margin-top: 22px; display: flex; gap: 12px; }
.atlas-btn-primary { background: #c45e32; border: none; color: #fff; font-weight: 600; }
.atlas-btn-muted { background: transparent; border: 1px solid rgba(61,35,33,.3); color: #3d2321; }
.atlas-ni { padding: 12px 20px; border-radius: 999px; font-size: .9rem; cursor: pointer; transition: transform .3s ease; text-decoration: none; display: inline-block; }
.atlas-ni:hover { transform: translateY(-1px); }

/* TRAVEL OPERATORS GRID */
.travel-operators-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 12px; margin-top: 24px; }
.travel-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 18px; background: linear-gradient(135deg,#ffffff 0%,#faf6ee 100%); border: 1px solid rgba(61,35,33,.08); border-radius: 12px; text-decoration: none; color: inherit; transition: all .3s cubic-bezier(.34,1.56,.64,1); box-shadow: 0 2px 8px rgba(61,35,33,.05); overflow: hidden; min-height: 80px; }
.travel-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,var(--teal) 0%,var(--burnt-orange) 100%); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.travel-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(61,35,33,.1); border-color: rgba(0,168,150,.25); }
.travel-card:hover::before { transform: scaleX(1); }
.travel-card-title { font-family: 'Playfair Display',serif; font-size: 1rem; font-weight: 600; color: var(--deep-brown); margin: 0; letter-spacing: -.01em; line-height: 1.3; }
.travel-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--teal); transition: all .25s ease; margin-top: 10px; }
.travel-card:hover .travel-card-link { color: var(--burnt-orange); }

/* PAGE-SPECIFIC HERO STYLES (non-home pages) */
.page-hero {
    position: relative; padding: clamp(140px,20vw,220px) 0 clamp(80px,10vw,120px);
    background-size: cover; background-position: center; color: white; overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(44,26,24,.55) 0%,rgba(61,35,33,.80) 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-kicker { font-size: .65rem; letter-spacing: 5px; text-transform: uppercase; font-weight: 800; color: var(--teal); display: block; margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(2.4rem,5vw,4rem); color: var(--white); margin-bottom: 20px; letter-spacing: -.03em; line-height: 1.05; }
.page-hero p { font-size: 1.05rem; color: rgba(243,233,210,.88); max-width: 560px; line-height: 1.8; }

/* RESPONSIVE */
@media (min-width: 900px) {
    .ticket-container { flex-direction: row; }
    .ticket-header { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
    .ticket-header .ticket-logo { order: 1; }
    .ticket-header .ticket-social-row { order: 2; width: auto; margin: 0; }
    .ticket-header .ticket-mission { order: 3; width: 100%; margin-top: .5rem; }
    .ticket-perforation { width: 2px; height: auto; margin: 1.5rem 0; background: repeating-linear-gradient(180deg,transparent,transparent 8px,rgba(61,35,33,.2) 8px,rgba(61,35,33,.2) 16px); }
    .ticket-perforation::before { top: -28px; }
    .ticket-perforation::after { bottom: -28px; }
    .ticket-stub { width: 320px; flex-shrink: 0; }
    .ticket-stub:hover { transform: translateX(10px) rotate(1deg); }
}
@media (min-width: 768px) {
    .ticket-legal { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (max-width: 899px) {
    .ticket-perforation::before { left: -28px; }
    .ticket-perforation::after { right: -28px; }
}
@media (max-width: 1100px) {
    .atlas-simple-grid { grid-template-columns: 1fr; }
    .atlas-simple-photo { min-height: 320px; }
    .archives-inner { grid-template-columns: 1fr; gap: 3rem; }
    .archives-right { height: 300px; }
}
@media (max-width: 992px) {
    .section-split { grid-template-columns: 1fr; }
    .travel-operators-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
}
@media (max-width: 920px) {
    .pagination-container { display: none; }
}
@media (max-width: 900px) {
    .mission-layout { grid-template-columns: auto 1fr; gap: 26px; }
    .mission-img-wrap { grid-column: 1 / -1; justify-self: center; width: 228px; height: 228px; }
    .cards-grid { grid-template-columns: repeat(2,1fr); }
    .video-with-text { grid-template-columns: 1fr; gap: 30px; }
    .video-text { order: 1; }
    .video-col  { order: 2; }
}
/* Hamburger breakpoint: before nav items overflow (tablets + phones) */
@media (max-width: 1024px) {
    .navbar {
        top: 12px;
        width: calc(100% - 24px);
        max-width: none;
        padding: 8px 14px 8px 16px;
        border-radius: 28px;
    }
    .navbar-container { gap: 8px; }
    .logo img { height: 44px; }
    .nav-social { display: none !important; }
    .menu-toggle,
    .navbar .menu-toggle,
    button.menu-toggle#menuToggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        width: 100%;
        max-height: min(78vh, 640px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: rgba(44, 26, 24, 0.97);
        -webkit-backdrop-filter: blur(14px) saturate(160%);
        backdrop-filter: blur(14px) saturate(160%);
        padding: 14px 12px 18px;
        border-radius: 18px;
        border: 1px solid rgba(255,255,255,.12);
        box-shadow: 0 18px 48px rgba(0,0,0,.35);
        gap: 4px;
        z-index: 1100;
        list-style: none;
        margin: 0;
    }
    .navbar-light .nav-links,
    .navbar.light .nav-links {
        background: rgba(253, 250, 244, 0.98);
        border-color: rgba(61,35,33,.12);
        box-shadow: 0 18px 48px rgba(61,35,33,.14);
    }
    .nav-links.open {
        display: flex;
        animation: navPanelIn .22s ease both;
    }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        width: 100%;
        padding: 14px 16px;
        font-size: 14px;
        letter-spacing: 1.2px;
        border-radius: 12px;
        text-align: left;
        min-height: 48px;
        box-sizing: border-box;
    }
    .nav-links a:not(.nav-cta):hover,
    .nav-links a:not(.nav-cta):focus-visible {
        background: rgba(255,255,255,.08);
    }
    .navbar-light .nav-links a:not(.nav-cta):hover,
    .navbar-light .nav-links a:not(.nav-cta):focus-visible,
    .navbar.light .nav-links a:not(.nav-cta):hover {
        background: rgba(61,35,33,.06);
    }
    .nav-links a:not(.nav-cta)::after { display: none; }
    .nav-links a.nav-cta,
    .nav-links a.nav-donate {
        text-align: center;
        margin-top: 8px;
        padding: 14px 18px;
    }
}

@keyframes navPanelIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .navbar { width: calc(100% - 16px); top: 10px; padding: 6px 12px; border-radius: 22px; }
    .logo img { height: 40px; }
    .wrapper { height: 100vh; min-height: 0; }
    .slide-content { left: calc(13vw + 1rem); }
    .scroll-hint { bottom: 1.5rem; }
    .scroll-mouse { width: 20px; height: 30px; }
    .scroll-text { font-size: .55rem; }
    .gallery-item { width: 260px; height: 175px; }
    .search-modal { padding-top: 60px; }
    .search-modal-content { width: 95%; }
    .search-modal-header { padding: 20px 24px; }
    .search-modal-body { padding: 24px; }
    .exit-popup-content { padding: 36px 28px; }
    .exit-popup h3 { font-size: 1.75rem; }
    /* Mobile footer */
    .ticket-logo { max-height: 70px; width: auto; object-fit: contain; }
    .ticket-header { align-items: flex-start; }
    .ticket-main { padding: 2rem 1.5rem; gap: 1.5rem; }
    .ticket-social-row { gap: .6rem; margin: .5rem 0 .75rem; }
    .ticket-social-row a { width: 32px; height: 32px; font-size: .85rem; }
    .ticket-mission { font-size: .8rem; line-height: 1.5; margin-top: .5rem; }
    .ticket-nav { gap: .75rem 1.25rem; padding: 1rem 0; }
    .ticket-nav a { font-size: .85rem; }
    .ticket-legal { padding-top: 1.25rem; gap: .75rem; }
    .ticket-stub { padding: 2rem 1.5rem; }
    .stub-heading { font-size: 1.35rem; margin-bottom: 1.25rem; }
    .stub-form input { font-size: .9rem; padding: .6rem 0; }
    .stub-form button { padding: .7rem; font-size: .85rem; }

    /* Shared layout helpers */
    img, video { max-width: 100%; height: auto; }
    .u-container { padding-left: 16px; padding-right: 16px; }
}

/* Mobile reading pass: phone layouts should feel like a calm scientific magazine. */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 86px;
  }

  body {
    font-size: 17px;
    line-height: 1.78;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  .container,
  .section-inner,
  .content-wrap,
  .page-content,
  .post-container,
  .article-container {
    width: min(100% - 32px, 680px) !important;
    margin-inline: auto;
  }

  :where(main, section, article) p,
  .c-card__excerpt,
  .card-body p,
  .ticket-mission {
    max-width: 42rem;
    line-height: 1.78;
  }

  .navbar {
    top: 8px !important;
    width: calc(100% - 16px) !important;
    padding: 7px 12px !important;
    border-radius: 18px !important;
    backdrop-filter: blur(18px);
  }

  .navbar-container {
    min-height: 48px;
  }

  .nav-links {
    max-height: min(72vh, 540px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px !important;
    gap: 4px !important;
  }

  .nav-links a {
    min-height: 46px;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    border-radius: 10px !important;
  }

  .nav-links a.nav-cta,
  .nav-links a.nav-donate {
    justify-content: center;
  }

  .hero,
  .page-hero,
  header.hero {
    min-height: clamp(460px, 72svh, 640px) !important;
    padding-inline: 0 !important;
  }

  .hero-content,
  .hero-inner,
  .page-hero .container,
  .slide-content {
    width: min(100% - 32px, 640px) !important;
    margin-inline: auto !important;
  }

  .hero h1,
  .page-hero h1,
  .hero-headline,
  .hero-h1,
  .slide-content-text {
    font-size: clamp(2.45rem, 13vw, 4rem) !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
    text-wrap: balance;
  }

  .hero-sub,
  .page-hero p,
  .hero-content p,
  .hero-inner p {
    font-size: 1rem !important;
    line-height: 1.75 !important;
    max-width: 34rem;
  }

  .hero-eyebrow,
  .page-hero-kicker,
  .label,
  .section-kicker {
    letter-spacing: 0.16em !important;
    line-height: 1.4;
  }

  .cards-grid,
  .updates-grid,
  .blog-grid,
  .gallery-grid,
  .products-grid,
  .team-grid,
  .leadership-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .c-card,
  .card,
  .update-card,
  .product-card,
  .leader-card {
    border-radius: 12px !important;
    box-shadow: 0 10px 26px rgba(61,35,33,.08) !important;
  }

  .c-card__body,
  .card-body {
    padding: 22px 20px 24px !important;
  }

  .c-card__media,
  .card-img {
    aspect-ratio: 4 / 3;
    height: auto !important;
  }

  .btn,
  .btn--teal,
  .btn--orange,
  .btn--cta,
  .btn-cta,
  .btn-outline,
  button,
  input,
  textarea,
  select {
    max-width: 100%;
  }

  :where(a, button, input, textarea, select) {
    scroll-margin-top: 96px;
  }

  img,
  video,
  iframe {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16.5px;
  }

  .container,
  .section-inner,
  .content-wrap,
  .page-content,
  .post-container,
  .article-container,
  .hero-content,
  .hero-inner,
  .page-hero .container {
    width: min(100% - 24px, 640px) !important;
  }

  .hero h1,
  .page-hero h1,
  .hero-headline,
  .hero-h1,
  .slide-content-text {
    font-size: clamp(2.15rem, 14vw, 3.35rem) !important;
  }

  .hero,
  .page-hero,
  header.hero {
    min-height: clamp(420px, 68svh, 580px) !important;
  }

  .ticket-main,
  .ticket-stub {
    padding-inline: 1rem !important;
  }
}

@media (max-width: 480px) {
    .navbar { width: calc(100% - 12px); top: 8px; }
    .nav-links a { font-size: 13px; padding: 13px 14px; }
    .ticket-nav { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .mission-layout { grid-template-columns: 1fr; gap: 24px; }
    .mission-accent { flex-direction: row; padding-top: 0; }
    .mission-accent-line { width: 56px; height: 2px; }
    .mission-stats { gap: 18px; flex-wrap: wrap; padding-top: 16px; }
    .mission-img-wrap { width: 204px; height: 204px; }
}
@media (max-width: 630px) {
    .slide-content-cta { display: none; }
}
@media (max-width: 580px) {
    .cards-grid { grid-template-columns: 1fr; }
    .section-archives { padding: 80px 5%; }
    .archives-right { height: 260px; }
    .archives-title { font-size: 2.2rem; }
}
@media (max-width: 560px) {
    .slide-content-text { font-size: 3.5rem; }
}
@media (max-width: 500px) {
    .slide-content-text { font-size: 3rem; }
}
@media (max-width: 1150px) {
    .slide-content-text { font-size: 7rem; }
}
@media (max-width: 840px) {
    .slide-content-text { font-size: 5.5rem; }
}
@media (max-width: 1000px) {
    .slide-content { left: calc(13vw + 1rem); }
}


/* inline-styles.css */
/* Extracted Inline Styles - Reduces inline style warnings */

/* Background overlay sections */
.bg-overlay {
    position: relative;
}

.bg-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(253, 250, 244, 0.88) 0%, rgba(243, 233, 210, 0.85) 100%);
    pointer-events: none;
}

.section-transparent {
    background: transparent;
    position: relative;
    z-index: 1;
}

/* Layout grid for why-leakey section */
.why-leakey-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: start;
}

.accent-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
}

.accent-bar {
    width: 2px;
    height: 56px;
    background: linear-gradient(180deg, #DD6F3E 0%, #C37F58 100%);
    border-radius: 2px;
}

.accent-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #DD6F3E;
}

/* Typography labels */
.why-leakey-label {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #DD6F3E;
    margin-bottom: 18px;
}

.why-leakey-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: #3D2321;
    margin-bottom: 20px;
}

.why-leakey-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #5a4a42;
    margin-bottom: 0;
}

.why-leakey-text p {
    margin-bottom: 0;
}

.why-leakey-text p + p {
    margin-top: 14px;
}

.why-leakey-divider {
    border: none;
    border-top: 1px solid #E8D5BC;
    margin: 28px 0;
}

/* Stats grid */
.why-leakey-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #3D2321;
    line-height: 1;
    display: block;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #C37F58;
    margin-top: 4px;
    display: block;
}

/* CTA Button */
.cta-button-primary {
    display: inline-block;
    background: #DD6F3E;
    color: #fff;
    padding: 12px 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 40px;
    margin-top: 28px;
    transition: all 0.3s ease;
}

.cta-button-primary:hover {
    background: #c45e32;
    transform: translateY(-2px);
}

/* Gallery item backgrounds */
.gallery-item-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Video section styles */
.video-with-text-layout {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.video-text-flex {
    flex: 1;
    min-width: 300px;
}

.video-col-flex {
    flex: 1;
    min-width: 300px;
}

.video-wrapper-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.video-responsive {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
}

/* Update section headers */
.updates-header-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.updates-title {
    font-size: 2.4rem;
    letter-spacing: -0.02em;
}

.updates-description {
    color: #666;
}

.publication-link {
    background: transparent;
    color: var(--deep-brown);
    border: 1.5px solid var(--deep-brown);
    padding: 10px 28px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.publication-link:hover {
    background: var(--deep-brown);
    color: #fff;
}

/* SVG hidden elements */
.svg-hidden {
    visibility: hidden;
    position: absolute;
}

/* Hidden data containers */
.data-hidden {
    display: none;
}

/* Newsletter success message */
.newsletter-success {
    display: none;
    color: var(--teal);
    font-weight: 600;
    margin-top: 16px;
}

.newsletter-success.show {
    display: block;
}

.newsletter-success i {
    margin-right: 8px;
}


/* Mission / hero media background */
.bg-cover-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-cover-section--mission {
  background-image: url("https://res.cloudinary.com/dk1nlcy8f/image/upload/v1776926655/9213_liesex.jpg");
}

.bg-overlay-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(253, 250, 244, 0.78) 0%, rgba(243, 233, 210, 0.72) 100%);
  pointer-events: none;
}

.section-on-overlay {
  background: transparent !important;
  background-color: transparent !important;
  position: relative;
  z-index: 1;
}

.why-leakey-stat-value {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #3d2321;
  line-height: 1;
  display: block;
}

.why-leakey-stat-label {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #c37f58;
  margin-top: 4px;
  display: block;
}

.why-leakey-cta {
  display: inline-block;
  background: #dd6f3e;
  color: #fff;
  padding: 12px 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 40px;
  margin-top: 28px;
}

.why-leakey-cta:hover {
  background: #c45e32;
  color: #fff;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.section-head-row h2 {
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.section-head-row p {
  color: #666;
  margin: 0;
}

.btn-outline-dark {
  display: inline-block;
  background: transparent;
  color: var(--deep-brown, #3d2321);
  border: 1.5px solid var(--deep-brown, #3d2321);
  padding: 10px 28px;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  border-radius: 40px;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-outline-dark:hover {
  background: var(--deep-brown, #3d2321);
  color: #fff;
}

.video-with-text {
  display: flex;
  align-items: center;
  gap: var(--space-md, 2rem);
  flex-wrap: wrap;
}

.video-with-text .video-text,
.video-with-text .video-col {
  flex: 1;
  min-width: 300px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md, 8px);
  object-fit: cover;
}

.gallery-item {
  background-size: cover;
  background-position: center;
}

.u-visually-hidden-svg {
  visibility: hidden;
  position: absolute;
  width: 0;
  height: 0;
}

.is-hidden {
  display: none !important;
}

.link-inherit {
  text-decoration: none;
  color: inherit;
}

.text-meta {
  font-size: 0.78rem;
  color: #999;
}

/* Dynamic background images via data-bg (set by JS or static attr + small util) */
[data-bg] {
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
}


/* mobile-footer.css */
/* Mobile Footer Improvements - Shared across all pages */
@media (max-width: 768px) {
    /* Fix squished footer logo on mobile */
    .ticket-logo {
        max-height: 70px;
        width: auto;
        object-fit: contain;
    }
    
    .ticket-header {
        align-items: flex-start;
    }
    
    /* Proportional footer layout on mobile */
    .ticket-main {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .ticket-social-row {
        gap: 0.6rem;
        margin: 0.5rem 0 0.75rem;
    }
    
    .ticket-social-row a {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .ticket-mission {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-top: 0.5rem;
    }
    
    .ticket-nav {
        gap: 0.75rem 1.25rem;
        padding: 1rem 0;
    }
    
    .ticket-nav a {
        font-size: 0.85rem;
    }
    
    .ticket-legal {
        padding-top: 1.25rem;
        gap: 0.75rem;
    }
    
    .ticket-stub {
        padding: 2rem 1.5rem;
    }
    
    .stub-heading {
        font-size: 1.35rem;
        margin-bottom: 1.25rem;
    }
    
    .stub-form input {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }
    
    .stub-form button {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
}

/* Final mobile magazine layer. Keep this at the end so page CSS imports settle first. */
@media (max-width: 768px) {
    html { scroll-padding-top: 86px; }
    body {
        font-size: 17px;
        line-height: 1.78;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
    .container,
    .section-inner,
    .content-wrap,
    .page-content,
    .post-container,
    .article-container {
        width: min(100% - 32px, 680px) !important;
        margin-inline: auto;
    }
    :where(main, section, article) p,
    .c-card__excerpt,
    .card-body p {
        max-width: 42rem;
        line-height: 1.78;
    }
    .navbar {
        top: 8px !important;
        width: calc(100% - 16px) !important;
        padding: 7px 12px !important;
        border-radius: 18px !important;
        backdrop-filter: blur(18px);
    }
    .nav-links {
        max-height: min(72vh, 540px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 12px !important;
        gap: 4px !important;
    }
    .nav-links a {
        min-height: 46px;
        display: flex !important;
        align-items: center;
        border-radius: 10px !important;
    }
    .nav-links a.nav-cta,
    .nav-links a.nav-donate {
        justify-content: center;
    }
    .hero,
    .page-hero,
    header.hero {
        min-height: clamp(460px, 72svh, 640px) !important;
        padding-inline: 0 !important;
    }
    .hero-content,
    .hero-inner,
    .page-hero .container,
    .slide-content {
        width: min(100% - 32px, 640px) !important;
        margin-inline: auto !important;
    }
    .hero h1,
    .page-hero h1,
    .hero-headline,
    .hero-h1,
    .slide-content-text {
        font-size: clamp(2.45rem, 13vw, 4rem) !important;
        line-height: 0.98 !important;
        letter-spacing: 0 !important;
        text-wrap: balance;
    }
    .hero-sub,
    .page-hero p,
    .hero-content p,
    .hero-inner p {
        font-size: 1rem !important;
        line-height: 1.75 !important;
        max-width: 34rem;
    }
    .cards-grid,
    .updates-grid,
    .blog-grid,
    .gallery-grid,
    .products-grid,
    .team-grid,
    .leadership-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .c-card,
    .card,
    .update-card,
    .product-card,
    .leader-card {
        border-radius: 12px !important;
        box-shadow: 0 10px 26px rgba(61,35,33,.08) !important;
    }
    .c-card__body,
    .card-body {
        padding: 22px 20px 24px !important;
    }
    .c-card__media,
    .card-img {
        aspect-ratio: 4 / 3;
        height: auto !important;
    }
    img,
    video,
    iframe {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    body { font-size: 16.5px; }
    .container,
    .section-inner,
    .content-wrap,
    .page-content,
    .post-container,
    .article-container,
    .hero-content,
    .hero-inner,
    .page-hero .container {
        width: min(100% - 24px, 640px) !important;
    }
    .hero h1,
    .page-hero h1,
    .hero-headline,
    .hero-h1,
    .slide-content-text {
        font-size: clamp(2.15rem, 14vw, 3.35rem) !important;
    }
    .hero,
    .page-hero,
    header.hero {
        min-height: clamp(420px, 68svh, 580px) !important;
    }
}
