/* =====================================================
   LEVARIA TOURS & SAFARIS
   Minimal Maasai-Inspired Luxury Safari Website
   ===================================================== */

/* ---- CSS Variables ---- */
:root {
  --red:       #C93B2B;
  --red-dim:   rgba(201, 59, 43, 0.16);
  --gold:      #D4A84E;
  --gold-dim:  rgba(212, 168, 78, 0.18);
  --blue:      #1E4466;

  --black:     #161311;
  --dark:      #1E1A17;
  --surface:   #231F1B;
  --border:    rgba(255,255,255,0.10);
  --muted:     rgba(255,255,255,0.58);
  --body-text: rgba(255,255,255,0.76);
  --white:     #FAF7F2;

  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Montserrat', sans-serif;

  --pad:       clamp(60px, 9vw, 110px);
  --wrap:      1160px;
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

section { padding: var(--pad) 0; }

/* =====================================================
   MAASAI ACCENT — minimal stripe
   ===================================================== */
.stripe {
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0, var(--red) 18px,
    var(--black) 18px, var(--black) 21px,
    var(--gold) 21px, var(--gold) 39px,
    var(--black) 39px, var(--black) 42px,
    var(--blue) 42px, var(--blue) 60px,
    var(--black) 60px, var(--black) 63px
  );
}

/* =====================================================
   MAASAI SPEAR & SHIELD DIVIDERS
   ===================================================== */

/* Full-featured divider (between experiences and impact) */
.spear-divider {
  display: flex;
  align-items: center;
  padding: 32px clamp(20px, 5vw, 60px);
  max-width: var(--wrap);
  margin: 0 auto;
  gap: 0;
}

/* Compact version for other section transitions */
.spear-divider.compact {
  padding: 20px clamp(20px, 5vw, 60px);
}

/* Horizontal rule lines flanking the art */
.sd-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to var(--sd-dir, right),
    transparent 0%,
    var(--border) 40%,
    var(--border) 60%,
    transparent 100%
  );
}
.spear-divider .sd-line:first-child {
  --sd-dir: right;
}
.spear-divider .sd-line:last-child {
  --sd-dir: left;
}

/* Art cluster */
.sd-art {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  flex-shrink: 0;
}

/* Spear SVG */
.sd-spear {
  width: 14px;
  height: 60px;
  opacity: 0.72;
  transition: opacity 0.3s;
  flex-shrink: 0;
}
.sd-spear.sm {
  width: 11px;
  height: 48px;
  opacity: 0.60;
}
/* Mirror the right-hand spear */
.sd-spear.mirror {
  transform: scaleX(-1);
}

/* Shield SVG */
.sd-shield {
  width: 28px;
  height: 44px;
  opacity: 0.82;
  transition: opacity 0.3s;
  flex-shrink: 0;
}
.sd-shield.sm {
  width: 22px;
  height: 35px;
  opacity: 0.70;
}

/* Hover lifts the whole divider slightly */
.spear-divider:hover .sd-spear,
.spear-divider:hover .sd-shield {
  opacity: 1;
}

