/* ============================================================
   FUTURE MOSCOW — Shared Stylesheet
   Moscow School District #281
   ============================================================ */

:root {
  --fm-forest: #2e2e2e;
  --fm-forest-dark: #161616;
  --fm-wheat: #a91e2c;
  --fm-wheat-light: #c9c9c9;
  --fm-paper: #f5f5f4;
  --fm-ink: #1c1c1c;
  --fm-line: #d9d9d7;
  --fm-band-bg: #efefed;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Public Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--fm-ink);
  background: var(--fm-paper);
  line-height: 1.55;
  margin: 0;
}

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  color: var(--fm-forest-dark);
  line-height: 1.15;
  margin: 0 0 0.4em;
}

a { color: var(--fm-forest); }

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

.fm-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fm-wheat);
}

.fm-wrap { max-width: 1100px; margin: 0 auto; }

/* ============================================================
   SITE NAVIGATION
   ============================================================ */
.fm-nav {
  background: var(--fm-forest-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1200;
}
.fm-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem 0;
  display: block;
}
.fm-nav-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.6rem;
}
.fm-nav-linkrow {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 0.55rem 0 0.65rem;
}
.fm-nav-brand {
  color: #fff;
  text-decoration: none;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.fm-nav-brand span { color: var(--fm-wheat); }
.fm-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}
.fm-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fm-nav-links > li { position: relative; }
.fm-nav-links a {
  color: #e7e2cf;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.fm-nav-links a:hover, .fm-nav-links a.active { color: #fff; }
.fm-nav-links a.active { border-bottom: 2px solid var(--fm-wheat); padding-bottom: 4px; }

/* Projects dropdown */
.fm-dropdown-toggle {
  background: none;
  border: none;
  color: #e7e2cf;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
}
.fm-dropdown-toggle::after { content: "▾"; font-size: 0.7rem; }
a.fm-dropdown-toggle { text-decoration: none; }
a.fm-dropdown-toggle:hover { color: #fff; }
.fm-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  min-width: 260px;
  padding: 0.5rem;
  margin-top: 0.55rem;
  z-index: 1300;
}
.fm-nav-links > li.fm-dropdown-open .fm-dropdown-menu { display: block; }
/* Desktop: hover opens the menu */
@media (min-width: 901px) {
  .fm-nav-links > li.fm-has-dropdown:hover .fm-dropdown-menu,
  .fm-nav-links > li.fm-has-dropdown:focus-within .fm-dropdown-menu { display: block; }
  /* invisible bridge so the pointer can travel into the menu */
  .fm-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -0.85rem;
    left: 0;
    right: 0;
    height: 0.85rem;
  }
}
.fm-dropdown-menu a {
  display: block;
  color: var(--fm-ink);
  font-weight: 500;
  padding: 0.55rem 0.75rem;
  border-radius: 4px;
  font-size: 0.88rem;
}
.fm-dropdown-menu a:hover { background: var(--fm-paper); color: var(--fm-forest-dark); }

