@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@400;500;600&display=swap');

/* @font-face {
  font-family: 'Switzera Rounded';
  src: url('fonts/sar-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
} */

@font-face {
  font-family: 'Switzera Rounded';
  src: url('fonts/sar-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Switzera Rounded';
  src: url('fonts/sar-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Switzera Rounded';
  src: url('fonts/sar-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Switzera Rounded';
  src: url('fonts/sar-black.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
}

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

body {
  background: #fdfaf6;
  font-family: 'Switzera Rounded', 'DM Sans', sans-serif;
  overflow-x: hidden;
}

/* ========== HEADER ========== */

.header-scene {
  position: relative;
  width: 100%;
  min-height: 800px;
  height: clamp(75vh, calc(120vh - 18vw), 90vh);
  max-height: 100vh;
  overflow: hidden;
}

.scene-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
}

.header-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 20;
  padding: 2rem 1.5rem;
  pointer-events: none;
}

.header-overlay h1 {
  font-family: 'Switzera Rounded', serif;
  font-weight: 600;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  margin-top: clamp(100px, 13vw, 155px);
  color: #2c2622;
  text-align: center;
  line-height: 1.18;
  font-weight: 600;
  pointer-events: auto;
  text-shadow: 0 2px 20px rgba(251, 231, 207, .8);
}

.header-logo {
  width: clamp(80px, 32vw, 100px);
  pointer-events: auto;
  vertical-align: middle;
  filter: drop-shadow(0 2px 12px rgba(251, 231, 207, .7));
}

.header-overlay .tagline {
  font-weight: 500;
  color: #2c2622;
  text-align: center;
  max-width: 460px;
  pointer-events: auto;
  text-shadow: 0 1px 10px rgba(251, 231, 207, .7);
  margin-top: 2rem;
  font-size: clamp(1.4rem, 2vw, 2.5rem);
  text-wrap: balance;
  line-height: 1.2;
}

.header-overlay .cta-group {
  margin-top: 3rem;
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  justify-content: center;
  pointer-events: auto;
}

.cta-group .btn {
  font-size: 1.2rem;
}

.btn {
  padding: .75rem 2rem;
  font-family: 'Switzera Rounded', sans-serif;
  font-weight: bold;
  font-size: .95rem;
  border-radius: 4px;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
  text-decoration: none;
  border: 2.5px solid #4a2a14;
}

.btn-primary {
  background: #c2522a;
  color: #fef4e8;
  box-shadow: 3px 3px 0 #4a2a14;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #4a2a14;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #4a2a14;
  box-shadow: 2px 2px 0 #4a2a14;
}

.btn-secondary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 #4a2a14;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  filter: grayscale(35%);
  cursor: not-allowed;
  pointer-events: none;
}

.btn:disabled:hover,
.btn[disabled]:hover {
  transform: none;
}

/* ========== STICKY NAV ========== */

.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 2rem;
  transform: translateY(-100%);
  transition: transform .3s ease;
}

.sticky-nav.visible {
  transform: translateY(0);
}

.sticky-nav .nav-logo {
  height: 28px;
}

.sticky-nav nav {
  display: flex;
  gap: 2rem;
}

.sticky-nav nav a {
  font-family: 'Switzera Rounded', sans-serif;
  font-weight: 500;
  font-size: .95rem;
  color: #2c2622;
  text-decoration: none;
  transition: color .15s;
}

.sticky-nav nav a:hover {
  color: #c2522a;
}

.scene-dark {
  display: none;
}

/* ========== INTRO SECTION ========== */

.intro-section {
  text-align: center;
  padding: 7rem 2rem 2rem;
  max-width: 815px;
  margin: 0 auto;
}

.intro-section h2 {
  font-family: 'Switzera Rounded', 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: #2c2622;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.intro-section p {
  color: #5a5450;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  text-wrap: balance;
}

/* ========== STATS BAR ========== */

.stats-bar {
  background: transparent;
  padding: 3rem 2rem 8rem;
  overflow: hidden;
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1 1 150px;
  text-align: center;
  perspective: 400px;
}

.stat-number {
  display: block;
  font-family: 'Switzera Rounded', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #2c2622;
  transition: transform 0.3s, opacity 0.3s;
  transform-style: preserve-3d;
}

.stat-item.animate .stat-number {
  animation: statPop 0.4s ease-out 1.2s both;
}

