/* Sawtooth Valley Trails Coalition — clean/minimal */

:root {
  --ink: #1f2823;
  --ink-soft: #4a554e;
  --accent: #2f5d3f;
  --accent-dark: #24492f;
  --rule: #e3e6e2;
  --bg: #ffffff;
  --bg-tint: #f6f7f5;
  --max: 60rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p + p { margin-top: 1rem; }

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

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

/* Header / nav */
header {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.brand { display: inline-block; }

.brand-img {
  height: 42px;
  width: auto;
  display: block;
}

.footer-brand { margin-bottom: 0.9rem; }

.footer-brand .brand-img { height: 34px; }

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding-bottom: 2px;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a.active {
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0.65rem 1.5rem; }
  .nav-links a.active { border-bottom: none; color: var(--accent); }
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--rule);
}

.hero.photo {
  position: relative;
  padding: 8rem 0 7rem;
  background-size: cover;
  background-position: center 65%;
  border-bottom: none;
}

.hero.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 18, 0.15);
}

.hero.photo .wrap { position: relative; }

.hero.photo h1 {
  color: #fff;
  text-shadow: 0 1px 3px rgba(15, 22, 18, 0.55), 0 2px 14px rgba(15, 22, 18, 0.35);
}

.hero.photo p.lede {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(15, 22, 18, 0.6), 0 2px 10px rgba(15, 22, 18, 0.4);
}

.hero.photo .kicker {
  color: #cfe6d6;
  text-shadow: 0 1px 3px rgba(15, 22, 18, 0.6);
}

.hero.photo .btn.ghost { text-shadow: 0 1px 3px rgba(15, 22, 18, 0.6); }

.hero.photo .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.hero.photo .btn.ghost:hover { background: rgba(255, 255, 255, 0.12); }

.hero.photo .photo-credit {
  position: absolute;
  right: 1rem;
  bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero.photo .photo-credit a { color: rgba(255, 255, 255, 0.55); }

.hero .kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero p.lede {
  font-size: 1.25rem;
  color: var(--ink-soft);
  max-width: 44rem;
  margin-top: 1.25rem;
}

/* Photos */
figure.photo {
  margin: 2.25rem 0 0;
}

figure.photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

figure.photo.tall img { max-height: 30rem; object-fit: cover; }

figure.photo figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.6rem;
}

.photo-credit {
  font-size: 0.72rem;
  color: #9aa39d;
}

.photo-credit a { color: #9aa39d; }

/* Page title block (interior pages) */
.page-title {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.page-title p {
  color: var(--ink-soft);
  max-width: 44rem;
  margin-top: 0.75rem;
  font-size: 1.15rem;
}

/* Interior page photo banners */
.page-title.photo {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 4.5rem 0 3rem;
}

.page-title.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 18, 0.28);
}

.page-title.photo .wrap { position: relative; }

.page-title.photo h1 {
  color: #fff;
  text-shadow: 0 1px 3px rgba(15, 22, 18, 0.55), 0 2px 14px rgba(15, 22, 18, 0.35);
}

.page-title.photo p {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(15, 22, 18, 0.6);
}

/* Sections */
section { padding: 3.5rem 0; }

section + section { border-top: 1px solid var(--rule); }

.tint { background: var(--bg-tint); }

.prose { max-width: 44rem; }

.prose h2 { margin-top: 0; }

.prose h3 { margin-top: 2rem; }

/* Two-column definition cards */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.75rem;
  background: var(--bg);
}

.card h3 { margin-bottom: 0.75rem; }

.card.is h3 { color: var(--accent); }
.card.isnt h3 { color: #8a4b2d; }

.card ul { list-style: none; margin-top: 0.25rem; }

.card ul li {
  padding: 0.45rem 0 0.45rem 1.6rem;
  position: relative;
  color: var(--ink-soft);
}

.card.is ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.card.isnt ul li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #8a4b2d;
  font-weight: 700;
}

/* Principles list */
.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.principle h3 {
  font-size: 1.05rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

.principle p { color: var(--ink-soft); font-size: 0.97rem; margin-top: 0.35rem; }

.principle .num {
  color: var(--accent);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.4rem;
}

/* Leadership */
.leader {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 2.25rem;
  align-items: start;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--rule);
  max-width: 52rem;
}

.leader:first-child { padding-top: 0; }

.leader:last-of-type { border-bottom: none; }

.leader img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.leader .role {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0.1rem 0 0.75rem;
}

.leader p + p { margin-top: 0.85rem; }

.leader div > p:not(.role) { color: var(--ink-soft); }

@media (max-width: 720px) {
  .leader { grid-template-columns: 1fr; gap: 1.25rem; }
  .leader img { max-width: 18rem; }
}

/* Current Plan updates */
.update {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.update:first-of-type { padding-top: 0; }

.update:last-of-type { border-bottom: none; }

.update-date {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.update h2 { margin-bottom: 1.25rem; }

.update .prose h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 1.75rem 0;
  max-width: 44rem;
}

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

.faq-item h3 { margin-bottom: 0.6rem; }

.faq-item p { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.97rem;
  margin-top: 1.5rem;
}

.btn:hover { background: var(--accent-dark); color: #fff; }

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  margin-left: 0.75rem;
}

.btn.ghost:hover { background: var(--bg-tint); }

/* Callout */
.callout {
  border-left: 3px solid var(--accent);
  background: var(--bg-tint);
  padding: 1.25rem 1.5rem;
  border-radius: 0 6px 6px 0;
  margin: 1.75rem 0;
  max-width: 44rem;
  color: var(--ink-soft);
}

/* Footer */
footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0;
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

footer nav a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-right: 1.25rem;
}

footer nav a:hover { color: var(--ink); }
