/* Muskegon River Report — deep water, sand, paper. */
:root {
  --deep: #0c2c38;
  --deep-2: #123c4a;
  --river: #1a6b78;
  --river-2: #2a8a96;
  --foam: #7ad0d6;
  --mist: #c9e8e3;
  --sand: #e8d7b5;
  --copper: #c05621;
  --copper-2: #9a3f16;
  --cream: #eef3f0;
  --paper: #f7faf8;
  --ink: #142026;
  --muted: #5a6b70;
  --line: #d3ddd8;
  --live: #1b7a4a;
  --stale: #8a5a16;
  --off: #8a3b32;
  --focus: #1d6b8a;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(12, 44, 56, 0.08);
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; }
a { color: var(--river); text-underline-offset: 0.15em; }
a:hover { color: var(--copper-2); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--paper); color: var(--ink); padding: 0.5rem 1rem; z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.site-header {
  background: var(--deep);
  color: var(--cream);
  position: sticky; top: 0; z-index: 40;
  box-shadow: 0 1px 0 rgba(0,0,0,0.15);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; min-width: 0; }
.brand img { width: 40px; height: 40px; border-radius: 9px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand-tag { font-size: 0.7rem; color: var(--sand); font-weight: 500; }
.nav { display: flex; flex-wrap: wrap; gap: 0.15rem 0.85rem; justify-content: flex-end; }
.nav a { color: var(--cream); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--foam); }
.nav-toggle {
  display: none; background: transparent; color: var(--cream);
  border: 1px solid rgba(255,255,255,0.25); border-radius: 8px;
  padding: 0.4rem 0.65rem; font: inherit; font-weight: 600;
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--deep-2); flex-direction: column; padding: 0.75rem 1rem 1rem;
    gap: 0.35rem; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.45rem 0.2rem; }
}

.hero {
  background:
    radial-gradient(1000px 380px at 85% -20%, rgba(122,208,214,0.22), transparent 55%),
    linear-gradient(180deg, var(--deep) 0%, #123c4a 55%, #164550 100%);
  color: var(--cream);
  padding: 2.4rem 0 2.8rem;
  position: relative;
  overflow: hidden;
}
.hero-art { position: absolute; inset: auto 0 0 0; height: 80px; pointer-events: none; }
.hero h1 {
  font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.03em;
  font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.12; margin: 0 0 0.7rem;
  max-width: 18ch;
}
.hero .lede { max-width: 44rem; font-size: 1.08rem; color: #e6efe9; margin: 0 0 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.disclaimer {
  margin: 0 0 1.1rem;
  padding: 0.7rem 0.9rem;
  border-left: 3px solid var(--foam);
  background: rgba(12, 20, 24, 0.28);
  border-radius: 0 10px 10px 0;
  font-size: 0.92rem;
  color: var(--mist);
  max-width: 46rem;
}
.page-head { padding: 2rem 0 0.4rem; }
.page-head h1 {
  font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.03em;
  font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 0.6rem; line-height: 1.15;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 700; color: var(--river); margin: 0 0 0.35rem; }
.hero .eyebrow { color: var(--sand); }

.btn, button.btn, a.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; background: var(--copper); color: #fff; border: 0;
  border-radius: 999px; padding: 0.65rem 1.15rem;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn:hover, a.btn:hover { background: var(--copper-2); color: #fff; }
.btn-ghost, a.btn-ghost {
  background: transparent; color: var(--cream);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover, a.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-secondary, a.btn-secondary {
  background: var(--deep-2); color: #fff;
}
.prose { max-width: 44rem; }
.prose h2, .section-title {
  font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.02em;
  font-size: 1.55rem; margin: 2rem 0 0.7rem;
}
.muted, .note { color: var(--muted); }
.note { font-size: 0.92rem; }

.section { padding: 1.6rem 0 2.2rem; }
.cards, .gauge-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.card, .gauge-card, .access-card, .listing-card, .report-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.05rem 1.1rem;
  box-shadow: var(--shadow);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 0.35rem;
}
a.card:hover, a.gauge-card:hover, a.access-card:hover { border-color: var(--river-2); }
.gauge-card h2, .access-card h2, .listing-card h2, .card h2 {
  font-family: var(--font-serif); font-size: 1.25rem; margin: 0; font-weight: 600;
  letter-spacing: -0.02em;
}
.readings { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.4rem; }
.reading { background: #eef6f4; border-radius: 10px; padding: 0.55rem 0.65rem; }
.reading .label { font-size: 0.75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.reading .value { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.reading .unit { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.when { font-size: 0.8rem; color: var(--muted); margin: 0.15rem 0 0; }
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: 999px; padding: 0.15rem 0.5rem; width: max-content;
}
.badge-live { background: #d8f3e4; color: var(--live); }
.badge-stale, .badge-recent { background: #f5e6c8; color: var(--stale); }
.badge-off { background: #f5d9d6; color: var(--off); }
.badge-featured { background: #f3e0c8; color: var(--copper-2); }
.badge-basic { background: #e4eeea; color: var(--deep-2); }

.updated-line { font-size: 0.9rem; color: var(--muted); margin: 0 0 1rem; }
.hydro { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin: 1rem 0; box-shadow: var(--shadow); }
.hydro svg { width: 100%; height: auto; display: block; }
.hydro-empty { color: var(--muted); padding: 2rem 0; text-align: center; }

.access-list { display: flex; flex-direction: column; gap: 2rem; }
.section-block h2 { font-family: var(--font-serif); font-size: 1.45rem; margin: 0 0 0.8rem; }
.source-note { font-size: 0.92rem; background: var(--paper); border-radius: var(--radius); padding: 0.9rem 1rem; border: 1px solid var(--line); }

.form {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem; box-shadow: var(--shadow); max-width: 36rem; display: grid; gap: 0.7rem;
}
label.field { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
input, select, textarea {
  font: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 0.55rem 0.7rem; background: #fff; width: 100%;
}
textarea { min-height: 8rem; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { min-height: 1.3em; margin: 0; font-weight: 600; }
.form-status.ok { color: var(--live); }
.form-status.err { color: var(--off); }
.price-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 1rem 0 1.4rem; }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.price-card h2 { font-family: var(--font-serif); margin: 0 0 0.4rem; font-size: 1.3rem; }
.price { font-size: 1.6rem; font-weight: 700; font-family: var(--font-serif); }

.site-footer {
  background: var(--deep); color: var(--mist); padding: 2.2rem 0 1.6rem; margin-top: 2rem;
}
.footer-grid { display: grid; gap: 1.4rem; grid-template-columns: 1.4fr 1fr 1fr; }
.site-footer h2 { font-family: var(--font-serif); color: var(--cream); font-size: 1.1rem; margin: 0 0 0.5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: var(--sand); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.legal { margin-top: 1.4rem; font-size: 0.85rem; color: #9bb3b0; }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; }
  .readings { grid-template-columns: 1fr; }
}

.admin-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.admin-actions button { font: inherit; font-weight: 700; border-radius: 8px; border: 0; padding: 0.35rem 0.65rem; cursor: pointer; }
.admin-actions .approve { background: #d8f3e4; color: var(--live); }
.admin-actions .reject { background: #f5d9d6; color: var(--off); }

.river-map { width: 100%; height: auto; background: #123c4a; border-radius: var(--radius); overflow: hidden; }
.river-map text { font-family: var(--font-sans); }
.callout { background: var(--paper); border-radius: var(--radius); padding: 1rem 1.1rem; border: 1px solid var(--line); }
.link-list { padding-left: 1.1rem; }
.two-col { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
