:root {
  --paper: #faf6ec;
  --ink: #3a2c1c;
  --green: #2e6b34;
  --green-dark: #1e4a23;
  --gold: #d9a441;
  --rust: #b4552d;
  --card: #fffdf7;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Karla", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; }
.kicker {
  text-transform: uppercase; letter-spacing: .22em;
  font-size: .75rem; font-weight: 700; color: var(--rust);
  margin-bottom: .6rem;
}
.center { text-align: center; }

/* nav */
nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(30, 74, 35, .96);
  backdrop-filter: blur(4px);
}
.nav-inner {
  max-width: 1000px; margin: 0 auto; padding: .7rem 1.2rem;
  display: flex; justify-content: space-between; align-items: center;
}
.brand { color: #fff; font-weight: 700; font-size: 1.05rem; }
.nav-links { display: flex; gap: 1.2rem; }
.nav-links a { color: #e8dcc0; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: #fff; }

/* hero */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; }
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero-text {
  position: relative; z-index: 1; width: 100%;
  background: linear-gradient(transparent, rgba(20, 30, 18, .82));
  color: #fff; padding: 5rem 1.5rem 3rem;
  text-align: center;
}
.hero-text .kicker { color: var(--gold); }
.hero h1 { font-size: clamp(2.8rem, 9vw, 5.2rem); font-weight: 800; text-shadow: 0 3px 18px rgba(0,0,0,.5); }
.tagline { font-size: 1.2rem; margin: 1rem 0 1.6rem; color: #f3ead2; }
.btn {
  display: inline-block; background: var(--gold); color: #3a2a10;
  font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
  padding: .85rem 1.8rem; border-radius: 999px; font-size: 1.05rem;
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.5);
  transition: transform .15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn.small { font-size: .95rem; padding: .65rem 1.3rem; margin-top: 1rem; }

/* sections */
main { max-width: 1000px; margin: 0 auto; padding: 0 1.2rem; }
section { padding: 4rem 0; }
.lede { font-size: 1.35rem; max-width: 44rem; margin: 0 auto 2.5rem; text-align: center; font-weight: 600; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  max-width: 40rem; margin: 0 auto; text-align: center;
}
.stats div {
  background: var(--card); border: 2px solid #e5d9bd; border-radius: 16px; padding: 1rem .5rem;
}
.stats strong { display: block; font-family: "Fraunces", serif; font-size: 2rem; color: var(--green); }
.stats span { font-size: .85rem; color: #8a7a5c; }

/* ranger */
.ranger {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: center;
  background: var(--card); border-radius: 24px; padding: 2.5rem;
  border: 2px solid #e5d9bd;
}
.ranger img { width: 100%; border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.4); }
.ranger h2 { font-size: 2.2rem; margin-bottom: 1rem; color: var(--green-dark); }
.ranger p { margin-bottom: 1rem; }

/* trails */
#trails h2 { font-size: 2.2rem; margin-bottom: 2rem; color: var(--green-dark); }
.trails { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.trail {
  background: var(--card); border-radius: 20px; overflow: hidden;
  border: 2px solid #e5d9bd; transition: transform .2s ease;
}
.trail:hover { transform: translateY(-4px); }
.trail img { width: 100%; height: 220px; object-fit: cover; display: block; }
.trail-body { padding: 1.4rem; }
.trail-body h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.trail-body .meta { font-weight: 700; color: var(--rust); font-size: .9rem; margin-bottom: .6rem; }
.trail.textonly { display: flex; align-items: center; }

/* wildlife */
.wildlife { background: var(--green-dark); border-radius: 24px; color: #f3ead2; padding: 3rem 2rem; }
.wildlife .kicker { color: var(--gold); }
.wildlife h2 { font-size: 2.2rem; margin-bottom: .4rem; }
.wildlife .sub { color: #cdbf9d; margin-bottom: 1.8rem; }
.logbook { max-width: 34rem; margin: 0 auto; text-align: center; }
#sightings { list-style: none; margin-bottom: 1.5rem; text-align: left; }
#sightings li {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: .8rem 1.1rem; margin-bottom: .6rem;
  animation: slidein .35s ease;
}
#sightings li .when { display: block; font-size: .75rem; color: var(--gold); font-weight: 700; letter-spacing: .08em; }
@keyframes slidein { from { opacity: 0; transform: translateY(10px); } }

/* rules */
#rules h2 { font-size: 2.2rem; margin-bottom: 1.8rem; color: var(--green-dark); }
.rules ol {
  max-width: 38rem; margin: 0 auto; list-style: none; counter-reset: rule;
}
.rules li {
  counter-increment: rule; background: var(--card);
  border: 2px solid #e5d9bd; border-radius: 14px;
  padding: 1rem 1.2rem 1rem 3.6rem; margin-bottom: .8rem; position: relative;
}
.rules li::before {
  content: counter(rule); position: absolute; left: 1rem; top: 50%;
  transform: translateY(-50%); width: 2rem; height: 2rem;
  background: var(--green); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem;
}

/* visit + footer */
.visit {
  text-align: center; background: var(--card);
  border: 2px dashed var(--gold); border-radius: 24px;
  padding: 2.5rem; margin-bottom: 3rem;
}
.visit h2 { color: var(--green-dark); margin-bottom: 1rem; font-size: 2rem; }
footer {
  background: var(--green-dark); color: #cdbf9d;
  text-align: center; padding: 2rem 1rem; font-size: .9rem;
}

@media (max-width: 720px) {
  .ranger { grid-template-columns: 1fr; }
  .trails { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