/* Wrap the full divider so it spans full width */
.spear-divider-wrap {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* diamond row divider — kept for backward compat but hidden */
.diamonds { display: none; }

/* =====================================================
   PAGE LOADER
   ===================================================== */
.loader {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.loader.out { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.loader-logo {
  width: 160px;
  height: auto;
  opacity: 0.92;
  animation: logoPulse 1.8s ease-in-out infinite;
}
@keyframes logoPulse {
  0%,100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.04); }
}
.loader-track {
  width: 100px; height: 1px; background: var(--border); overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  animation: trackFill 1.3s var(--ease) forwards;
}
@keyframes trackFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* =====================================================
   NAVBAR
   ===================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: padding 0.35s var(--ease), background 0.35s;
}
.nav.solid {
  padding: 14px 0;
  background: rgba(22, 16, 10, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  display: flex; align-items: center; justify-content: space-between;
}

.logo {
  display: flex; align-items: center; gap: 10px;
}
.logo-img {
  width: auto;
  height: 72px;
  object-fit: contain;
  opacity: 0.92;
  flex-shrink: 0;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.logo:hover .logo-img { opacity: 1; transform: scale(1.06); }

/* Footer logo slightly larger still */
.footer-brand .logo-img { height: 90px; }
.logo-name {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.32em;
  color: var(--white);
  display: flex; flex-direction: column; gap: 0;
  line-height: 1.1;
}
.logo-name small {
  font-size: 0.52rem; font-weight: 400; letter-spacing: 0.14em;
  color: var(--gold); text-transform: uppercase; opacity: 0.85;
}

.nav-list {
  display: flex; align-items: center; gap: 34px;
}
.nav-list a {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  transition: color 0.25s;
  position: relative;
}
.nav-list a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-list a:hover { color: var(--white); }
.nav-list a:hover::after { width: 100%; }

.nav-book {
  font-size: 0.7rem !important; font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.25s, color 0.25s !important;
}
.nav-book::after { display: none !important; }
.nav-book:hover { border-color: var(--gold) !important; color: var(--gold) !important; }

.burger {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
}
.burger span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: all 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none; background: rgba(12,11,9,0.98);
  border-top: 1px solid var(--border); padding: 20px clamp(20px,5vw,60px) 28px;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 0; }
.nav-mobile a {
  display: block; padding: 12px 0;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em;
  color: var(--muted); border-bottom: 1px solid var(--border);
  transition: color 0.25s;
}
.nav-mobile a:hover { color: var(--white); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 15px 32px;
  border: 1px solid var(--red);
  background: var(--red); color: var(--white);
  position: relative; overflow: hidden;
  transition: color 0.35s var(--ease), border-color 0.35s;
  z-index: 1;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease); z-index: -1;
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: var(--black); border-color: var(--gold); }
.btn.wide { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent; color: var(--white);
  transition: border-color 0.3s, color 0.3s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* =====================================================
   SECTION LABELS & TITLES
   ===================================================== */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow-line {
  display: block; height: 1px; width: 32px; background: var(--gold); flex-shrink: 0;
}
.eyebrow.center { justify-content: center; }

h2.title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 400; line-height: 1.12;
  color: var(--white); margin-bottom: 20px;
}
h2.title em { font-style: italic; color: var(--gold); }
h2.title.lg { font-size: clamp(2.4rem, 4.5vw, 3.8rem); }
h2.title.center { text-align: center; }

.lead {
  font-size: 0.98rem; color: var(--body-text);
  line-height: 1.85; max-width: 580px;
}
.lead.center { text-align: center; margin: 0 auto; }
.lead.wide { max-width: 680px; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  /* fill colour matches the dark left edge of the image */
  background-color: #120c07;
}
/* image layer — contain so full warrior is always visible, pinned right */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('/static/hero-warrior.jpg') right center / contain no-repeat;
  will-change: transform;
}
/* overlay — dark on left for text, transparent on right so warrior shows fully */
.hero-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right,
      rgba(10,6,3,0.92) 0%,
      rgba(10,6,3,0.75) 38%,
      rgba(10,6,3,0.20) 60%,
      rgba(10,6,3,0.0)  75%
    ),
    linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 30%);
}

.hero-body {
  position: relative; z-index: 2;
  padding: clamp(120px,15vw,160px) clamp(20px,5vw,60px) clamp(100px,12vw,140px);
  max-width: calc(var(--wrap) + clamp(20px,5vw,60px) * 2);
  margin: 0 auto; width: 100%;
}

.hero-tag {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px;
  opacity: 0; animation: riseIn 0.8s var(--ease) 0.15s forwards;
}
.hero-tag-line { display: block; width: 36px; height: 1px; background: var(--gold); }

h1.hero-title {
  font-family: var(--serif); font-weight: 300; line-height: 1.0;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
  opacity: 0; animation: riseIn 0.9s var(--ease) 0.3s forwards;
}
h1.hero-title span { display: block; font-size: clamp(3.2rem, 7.5vw, 6.8rem); }
h1.hero-title em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
  opacity: 0; animation: riseIn 0.9s var(--ease) 0.45s forwards;
}