@keyframes statPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.stat-label {
  display: block;
  color: #7a7270;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 0.5rem;
  line-height: 1.4;
  text-wrap: balance;
}

@media (max-width: 700px) {
  .stats-grid {
    flex-wrap: wrap;
    justify-content: center;
  }
  .stat-item {
    flex: 0 0 calc(50% - 1rem);
  }
}

/* ========== FACTS SECTION ========== */

.facts-section {
  padding: 0;
}

.fact-wrapper {
  position: relative;
  padding: 5rem 2rem;
}

/* Wave separators — subtle SVG waves matching the scene ground style */
.fact-wrapper.fact-dark {
  position: relative;
  z-index: 1;
}

.fact-wrapper.fact-dark::before,
.fact-wrapper.fact-dark::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 14px;
  z-index: 2;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.fact-wrapper.fact-dark::before { top: -1px; }
.fact-wrapper.fact-dark::after { bottom: -1px; }

/* --- Fact 1: warm brown --- */
.fact-wrapper.fact-dark:nth-child(1) {
  background: #4a3222;
}

.fact-wrapper.fact-dark:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 14' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,7 Q1080,4 720,9 Q360,14 0,8 Z' fill='%23fdfaf6'/%3E%3C/svg%3E");
}

.fact-wrapper.fact-dark:nth-child(1)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 14' preserveAspectRatio='none'%3E%3Cpath d='M0,14 L1440,14 L1440,5 Q1080,10 720,4 Q360,0 0,7 Z' fill='%23fdfaf6'/%3E%3C/svg%3E");
}

/* --- Fact 3: light orange (sky tone) --- */
.fact-wrapper.fact-dark:nth-child(3) {
  background: #fbe7cf;
}

.fact-wrapper.fact-dark:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 14' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,9 Q1100,5 720,7 Q340,12 0,6 Z' fill='%23fdfaf6'/%3E%3C/svg%3E");
}

.fact-wrapper.fact-dark:nth-child(3)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 14' preserveAspectRatio='none'%3E%3Cpath d='M0,14 L1440,14 L1440,6 Q1100,9 720,5 Q340,2 0,8 Z' fill='%23fdfaf6'/%3E%3C/svg%3E");
}

/* Fact 3 uses dark text like light sections */
.fact-wrapper.fact-dark:nth-child(3) .fact-text h2 { color: #2c2622; }
.fact-wrapper.fact-dark:nth-child(3) .fact-text > p,
.fact-wrapper.fact-dark:nth-child(3) .fact-text ul li { color: #4a4440; }
.fact-wrapper.fact-dark:nth-child(3) .stat-pill.orange {
  background: rgba(194, 82, 42, 0.12);
  color: #8a3a18;
  border-left-color: #c2522a;
}

/* --- Fact 5: earthy brown --- */
.fact-wrapper.fact-dark:nth-child(5) {
  background: #3e2c1e;
}

.fact-wrapper.fact-dark:nth-child(5)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 14' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,5 Q1050,10 720,6 Q390,2 0,9 Z' fill='%23fdfaf6'/%3E%3C/svg%3E");
}

.fact-wrapper.fact-dark:nth-child(5)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 14' preserveAspectRatio='none'%3E%3Cpath d='M0,14 L1440,14 L1440,8 Q1050,3 720,9 Q390,14 0,5 Z' fill='%23fdfaf6'/%3E%3C/svg%3E");
}

/* --- Dark wrapper text (facts 1 & 5) --- */
.fact-dark:nth-child(1) .fact-text h2,
.fact-dark:nth-child(5) .fact-text h2 {
  color: #f0e8e0;
}

.fact-dark:nth-child(1) .fact-text > p,
.fact-dark:nth-child(1) .fact-text ul li,
.fact-dark:nth-child(5) .fact-text > p,
.fact-dark:nth-child(5) .fact-text ul li {
  color: #c8c0b8;
}

/* Dark wrapper stat pills */
.fact-dark:nth-child(1) .stat-pill.teal {
  background: rgba(42, 157, 143, 0.18);
  color: #6fd4c5;
  border-left-color: #2a9d8f;
}

.fact-dark:nth-child(5) .stat-pill.green {
  background: rgba(87, 167, 115, 0.18);
  color: #C3D6AC;
  border-left-color: #6FA72A;
}

