/* ================================================================
   The Land Remembered — Wildlife Sanctuary
   Old Florida heritage meets a modern conservation stream.
   ================================================================ */

:root {
  --ink: #1c2a21;
  --pine: #2c4636;
  --moss: #48684f;
  --sage: #7d947f;
  --parchment: #f2e9d6;
  --cream: #faf5e9;
  --paper: #fdfaf2;
  --sepia: #8a6b45;
  --brass: #a97f38;
  --amber: #d9a441;
  --river: #34566b;
  --live: #d0483a;

  --map-bg: #efe4cb;
  --map-land: #e3d5b4;
  --map-river: #b9cfd4;
  --map-river-edge: #7fa0aa;
  --map-road: #d9c9a4;
  --map-road-dash: #a08c60;
  --map-line: #6d5b3d;
  --map-nest: #a9502f;
  --map-badge: #f6efdd;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", sans-serif;

  --wrap: 1180px;
  --shadow-lg: 0 30px 60px -18px rgba(28, 42, 33, 0.35);
  --shadow-md: 0 16px 36px -14px rgba(28, 42, 33, 0.28);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; }

h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -0.01em; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}
.eyebrow.centered { text-align: center; }
.eyebrow.light { color: var(--amber); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .section-sub { margin-top: 18px; font-size: 1.06rem; color: #4a5a4e; }
.section-head.light h2 { color: var(--cream); }
.section-head.light .section-sub { color: #cdd8cb; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ================= NAV ================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.nav.scrolled {
  background: rgba(250, 245, 233, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(28, 42, 33, 0.08), 0 10px 30px -18px rgba(28, 42, 33, 0.35);
  padding: 8px 0;
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); transition: color 0.35s ease; }
.nav.scrolled .nav-brand { color: var(--ink); }
.nav-brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--brass); color: var(--cream); display: grid; place-items: center; flex: none; }
.nav-brand-mark svg { width: 26px; height: 26px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.01em; }
.nav-brand-text em { font-style: normal; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.75; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  text-decoration: none; color: var(--cream); font-size: 0.92rem; font-weight: 500;
  transition: color 0.35s ease, opacity 0.2s ease;
}
.nav-links a:hover { opacity: 0.75; }
.nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a.nav-cta {
  background: var(--brass); color: #fff !important; padding: 9px 18px; border-radius: 999px;
  transition: background 0.2s ease;
}
.nav-links a.nav-cta:hover { background: #90691f; opacity: 1; }
.nav-toggle { display: none; }

/* ================= HERO ================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("images/sunset-river.jpg") center 38% / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(16, 26, 20, 0.92) 0%, rgba(16, 26, 20, 0.72) 42%, rgba(16, 26, 20, 0.38) 100%),
    linear-gradient(to top, rgba(16, 26, 20, 0.85) 0%, transparent 34%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--wrap); margin: 0 auto; padding: 140px 28px 90px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.hero-copy .eyebrow { color: var(--amber); }
.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  color: var(--cream); font-weight: 600; letter-spacing: -0.015em;
}
.hero-copy h1 span { font-style: italic; font-weight: 400; color: var(--amber); }
.hero-tag {
  margin-top: 18px; font-family: var(--font-display); font-style: italic;
  font-size: 1.3rem; color: #e9ddba;
}
.hero-sub { margin-top: 16px; max-width: 54ch; color: #d5dcd0; font-size: 1.04rem; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions.centered { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brass); color: #fff; box-shadow: 0 12px 28px -10px rgba(169, 127, 56, 0.65); }
.btn-primary:hover { background: #90691f; }
.btn-ghost { border: 1.5px solid rgba(250, 245, 233, 0.55); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(250, 245, 233, 0.1); }
.btn-ghost.light { border-color: rgba(250, 245, 233, 0.5); }

.hero-poster { display: flex; justify-content: center; }
.hero-poster figure { position: relative; max-width: 415px; transform: rotate(2.2deg); }
.hero-poster img {
  border-radius: 6px;
  border: 10px solid #f6efdd;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.2);
}
.hero-poster figcaption {
  margin-top: 14px; text-align: center; font-size: 0.8rem; color: #cbc4a9; font-style: italic;
}

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(250,245,233,0.5); border-radius: 14px;
}
.hero-scroll span {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--amber); border-radius: 2px; animation: scrollhint 2.2s infinite ease-in-out;
}
@keyframes scrollhint { 0%,100% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(14px); opacity: 0; } }

/* ================= MISSION ================= */
.mission { background: var(--parchment); border-bottom: 1px solid rgba(138, 107, 69, 0.18); }
.mission-inner { padding: 64px 28px; display: flex; gap: 26px; align-items: flex-start; max-width: 900px; }
.mission-icon { width: 52px; height: 52px; color: var(--brass); flex: none; margin-top: 4px; }
.mission p { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; color: var(--pine); }
.mission strong { color: var(--sepia); font-weight: 600; }

/* ================= CAMS ================= */
.cams { padding: 110px 0 90px; background: var(--cream); }
.cam-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }

