/* Sauk Centre Sno-Cleats — modern rebuild */
:root {
  --ink: #1b2733;
  --ink-soft: #46586b;
  --night: #122536;
  --night-deep: #0c1a28;
  --snow: #f4f6f8;
  --paper: #ffffff;
  --line: #dde4ea;
  --blaze: #e8720c;
  --blaze-deep: #c45e06;
  --ice: #9fc3dd;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(12, 26, 40, .08), 0 8px 24px rgba(12, 26, 40, .08);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blaze-deep); }
a:hover { color: var(--blaze); }

.wrap { max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }

h1, h2, h3, .brand-text {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: .01em;
  color: var(--night);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: .2em 0 .3em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 1.2em 0 .4em; text-transform: uppercase; }
h3 { font-size: 1.35rem; margin: 0 0 .35em; }

.kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
  font-size: .95rem;
  color: var(--blaze);
  margin: 0 0 .25rem;
}
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 46rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--night-deep);
  border-bottom: 3px solid var(--blaze);
}
.header-row { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 2.2rem; height: 2.2rem; border-radius: 6px; }
.brand-text {
  color: var(--snow); font-size: 1.3rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
}
.brand-text strong { color: var(--blaze); font-weight: 700; }
.site-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .55rem .8rem;
  color: #cfdae4; text-decoration: none;
  font-family: var(--font-display); text-transform: uppercase;
  font-weight: 600; font-size: 1.02rem; letter-spacing: .06em;
  border-radius: 6px;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-nav a.current { color: var(--blaze); }
.nav-toggle { display: none; }

/* ---------- status strip ---------- */
.status-strip {
  background: var(--night);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #cfdae4;
  font-size: .95rem;
}
.status-row { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding-block: .5rem; }
.status-dot {
  width: .55rem; height: .55rem; border-radius: 50%; flex: none;
  background: var(--blaze);
  box-shadow: 0 0 0 3px rgba(232, 114, 12, .25);
}
.status-row a { color: var(--ice); }

/* ---------- start-here cards ---------- */
.start-here { position: relative; z-index: 5; margin-top: -3rem; padding-bottom: 2.5rem; }
.start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.start-card {
  display: block; background: var(--paper);
  border: 1px solid var(--line); border-top: 3px solid var(--blaze);
  border-radius: var(--radius); padding: 1.3rem 1.4rem;
  text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.start-card:hover { transform: translateY(-3px); color: var(--ink); box-shadow: 0 2px 4px rgba(12,26,40,.1), 0 14px 32px rgba(12,26,40,.14); }
.start-card svg { width: 2rem; height: 2rem; color: var(--blaze); }
.start-card h3 { margin: .6rem 0 .25rem; }
.start-card p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- hero ---------- */
.hero {
  background:
    linear-gradient(100deg, rgba(10, 22, 34, .92) 10%, rgba(10, 22, 34, .55) 55%, rgba(10, 22, 34, .25)),
    var(--hero-img) center / cover no-repeat;
  color: var(--snow);
  padding: clamp(4rem, 10vw, 7.5rem) 0;
}
.hero-inner { max-width: 44rem; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--blaze); }
.hero .lede { color: #d9e2ea; }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.btn {
  display: inline-block; padding: .65rem 1.3rem;
  border-radius: 7px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; font-size: 1.02rem;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--blaze); color: #fff; }
.btn-primary:hover { background: var(--blaze-deep); color: #fff; }
.btn-ghost { border-color: currentColor; color: inherit; }
.section .btn-ghost, .section-alt .btn-ghost { color: var(--night); }
.btn-ghost:hover { background: var(--night); color: #fff !important; border-color: var(--night); }
.hero .btn-ghost, .site-footer .btn-ghost { color: var(--snow); }
.hero .btn-ghost:hover, .site-footer .btn-ghost:hover { background: var(--snow); color: var(--night) !important; border-color: var(--snow); }

/* ---------- stats band ---------- */
.stats { background: var(--night); color: var(--snow); padding: 1.6rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stats-grid strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; color: var(--blaze);
  line-height: 1.1;
}
.stats-grid span { font-size: .95rem; color: #b9c7d2; }

/* ---------- sections ---------- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-alt { background: var(--snow); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-head h2, .section-head .kicker { margin-top: 0; }
.split { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.split > div > h2:first-child, .split h2:first-of-type { margin-top: 0; }

.about-fig { margin: 0 0 1rem; }
.about-fig img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-fig figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: .5rem; }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
}
.card h3 a { color: var(--night); text-decoration: none; }
.card h3 a:hover { color: var(--blaze-deep); }
.card-meta { margin: 0 0 .5rem; font-size: .9rem; color: var(--ink-soft); }

.chip {
  display: inline-block; padding: .1rem .6rem; border-radius: 99px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; font-size: .82rem;
}
.chip-news { background: #e7eef4; color: #23455e; }
.chip-trail { background: #fdeadb; color: #9c4a03; }

/* ---------- facebook ---------- */
.fb-embed iframe { max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper); }
.fb-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--night); color: #cfdae4;
  border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-top: 1rem;
  box-shadow: var(--shadow);
}
.fb-card h3 { color: var(--snow); margin: 0 0 .25rem; }
.fb-card p { margin: 0 0 .8rem; font-size: .97rem; }
.fb-logo { width: 2.2rem; height: 2.2rem; flex: none; color: var(--ice); margin-top: .15rem; }