@media (max-width: 900px) {
  .fm-nav-toggle { display: block; }
  .fm-nav-inner { padding-bottom: 0; }
  .fm-nav-brandrow { padding-bottom: 0.75rem; }
  .fm-nav-linkrow { border-top: none; padding: 0; }
  .fm-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--fm-forest-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .fm-nav-links.fm-nav-open { display: flex; }
  .fm-nav-links > li { width: 100%; }
  .fm-nav-links a { display: block; padding: 0.7rem 1.5rem; }
  .fm-dropdown-toggle { width: 100%; padding: 0.7rem 1.5rem; justify-content: space-between; }
  .fm-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(0,0,0,0.2);
    border-radius: 0;
    margin: 0;
    width: 100%;
  }
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.fm-site-footer {
  background: var(--fm-forest-dark);
  color: #b8b8b6;
  padding: 2.5rem 1.5rem 1.5rem;
  font-size: 0.85rem;
  margin-top: 3rem;
}
.fm-site-footer .fm-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.fm-site-footer h4 { color: #fff; font-family: "Source Serif 4", Georgia, serif; font-size: 1rem; margin-bottom: 0.75rem; }
.fm-site-footer ul { list-style: none; margin: 0; padding: 0; }
.fm-site-footer li { margin-bottom: 0.4rem; }
.fm-site-footer a { color: #b8b8b6; text-decoration: none; }
.fm-site-footer a:hover { color: #fff; }
.fm-footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.78rem; color: #8a8a86; }

/* ============================================================
   HERO (gradient variant — used on content pages)
   ============================================================ */
.fm-hero {
  background: linear-gradient(180deg, var(--fm-forest-dark) 0%, var(--fm-forest) 100%);
  color: #f4f1e6;
  padding: 3rem 2rem 0;
  text-align: center;
  overflow: hidden;
}
.fm-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin-top: 0.5rem; }
.fm-hero .fm-eyebrow { color: var(--fm-wheat-light); }
.fm-hero p.fm-sub { max-width: 640px; margin: 1rem auto 1.75rem; font-size: 1.1rem; color: #e7e2cf; }
.fm-cta-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.fm-btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: 3px; font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.fm-btn-primary { background: var(--fm-wheat); color: #fff; }
.fm-btn-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.6); }
.fm-cost-pill { display: inline-block; background: var(--fm-wheat); color: #fff; font-weight: 700; font-size: 0.85rem; padding: 0.35rem 0.9rem; border-radius: 999px; margin-top: 0.75rem; }
.fm-horizon { display: block; width: 100%; height: 180px; }
.fm-horizon path { fill: var(--fm-paper); }

/* Hero image variant (project pages with renderings) */
.fm-hero-img-wrap { position: relative; overflow: hidden; }
.fm-hero-img-wrap img { width: 100%; height: clamp(280px, 46vw, 460px); object-fit: cover; }
.fm-hero-caption { background: var(--fm-forest-dark); color: #d8d8d6; font-size: 0.78rem; text-align: center; padding: 0.4rem 1rem; font-style: italic; }
.fm-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,22,22,0.05) 0%, rgba(22,22,22,0.75) 100%); display: flex; align-items: flex-end; padding: 2rem; }
.fm-hero-overlay-inner { color: #fff; max-width: 700px; }
.fm-hero-overlay-inner .fm-eyebrow { color: var(--fm-wheat-light); }
.fm-hero-overlay-inner h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0.3rem 0 0.4rem; }
.fm-hero-overlay-inner p { color: #e7e2cf; font-size: 1rem; max-width: 620px; margin: 0; }

/* ============================================================
   LAYOUT / SECTIONS
   ============================================================ */
.fm-section { padding: 2.75rem 2rem; max-width: 1100px; margin: 0 auto; }
.fm-section-narrow { max-width: 820px; }
.fm-section-flush { max-width: none; padding-left: 0; padding-right: 0; }
.fm-divider-label { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.fm-divider-label::after { content: ""; flex: 1; height: 1px; background: var(--fm-line); }

.fm-crumb { padding: 1.25rem 2rem 0; font-size: 0.85rem; max-width: 1100px; margin: 0 auto; }
.fm-crumb a { text-decoration: none; font-weight: 600; }
.fm-crumb a::before { content: "← "; }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.fm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.fm-card { background: #fff; border: 1px solid var(--fm-line); border-top: 3px solid var(--fm-wheat); border-radius: 4px; padding: 1.25rem 1.4rem; text-decoration: none; color: inherit; display: block; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.fm-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.fm-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.fm-card p { font-size: 0.92rem; margin: 0 0 0.9rem; color: #43473f; }
.fm-card .fm-card-link { font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.fm-card .fm-card-link::after { content: " →"; }
.fm-tag { display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--fm-forest); background: #ececea; padding: 0.2rem 0.5rem; border-radius: 2px; margin-bottom: 0.6rem; }

/* ============================================================
   NUMBERED "WHY" LIST
   ============================================================ */
.fm-why-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.fm-why-item { display: flex; gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--fm-line); }
.fm-why-item:first-child { padding-top: 0; }
.fm-why-item:last-child { border-bottom: none; }
.fm-why-num { font-family: "Source Serif 4", Georgia, serif; font-weight: 700; font-size: 2.1rem; color: var(--fm-wheat); flex-shrink: 0; width: 2.75rem; line-height: 1; }
.fm-why-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.fm-why-body p { margin: 0 0 0.5rem; font-size: 0.95rem; color: #3a3a3a; }
.fm-why-body p:last-child { margin-bottom: 0; }
.fm-why-bullets { margin: 0.6rem 0 0; padding-left: 1.1rem; }
.fm-why-bullets li { font-size: 0.92rem; margin-bottom: 0.45rem; color: #3a3a3a; }
.fm-why-bullets li:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .fm-why-item { gap: 1rem; } .fm-why-num { font-size: 1.6rem; width: 2rem; } }

/* ============================================================
   SIMPLE TIMELINE (overview preview) + YEAR-GROUPED TIMELINE (full page)
   ============================================================ */
.fm-timeline { list-style: none; margin: 1.5rem 0 0; padding: 0; border-left: 2px solid var(--fm-line); }
.fm-timeline li { position: relative; padding: 0 0 1.6rem 1.5rem; }
.fm-timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--fm-wheat); border: 2px solid var(--fm-paper); }
.fm-timeline .fm-date { font-weight: 700; color: var(--fm-forest-dark); display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }

.fm-year-block { margin-bottom: 2.5rem; }
.fm-year-heading { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; }
.fm-year-heading h2 { font-size: 2rem; color: var(--fm-wheat); margin: 0; }
.fm-year-heading::after { content: ""; flex: 1; height: 1px; background: var(--fm-line); }
.fm-events { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--fm-line); }
.fm-event { position: relative; padding: 0 0 1.5rem 1.5rem; }
.fm-event:last-child { padding-bottom: 0.25rem; }
.fm-event::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--fm-wheat); border: 2px solid var(--fm-paper); }
.fm-event .fm-when { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--fm-forest-dark); margin-bottom: 0.15rem; }
.fm-event h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.fm-event p { margin: 0; font-size: 0.92rem; color: #3a3a3a; }
.fm-flag { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #fff; background: var(--fm-wheat); padding: 0.1rem 0.4rem; border-radius: 2px; margin-left: 0.4rem; vertical-align: middle; }

/* ============================================================
   PROJECT PAGE COMPONENTS (scope lists, stats, callouts, galleries, plans)
   ============================================================ */
.fm-scope { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.fm-scope li { background: #fff; border: 1px solid var(--fm-line); border-left: 3px solid var(--fm-wheat); border-radius: 4px; padding: 1rem 1.1rem; font-size: 0.95rem; }
.fm-scope li strong { display: block; color: var(--fm-forest-dark); margin-bottom: 0.2rem; }

.fm-callout { background: #fff; border: 1px solid var(--fm-line); border-radius: 6px; padding: 1.5rem 1.75rem; margin-top: 1.75rem; display: flex; gap: 1rem; align-items: flex-start; }
.fm-callout .fm-callout-icon { font-family: "Source Serif 4", Georgia, serif; font-weight: 700; font-size: 1.3rem; color: var(--fm-wheat); flex-shrink: 0; }
.fm-callout p { margin: 0; font-size: 0.95rem; }
.fm-callout p + p { margin-top: 0.6rem; }

.fm-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.fm-stat { background: #fff; border: 1px solid var(--fm-line); border-radius: 4px; padding: 1.25rem; text-align: center; }
.fm-stat .fm-stat-num { font-family: "Source Serif 4", Georgia, serif; font-size: 1.6rem; color: var(--fm-forest-dark); font-weight: 700; display: block; }
.fm-stat .fm-stat-label { font-size: 0.78rem; color: #5b5b58; text-transform: uppercase; letter-spacing: 0.04em; }

.fm-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.fm-gallery figure { margin: 0; background: #fff; border: 1px solid var(--fm-line); border-radius: 6px; overflow: hidden; }
.fm-gallery img { width: 100%; height: 260px; object-fit: cover; }
.fm-gallery figcaption { padding: 0.6rem 0.9rem; font-size: 0.82rem; color: #5b5b58; }
.fm-gallery.fm-gallery-wide { grid-template-columns: 1fr; }
.fm-gallery.fm-gallery-wide img { height: 380px; }

.fm-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.fm-plan-card { background: #fff; border: 1px solid var(--fm-line); border-radius: 6px; overflow: hidden; }
.fm-plan-card img { width: 100%; background: #fff; }
.fm-plan-card .fm-plan-label { padding: 0.75rem 1rem; font-weight: 600; font-size: 0.92rem; border-top: 1px solid var(--fm-line); }

@media (max-width: 700px) { .fm-gallery { grid-template-columns: 1fr; } }

/* ============================================================
   BUDGET & FUNDING COMPONENTS
   ============================================================ */
.fm-total-card { background: var(--fm-forest-dark); color: #fff; border-radius: 6px; padding: 2rem; text-align: center; margin-top: 1.5rem; }
.fm-total-card .fm-total-num { font-family: "Source Serif 4", Georgia, serif; font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 700; color: #fff; display: block; margin: 0.25rem 0; }
.fm-total-card .fm-total-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fm-wheat-light); }
.fm-total-card p { color: #d8d8d6; font-size: 0.9rem; max-width: 520px; margin: 0.75rem auto 0; }

.fm-fund-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.fm-fund-card { background: #fff; border: 1px solid var(--fm-line); border-radius: 6px; padding: 1.5rem; }
.fm-fund-card .fm-fund-amt { font-family: "Source Serif 4", Georgia, serif; font-size: 1.9rem; font-weight: 700; color: var(--fm-forest-dark); display: block; }
.fm-fund-status { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.15rem 0.5rem; border-radius: 2px; margin-bottom: 0.6rem; }
.fm-fund-status.confirmed { background: #e3ede4; color: #2c5233; }
.fm-fund-status.pending { background: #f3e6c8; color: #7a5b12; }
.fm-fund-status.financed { background: #ececea; color: var(--fm-forest-dark); }
.fm-fund-card h3 { font-size: 1.02rem; margin: 0.3rem 0 0.5rem; }
.fm-fund-card p { font-size: 0.9rem; color: #3a3a3a; margin: 0; }

.fm-compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.fm-compare-card { background: #fff; border: 1px solid var(--fm-line); border-radius: 6px; overflow: hidden; }
.fm-compare-card.highlight { border: 2px solid var(--fm-wheat); }
.fm-compare-head { background: var(--fm-forest-dark); color: #fff; padding: 1rem 1.25rem; }
.fm-compare-card.highlight .fm-compare-head { background: var(--fm-wheat); }
.fm-compare-head h3 { color: #fff; font-size: 1.05rem; margin: 0; }
.fm-compare-head span { font-size: 0.78rem; color: rgba(255,255,255,0.8); }
.fm-compare-body { padding: 1.25rem; }
.fm-compare-row { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--fm-line); font-size: 0.9rem; }
.fm-compare-row:last-child { border-bottom: none; }
.fm-compare-row strong { color: var(--fm-forest-dark); }
.fm-savings-banner { background: var(--fm-forest-dark); color: #fff; border-radius: 6px; padding: 1.5rem; text-align: center; margin-top: 1.25rem; }
.fm-savings-banner .fm-savings-num { font-family: "Source Serif 4", Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; color: var(--fm-wheat-light); display: block; }

.fm-pie-wrap { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.fm-pie { width: 220px; height: 220px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.fm-pie-hole { width: 130px; height: 130px; background: var(--fm-paper); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fm-pie-hole-num { font-family: "Source Serif 4", Georgia, serif; font-weight: 700; font-size: 1.5rem; color: var(--fm-forest-dark); }
.fm-pie-hole-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: #6b6b68; }
.fm-pie-legend { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 240px; }
.fm-pie-legend li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid var(--fm-line); }
.fm-pie-legend li:last-child { border-bottom: none; }
.fm-swatch { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; margin-top: 0.2rem; }
.fm-pie-legend strong { display: block; font-size: 0.92rem; }
.fm-pie-legend span { font-size: 0.82rem; color: #5b5b58; }

.fm-calc-steps { list-style: none; margin: 1.5rem 0; padding: 0; counter-reset: calc-step; }
.fm-calc-steps li { display: flex; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px dashed var(--fm-line); font-size: 0.92rem; align-items: baseline; }
.fm-calc-steps li:last-child { border-bottom: none; }
.fm-calc-steps li::before { counter-increment: calc-step; content: counter(calc-step); flex-shrink: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--fm-forest-dark); color: #fff; font-size: 0.78rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.fm-calc-example { background: var(--fm-forest-dark); color: #fff; border-radius: 6px; padding: 1.5rem 1.75rem; margin-top: 1.5rem; }
.fm-calc-example h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.9rem; }
.fm-calc-row { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.15); font-size: 0.9rem; }
.fm-calc-row:last-child { border-bottom: none; padding-top: 0.7rem; font-size: 1.05rem; }
.fm-calc-row:last-child strong { color: var(--fm-wheat-light); }
.fm-calc-row span:first-child { color: #d8d8d6; }

.fm-home-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: 0.88rem; }
.fm-home-table th, .fm-home-table td { padding: 0.65rem 0.6rem; text-align: right; border-bottom: 1px solid var(--fm-line); }
.fm-home-table th:first-child, .fm-home-table td:first-child { text-align: left; }
.fm-home-table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; color: #5b5b58; font-weight: 700; }
.fm-home-table tbody tr.fm-median-row { background: #f3ece0; font-weight: 700; }
.fm-home-table td:last-child { color: var(--fm-wheat); font-weight: 700; }

.fm-sff-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 0.75rem; margin: 1.5rem 0; }
.fm-sff-step { background: #fff; border: 1px solid var(--fm-line); border-radius: 4px; padding: 0.9rem; text-align: center; font-size: 0.85rem; }
.fm-sff-step .fm-sff-order { display: block; font-family: "Source Serif 4", Georgia, serif; font-weight: 700; color: var(--fm-wheat); font-size: 1.1rem; }
.fm-recapture-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.fm-recapture-card { border-radius: 6px; padding: 1.5rem; text-align: center; }
.fm-recapture-card.good { background: #eef1ea; border: 2px solid #4a6b52; }
.fm-recapture-card.caution { background: #f5f5f4; border: 1px solid var(--fm-line); }
.fm-recapture-card .fm-recapture-num { font-family: "Source Serif 4", Georgia, serif; font-size: 2rem; font-weight: 700; display: block; color: var(--fm-forest-dark); }

.fm-bar-chart { display: flex; align-items: flex-end; gap: 0.5rem; height: 220px; margin: 2rem 0 0.5rem; padding: 0 0.5rem; border-bottom: 2px solid var(--fm-forest-dark); }
.fm-bar-chart .fm-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.fm-bar-chart .fm-bar-value { font-size: 0.68rem; font-weight: 700; color: var(--fm-forest-dark); margin-bottom: 0.3rem; white-space: nowrap; }
.fm-bar-chart .fm-bar-col-bar { width: 100%; background: var(--fm-wheat); border-radius: 2px 2px 0 0; }
.fm-bar-labels { display: flex; gap: 0.5rem; padding: 0 0.5rem; }
.fm-bar-labels span { flex: 1; text-align: center; font-size: 0.72rem; color: #5b5b58; }
.fm-chart-source { font-size: 0.78rem; color: #8a8a86; margin-top: 1rem; font-style: italic; }

.fm-growth-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1rem; margin: 1.5rem 0; }
.fm-growth-stat { background: #fff; border: 1px solid var(--fm-line); border-radius: 6px; padding: 1.25rem; text-align: center; }
.fm-growth-stat .fm-growth-num { font-family: "Source Serif 4", Georgia, serif; font-size: 1.9rem; font-weight: 700; color: var(--fm-wheat); display: block; }
.fm-growth-stat .fm-growth-label { font-size: 0.82rem; color: #5b5b58; }

/* ============================================================
   JUMP NAV (in-page section navigation, e.g. long FAQ pages)
   ============================================================ */
.fm-jumpnav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0 0; }
.fm-jumpnav a {
  background: #fff;
  border: 1px solid var(--fm-line);
  color: var(--fm-forest-dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.fm-jumpnav a:hover { background: var(--fm-forest-dark); color: #fff; border-color: var(--fm-forest-dark); }
.fm-faq-section { scroll-margin-top: 90px; padding-top: 1rem; }
.fm-faq-section-title { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.25rem; }
.fm-faq-section-title h2 { font-size: 1.6rem; margin: 0; }
.fm-faq-section-title::after { content: ""; flex: 1; height: 1px; background: var(--fm-line); }
.fm-back-to-top { display: inline-block; font-size: 0.82rem; margin-top: 1.5rem; text-decoration: none; font-weight: 600; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.fm-faq-list { margin-top: 1.5rem; }
.fm-faq-item { background: #fff; border: 1px solid var(--fm-line); border-radius: 6px; margin-bottom: 0.75rem; overflow: hidden; }
.fm-faq-item summary { list-style: none; cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; font-size: 0.98rem; color: var(--fm-forest-dark); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.fm-faq-item summary::-webkit-details-marker { display: none; }
.fm-faq-item summary::after { content: "+"; font-family: "Source Serif 4", Georgia, serif; font-size: 1.4rem; color: var(--fm-wheat); flex-shrink: 0; line-height: 1; }
.fm-faq-item[open] summary::after { content: "\2212"; }
.fm-faq-item[open] summary { border-bottom: 1px solid var(--fm-line); }
.fm-faq-body { padding: 1rem 1.25rem 1.25rem; font-size: 0.94rem; color: #3a3a3a; }
.fm-faq-body p { margin: 0 0 0.75rem; }
.fm-faq-body p:last-child { margin-bottom: 0; }
.fm-faq-body ul { margin: 0.5rem 0; padding-left: 1.2rem; }
.fm-faq-body li { margin-bottom: 0.4rem; }

/* ============================================================
   SHARED UTILITIES
   ============================================================ */
.fm-caveat { background: #fff; border: 1px solid var(--fm-line); border-left: 3px solid var(--fm-wheat); border-radius: 4px; padding: 1.25rem 1.5rem; margin-top: 1.5rem; font-size: 0.88rem; }

.fm-band { background: var(--fm-band-bg); border-radius: 6px; padding: 2rem; text-align: center; }
.fm-band h2 { margin-bottom: 0.6rem; font-size: 1.5rem; }
.fm-linkrow { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }
.fm-linkrow a { background: #fff; border: 1px solid var(--fm-line); padding: 0.6rem 1.1rem; border-radius: 3px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.fm-btn-primary-link { background: var(--fm-wheat) !important; color: #fff !important; border-color: var(--fm-wheat) !important; }

.fm-disclosure { background: #fff; border: 2px solid var(--fm-forest-dark); border-radius: 6px; padding: 1.5rem 1.75rem; margin: 2rem; font-size: 0.88rem; }
.fm-disclosure h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.75rem; }
.fm-disclosure dl { margin: 0.75rem 0; }
.fm-disclosure dt { font-weight: 700; margin-top: 0.6rem; }
.fm-disclosure dd { margin: 0.1rem 0 0; color: #3a3a3a; }
.fm-disclosure .fm-legal-note { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--fm-line); font-size: 0.8rem; color: #5b5b58; font-style: italic; }

.fm-footnote { font-size: 0.82rem; color: #6b6f63; text-align: center; padding: 1.5rem 2rem 2.5rem; }

/* Focus visibility (accessibility floor) */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--fm-wheat);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .fm-hero { padding: 2rem 1.25rem 0; }
  .fm-section { padding: 2rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fm-card { transition: none; }
}

/* ============================================================
   FORM STYLES — Have a Question
   ============================================================ */
textarea/* ============================================================
   REQUIRED LEVY DISCLOSURE — Idaho Code § 34-914
   Appears on every page. Text must match the adopted language.
   ============================================================ */
.fm-levy-disclosure {
  max-width: 860px;
  margin: 2.5rem auto 0;
  background: #fff;
  border: 2px solid var(--fm-forest-dark);
  border-left: 8px solid var(--fm-wheat);
  border-radius: 3px;
  padding: 1.35rem 1.6rem;
}
.fm-levy-disclosure p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1a1a1a;
  margin: 0 0 0.8rem;
}
.fm-levy-disclosure p:last-child { margin-bottom: 0; }
.fm-levy-disclosure .fm-ld-lead,
.fm-levy-disclosure .fm-ld-term {
  font-weight: 700;
  color: var(--fm-forest-dark);
}
@media (max-width: 600px) {
  .fm-levy-disclosure { padding: 1.1rem 1.2rem; margin-top: 2rem; }
  .fm-levy-disclosure p { font-size: 0.9rem; }
}

/* Future Projects nav item — visually set apart from funded work */
.fm-nav-future > .fm-dropdown-toggle {
  opacity: 0.82;
  font-style: italic;
}
.fm-nav-future > .fm-dropdown-toggle:hover { opacity: 1; }
.fm-dropdown-note {
  font-size: 0.72rem;
  line-height: 1.45;
  color: #6b6b6b;
  padding: 0.55rem 1rem 0.6rem;
  border-bottom: 1px solid var(--fm-line);
  margin-bottom: 0.3rem;
  font-style: italic;
}


/* ============================================================
   MAP PAGE — keep the site nav above Leaflet's panes
   Leaflet assigns z-index up to 800 for panes and 1000 for
   controls, which would otherwise cover the Projects dropdown.
   ============================================================ */
.fm-nav { position: relative; z-index: 1200; }
.fm-nav-links .fm-dropdown-menu { z-index: 1300; }
#fm-map { z-index: 0; }
#fm-map .leaflet-pane,
#fm-map .leaflet-top,
#fm-map .leaflet-bottom { z-index: 400; }