.cam-frame {
  position: relative; border-radius: 18px; overflow: hidden; background: #000;
  box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10;
}
.cam-frame > img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, -2%); }
}
@media (prefers-reduced-motion: reduce) { .cam-frame > img { animation: none; } }
.cam-vignette { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.62), transparent 38%), linear-gradient(to bottom, rgba(0,0,0,0.4), transparent 26%); }

.cam-topbar { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; }
.badge-live {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--live); color: #fff; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; padding: 6px 12px; border-radius: 999px;
}
.badge-live.sm { font-size: 0.6rem; padding: 3px 8px; gap: 5px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
.btn .live-dot { background: #ffd9d4; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.45; transform: scale(0.75);} }
.cam-clock { font-variant-numeric: tabular-nums; color: rgba(255,255,255,0.92); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; background: rgba(0,0,0,0.35); padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(4px); }

.cam-bottombar {
  position: absolute; left: 20px; right: 20px; bottom: 16px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; color: #fff;
}
.cam-bottombar h3 { font-size: 1.35rem; font-weight: 600; }
.cam-bottombar p { font-size: 0.85rem; color: rgba(255,255,255,0.82); max-width: 46ch; }
.cam-viewers { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.9); background: rgba(0,0,0,0.35); padding: 6px 12px; border-radius: 999px; white-space: nowrap; backdrop-filter: blur(4px); }
.cam-demo-note { margin-top: 12px; font-size: 0.78rem; color: #8a9384; font-style: italic; }

.cam-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cam-card {
  position: relative; border: none; padding: 0; border-radius: 12px; overflow: hidden;
  cursor: pointer; background: #101a14; aspect-ratio: 16 / 11; text-align: left;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, outline-color 0.2s ease;
  outline: 3px solid transparent; outline-offset: 2px;
  font-family: var(--font-body);
}
.cam-card:hover { transform: translateY(-3px); }
.cam-card.is-active { outline-color: var(--brass); }
.cam-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.cam-card-label {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; align-items: center; gap: 8px;
  color: #fff; font-size: 0.78rem; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}
.cam-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 45%); }
.cam-card-label, .soon-count { z-index: 2; }
.cam-card > .cam-card-label { z-index: 2; }

.cam-card-soon {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  background: linear-gradient(145deg, var(--pine), #1c3125); cursor: default; padding: 16px;
}
.cam-card-soon::after { display: none; }
.cam-card-soon:hover { transform: none; }
.soon-count { font-family: var(--font-display); font-size: 2rem; color: var(--amber); font-weight: 600; }
.cam-card-soon .cam-card-label { position: static; margin-top: 2px; }
.cam-card-soon p { color: #b9c8b6; font-size: 0.72rem; margin-top: 6px; line-height: 1.45; }

/* ================= STATS ================= */
.stats { background: var(--pine); padding: 66px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; text-align: center; }
.stat strong {
  display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.9rem);
  color: var(--amber); font-weight: 600; font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 6px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #c3d1c0; font-weight: 500; }

/* ================= SANCTUARY ================= */
.sanctuary { padding: 110px 0; background: var(--paper); }
.sanctuary-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.feature { padding: 22px 0; border-top: 1px solid rgba(138, 107, 69, 0.22); }
.feature:first-child { border-top: none; padding-top: 0; }
.feature h3 { font-size: 1.3rem; color: var(--pine); margin-bottom: 8px; }
.feature p { color: #4a5a4e; font-size: 0.98rem; }

.sanctuary-map { position: sticky; top: 90px; }
.sanctuary-map svg {
  width: 100%; height: auto; border-radius: 14px;
  box-shadow: var(--shadow-md); border: 1px solid rgba(109, 91, 61, 0.25);
}
.sanctuary-map figcaption { margin-top: 12px; text-align: center; font-size: 0.82rem; color: #8a9384; font-style: italic; }
.map-label { font-family: var(--font-display); font-size: 17px; fill: var(--map-line); font-weight: 600; }
.map-label-sm { font-family: var(--font-body); font-size: 11.5px; fill: #7a684a; letter-spacing: 0.02em; }
.map-water { fill: #48707e; }
.map-badge-text { font-family: var(--font-body); font-size: 12px; font-weight: 700; fill: #6d5b3d; }

/* ================= HISTORY ================= */
.history { position: relative; padding: 110px 0 120px; overflow: hidden; }
.history-bg { position: absolute; inset: 0; background: url("images/river-shoreline.jpg") center / cover fixed no-repeat; }
.history-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(18, 28, 22, 0.93), rgba(18, 28, 22, 0.88)); }
.history .wrap { position: relative; z-index: 2; }

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.timeline-item {
  background: rgba(250, 245, 233, 0.06);
  border: 1px solid rgba(217, 164, 65, 0.22);
  border-radius: 14px; padding: 28px 26px;
  backdrop-filter: blur(3px);
  transition: transform 0.25s ease, background 0.25s ease;
}
.timeline-item:hover { transform: translateY(-4px); background: rgba(250, 245, 233, 0.1); }
.timeline-era {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--amber);
  border: 1px solid rgba(217, 164, 65, 0.45); border-radius: 999px; padding: 4px 12px; margin-bottom: 16px;
}
.timeline-item h3 { color: var(--cream); font-size: 1.25rem; margin-bottom: 10px; }
.timeline-item p { color: #c4cfc1; font-size: 0.92rem; }

/* ================= STEWARDS ================= */
.stewards { padding: 110px 0 90px; background: var(--parchment); }
.stewards-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 54px; }
.steward-story p { margin-bottom: 20px; color: #3c4c40; font-size: 1.02rem; }
.steward-story .drop-cap::first-letter {
  font-family: var(--font-display); font-size: 3.4em; float: left;
  line-height: 0.82; padding: 6px 10px 0 0; color: var(--brass); font-weight: 600;
}
.steward-cards { display: flex; flex-direction: column; gap: 18px; }
.steward-card {
  background: var(--paper); border-radius: 14px; padding: 26px 26px 24px;
  border: 1px solid rgba(138, 107, 69, 0.2); box-shadow: var(--shadow-md);
}
.steward-card h4 { font-family: var(--font-display); font-size: 1.12rem; color: var(--pine); margin-bottom: 8px; font-weight: 600; }
.steward-card h4 a { color: var(--sepia); text-decoration: underline; text-decoration-color: rgba(138,107,69,0.4); text-underline-offset: 3px; }
.steward-card h4 a:hover { color: var(--brass); }
.steward-card p { font-size: 0.9rem; color: #4a5a4e; }

.affiliations { margin-top: 76px; padding-top: 44px; border-top: 1px solid rgba(138, 107, 69, 0.25); }
.affiliations ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: 10px; }
.affiliations li {
  font-family: var(--font-display); font-size: 0.98rem; color: var(--pine);
  background: var(--paper); border: 1px solid rgba(138, 107, 69, 0.25);
  padding: 10px 20px; border-radius: 999px;
}

/* ================= SUPPORT ================= */
.support { position: relative; padding: 130px 0; overflow: hidden; }
.support-bg { position: absolute; inset: 0; background: url("images/osprey-nest.jpg") center 30% / cover no-repeat; }
.support-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(18, 28, 22, 0.9), rgba(18, 28, 22, 0.82)); }
.support-inner { position: relative; z-index: 2; text-align: center; max-width: 780px; }
.support h2 { color: var(--cream); }
.support-inner > p { margin: 20px auto 0; color: #cdd8cb; max-width: 62ch; }
.support .hero-actions { justify-content: center; }
.support blockquote {
  margin: 64px auto 0; font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: #e9ddba; line-height: 1.5; max-width: 34ch;
}
.support cite { display: block; margin-top: 18px; font-style: normal; font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); }

/* ================= FOOTER ================= */
.footer { background: #14211a; color: #aebcab; padding: 64px 0 30px; }
.footer a { color: #d8cfa8; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(250,245,233,0.12); }
.footer-brand svg { width: 38px; height: 38px; color: var(--brass); margin-bottom: 14px; }
.footer-brand strong { color: var(--cream); font-family: var(--font-display); font-size: 1.05rem; }
.footer-col h5 { color: var(--cream); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; margin-bottom: 9px; font-size: 0.92rem; }
.footer-col p { font-size: 0.92rem; }
.footer-note { margin-top: 12px; font-size: 0.78rem !important; font-style: italic; color: #7f8d7c; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 0.78rem; color: #7f8d7c; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 120px; gap: 48px; }
  .hero-poster figure { max-width: 330px; }
  .cam-layout { grid-template-columns: 1fr; }
  .cam-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 34px 20px; }
  .sanctuary-grid, .stewards-grid { grid-template-columns: 1fr; }
  .sanctuary-map { position: static; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed; inset: 0; background: rgba(20, 33, 26, 0.97);
    flex-direction: column; justify-content: center; gap: 30px;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a, .nav.scrolled .nav-links a { color: var(--cream); font-size: 1.2rem; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; z-index: 110; padding: 6px;
  }
  .nav-toggle span { width: 24px; height: 2px; background: currentColor; color: var(--cream); transition: transform 0.25s ease, opacity 0.25s ease; }
  .nav.scrolled .nav-toggle span { color: var(--ink); }
  .nav-toggle.open span { color: var(--cream); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cam-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .mission-inner { flex-direction: column; }
  .cam-bottombar { flex-direction: column; align-items: flex-start; gap: 10px; }
}