.hero-desc {
  font-size: 0.97rem; color: var(--body-text); line-height: 1.9;
  max-width: 480px; margin-bottom: 38px;
  opacity: 0; animation: riseIn 0.9s var(--ease) 0.55s forwards;
}

.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: riseIn 0.9s var(--ease) 0.7s forwards;
}

.hero-scroll-hint {
  display: flex; align-items: center; gap: 12px; margin-top: 56px;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  opacity: 0; animation: riseIn 0.9s var(--ease) 0.9s forwards;
}
.scroll-bar { width: 36px; height: 1px; background: rgba(255,255,255,0.2); animation: scrollPulse 2.2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{width:28px;opacity:.25}50%{width:46px;opacity:.55} }

.hero-stats {
  position: absolute; bottom: 44px; right: clamp(20px,5vw,60px);
  z-index: 2;
  display: flex; align-items: center; gap: 28px;
  background: rgba(22,16,10,0.82); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 18px 28px;
  opacity: 0; animation: riseIn 0.9s var(--ease) 1.1s forwards;
}
.stat { text-align: center; }
.stat-n {
  display: block; font-family: var(--serif); font-size: 1.9rem;
  font-weight: 500; color: var(--gold); line-height: 1;
}
.stat-l {
  display: block; font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 3px;
}
.stat-sep { width: 1px; height: 36px; background: var(--border); }

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

/* =====================================================
   ABOUT
   ===================================================== */
.about { background: var(--surface); border-top: 1px solid var(--border); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center;
}

.about-img-wrap { position: relative; }

.about-img {
  aspect-ratio: 4/5; overflow: hidden; position: relative;
}
.about-img-fill {
  width: 100%; height: 100%;
  background:
    linear-gradient(160deg, rgba(201,59,43,0.18) 0%, rgba(212,168,78,0.08) 100%),
    url('https://sspark.genspark.ai/cfimages?u1=WePqFxhHdMS3Gvsy08tYYsrbuS3BZoODsFoJnR%2BpnZvBfwipYFHr0h6dUvKwFQ%2B70PV4OPq2DkvReQo71QLx290pu47JVGaw1tBr4Ol%2BgJwEk7EggSRonxZZQ2qIQA0NLvo45zjjR5AHPxVmf8YdzcEn6xlRDA%3D%3D&u2=BBLKRXKDg%2BEmYYCk&width=2560') center/cover no-repeat;
  transition: transform 0.7s var(--ease);
}
.about-img:hover .about-img-fill { transform: scale(1.04); }