/* Dark wrapper bullet colors */
.fact-dark:nth-child(1) .fact-text ul li::before,
.fact-dark:nth-child(5) .fact-text ul li::before {
  opacity: 0.9;
}

.fact-block {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.fact-block.fact-reverse {
  flex-direction: row-reverse;
}

.fact-text {
  flex: 1 1 55%;
  min-width: 0;
}

.fact-image {
  flex: 0 0 400px;
  max-width: 300px;
}

.fact-wrapper:nth-child(1) .fact-image,
.fact-wrapper:nth-child(3) .fact-image {
  max-width: 300px;
}

.fact-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: contain;
}


.fact-block[data-accent="teal"] .fact-text ul li::before { background: #4db7b9; }
.fact-block[data-accent="red"] .fact-text ul li::before { background: #f03111; }
.fact-block[data-accent="orange"] .fact-text ul li::before { background: #c2522a; }
.fact-block[data-accent="olive"] .fact-text ul li::before { background: #6FA72A; }
.fact-block[data-accent="green"] .fact-text ul li::before { background: #57a773; }

.fact-text h2 {
  font-family: 'Switzera Rounded', 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: #2c2622;
  line-height: 1.3;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.fact-text > p {
  color: #4a4440;
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.fact-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.2rem;
}

.fact-text ul li {
  position: relative;
  padding-left: 1.4rem;
  color: #4a4440;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.fact-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #b8b0a8;
}

.stat-pill {
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 1.5rem;
}

.stat-pill > p:last-child {
  margin-bottom: 0;
}

.stat-pill > p {
  font-size: 1.08rem;
}

.stat-pill.teal { 
  background: #f0f0f0;
  color: #10697B;
  border-left: 4px solid #1898B3;
}
.stat-pill.red {
  background: #8a1b0852;
  color: #d2aea7;
  border-left: 4px solid #f03111;
}
.stat-pill.orange {
  background: #fbe7cf; color: #8a3a18; border-left: 4px solid #c2522a;
}
.stat-pill.olive { 
  background: #ECF2E5;
  color: #3D5D16;
  border-left: 4px solid #6FA72A;
}
.stat-pill.green {
  background: #d8f0e0; color: #2e6b42; border-left: 4px solid #57a773; font-style: italic;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Mobile facts */
@media (max-width: 768px) {
  .fact-wrapper {
    padding: 3.5rem 1.5rem;
  }

  .fact-block,
  .fact-block.fact-reverse {
    flex-direction: column;
    gap: 1.5rem;
  }

  .fact-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 250px !important;
    margin: 0 auto;
    order: -1;
  }

  .fact-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .fact-text {
    flex: 1 1 auto;
    width: 100%;
    padding-bottom: 2rem;
  }
  
  .fact-dark .fact-image img {
    margin: -20px 0;
  }

  .fact-dark:nth-child(2) .fact-image img,
  .fact-dark:nth-child(3) .fact-image img {
    margin: -40px 0;
  }
}

/* ========== CTA SECTION ========== */

.cta-section {
  background: linear-gradient(170deg, #fdfaf6 0%, #f0ebe4 100%);
  padding: 12rem 2rem;
}

.cta-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.cta-text {
  flex: 1 1 55%;
}

.cta-image {
  flex: 0 0 280px;
  max-width: 280px;
}

.cta-image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.cta-text h2 {
  font-family: 'Switzera Rounded', 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #2c2622;
  line-height: 1.3;
  margin-bottom: 1.2rem;
}

.cta-text > p {
  color: #4a4440;
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.email-form {
  margin-top: 2rem;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  border: 2px solid #e8e0d8;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.email-form h3 {
  font-family: 'Switzera Rounded', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #2c2622;
  margin-bottom: 1rem;
}

.form-row {
  display: flex;
  gap: 0.75rem;
}

.form-row-name {
  margin-bottom: 0.6rem;
}

.form-row input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #d8d0c8;
  border-radius: 4px;
  font-family: 'Switzera Rounded', sans-serif;
  font-size: 1rem;
  background: #fdfaf6;
  color: #2c2622;
  transition: border-color 0.2s;
}

.form-row input:focus {
  outline: none;
  border-color: #c2522a;
}

.form-row input::placeholder {
  color: #b8b0a8;
}

.form-note {
  color: #b8b0a8;
  font-size: 0.8rem;
  margin-top: 0.6rem;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: #d8f0e0;
  color: #2e6b42;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-success.visible {
  display: block;
}

.form-error {
  display: none;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: #fbe1d9;
  color: #8a3216;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-error.visible {
  display: block;
}

@media (max-width: 768px) {
  .cta-content {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .cta-section {
    padding:2rem 2rem 6rem;
  }
  .cta-image {
    max-width: 220px;
    margin-bottom: -40px;
  }

  .form-row {
    flex-direction: column;
  }
}

/* ========== DESERT STRIP ========== */

.desert-strip {
  position: relative;
  width: 100%;
  margin: -33px 0 -27px;
  line-height: 0;
  overflow: visible;
  --rail-color: #5a3820;
  --sleeper-color: #7a5838;
  --rock-color: #b08858;
  --bush-color: #88984a;
  --cactus-stroke: #5a7838;
  --cactus-fill: #6a8848;
}

.desert-strip svg {
  display: block;
  width: 100%;
  height: 60px;
}

.desert-strip svg.desert-cactus {
  position: absolute;
  left: 20%;
  bottom: 30%;
  width: 20px;
  height: auto;
  transform: translateX(-50%);
}

.desert-strip .strip-rail {
  stroke: var(--rail-color);
}

.desert-strip .strip-sleepers {
  stroke: var(--sleeper-color);
}

.desert-strip .strip-rocks polygon {
  fill: var(--rock-color);
}

.desert-strip .strip-bush {
  fill: var(--bush-color);
}

.desert-strip .strip-cactus {
  stroke: var(--cactus-stroke);
  fill: var(--cactus-fill);
}

/* ========== FOOTER ========== */

.site-footer {
  background: #2c2622;
  color: #b8b0a8;
  padding: 3rem 2rem 1.5rem;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand .footer-logo {
  height: 32px;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #8a8280;
}

.footer-links h4,
.footer-social h4,
.footer-contact h4 {
  font-family: 'Switzera Rounded', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #e8e0d8;
  margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a {
  display: block;
  color: #b8b0a8;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 2;
  transition: color 0.15s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fbe7cf;
}

.footer-contact p {
  font-size: 0.9rem;
  line-height: 2;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.25rem;
}

.social-icons a {
  color: #b8b0a8;
  transition: color 0.15s, transform 0.15s;
  display: flex;
  align-items: center;
}

.social-icons a:hover {
  color: #fbe7cf;
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
  color: #6a6260;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* ========== DARK MODE ========== */

@media (prefers-color-scheme: dark) {
  body {
    background: #1e1c22;
  }

  .header-overlay h1 {
    color: #f0e8e0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .5);
  }

  .header-logo {
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .5)) brightness(1.1);
  }

  .header-overlay .tagline {
    color: #d8d0c8;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
  }

  .btn {
    border-color: rgba(255, 240, 220, .25);
  }

  .btn-primary {
    background: #c2522a;
    color: #fef4e8;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, .4);
  }

  .btn-primary:hover {
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .4);
  }

  .btn-secondary {
    background: rgba(255, 248, 240, .1);
    color: #e0d8d0;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, .4);
  }

  .btn-secondary:hover {
    box-shadow: 4px 4px 0 rgba(0, 0, 0, .4);
  }

  .sticky-nav {
    background: rgba(22, 20, 24, .95);
    box-shadow: 0 1px 8px rgba(0, 0, 0, .3);
  }

  .sticky-nav .nav-logo {
    filter: brightness(1.2);
  }

  .sticky-nav nav a {
    color: #d8d0c8;
  }

  .sticky-nav nav a:hover {
    color: #e08050;
  }

  .scene-light {
    display: none;
  }

  .scene-dark {
    display: initial;
  }

  /* Intro dark */
  .intro-section h2 {
    color: #f0e8e0;
  }

  .intro-section p {
    color: #b8b0a8;
  }

  /* Stats bar dark */
  .stat-number {
    color: #f0e8e0;
  }

  .stat-label {
    color: #8a8280;
  }

  /* Fact 3 text reverts to dark-mode light text */
  .fact-wrapper.fact-dark:nth-child(3) .fact-text h2 { color: #f0e8e0; }
  .fact-wrapper.fact-dark:nth-child(3) .fact-text > p,
  .fact-wrapper.fact-dark:nth-child(3) .fact-text ul li { color: #c8c0b8; }
  .fact-wrapper.fact-dark:nth-child(3) .stat-pill.orange {
    background: rgba(194, 82, 42, 0.18);
    color: #e89070;
  }
  .fact-wrapper.fact-dark:nth-child(1) {
    background: #322217;
  }
  .fact-wrapper.fact-dark:nth-child(3) {
    background: #151c36;
  }
  .fact-wrapper.fact-dark:nth-child(5) {
    background: #231911;
  }
  .stat-pill.teal {
    background: #083640;
    color: #f0f0f0;
    border-left: 4px solid #10697B;
  }
  .stat-pill.olive {
    background: #1A28089E;
    color: #ECF2E5C7;
    border-left: 4px solid #6FA72A;
  }

  /* Wave fills for dark body bg */
  .fact-wrapper.fact-dark:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 14' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,7 Q1080,4 720,9 Q360,14 0,8 Z' fill='%231e1c22'/%3E%3C/svg%3E");
  }
  .fact-wrapper.fact-dark:nth-child(1)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 14' preserveAspectRatio='none'%3E%3Cpath d='M0,14 L1440,14 L1440,5 Q1080,10 720,4 Q360,0 0,7 Z' fill='%231e1c22'/%3E%3C/svg%3E");
  }

  .fact-wrapper.fact-dark:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 14' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,9 Q1100,5 720,7 Q340,12 0,6 Z' fill='%231e1c22'/%3E%3C/svg%3E");
  }
  .fact-wrapper.fact-dark:nth-child(3)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 14' preserveAspectRatio='none'%3E%3Cpath d='M0,14 L1440,14 L1440,6 Q1100,9 720,5 Q340,2 0,8 Z' fill='%231e1c22'/%3E%3C/svg%3E");
  }

  .fact-wrapper.fact-dark:nth-child(5)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 14' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,5 Q1050,10 720,6 Q390,2 0,9 Z' fill='%231e1c22'/%3E%3C/svg%3E");
  }
  .fact-wrapper.fact-dark:nth-child(5)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 14' preserveAspectRatio='none'%3E%3Cpath d='M0,14 L1440,14 L1440,8 Q1050,3 720,9 Q390,14 0,5 Z' fill='%231e1c22'/%3E%3C/svg%3E");
  }

  /* Light wrapper text in dark mode */
  .fact-wrapper:not(.fact-dark) .fact-text h2 {
    color: #f0e8e0;
  }

  .fact-wrapper:not(.fact-dark) .fact-text >p,
  .fact-wrapper:not(.fact-dark) .fact-text ul li {
    color: #b8b0a8;
  }

  .fact-wrapper:not(.fact-dark) .stat-pill.purple {
    background: rgba(123, 104, 174, 0.15);
    color: #b0a0d8;
  }

  .fact-wrapper:not(.fact-dark) .stat-pill.blue {
    background: rgba(74, 127, 181, 0.15);
    color: #8ab8e0;
  }

  /* CTA dark */
  .cta-section {
    background: linear-gradient(170deg, #1e1c22 0%, #252228 100%);
  }

  .cta-text h2 {
    color: #f0e8e0;
  }

  .cta-text > p {
    color: #b8b0a8;
  }

  .email-form {
    background: #2a2830;
    border-color: #3a3840;
  }

  .email-form h3 {
    color: #f0e8e0;
  }

  .form-row input {
    background: #1e1c22;
    border-color: #3a3840;
    color: #e0d8d0;
  }

  .form-row input:focus {
    border-color: #c2522a;
  }

  .form-row input::placeholder {
    color: #6a6260;
  }

  .form-success {
    background: rgba(87, 167, 115, 0.15);
    color: #80d098;
  }

  /* Desert strip dark */
  .desert-strip {
    --rail-color: #2a3040;
    --sleeper-color: #38404e;
    --rock-color: #3a3028;
    --bush-color: #263818;
    --cactus-stroke: #263818;
    --cactus-fill: #2a4022;
  }

  /* Footer dark */
  .site-footer {
    background: #16141a;
  }

  .footer-bottom {
    border-color: rgba(255, 255, 255, 0.05);
  }

  .cta-image img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  }

}










