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

:root {
  --cream: #f4efe6;
  --ink: #1a1510;
  --forest: #2d5016;
  --forest-light: #4a7c23;
  --rust: #b85c38;
  --sage: #7a9e7e;
  --warm-gray: #d4cdc4;
  --earth: #8b6f47;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.7;
}

::selection {
  background: var(--forest);
  color: var(--cream);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 3px; }

/* Particles */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% { opacity: 0; transform: translateY(100vh) rotate(0deg); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-20vh) rotate(360deg); }
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(26, 21, 16, 0.08);
}

.nav-logo {
  font-size: 1.6rem;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.4s ease;
}

#navbar.scrolled .nav-logo { color: var(--forest); }

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

#navbar.scrolled .nav-links a { color: var(--ink); }

/* Hero */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(45, 80, 22, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(139, 111, 71, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, #1a1510 0%, #2a3a1a 40%, #3d5a20 70%, #2d5016 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

#hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  color: var(--cream);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}

#hero h1 em {
  font-style: italic;
  color: var(--sage);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(244, 239, 230, 0.7);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(244, 239, 230, 0.5);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
  transition: color 0.3s ease;
}

.hero-scroll:hover { color: var(--cream); }
.hero-scroll svg { animation: bounce 2s ease infinite 2s; }

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

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

/* Interlude sections */
.interlude {
  background: var(--forest);
  padding: 7rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.interlude::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(74, 124, 35, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 50%, rgba(45, 80, 22, 0.3) 0%, transparent 50%);
}

.interlude.dark {
  background: var(--ink);
}

.interlude::before {
  background:
    radial-gradient(ellipse at 10% 50%, rgba(45, 80, 22, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 50%, rgba(26, 21, 16, 0.3) 0%, transparent 50%);
}

.interlude blockquote {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-style: italic;
  color: var(--cream);
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.interlude blockquote cite {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 1.5rem;
}

/* Sections common */
section {
  padding: 8rem 2rem;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 5rem;
  text-align: center;
}

.section-number {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
  border: 1px solid var(--sage);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.section-intro {
  font-size: 1.05rem;
  color: #6b5e50;
  line-height: 1.8;
  font-weight: 300;
}

/* Threats */
#threats {
  background: var(--cream);
}

.threats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.threat-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(26, 21, 16, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.6s ease;
  opacity: 0;
  transform: translateY(40px);
  cursor: default;
}

.threat-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.threat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(26, 21, 16, 0.1);
}

.threat-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
}

.threat-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--forest);
  stroke-width: 1.5;
}

.threat-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.threat-stat {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--rust);
  line-height: 1;
}

.threat-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9b8878;
  margin-bottom: 1rem;
  margin-top: 0.2rem;
}

.threat-desc {
  font-size: 0.92rem;
  color: #6b5e50;
  line-height: 1.75;
  border-top: 1px solid var(--warm-gray);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

/* Crisis */
#crisis {
  background: var(--ink);
  color: var(--cream);
}

#crisis .section-header h2 { color: var(--cream); }
#crisis .section-intro { color: rgba(244, 239, 230, 0.55); }
#crisis .section-number { border-color: var(--sage); color: var(--sage); }

.crisis-grid {
  max-width: 1100px;
  margin: 0 auto 5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(244, 239, 230, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.crisis-item {
  background: rgba(244, 239, 230, 0.04);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: background 0.3s ease;
}

.crisis-item:hover { background: rgba(244, 239, 230, 0.08); }

.crisis-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--rust);
  line-height: 1;
  display: inline-block;
}

.crisis-unit {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--rust);
  vertical-align: super;
}

.crisis-label {
  font-size: 0.82rem;
  color: rgba(244, 239, 230, 0.5);
  margin-top: 0.8rem;
  line-height: 1.5;
}

/* Timeline */
.crisis-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.crisis-timeline h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  text-align: center;
  margin-bottom: 3rem;
}

.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.7rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--forest), var(--rust), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-bottom: 0.5rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--sage);
  margin-bottom: 0.3rem;
}

.timeline-dot {
  position: absolute;
  left: -3rem;
  top: 0.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--forest);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 3px var(--forest);
}

.timeline-item.future .timeline-dot {
  background: var(--rust);
  box-shadow: 0 0 0 3px var(--rust);
}

.timeline-text {
  font-size: 0.92rem;
  color: rgba(244, 239, 230, 0.6);
  line-height: 1.7;
}

.timeline-item.future .timeline-text {
  color: var(--rust);
  font-style: italic;
}

/* Protect */
#protect {
  background: var(--cream);
}

.protect-list {
  max-width: 880px;
  margin: 0 auto;
}

/* Action */
#action {
  background: #fff;
}

.action-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Hero background image */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.5;
}

/* Threat card images */
.threat-img {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.threat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.threat-card:hover .threat-img img {
  transform: scale(1.05);
}

.threat-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 21, 16, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

/* Photo break section */
.photo-break {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}

.photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.photo-break-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(26, 21, 16, 0.45);
  text-align: center;
  padding: 2rem;
}

.photo-break-caption p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.6;
  max-width: 600px;
}

.photo-break-caption cite {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 1rem;
  font-style: normal;
}

/* Protect item images */
.protect-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  align-self: start;
}

.protect-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--warm-gray);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  align-items: start;
}

.protect-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.protect-item:last-child { border-bottom: none; }

.protect-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--warm-gray);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.protect-content {
  min-width: 0;
}

.protect-content h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.protect-content p {
  font-size: 0.95rem;
  color: #6b5e50;
  line-height: 1.8;
  font-weight: 300;
}

/* Action card images */
.action-card {
  background: var(--cream);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.action-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(26, 21, 16, 0.1);
}

.action-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.action-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.action-card:hover .action-img img {
  transform: scale(1.06);
}

.action-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.2rem 1.5rem 0.5rem;
}

.action-card p {
  font-size: 0.88rem;
  color: #6b5e50;
  line-height: 1.7;
  font-weight: 300;
  padding: 0 1.5rem 1.5rem;
}

/* Photo mosaic */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  height: 60vh;
  min-height: 400px;
}

.mosaic-tall {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mosaic-short {
  width: 100%;
  height: 50%;
  object-fit: cover;
}

/* Footer */
footer {
  background: var(--ink);
  padding: 6rem 2rem;
  text-align: center;
}

.footer-content { max-width: 600px; margin: 0 auto; }

.footer-quote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.footer-attr {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 3rem;
}

.footer-line {
  width: 60px;
  height: 1px;
  background: rgba(244, 239, 230, 0.15);
  margin: 0 auto 2rem;
}

.footer-note {
  font-size: 0.78rem;
  color: rgba(244, 239, 230, 0.3);
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
  #navbar { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.7rem; }

  section { padding: 5rem 1.5rem; }

  .crisis-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .protect-item {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
  }

  .protect-img {
    width: 80px;
    height: 80px;
  }

  .photo-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 50vh;
  }

  .mosaic-tall {
    grid-row: span 2;
  }

  .mosaic-col { display: none; }
}

@media (max-width: 480px) {
  .nav-links a:not(:last-child) { display: none; }
  .crisis-grid { grid-template-columns: 1fr 1fr; }
  .protect-item { grid-template-columns: 1fr; }
  .protect-img { width: 100%; height: 160px; }
}