/* corner accents — kept but simpler */
.corner { position: absolute; width: 22px; height: 22px; }
.corner.tl { top: -6px; left: -6px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.corner.tr { top: -6px; right: -6px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); }
.corner.bl { bottom: -6px; left: -6px; border-bottom: 2px solid var(--red); border-left: 2px solid var(--red); }
.corner.br { bottom: -6px; right: -6px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

.about-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--dark); border: 1px solid var(--border);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; z-index: 2;
}
.badge-icon {
  width: 34px; height: 34px; background: var(--red-dim); border: 1px solid rgba(184,50,39,0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 0.85rem; flex-shrink: 0;
}
.badge-text { display: flex; flex-direction: column; gap: 2px; }
.badge-text strong { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; }
.badge-text span { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

.about-copy { padding-left: 10px; }

.about-intro {
  font-family: var(--serif); font-size: 1.12rem; font-weight: 400;
  color: rgba(255,255,255,0.92); line-height: 1.8; margin-bottom: 18px;
}
.about-body {
  font-size: 0.92rem; color: var(--body-text); line-height: 1.9; margin-bottom: 14px;
}
.about-body strong { color: var(--gold); font-weight: 600; }
.about-body em { color: rgba(255,255,255,0.8); }

.about-values { margin-top: 36px; display: flex; flex-direction: column; gap: 1px; }
.val {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px;
  border-left: 2px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.val:hover { border-left-color: var(--red); background: var(--red-dim); }
.val-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--red-dim); border: 1px solid rgba(184,50,39,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 0.8rem;
}
.val-text strong { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 1px; }
.val-text span { font-size: 0.72rem; color: var(--muted); }

/* =====================================================
   EXPERIENCES
   ===================================================== */
.experiences { background: var(--dark); }

.exp-header {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; margin-bottom: 52px;
}

.exp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 44px;
}

.exp-cell {
  background: var(--dark);
  padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: background 0.3s;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background 0.3s;
}
.exp-cell.vis { opacity: 1; transform: translateY(0); }
.exp-cell:hover { background: rgba(201,59,43,0.07); }

.exp-cell::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.exp-cell:hover::after { transform: scaleX(1); }

.exp-ico {
  width: 44px; height: 44px; margin-bottom: 22px;
  background: var(--red-dim); border: 1px solid rgba(184,50,39,0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 1rem;
  transition: background 0.3s, color 0.3s, clip-path 0.35s;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.exp-cell:hover .exp-ico {
  background: var(--red); color: var(--white);
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.exp-cell h3 {
  font-family: var(--serif); font-size: 1.28rem; font-weight: 400;
  color: var(--white); margin-bottom: 10px; line-height: 1.3;
}
.exp-cell p { font-size: 0.86rem; color: var(--body-text); line-height: 1.8; }

.exp-cta { text-align: center; }

/* =====================================================
   IMPACT
   ===================================================== */
.impact { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.impact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}

.impact-intro {
  font-family: var(--serif); font-size: 1.1rem; color: rgba(255,255,255,0.90);
  line-height: 1.8; margin-bottom: 16px;
}
.impact-p { font-size: 0.9rem; color: var(--body-text); line-height: 1.9; margin-bottom: 14px; }
.impact-p strong { color: var(--gold); }

.flow { margin: 32px 0; }
.flow-row { display: flex; align-items: flex-start; gap: 16px; }
.flow-dot {
  width: 11px; height: 11px; background: var(--red); border: 2px solid var(--gold);
  transform: rotate(45deg); flex-shrink: 0; margin-top: 4px;
}
.flow-conn { width: 1px; height: 24px; background: var(--border); margin-left: 4.5px; }
.flow-row strong { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 2px; }
.flow-row span { font-size: 0.74rem; color: var(--muted); }

/* stats grid */
.stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.10);
}
.stat-box {
  background: var(--surface);
  padding: 28px 22px; text-align: center;
  transition: background 0.3s;
}
.stat-box:hover { background: rgba(201,59,43,0.09); }
.stat-box.span2 { grid-column: span 2; background: rgba(201,59,43,0.12); }
.stat-box-ico { font-size: 1.1rem; color: var(--gold); opacity: 0.9; margin-bottom: 10px; }
.stat-box-n {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 500;
  color: var(--gold); line-height: 1; display: inline;
}
.stat-box.span2 .stat-box-n { font-size: 3.4rem; }
.stat-box-suf { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); display: inline; }
.stat-box.span2 .stat-box-suf { font-size: 2rem; }
.stat-box-l {
  display: block; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 7px;
}

/* =====================================================
   CULTURE
   ===================================================== */
.culture { background: var(--surface); border-top: 1px solid var(--border); }
.culture-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 48px; }

.mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 4px;
}
.mos { position: relative; overflow: hidden; cursor: pointer; }
.mos.tall { grid-row: span 2; }
.mos.wide { grid-column: span 2; }

.mos-bg {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transition: transform 0.6s var(--ease);
}
.mos:hover .mos-bg { transform: scale(1.06); }

.mos-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.78), transparent);
  transform: translateY(100%); transition: transform 0.35s var(--ease);
}
.mos:hover .mos-label { transform: translateY(0); }
.mos-label h4 { font-family: var(--serif); font-size: 1rem; color: var(--gold); margin-bottom: 3px; }
.mos-label p { font-size: 0.72rem; color: rgba(255,255,255,0.7); line-height: 1.5; }

