:root {
  --ink: #1d2b24;
  --mute: #5b6a62;
  --paper: #f3efe6;
  --card: #fffaf2;
  --line: #d9d1c3;
  --sky: #d5e6ef;
  --leaf: #3d6b4a;
  --leaf-dark: #2b4c35;
  --sand: #ead9bf;
  --clay: #b45d32;
  --mist: #8a9aa0;
  --fair: #3d6b4a;
  --breezy: #2d6a7a;
  --crowded: #b45d32;
  --still: #6b7280;
  --shadow: 0 10px 30px rgba(29, 43, 36, 0.06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(1200px 400px at 10% -10%, var(--sky), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, var(--sand), transparent 50%),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
}
a { color: var(--leaf-dark); }
a:hover { color: var(--leaf); }
.wrap { max-width: 980px; margin: 0 auto; padding: 1.25rem 1.25rem 3rem; }
header.site {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; color: inherit; }
.brand h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.8rem;
  margin: 0;
  letter-spacing: -0.02em;
}
.brand p { margin: 0.1rem 0 0; color: var(--mute); font-size: 0.92rem; }
nav a { margin-left: 1rem; text-decoration: none; font-size: 0.95rem; }
.hero {
  margin: 1.6rem 0 1.2rem;
  padding: 1.4rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.hero .kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--mute); }
.hero h2 {
  font-family: var(--serif);
  font-size: 2.2rem;
  margin: 0.2rem 0 0.4rem;
}
.hero.fair h2 { color: var(--fair); }
.hero.breezy h2 { color: var(--breezy); }
.hero.crowded h2 { color: var(--crowded); }
.hero.still h2 { color: var(--still); }
.hero .blurb { margin: 0; color: var(--mute); max-width: 42rem; }
.updated { margin-top: 0.8rem; font-size: 0.8rem; color: var(--mist); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.8rem; margin: 1rem 0 1.5rem; }
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}
.stat .label { font-size: 0.75rem; color: var(--mute); text-transform: uppercase; letter-spacing: 0.08em; }
.stat .value { font-family: var(--serif); font-size: 1.6rem; margin-top: 0.15rem; }
.stat .hint { font-size: 0.8rem; color: var(--mute); }
section { margin: 1.8rem 0; }
section h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 0 0 0.7rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}
.brief { white-space: pre-wrap; }
.heat {
  display: grid;
  grid-template-columns: 4.5rem repeat(24, 1fr);
  gap: 3px;
  font-size: 0.65rem;
  color: var(--mute);
  overflow-x: auto;
}
.heat .hlabel { align-self: center; }
.heat .cell {
  aspect-ratio: 1;
  min-width: 12px;
  border-radius: 3px;
  background: #e7efe8;
}
.heat .cell[data-n="0"] { background: #e7efe8; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; }
.bars .col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; }
.bars .col i {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #6ea37a, #3d6b4a);
  border-radius: 3px 3px 0 0;
  min-height: 2px;
}
.bars .col span { font-size: 0.6rem; color: var(--mute); writing-mode: vertical-rl; transform: rotate(180deg); margin-top: 4px; height: 2.4rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th { text-align: left; font-size: 0.75rem; color: var(--mute); text-transform: uppercase; letter-spacing: 0.06em; padding: 0.45rem 0.4rem; border-bottom: 1px solid var(--line); }
td { padding: 0.5rem 0.4rem; border-bottom: 1px solid #eee6d8; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.82rem; }
.muted { color: var(--mute); }
.note { font-size: 0.85rem; color: var(--mute); }
footer { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--mute); font-size: 0.85rem; }
@media (max-width: 640px) {
  .hero h2 { font-size: 1.7rem; }
  nav a { margin-left: 0.65rem; }
}