/* ---------- sponsors ---------- */
.sponsor-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.sponsor-strip img {
  width: 100%; aspect-ratio: 5 / 2; object-fit: contain;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .9rem; filter: saturate(.9);
  transition: transform .15s;
}
.sponsor-strip a:hover img { transform: translateY(-3px); }
.sponsor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.sponsor-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .4rem;
}
.sponsor-card img { aspect-ratio: 5 / 2; object-fit: contain; margin-bottom: .6rem; }
.sponsor-card .btn { margin-top: auto; align-self: start; }
.sponsor-card-cta { background: var(--night); border-color: var(--night); }
.sponsor-card-cta h3 { color: var(--snow); }
.sponsor-card-cta p { color: #b9c7d2; }

/* ---------- page heads ---------- */
.page-head {
  background:
    linear-gradient(100deg, rgba(10,22,34,.9), rgba(10,22,34,.5)),
    var(--hero-img) center 35% / cover no-repeat;
  color: var(--snow); padding: clamp(3rem, 8vw, 5rem) 0;
}
.page-head h1 { color: #fff; margin-bottom: 0; }
.page-head .lede { color: #d9e2ea; }
.page-head-plain { background: var(--night-deep); }

/* ---------- news ---------- */
.filter-row { display: flex; gap: .5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.chip-filter { background: rgba(255,255,255,.12); color: #cfdae4; border: 1px solid rgba(255,255,255,.25); cursor: pointer; padding: .3rem .9rem; font-size: .92rem; }
.chip-filter:hover { background: rgba(255,255,255,.22); }
.chip-filter.is-active { background: var(--blaze); border-color: var(--blaze); color: #fff; }
.filter-row-light { margin-bottom: 2rem; }
.filter-row-light .chip-filter { background: var(--paper); color: var(--ink-soft); border-color: var(--line); }
.filter-row-light .chip-filter:hover { background: #e9eef3; }
.filter-row-light .chip-filter.is-active { background: var(--blaze); border-color: var(--blaze); color: #fff; }
.news-feed { max-width: 50rem; }
.news-feed h2 { margin-top: 0; }
.year-mark {
  margin: 2.2rem 0 1rem; padding-bottom: .3rem;
  border-bottom: 3px solid var(--blaze); display: inline-block; min-width: 7rem;
}
.news-feed .year-mark:first-child { margin-top: 0; }
.post {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; margin-bottom: 1.1rem; box-shadow: var(--shadow);
  scroll-margin-top: 5.5rem;
}
.post.is-hidden { display: none; }
.post h3 { font-size: 1.5rem; }
.post-body { overflow-wrap: anywhere; }
.post-body img { border-radius: 8px; margin: .75rem 0; max-height: 480px; width: auto; }
.post-body :first-child { margin-top: 0; }
.post-body :last-child { margin-bottom: 0; }

/* ---------- trails / join ---------- */
.map-feature {
  display: grid; grid-template-columns: 1.5fr 1fr;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.map-feature > a img { width: 100%; height: 100%; object-fit: cover; }
.map-feature-info { padding: 1.6rem 1.8rem; }
.map-feature-info h2 { margin-top: 0; }
.map-feature-info .link-list { margin-top: 1rem; }
.map-note { font-size: .92rem; color: var(--ink-soft); }
[data-next-meeting] { font-weight: 600; color: var(--blaze); }
.map-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 1.5rem; background: var(--paper);
}
.map-card-body { padding: 1.1rem 1.3rem 1.4rem; }
.map-card-body h3 { margin-top: 0; }
.link-list { padding-left: 1.1rem; }
.link-list li { margin-bottom: .4rem; }
.steps { padding-left: 1.2rem; }
.steps li { margin-bottom: 1rem; }
.steps address { font-style: normal; margin-top: .3rem; color: var(--ink-soft); }
.info-card {
  background: var(--snow); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; margin-bottom: 1rem; border: 1px solid var(--line);
}
.info-card h3 { margin-top: 0; }
.info-card p:last-child { margin-bottom: 0; }

/* ---------- contact form ---------- */
.contact-form { max-width: 520px; }
.contact-form label {
  display: block; margin-bottom: .95rem;
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .04em; font-size: 1.05rem; color: var(--night);
}
.contact-form .label-hint {
  font-family: var(--font-body); text-transform: none;
  letter-spacing: 0; font-size: .85rem; color: var(--ink-soft);
}
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: .3rem;
  padding: .6rem .75rem; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 6px;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blaze);
  box-shadow: 0 0 0 3px rgba(232, 114, 12, .18);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { border: 0; cursor: pointer; }
.contact-form .form-note { font-size: .85rem; color: var(--ink-soft); margin-top: .7rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--night-deep); color: #b9c7d2; margin-top: 3rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
  padding-block: 2.5rem 1.5rem;
}
.site-footer h3 { color: var(--snow); text-transform: uppercase; letter-spacing: .06em; }
.site-footer a { color: var(--ice); }
.footer-note { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1rem; font-size: .9rem; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .split, .card-grid, .sponsor-grid, .footer-grid, .start-grid, .map-feature { grid-template-columns: 1fr; }
  .start-here { margin-top: -1.75rem; }
  .status-row { gap: .35rem .9rem; font-size: .88rem; padding-block: .45rem; }
  .hero { padding: 3rem 0 4.5rem; }
  .section-head { align-items: start; }
  .chip-filter { padding: .45rem 1rem; }
  .fb-embed { max-width: 31.25rem; margin-inline: auto; }
  .post { padding: 1.1rem 1.1rem; }
  .post h3 { font-size: 1.3rem; }
  .map-feature-info { padding: 1.3rem 1.25rem; }
  .sponsor-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.25rem; }

  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 2.6rem; height: 2.6rem; padding: .5rem;
    background: none; border: 1px solid rgba(255,255,255,.3); border-radius: 7px;
    cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--snow); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--night-deep); border-bottom: 3px solid var(--blaze);
    padding: .5rem 1rem 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { font-size: 1.15rem; padding: .7rem .6rem; }
  .header-row { position: relative; }
}