.bg-warriors {
  background:
    linear-gradient(rgba(184,50,39,0.15),rgba(0,0,0,0.1)),
    url('https://sspark.genspark.ai/cfimages?u1=WePqFxhHdMS3Gvsy08tYYsrbuS3BZoODsFoJnR%2BpnZvBfwipYFHr0h6dUvKwFQ%2B70PV4OPq2DkvReQo71QLx290pu47JVGaw1tBr4Ol%2BgJwEk7EggSRonxZZQ2qIQA0NLvo45zjjR5AHPxVmf8YdzcEn6xlRDA%3D%3D&u2=BBLKRXKDg%2BEmYYCk&width=2560') center/cover;
}
.bg-beads {
  background:
    linear-gradient(rgba(194,152,74,0.15),rgba(0,0,0,0.1)),
    url('https://sspark.genspark.ai/cfimages?u1=cmQfyb73wy63pXNZfCHbd0EpQMGRS4x6j9JYFer1lh98%2F9BNT2kLs%2FDQu0PjSNYnGW9bpdByvZ%2BNugv5xgEWUOKCp83ZftxzETns3v2o33BeQLjNizcJid9EXHFgI08V107o%2Fhdo%2BkYPN41E32%2ByU7Oafk%2Fpl%2BaTPAsO4CRZAtATZjyDJT%2BKCse6LqQvPg0%3D&u2=SdE%2FPEBEeLjrqTGT&width=2560') center/cover;
}
.bg-village {
  background:
    linear-gradient(rgba(27,58,85,0.2),rgba(0,0,0,0.1)),
    url('https://sspark.genspark.ai/cfimages?u1=0GH7iXBR1jK%2B9EehwE2JPQyE00VFDPslAmX%2B%2FWMUKU1iKtS2ZOn6hr4zKyf5YbiXmfXDWPZJ5vkRlk%2FowNSV9yszZ4q%2BxWSHTIimr9xomJI%2B8Mc%2FwHf5qC2CZdBQll%2BPla3sBA%2FvOdlUixUZ&u2=KTenn26xlO6DLWL8&width=2560') center/cover;
}
.bg-dance {
  background:
    linear-gradient(rgba(184,50,39,0.2),rgba(0,0,0,0.15)),
    url('https://sspark.genspark.ai/cfimages?u1=HYYsEkgHQ0NubVCsnNXT8yeZ6I83M1xWn0QSb0p91B3kzEr%2Bq8G%2B12wwAuGCwLUed10YryG24TDH5DFS%2F5j0PJITLyQ%3D&u2=DaXTwcPE%2BGD4sV87&width=2560') center/cover;
}
.bg-sunset {
  background:
    linear-gradient(rgba(194,152,74,0.15),rgba(184,50,39,0.1)),
    url('https://sspark.genspark.ai/cfimages?u1=BTU95%2Bw4FZ8gjr%2FGVLCNwSyMLqrBE3t311DfO5GDEhsRMoI6138y6leVJ3Co3f4Yd6dS9r5BiB3W4cHu8P30RKOIh3u3&u2=n9%2FoCGc7nB0CllG1&width=2560') center/cover;
}

/* =====================================================
   GIVE BACK
   ===================================================== */
.giveback { background: var(--dark); border-top: 1px solid var(--border); }
.giveback-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 52px; }

.give-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.10);
}
.give-cell {
  background: var(--dark); padding: 38px 28px;
  position: relative; overflow: hidden; transition: background 0.3s;
}
.give-cell:hover { background: rgba(212,168,78,0.07); }
.give-cell::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: center; transition: transform 0.35s var(--ease);
}
.give-cell:hover::after { transform: scaleX(1); }

