/* Open Camp West — mobile-first, static, no JS required */
:root {
  --bg: #f4efe6;
  --bg-card: #fffdf8;
  --ink: #1c1915;
  --ink-muted: #4a453d;
  --pine: #1c3d30;
  --pine-deep: #132920;
  --moss: #2f6a4f;
  --link: #155c43;
  --link-hover: #0d3d2d;
  --rust: #8f3d22;
  --alert-bg: #f8eadc;
  --alert-border: #c46a32;
  --line: #d9d0c3;
  --ok-bg: #e7f0ea;
  --radius: 12px;
  --max: 70rem;
  --prose: 44rem;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Source Serif 4", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { color: var(--link-hover); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  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; }
.prose { width: min(var(--prose), 100%); }
header.site {
  background: var(--pine-deep);
  color: #f4efe6;
  padding: 0.7rem 0;
}
header.site a { color: #f4efe6; text-decoration: none; }
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand small {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}
nav.site { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.95rem; }
nav.site a { text-decoration: none; border-bottom: 1px solid transparent; }
nav.site a:hover, nav.site a[aria-current="page"] { border-bottom-color: #e2c39a; }
.hero {
  background: linear-gradient(160deg, var(--pine-deep) 0%, #245544 100%);
  color: #f7f3ea;
  padding: 2.4rem 0 2.6rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.hero p { margin: 0 0 1rem; max-width: 38rem; font-size: 1.12rem; color: #efe6d6; }
.hero .meta { font-size: 0.9rem; opacity: 0.85; }
.btn {
  display: inline-block;
  background: #e8c48a;
  color: var(--pine-deep);
  text-decoration: none;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: 8px;
}
.btn:hover { background: #f0d4a6; color: var(--pine-deep); }
.btn.ghost {
  background: transparent;
  color: #f7f3ea;
  border: 1px solid #e8c48a;
  margin-left: 0.5rem;
}
main { padding: 1.6rem 0 3rem; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; color: var(--pine-deep); }
h2 { font-size: 1.5rem; margin-top: 2rem; }
h3 { font-size: 1.18rem; margin-top: 1.4rem; }
.lede { font-size: 1.15rem; color: var(--ink-muted); }
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.2rem 0;
}
@media (min-width: 720px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}
.card h3 { margin-top: 0; }
.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 700;
  margin: 0 0 0.3rem;
}
.alert {
  background: var(--alert-bg);
  border-left: 5px solid var(--alert-border);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.1rem;
  margin: 1.2rem 0;
}
.alert h2, .alert h3 { margin-top: 0; color: #6b2a10; }
.disclaimer, .verify {
  background: #efe8db;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 1.2rem 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--bg-card);
  overflow: hidden;
  border-radius: var(--radius);
}
th, td {
  text-align: left;
  padding: 0.65rem 0.7rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { background: #e8efe9; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
.table-scroll { overflow-x: auto; margin: 1rem 0; }
.sources { font-size: 0.92rem; }
.sources ol { padding-left: 1.2rem; }
.sources li { margin: 0.4rem 0; }
.checked { color: var(--ink-muted); font-size: 0.85rem; }
.placeholder {
  border: 2px dashed #b9a58a;
  background: #fffaf1;
  border-radius: var(--radius);
  padding: 1rem;
}
.placeholder .tag {
  display: inline-block;
  background: #efe0c4;
  color: #5c3d12;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.placeholder a[aria-disabled="true"],
.placeholder .fake-link {
  pointer-events: none;
  color: var(--ink-muted);
  text-decoration: line-through;
}
footer.site {
  background: var(--pine-deep);
  color: #e8e0d2;
  padding: 2rem 0 2.4rem;
  font-size: 0.92rem;
}
footer.site a { color: #e8c48a; }
footer.site .grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  footer.site .grid { grid-template-columns: 2fr 1fr 1fr; }
}
.crumbs { font-size: 0.9rem; margin: 0 0 1rem; color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted); }
.toc {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
}
.toc h2 { margin: 0 0 0.4rem; font-size: 1rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin: 0.2rem 0; }
.badge {
  display: inline-block;
  background: var(--ok-bg);
  color: var(--pine);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
}
.byline { color: var(--ink-muted); font-size: 0.92rem; margin: 0 0 1.2rem; }
sup a { text-decoration: none; font-weight: 700; }
section { margin-bottom: 0.5rem; }

a.button {
  display: inline-block;
  background: #e8c48a;
  color: #132920;
  font-weight: 650;
  text-decoration: none;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  margin-top: 0.4rem;
}
a.button:hover { color: #132920; filter: brightness(1.05); }
