:root {
  --ink: #17241c;
  --paper: #f4efe6;
  --sand: #e4d7c4;
  --copper: #8d4e2a;
  --moss: #234e38;
  --display: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Public Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, [role="button"] { cursor: pointer; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.banner {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.92rem;
}
.banner p, .wrap, .footer-note { max-width: 72rem; margin: 0 auto; padding: 0.6rem 1.25rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 94%, white);
  border-bottom: 1px solid var(--sand);
}
.header-row, .nav-row {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
}
.header-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.word { font-family: var(--display); font-style: italic; font-size: 1.7rem; text-decoration: none; }
.kicker-brand { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 60%, transparent); }
nav ul { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; list-style: none; margin: 0; padding: 0 0 0.8rem; }
nav a { text-decoration: none; font-size: 0.95rem; font-weight: 600; min-height: 2.75rem; display: inline-flex; align-items: center; }
nav a[aria-current="page"] { color: var(--copper); text-decoration: underline; text-underline-offset: 4px; }

main { max-width: 46rem; margin: 0 auto; padding: 2.5rem 1.25rem 1rem; }
main.wide { max-width: 72rem; }
.kicker { color: var(--copper); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 560; line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0.6rem 0 0; }
h2 { font-size: 1.8rem; margin: 2rem 0 0.4rem; }
h3 { font-size: 1.35rem; margin: 1.2rem 0 0.3rem; }
.lede { font-size: 1.15rem; color: color-mix(in srgb, var(--ink) 82%, transparent); }
figure { margin: 1.5rem 0; }
figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 1.15rem; }
figcaption, .fine { color: color-mix(in srgb, var(--ink) 62%, transparent); font-size: 0.9rem; }
.callout { border-left: 2px solid var(--copper); background: color-mix(in srgb, var(--sand) 55%, var(--paper)); padding: 0.9rem 1rem; margin: 1.2rem 0; }
.callout strong { display: block; }
ul, ol { padding-left: 1.2rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1px; background: var(--sand); border: 1px solid var(--sand); margin: 1.5rem 0; }
.stats div { background: var(--paper); padding: 1rem; }
.stats b { display: block; font-family: var(--display); font-size: 1.8rem; font-weight: 560; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.8rem; margin: 1rem 0 0; }
.cards a, .panel, address.card {
  display: block;
  border: 1px solid var(--sand);
  border-radius: 1.15rem;
  padding: 1rem;
  text-decoration: none;
  background: var(--paper);
}
.cards span { display: block; color: color-mix(in srgb, var(--ink) 70%, transparent); font-size: 0.92rem; margin-top: 0.35rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border: 0;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
}
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); }
.desk, .sketch { border: 1px solid var(--sand); border-radius: 1.15rem; padding: 1.1rem; background: color-mix(in srgb, var(--sand) 28%, var(--paper)); margin: 1.2rem 0; }
.grid { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
label { font-size: 0.92rem; font-weight: 650; display: block; }
input, select, textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.8rem;
  border: 1px solid var(--sand);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.meters { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.6rem; margin-top: 0.8rem; }
.meters div { background: var(--paper); border-radius: 0.8rem; padding: 0.7rem 0.8rem; }
.meters b { font-family: var(--display); font-size: 1.6rem; font-weight: 560; }
.note { background: var(--paper); border-radius: 0.8rem; padding: 0.7rem 0.8rem; margin-top: 0.55rem; }
.note em { display: block; font-style: normal; color: var(--copper); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.bar { height: 0.45rem; background: var(--sand); border-radius: 999px; margin: 0.4rem 0; }
.bar i { display: block; height: 100%; background: var(--moss); border-radius: inherit; }
.row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.45rem 0.4rem; border-bottom: 1px solid var(--sand); }
th { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
dl.gloss div { border-bottom: 1px solid var(--sand); padding: 0.8rem 0; }
dl.gloss dt { font-family: var(--display); font-size: 1.35rem; }
.form-grid { display: grid; gap: 1.2rem; grid-template-columns: 1.4fr 0.8fr; }
footer { margin-top: 3rem; background: var(--ink); color: var(--paper); }
.foot-grid { max-width: 72rem; margin: 0 auto; padding: 2rem 1.25rem; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
footer a { color: var(--paper); }
.footer-note { font-size: 0.78rem; color: color-mix(in srgb, var(--paper) 72%, transparent); border-top: 1px solid color-mix(in srgb, var(--paper) 18%, transparent); }
.error { color: var(--copper); font-size: 0.92rem; }
.ok { color: var(--moss); font-size: 0.92rem; }
@media (max-width: 800px) {
  .form-grid { grid-template-columns: 1fr; }
  .kicker-brand { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