.give-n {
  font-family: var(--serif); font-size: 4.5rem; font-weight: 700;
  color: rgba(255,255,255,0.03); position: absolute; top: 8px; right: 14px; line-height: 1;
  user-select: none;
}
.give-ico {
  width: 46px; height: 46px; margin-bottom: 22px;
  background: var(--gold-dim); border: 1px solid rgba(194,152,74,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem;
  transition: background 0.3s, color 0.3s;
}
.give-cell:hover .give-ico { background: var(--gold); color: var(--black); }
.give-cell h4 { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; margin-bottom: 10px; }
.give-cell p { font-size: 0.84rem; color: var(--body-text); line-height: 1.8; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact { background: var(--surface); border-top: 1px solid var(--border); }

/* Centred single-column layout */
.contact-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.contact-head {
  text-align: center;
}

.contact-center > .reveal.d1 {
  width: 100%;
  max-width: 640px;
}

.contact-p { font-size: 0.92rem; color: var(--body-text); line-height: 1.9; margin-bottom: 32px; }

.contact-info { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.info-row { display: flex; align-items: center; gap: 12px; font-size: 0.84rem; color: var(--body-text); }
.info-row i {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--red-dim); border: 1px solid rgba(184,50,39,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 0.75rem;
}

.socials { display: flex; gap: 10px; }
.soc {
  width: 36px; height: 36px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.85rem; transition: all 0.25s;
}
.soc:hover { border-color: var(--gold); color: var(--gold); }

/* Form */
.form-shell {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  padding: 40px 36px; position: relative;
}
.form-shell::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 7px; }
.fld label {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.fld input, .fld select, .fld textarea {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  padding: 12px 14px; font-family: var(--sans); font-size: 0.86rem;
  color: var(--white); outline: none; resize: vertical;
  transition: border-color 0.25s, background 0.25s;
  -webkit-appearance: none; appearance: none;
}
.fld input::placeholder, .fld textarea::placeholder { color: rgba(255,255,255,0.2); }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  border-color: var(--red); background: rgba(184,50,39,0.04);
}
.fld select option { background: #1a1816; }

.success-msg { display: none; text-align: center; padding: 32px 20px; }
.success-msg.on { display: block; }
.success-ico { font-size: 2.4rem; color: var(--gold); margin-bottom: 14px; }
.success-msg h4 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 8px; }
.success-msg p { font-size: 0.86rem; color: var(--body-text); }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--dark);
  border-top: 2px solid rgba(201,59,43,0.4);
}
.footer-top {
  padding: 52px 0 44px;
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: start;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-tagline { font-size: 0.76rem; color: rgba(255,255,255,0.55); letter-spacing: 0.06em; margin-bottom: 4px; }
.footer-meaning { font-family: var(--serif); font-size: 0.9rem; color: var(--gold); opacity: 0.85; font-style: italic; }

.footer-cols { display: flex; gap: 52px; }
.fcol h5 {
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.fcol ul { display: flex; flex-direction: column; gap: 9px; }
.fcol a { font-size: 0.8rem; color: rgba(255,255,255,0.55); transition: color 0.25s; }
.fcol a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.74rem; color: rgba(255,255,255,0.38);
}

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.vis { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1020px) {
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .impact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-copy { padding-left: 0; }
  .about-badge { position: relative; bottom: auto; right: auto; margin-top: 16px; display: inline-flex; }
  .hero-stats { position: relative; bottom: auto; right: auto; margin-top: 40px; display: inline-flex; flex-wrap: wrap; }
}

@media (max-width: 780px) {
  .nav-list { display: none; }
  .burger { display: flex; }
  .exp-grid { grid-template-columns: 1fr; }
  .give-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .mos { height: 190px; }
  .mos.tall { grid-row: span 1; }
  .pillars { flex-wrap: wrap; justify-content: center; }
  .pillar { max-width: 160px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { gap: 36px; }

  /* Mobile: pin warrior to top-right so he's visible above the text */
  .hero-bg::before {
    background:
      url('/static/hero-warrior.jpg') right top / contain no-repeat;
    inset: 0;
  }
  .hero-bg::after {
    background:
      linear-gradient(to right,
        rgba(10,6,3,0.90) 0%,
        rgba(10,6,3,0.65) 40%,
        rgba(10,6,3,0.15) 65%,
        rgba(10,6,3,0.0)  80%
      ),
      linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 28%),
      linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, transparent 18%);
  }
}

@media (max-width: 520px) {
  .mosaic { grid-template-columns: 1fr; }
  .mos { height: 200px; }
  .form-row { grid-template-columns: 1fr; }
  .form-shell { padding: 28px 20px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn, .hero-btns .btn-ghost { justify-content: center; }
  .footer-cols { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-box.span2 { grid-column: span 1; }

  /* Small phones: same — warrior pinned top */
  .hero-bg::before {
    background:
      url('/static/hero-warrior.jpg') right top / contain no-repeat;
  }
}

/* =====================================================
   SCROLLBAR & SELECTION
   ===================================================== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
::selection { background: var(--red); color: var(--white); }
