/* Calaveras Foothills Fire Safe Council theme: the council's own blue and red, the cured
   gold of oak woodland in fire season, Main Street slab lettering and a type size made for
   older eyes. The rings are drawn with borders, never pictures. */

/* fetch-fonts:begin. Generated by scripts/fetch-fonts.mjs; rerun it instead of editing this block. */
/* Alfa Slab One: SIL Open Font License 1.1, text in OFL-Alfa-Slab-One.txt. */
/* latin */
@font-face {
  font-family: "Alfa Slab One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/alfa-slab-one-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: "Alfa Slab One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/alfa-slab-one-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Atkinson Hyperlegible: SIL Open Font License 1.1, text in OFL-Atkinson-Hyperlegible.txt. */
/* latin */
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-400-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-700-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-700-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* fetch-fonts:end */

:root {
  --white: #ffffff;
  --granite: #f2f3f6;
  --granite-2: #e6e8ee;
  --ink: #1b1e33;
  --ink-2: #3c405a;
  --muted: #555a73;
  --line: #d5d8e2;
  --blue: #4a4af2;
  --blue-ink: #3232d0;
  --blue-wash: #eceefe;
  --red: #b24248;
  --red-ink: #932f35;
  --red-wash: #fbeeee;
  --gold: #d9a743;
  --gold-pale: #f6e7bf;
  --gold-paper: #fbf4e1;
  --sage: #61746a;
  --pine: #8b9389;
  --display: "Alfa Slab One", "Rockwell", "Roboto Slab", Georgia, serif;
  --body: "Atkinson Hyperlegible", "Verdana", system-ui, sans-serif;
  --radius: 10px;
  --shell: 1180px;
  --gap: clamp(1rem, 2.4vw, 2rem);
  --space: clamp(3rem, 7vw, 5.5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.125rem/1.62 var(--body);
  font-synthesis: none;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
main { display: block; }
main:focus { outline: none; }
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.22; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4.1rem); line-height: 1.1; overflow-wrap: break-word; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); line-height: 1.18; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.38rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 700; }
small { font-size: 0.9rem; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; vertical-align: top; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); }
th { font-weight: 700; }
thead th { background: var(--granite); border-bottom: 2px solid var(--ink); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--ink); color: var(--white); padding: 0.75rem 1rem; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 1rem; color: var(--white); }

/* ---------- buttons and links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.2rem; border-radius: 8px; border: 2px solid transparent;
  font: 700 1.02rem/1.2 var(--body); text-decoration: none; text-align: center; cursor: pointer;
}
.button--plan { background: var(--blue); color: var(--white); border-color: var(--blue); }
.button--plan:hover { background: var(--blue-ink); border-color: var(--blue-ink); color: var(--white); }
.button--help { background: var(--white); color: var(--red-ink); border-color: var(--red); }
.button--help:hover { background: var(--red-wash); color: var(--red-ink); }
.button--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.button--gold:hover { background: #e7bb5d; color: var(--ink); }
.button--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.button--ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.button--ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.button--ink:hover { background: var(--ink-2); color: var(--white); }
.button--large { min-height: 56px; padding: 0.85rem 1.45rem; font-size: 1.08rem; }
.button:focus-visible { outline-offset: 3px; }
.text-link { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.text-link::after { content: "\2192" / ""; margin-left: 0.4em; }
[data-control-group="actions"] { display: flex; flex-wrap: wrap; gap: 0.75rem 0.9rem; align-items: center; margin-top: 1.25rem; }
.kicker { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.86rem; color: var(--red-ink); margin-bottom: 0.9rem; }

/* ---------- proto banner, masthead ---------- */
.proto-banner { background: var(--ink); color: #e9eaf2; font-size: 0.9rem; }
.proto-banner p { margin: 0 auto; padding: 0.4rem 0; max-width: none; }
.proto-banner a { color: var(--white); font-weight: 700; }
.proto-banner a:hover { color: var(--gold-pale); }
.proto-banner a:focus-visible { outline-color: var(--gold); }

.masthead { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.masthead__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem 1.6rem; padding: 0.85rem 0; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand__mark { width: 74px; height: auto; flex: none; }
.brand__name { font-family: var(--display); font-size: 1.16rem; line-height: 1.08; color: var(--blue-ink); }
.brand__name span { display: block; color: var(--red-ink); }
.brand:hover .brand__name { color: var(--ink); }

.omnibox { position: relative; display: flex; max-width: 560px; width: 100%; justify-self: center; }
.omnibox input {
  flex: 1; min-width: 0; min-height: 50px; padding: 0.6rem 0.95rem; font: 400 1.02rem/1.3 var(--body); color: var(--ink);
  border: 2px solid var(--ink); border-right: 0; border-radius: 8px 0 0 8px; background: var(--white);
}
.omnibox input::placeholder { color: #666b82; }
.omnibox button {
  min-height: 50px; padding: 0 1.15rem; border: 2px solid var(--ink); background: var(--ink); color: var(--white);
  font: 700 1rem var(--body); border-radius: 0 8px 8px 0; cursor: pointer;
}
.omnibox button:hover { background: var(--ink-2); }
.omnibox input:focus-visible { outline: 3px solid var(--blue); outline-offset: -5px; border-radius: 8px 0 0 8px; }
.omnibox button:focus-visible { outline: 3px solid var(--gold); outline-offset: -6px; border-radius: 0 8px 8px 0; }
.omnibox [role="listbox"] {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40; margin: 0; padding: 0.35rem; list-style: none;
  background: var(--white); border: 2px solid var(--ink); border-radius: 10px; box-shadow: 0 18px 40px rgba(27, 30, 51, 0.18);
  max-height: min(26rem, 60vh); overflow-y: auto; overscroll-behavior: contain;
}
.omnibox [role="option"] { display: grid; gap: 0.1rem; padding: 0.6rem 0.75rem; border-radius: 6px; cursor: pointer; margin: 0; }
.omnibox [role="option"] strong { font-weight: 700; color: var(--ink); }
.omnibox [role="option"] span { font-size: 0.88rem; color: var(--muted); }
.omnibox [role="option"][aria-selected="true"], .omnibox [role="option"]:hover { background: var(--blue-wash); }
.omnibox [role="option"][data-kind="ask"] strong::before { content: "Ask: " / ""; color: var(--blue-ink); }
.omnibox [role="group"] > li[role="presentation"], .omnibox .omnibox__group { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 0.55rem 0.75rem 0.2rem; margin: 0; font-weight: 700; }

.masthead__actions { margin-top: 0; justify-content: flex-end; flex-wrap: nowrap; }
.masthead__actions .button { white-space: nowrap; }

.ringnav { background: var(--granite); border-top: 1px solid var(--line); }
.ringnav__row { display: flex; align-items: center; justify-content: space-between; }
.ringnav__list { display: flex; flex-wrap: wrap; gap: 0.1rem 0.4rem; list-style: none; margin: 0; padding: 0; }
.ringnav__list li { margin: 0; }
.ringnav__list a {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 52px; padding: 0.45rem 0.85rem 0.45rem 0.6rem;
  color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 4px solid transparent;
}
.ringnav__list a:hover { color: var(--blue-ink); border-bottom-color: var(--line); }
.ringnav__list a[aria-current="page"] { border-bottom-color: var(--red); color: var(--ink); }
.ringnav__list a:focus-visible { outline-offset: -4px; }
.ringnav__menu { display: none; }

/* ring glyph: five concentric rings, the current ring filled */
.ring-glyph { position: relative; width: 30px; height: 30px; flex: none; color: var(--sage); }
.ring-glyph i { position: absolute; border: 1.6px solid currentColor; border-radius: 50%; opacity: 0.55; }
.ring-glyph i:nth-child(1) { inset: 0; }
.ring-glyph i:nth-child(2) { inset: 3px; }
.ring-glyph i:nth-child(3) { inset: 6px; }
.ring-glyph i:nth-child(4) { inset: 9px; }
.ring-glyph i:nth-child(5) { inset: 12px; }
[data-ring-index="0"] .ring-glyph i:nth-child(5), .ring-glyph[data-ring-index="0"] i:nth-child(5) { background: var(--blue); border-color: var(--blue); opacity: 1; }
[data-ring-index="1"] .ring-glyph i:nth-child(4), .ring-glyph[data-ring-index="1"] i:nth-child(4) { border-color: var(--sage); border-width: 3px; opacity: 1; }
[data-ring-index="2"] .ring-glyph i:nth-child(3), .ring-glyph[data-ring-index="2"] i:nth-child(3) { border-color: var(--gold); border-width: 3px; opacity: 1; }
[data-ring-index="3"] .ring-glyph i:nth-child(2), .ring-glyph[data-ring-index="3"] i:nth-child(2) { border-color: var(--red); border-width: 3px; opacity: 1; }
[data-ring-index="4"] .ring-glyph i:nth-child(1), .ring-glyph[data-ring-index="4"] i:nth-child(1) { border-color: var(--ink); border-width: 3px; opacity: 1; }
.ring-glyph--large { width: 64px; height: 64px; }
.ring-glyph--large i { border-width: 2px; }
.ring-glyph--large i:nth-child(2) { inset: 7px; }
.ring-glyph--large i:nth-child(3) { inset: 14px; }
.ring-glyph--large i:nth-child(4) { inset: 21px; }
.ring-glyph--large i:nth-child(5) { inset: 27px; }

/* ---------- sections ---------- */
.section { padding: var(--space) 0; }
.section--granite { background: var(--granite); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2rem; }
.section-head p { margin-bottom: 0.4rem; color: var(--ink-2); }
.band { padding: var(--space) 0; }
.band--gold { background: var(--gold-pale); border-top: 6px solid var(--gold); border-bottom: 6px solid var(--gold); }
.band--ink { background: var(--ink); color: #eceef6; }
.band--ink h2 { color: var(--white); }
.band--ink a { color: var(--white); }
.band--ink a:focus-visible, .site-footer a:focus-visible { outline-color: var(--gold); }

/* ---------- hero ---------- */
.hero { padding: clamp(2.2rem, 5vw, 4.2rem) 0 clamp(2.6rem, 6vw, 4.8rem); background: var(--white); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero h1 { max-width: 14ch; }
.hero__lede { font-size: clamp(1.14rem, 1.5vw, 1.3rem); color: var(--ink-2); max-width: 42ch; }
.hero__actions { margin-top: 1.6rem; }

/* ---------- photo plates ---------- */
.plate { margin: 0; position: relative; }
.plate__frame { background: var(--white); padding: 10px; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 1px 0 rgba(27, 30, 51, 0.05), 0 14px 32px rgba(27, 30, 51, 0.12); }
.plate__frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.plate--hero .plate__frame img { aspect-ratio: 4 / 4.6; }
.plate--wide .plate__frame img { aspect-ratio: 16 / 9; }
.plate--tall .plate__frame img { aspect-ratio: 3 / 4; }
.plate figcaption { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.75rem; align-items: baseline; margin-top: 0.75rem; font-size: 0.95rem; color: var(--ink-2); }
.plate__tag { font-family: var(--display); color: var(--red-ink); font-size: 1rem; white-space: nowrap; }
.plate__caption { color: var(--ink); }
.plate .credit { grid-column: 2; font-size: 0.82rem; color: var(--muted); }
.band--ink .plate figcaption, .band--ink .plate__caption { color: #eceef6; }
.band--ink .plate .credit { color: #c9cbd8; }
.band--ink .plate__tag { color: var(--gold); }

/* ---------- the hundred-foot rings ---------- */
.rings-band { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.rings-band__intro p { font-size: 1.15rem; }
.rings { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 1.75rem; align-items: center; }
.rings__field { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-inline: auto; }
.ring {
  position: absolute; border-radius: 50%; display: block; text-decoration: none; color: var(--ink);
  inset: var(--inset); transition: none;
}
.ring--2 { --inset: 0; background: repeating-radial-gradient(circle at 50% 50%, #f9edc9 0 6px, #f6e5b4 6px 7px); border: 4px dashed var(--red); }
.ring--1 { --inset: 17%; background: #fdf8ea; border: 4px solid var(--sage); }
.ring--0 { --inset: 32%; background: repeating-conic-gradient(from 0deg, #eceae4 0 4deg, #f7f6f2 4deg 9deg); border: 4px solid var(--ink); }
.ring__label { position: absolute; left: 50%; transform: translateX(-50%); top: 2.6%; white-space: nowrap; font-size: 0.9rem; font-weight: 700; color: var(--ink); background: var(--white); padding: 0.12rem 0.6rem; border-radius: 999px; box-shadow: 0 1px 0 rgba(27, 30, 51, 0.12); }
.ring--1 .ring__label { top: 3.6%; }
.ring--0 .ring__label { top: 5%; font-size: 0.82rem; }
.ring__label strong { color: var(--red-ink); margin-right: 0.15em; }
.rings__field .ring:hover { filter: brightness(0.96); }
.ring.is-active { box-shadow: 0 0 0 4px var(--blue) inset; }
.ring--0.is-active { box-shadow: 0 0 0 4px var(--blue) inset; }
.ring:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 50%; }
.rings__house {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -30%); width: 17%; aspect-ratio: 1;
  display: grid; place-items: center; text-align: center; background: var(--blue); color: var(--white); border-radius: 12px;
  font: 700 0.86rem/1.1 var(--body); pointer-events: none; box-shadow: 0 6px 14px rgba(50, 50, 208, 0.35);
}
.rings__panels { display: grid; gap: 1rem; }
.zone-card { background: var(--white); border-radius: var(--radius); padding: 1.15rem 1.25rem 0.9rem; border-left: 6px solid var(--gold); box-shadow: 0 1px 2px rgba(27, 30, 51, 0.08); }
.zone-card:focus { outline: none; }
.zone-card:focus-visible { outline: 3px solid var(--ink); }
.zone-card#zone-0 { border-left-color: var(--ink); }
.zone-card#zone-1 { border-left-color: var(--sage); }
.zone-card#zone-2 { border-left-color: var(--red); }
.zone-card__distance { font-weight: 700; color: var(--red-ink); margin-bottom: 0.25rem; font-size: 0.95rem; }
.zone-card h3 { margin-bottom: 0.5rem; }
.zone-card__tasks { margin-bottom: 0.4rem; }
.zone-card__tasks li { margin-bottom: 0.3rem; }
.rings.is-enhanced .zone-card:not(.is-active) { display: none; }
.rings--compact .rings__field { max-width: 320px; }

/* ---------- five ring cards ---------- */
.ring-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.ring-card { margin: 0; padding: 1.25rem 1.1rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; }
.ring-card .ring-glyph--large { margin-bottom: 0.9rem; }
.ring-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.32rem; margin-bottom: 0.55rem; }
.ring-card h3 a { color: var(--ink); text-decoration: none; }
.ring-card h3 a:hover { color: var(--blue-ink); text-decoration: underline; }
.ring-card > p { color: var(--ink-2); font-size: 1rem; }
.ring-card ul { list-style: none; padding: 0; margin: auto 0 0; border-top: 1px solid var(--line); padding-top: 0.6rem; }
.ring-card li { margin: 0; }
.ring-card li a { display: flex; min-height: 40px; align-items: center; font-size: 0.98rem; }

/* ---------- help, programs ---------- */
.help-split, .community-split, .projects-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.community-split { align-items: center; }
.program-card { background: var(--white); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.2rem; border-top: 6px solid var(--red); margin-bottom: 1.1rem; box-shadow: 0 1px 2px rgba(27, 30, 51, 0.06); }
.program-card--closed { border-top-color: var(--pine); }
.program-card h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.program-card h3 a { color: var(--ink); text-decoration: none; }
.program-card h3 a:hover { text-decoration: underline; color: var(--blue-ink); }
.program-card__status { display: inline-block; font-weight: 700; font-size: 0.92rem; background: var(--gold-pale); color: var(--ink); padding: 0.3rem 0.7rem; border-radius: 6px; max-width: none; }
.program-card--closed .program-card__status { background: var(--granite-2); }
.program-card__actions { margin-top: 0.75rem; }

/* ---------- ink band: projects ---------- */
.stat { display: grid; gap: 0.2rem; margin-bottom: 1.4rem; }
.stat__figure { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; color: var(--gold); }
.stat__label { font-size: 1.08rem; color: #dfe1ec; max-width: 44ch; }
.projects-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
.project-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.project-list li { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.project-list a { display: grid; gap: 0.15rem; padding: 0.85rem 0.2rem; text-decoration: none; }
.project-list__title { font-weight: 700; font-size: 1.12rem; color: var(--white); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 0.2em; }
.project-list a:hover .project-list__title { text-decoration-color: var(--gold); }
.project-list__meta { color: var(--gold-pale); font-size: 0.95rem; }

/* ---------- community finder ---------- */
.finder { margin-top: 1rem; max-width: 520px; }
.finder label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.finder__row { display: flex; }
.finder input { flex: 1; min-width: 0; min-height: 52px; padding: 0.6rem 0.9rem; font: 400 1.05rem var(--body); border: 2px solid var(--ink); border-right: 0; border-radius: 8px 0 0 8px; }
.finder button { min-height: 52px; padding: 0 1.2rem; font: 700 1rem var(--body); background: var(--blue); color: var(--white); border: 2px solid var(--blue); border-radius: 0 8px 8px 0; cursor: pointer; }
.finder button:hover { background: var(--blue-ink); border-color: var(--blue-ink); }
.finder input:focus-visible { outline: 3px solid var(--blue); outline-offset: -5px; }
.finder button:focus-visible { outline: 3px solid var(--white); outline-offset: -6px; }
.finder__note { margin-top: 0.6rem; }

/* ---------- meeting and alerts ---------- */
.meeting-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: stretch; }
.meeting-card, .alert-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem 1.6rem 1.2rem; box-shadow: 0 1px 2px rgba(27, 30, 51, 0.06); }
.meeting-card { border-top: 6px solid var(--blue); }
.meeting-card h2, .meeting-card h3, .alert-card h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.meeting-card__note { font-size: 0.98rem; color: var(--ink-2); background: var(--granite); padding: 0.55rem 0.8rem; border-radius: 6px; }
.meeting-card__when { font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.2; margin-bottom: 0.4rem; }
.meeting-card__where { margin-bottom: 0.5rem; }
.meeting-card__state { display: inline-block; font-weight: 700; font-size: 0.88rem; color: var(--white); background: var(--sage); padding: 0.15rem 0.6rem; border-radius: 999px; }
.meeting-card__state.is-today { background: var(--red); }
.alert-card { border-top: 6px solid var(--red); }
.alert-steps { padding-left: 1.4em; }
.alert-steps li { margin-bottom: 0.7rem; }

/* ---------- ring pages ---------- */
.ring-head { background: linear-gradient(180deg, var(--granite) 0 100%); padding: clamp(1.8rem, 4vw, 3rem) 0 0; border-bottom: 1px solid var(--line); }
.ring-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.crumbs { font-size: 0.95rem; margin-bottom: 0.8rem; color: var(--muted); }
.crumbs a { color: var(--blue-ink); }
.ring-head__scope { font-size: 1.2rem; color: var(--ink-2); margin-bottom: 1.2rem; }
.ring-head__rings { position: relative; width: 150px; aspect-ratio: 1; }
.rh-ring { position: absolute; inset: calc((4 - var(--i)) * 14px); border-radius: 50%; border: 2px solid var(--pine); opacity: 0.45; }
.rh-ring.is-inside { opacity: 0.6; }
.rh-ring.is-here { border: 6px solid var(--red); opacity: 1; }
.ring-head__lede { margin: 0.5rem 0 0; padding: 1.2rem 1.4rem 1.1rem; background: var(--white); border-left: 6px solid var(--gold); border-radius: var(--radius) var(--radius) 0 0; }
.ring-head__lede p { font-size: clamp(1.12rem, 1.6vw, 1.3rem); margin-bottom: 0.35rem; max-width: 70ch; }
.ring-head__lede footer { font-size: 0.9rem; color: var(--muted); }
.page-body { padding: clamp(2rem, 5vw, 3.5rem) 0 var(--space); }
.with-rail { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.rail { position: sticky; top: 1rem; }
.rail h2 { font-family: var(--body); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.rail ul { list-style: none; padding: 0; margin: 0 0 1.5rem; border-left: 3px solid var(--line); }
.rail li { margin: 0; }
.rail a { display: flex; min-height: 40px; align-items: center; padding-left: 0.85rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.98rem; }
.rail a:hover { color: var(--blue-ink); text-decoration: underline; }
.rail .button { width: 100%; }
.prose > * + h2 { margin-top: 2.6rem; }
.source-note { font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 0.6rem; margin-top: 1.2rem; }
.callout { background: var(--gold-paper); border: 1px solid #eed9a0; border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 1.5rem 0; }
.callout h2, .callout h3 { font-size: 1.3rem; font-family: var(--body); font-weight: 700; }
.callout--law { background: var(--white); border: 2px solid var(--red); }
.callout--law blockquote { margin: 0; }
.callout--blue { background: var(--blue-wash); border-color: #cfd2fb; }

/* checklists */
.checklist { border: 0; padding: 0; margin: 0 0 1.2rem; }
.checklist ul { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); margin: 0; }
.checklist input { width: 26px; height: 26px; margin: 0.1rem 0 0; accent-color: var(--blue); flex: none; }
.checklist label { cursor: pointer; }
.checklist input:checked + label { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--sage); text-decoration-thickness: 2px; }

/* component grid on the house page */
.part-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.part { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.25rem 0.4rem; background: var(--white); scroll-margin-top: 1rem; }
.part h3 { font-family: var(--display); font-weight: 400; font-size: 1.4rem; display: flex; gap: 0.6rem; align-items: baseline; }
.part h3 .part__n { font-family: var(--body); font-weight: 700; font-size: 0.85rem; color: var(--white); background: var(--red); border-radius: 999px; min-width: 1.7rem; height: 1.7rem; display: inline-grid; place-items: center; }
.part > p { font-size: 1rem; color: var(--ink-2); }

/* steps */
.rsg { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: rsg; }
.rsg li { margin: 0; padding: 1.2rem 1.25rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 8px solid var(--gold); }
.rsg li:nth-child(2) { border-top-color: var(--blue); }
.rsg li:nth-child(3) { border-top-color: var(--red); }
.rsg h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; }

/* tables, ledgers, documents */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.table-wrap table { min-width: 640px; }
.ledger-tools { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; align-items: end; margin-bottom: 1rem; padding: 1rem; background: var(--granite); border-radius: var(--radius); position: sticky; top: 0; z-index: 5; }
.ledger-tools label { display: grid; gap: 0.25rem; font-weight: 700; font-size: 0.95rem; }
.ledger-tools select { min-height: 46px; font: 400 1rem var(--body); padding: 0.3rem 0.6rem; border: 2px solid var(--ink); border-radius: 8px; background: var(--white); color: var(--ink); }
@supports (appearance: base-select) {
  .ledger-tools select, .ledger-tools select::picker(select) { appearance: base-select; }
  .ledger-tools select::picker(select) { border: 2px solid var(--ink); border-radius: 10px; max-height: min(22rem, 55vh); }
  .ledger-tools select option { min-height: 40px; padding: 0.4rem 0.7rem; }
  .ledger-tools select option:checked { background: var(--blue-wash); }
}
.doc-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem; }
.doc { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.doc__cover { background: var(--granite); border-bottom: 1px solid var(--line); aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; }
.doc__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc__cover--none { font-family: var(--display); color: var(--sage); font-size: 2.2rem; }
.doc__body { padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.doc__kind { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red-ink); margin: 0; }
.doc h3 { font-size: 1.05rem; margin: 0; }
.doc h3 a { color: var(--ink); }
.doc__meta { font-size: 0.9rem; color: var(--muted); margin: auto 0 0; }

/* plan builder */
.plan { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.plan-step { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem 0.8rem; margin-bottom: 1.2rem; background: var(--white); scroll-margin-top: 1rem; }
.plan-step > h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); display: flex; align-items: center; gap: 0.7rem; }
.plan-step__n { font-family: var(--body); font-weight: 700; font-size: 1rem; width: 2.2rem; height: 2.2rem; display: inline-grid; place-items: center; border-radius: 50%; border: 3px solid var(--red); color: var(--red-ink); flex: none; }
.plan-step h3 { margin-top: 1rem; }
.plan-field { display: grid; gap: 0.3rem; margin-bottom: 1rem; max-width: 520px; }
.plan-field label { font-weight: 700; }
.plan-field input, .plan-field select, .plan-field textarea { font: 400 1.05rem var(--body); padding: 0.6rem 0.75rem; min-height: 50px; border: 2px solid var(--ink); border-radius: 8px; background: var(--white); color: var(--ink); }
.plan-field textarea { min-height: 96px; }
.plan-field__hint { font-size: 0.92rem; color: var(--muted); margin: 0; }
.plan-aside { position: sticky; top: 1rem; display: grid; gap: 1rem; }
.progress-rings { position: relative; width: 220px; aspect-ratio: 1; margin: 0 auto; }
.progress-ring { position: absolute; border-radius: 50%; inset: var(--inset); background: conic-gradient(var(--c) calc(var(--p, 0) * 1%), #e8eaf0 0); }
.progress-ring::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--white); }
.progress-ring--road { --inset: 0; --c: var(--red); }
.progress-ring--yard { --inset: 26px; --c: var(--sage); }
.progress-ring--house { --inset: 52px; --c: var(--blue); }
.progress-rings__center { position: absolute; inset: 78px; display: grid; place-items: center; text-align: center; font: 700 0.9rem/1.15 var(--body); color: var(--ink); z-index: 1; }
.progress-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; font-size: 0.98rem; }
.progress-legend li { display: flex; align-items: center; gap: 0.6rem; margin: 0; }
.progress-legend i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.plan-card { background: var(--granite); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.plan-card h2 { font-family: var(--body); font-weight: 700; font-size: 1.15rem; }
.plan-saved { font-size: 0.92rem; color: var(--muted); }
.agency-card { border: 2px solid var(--blue); background: var(--blue-wash); border-radius: var(--radius); padding: 1rem 1.15rem; margin: 0.5rem 0 1rem; }
.agency-card h3 { margin: 0 0 0.3rem; }
.agency-card p { margin: 0 0 0.3rem; }

/* community A to Z */
.az { columns: 3 220px; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.az li { break-inside: avoid; margin: 0 0 0.9rem; padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); scroll-margin-top: 1rem; }
.az li:target, .az li.is-match { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-wash); }
.az h3 { font-size: 1.1rem; margin: 0 0 0.2rem; }
.az p { font-size: 0.95rem; margin: 0; color: var(--ink-2); }
.battalions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 2.5rem; }
.battalion { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.15rem; border-top: 6px solid var(--sage); }
.battalion h3 { font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.battalion p { font-size: 0.97rem; }
.agency-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.agency { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; scroll-margin-top: 1rem; }
.agency h3 { margin-bottom: 0.4rem; }
.agency p { margin: 0 0 0.35rem; font-size: 1rem; }
.agency__phone { font-weight: 700; font-size: 1.15rem; }

/* project pages */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.75rem; margin: 0 0 1.75rem; padding: 0; }
.facts div { background: var(--granite); border-radius: 8px; padding: 0.8rem 1rem; }
.facts dt { font-size: 0.85rem; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.facts dd { margin: 0.15rem 0 0; font-size: 1.15rem; font-weight: 700; }

/* forms */
.form { display: grid; gap: 1rem; max-width: 640px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem 1.2rem; margin: 0; }
.form legend { font-weight: 700; padding: 0 0.4rem; }
.form .field { display: grid; gap: 0.3rem; margin-bottom: 0.8rem; }
.form label { font-weight: 700; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea { font: 400 1.05rem var(--body); padding: 0.6rem 0.75rem; min-height: 50px; border: 2px solid var(--ink); border-radius: 8px; }
.form .choice { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0.4rem 0; }
.form .choice input { width: 24px; height: 24px; margin-top: 0.15rem; accent-color: var(--blue); flex: none; }
.form-status { font-weight: 700; padding: 0.8rem 1rem; border-radius: 8px; background: var(--blue-wash); }
.form-status:empty { display: none; }
.field-hint { font-size: 0.92rem; color: var(--muted); }

/* footer */
.site-footer { background: var(--ink); color: #e3e5ef; padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; margin-top: 0; }
.site-footer h2 { font-family: var(--display); color: var(--gold); font-size: 1.3rem; }
.site-footer a { color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.site-footer p { font-size: 1rem; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.5rem; }
.site-footer li { margin: 0; break-inside: avoid; }
.site-footer li a { display: inline-flex; min-height: 40px; align-items: center; }
.site-footer__credit { border-top: 1px solid rgba(255, 255, 255, 0.2); margin-top: 2rem; padding-top: 1rem; }
.site-footer__credit p { margin: 0; font-size: 0.95rem; }

/* search page */
.search-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; align-items: start; }
.answer-panel { background: var(--blue-wash); border: 2px solid var(--blue); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 1.5rem; }
.answer-panel h2 { font-size: 1.5rem; }
.answer-panel .eyebrow { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 0.3rem; }
.answer-sources h3 { font-size: 1rem; margin: 0.6rem 0 0.3rem; }
.search-result-list { list-style: none; padding: 0; margin: 0; }
.search-result-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.search-result-list h3 { margin: 0.1rem 0 0.3rem; }
.search-result-meta { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red-ink); margin: 0; }
.popular-asks a { display: flex; min-height: 44px; align-items: center; border-bottom: 1px solid var(--line); }
.noscript-note { background: var(--gold-paper); padding: 1rem 1.2rem; border-radius: var(--radius); }

/* 404 */
.lost { text-align: center; padding: var(--space) 0; }
.lost .rings__field { max-width: 280px; margin-bottom: 1.5rem; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .masthead__row { grid-template-columns: auto minmax(0, 1fr); }
  .masthead__actions { grid-column: 1 / -1; justify-content: flex-start; }
  .ring-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .battalions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  body { font-size: 1.08rem; }
  .hero__grid, .rings-band, .help-split, .community-split, .projects-split, .meeting-split, .section-head, .with-rail, .plan, .search-layout, .ring-head__grid { grid-template-columns: minmax(0, 1fr); }
  .rail, .plan-aside { position: static; }
  .rings { grid-template-columns: minmax(0, 1fr); }
  .part-grid, .agency-list, .rsg { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .ring-head__rings { width: 56px; justify-self: end; align-self: start; }
  .ringnav__list { display: none; }
  .ringnav__menu { display: block; width: 100%; }
  .ringnav__menu summary { display: list-item; padding-block: max(0.5rem, calc((52px - 1lh) / 2)); font-weight: 700; cursor: pointer; }
  .ringnav__menu ul { list-style: none; padding: 0 0 0.8rem; margin: 0; }
  .ringnav__menu li { margin: 0; border-top: 1px solid var(--line); }
  .ringnav__menu li { padding: 0.45rem 0 0.55rem; }
  .ringnav__menu a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); font-weight: 700; }
  .ringnav__menu li > span { display: block; font-size: 0.92rem; color: var(--muted); margin-top: -0.25rem; }
  .ringnav__menu a[aria-current="page"] { color: var(--red-ink); }
  .plate--hero .plate__frame img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .masthead__row { grid-template-columns: minmax(0, 1fr); gap: 0.7rem; }
  .brand__mark { width: 58px; }
  .omnibox { justify-self: stretch; max-width: none; }
  .masthead__actions .button { flex: 1 1 0; }
  .ring-cards { grid-template-columns: minmax(0, 1fr); }
  .battalions { grid-template-columns: minmax(0, 1fr); }
  .ring__label { font-size: 0.78rem; }
  .ring--0 .ring__label { font-size: 0.72rem; }
  .rings__house { font-size: 0.76rem; }
  .site-footer ul { columns: 1; }
}

/* ---------- motion, only when wanted ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .ring { transition: box-shadow 160ms ease, filter 160ms ease; }
  .button, .omnibox button, .finder button { transition: background-color 140ms ease, color 140ms ease; }
  .rings.is-enhanced.is-interacted .zone-card.is-active { animation: zone-in 220ms ease-out; }
  @keyframes zone-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  .progress-ring { transition: background 300ms ease; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- print ---------- */
@media print {
  .proto-banner, .masthead, .ringnav, .site-footer, .rail, .skip-link, .plan-aside .button, .hero__actions, .no-print { display: none !important; }
  body { font-size: 11.5pt; color: #000; }
  a { color: #000; }
  .band--ink, .band--gold, .section--granite { background: none !important; color: #000; }
  .checklist input { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .plan { grid-template-columns: 1fr; }
  .plan-step { break-inside: avoid; border-color: #888; }
  .progress-ring { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .page-plan main > *:not(.plan-print), .page-plan .rings-rule { display: none !important; }
  .page-plan .plan-print { display: block !important; }
}
.plan-print { display: none; }
.plan-print h2 { font-size: 22pt; margin: 0 0 4pt; }
.plan-print h3 { font-size: 12pt; margin: 12pt 0 4pt; border-bottom: 1.5pt solid #000; padding-bottom: 2pt; }
.plan-print p { margin: 0 0 6pt; font-size: 10.5pt; }
.plan-print ul { list-style: none; margin: 0; padding: 0; }
.plan-print li { font-size: 10.5pt; margin: 0 0 4pt; }
.plan-print__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24pt; }
.plan-print__head { display: flex; align-items: center; gap: 14pt; margin-bottom: 4pt; }
.plan-print__rings { position: relative; flex: none; width: 54pt; height: 54pt; }
.plan-print__rings i { position: absolute; inset: 0; border-radius: 50%; border: 2pt solid #000; }
.plan-print__rings i:nth-child(1) { border-style: dashed; }
.plan-print__rings i:nth-child(2) { inset: 10pt; }
.plan-print__rings i:nth-child(3) { inset: 20pt; background: #000; }

/* ---------- golden-slice additions ---------- */
.yard-rings { margin: 2rem 0 2.5rem; padding: 1.5rem; background: var(--gold-pale); border-radius: var(--radius); border: 1px solid #ecd59a; }
.zone-detail { padding: 2rem 0 0.5rem; border-top: 1px solid var(--line); margin-top: 1.5rem; scroll-margin-top: 1rem; }
.zone-detail__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 1.5rem 2rem; align-items: start; }
.split-media { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 1.5rem 2rem; align-items: start; }
.screener { background: var(--granite); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1rem 0 1.5rem; }
.screener h3 { margin-bottom: 0.5rem; }
.screener fieldset { border: 0; padding: 0; margin: 0 0 0.8rem; }
.screener legend { font-weight: 700; margin-bottom: 0.3rem; }
.screener .choice { display: inline-flex; gap: 0.5rem; align-items: center; margin-right: 1.2rem; min-height: 44px; }
.screener .choice input { width: 24px; height: 24px; accent-color: var(--blue); }
.legal { max-height: 14rem; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; padding: 0.8rem 1rem; background: var(--granite); font-size: 0.97rem; margin-bottom: 0.8rem; }
.legal:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.legal p { margin-bottom: 0.7rem; }
.plan-head { padding-bottom: 1.6rem; }
.plan-zone + .plan-zone { margin-top: 0.4rem; }
.plan-zone h3 { font-size: 1.08rem; margin: 0.8rem 0 0.2rem; color: var(--red-ink); }
[aria-invalid="true"] { border-color: var(--red) !important; box-shadow: 0 0 0 2px var(--red-wash); }
@media (max-width: 900px) {
  .zone-detail__grid, .split-media { grid-template-columns: minmax(0, 1fr); }
}
.meeting-card__time { font-weight: 700; font-size: 1.15rem; margin-bottom: 0.4rem; }
.ring-card .ring-glyph--large { color: var(--ink-2); }
.road-section { padding-top: 1.2rem; scroll-margin-top: 1rem; }
.road-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.road-more__card { display: grid; gap: 0.25rem; text-decoration: none; color: var(--ink); margin: 0; }
.road-more__card strong { font-size: 1.15rem; color: var(--blue-ink); text-decoration: underline; }
.road-more__card span { color: var(--ink-2); }
@media (max-width: 640px) { .road-more { grid-template-columns: minmax(0, 1fr); } }
.community-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem; margin-bottom: 2.5rem; }
.ring-card-link { display: grid; gap: 0.2rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: 6px solid var(--red); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--white); }
.ring-card-link strong { color: var(--blue-ink); text-decoration: underline; font-size: 1.08rem; }
.ring-card-link span { font-size: 0.95rem; color: var(--ink-2); }
.ring-card-link:hover { background: var(--granite); }
.community-top { margin-bottom: 1.5rem; align-items: center; }
.battalions-h { margin-top: 2.5rem; }
@media (max-width: 900px) { .community-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .community-links { grid-template-columns: minmax(0, 1fr); } }
.stat--light .stat__figure { color: var(--red-ink); }
.stat--light .stat__label { color: var(--ink-2); }
.project-cards { list-style: none; padding: 0; margin: 1rem 0 3rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.project-card { margin: 0; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-top: 6px solid var(--gold); border-radius: var(--radius); }
.project-card h3 { font-size: 1.12rem; margin-bottom: 0.55rem; }
.project-card p { font-size: 0.97rem; margin-bottom: 0.2rem; }
.ledger { margin-top: 1rem; }
.ledger-tools .button { min-height: 46px; }
.ledger-tools .field-hint { margin: 0 0 0.6rem; }
tr[hidden] { display: none; }
.stack { display: grid; gap: 1.5rem; align-content: start; }
.mission-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.mission-list li { margin: 0; padding: 0.7rem 0.9rem 0.7rem 2.4rem; background: var(--gold-paper); border-radius: 8px; position: relative; font-weight: 700; }
.mission-list li::before { content: ""; position: absolute; left: 0.8rem; top: 0.95rem; width: 0.9rem; height: 0.9rem; border-radius: 50%; border: 3px solid var(--red); }
.board-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.board-list li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 0.2rem 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.board-list__role { font-weight: 700; color: var(--red-ink); grid-row: span 2; }
.board-list strong { font-size: 1.2rem; }
.board-list__place { color: var(--ink-2); }
.chapters { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.chapters li { margin: 0; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.chapters a { font-weight: 700; font-size: 1.12rem; display: inline-flex; gap: 0.6rem; align-items: baseline; min-height: 40px; }
.chapters__n { display: inline-grid; place-items: center; min-width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 2px solid var(--red); color: var(--red-ink); font-size: 0.9rem; }
.chapters p { margin: 0.2rem 0 0 2.4rem; font-size: 1rem; }
.doc-cover-large { border: 1px solid var(--line); border-radius: 4px; padding: 10px; background: var(--white); box-shadow: 0 14px 32px rgba(27, 30, 51, 0.12); max-width: 360px; }
.rfp-list { list-style: none; padding: 0; margin: 0; }
.rfp { margin: 0 0 1.2rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-left: 6px solid var(--blue); border-radius: var(--radius); }
.rfp h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.rfp[hidden] { display: none; }
.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { margin: 0 0 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.news-list h2 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.link-list li { margin-bottom: 0.6rem; }
.facts--contact dd { font-size: 1.1rem; }
.lost__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.2rem; margin: 1rem 0 1.5rem; }
.lost .rings__field .ring { pointer-events: none; }
@media (max-width: 640px) { .mission-list { grid-template-columns: minmax(0, 1fr); } .board-list li { grid-template-columns: minmax(0, 1fr); } .board-list__role { grid-row: auto; } }

/* the rings motif, reused: a divider, list markers, empty states and the hover above */
.rings-rule { height: 56px; background:
  radial-gradient(circle at 50% 50%, var(--blue) 0 5px, transparent 6px),
  radial-gradient(circle at 50% 50%, transparent 0 11px, var(--ink) 12px 13.5px, transparent 14.5px),
  radial-gradient(circle at 50% 50%, transparent 0 18px, var(--sage) 19px 20.5px, transparent 21.5px),
  radial-gradient(circle at 50% 50%, transparent 0 25px, var(--red) 26px 27.5px, transparent 28.5px),
  linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat;
  background-color: var(--white); }
.rings-list { list-style: none; padding-left: 0; }
.rings-list li { position: relative; padding-left: 2.1rem; }
.rings-list li::before { content: ""; position: absolute; left: 0.15rem; top: 0.32em; width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 3px solid var(--red); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 7px var(--blue); }
.mission-list.rings-list li { padding-left: 2.4rem; }
.mission-list.rings-list li::before { left: 0.7rem; top: 0.9rem; }
.rings-empty:not(:empty) { position: relative; padding-left: 2rem; }
.rings-empty:not(:empty)::before { content: ""; position: absolute; left: 0.2rem; top: 0.25em; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px dashed var(--red); }
.callout.rings-empty { padding-left: 3rem; }
.callout.rings-empty::before { left: 1.2rem; top: 1.35rem; }

/* Events an editor posts: a dated list, newest first out of the way once the day passes. */
.event-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.event-list li { border-top: 3px solid var(--blue); background: var(--white); padding: 1rem 0 0; }
.event-list li[data-date-state="past"] { display: none; }
.event-list__date { margin: 0; font-weight: 700; color: var(--red-ink); }
.event-list h3 { margin: 0.25rem 0; }
.event-list__place { margin: 0; color: var(--muted); }

/* Buttons keep their own colors inside bands, rails and the footer, where link colors
   would otherwise override them. */
.button.button--plan, .button.button--plan:hover { color: var(--white); }
.button.button--help, .button.button--help:hover { color: var(--red-ink); }
.button.button--gold, .button.button--gold:hover { color: var(--ink); }
.button.button--ink, .button.button--ink:hover, .button.button--ghost-light, .button.button--ghost-light:hover { color: var(--white); }
.rail a.button { justify-content: center; padding-left: 1.1rem; }

/* The masthead carries the preview banner as its first row. */
.masthead .proto-banner { margin: 0; }

/* Long page titles (project names) step down a size so no word is left alone. */
.ring-head h1.is-long { font-size: clamp(1.85rem, 4.4vw, 3.3rem); }
.ring-head h1.is-very-long { font-size: clamp(1.6rem, 3.6vw, 2.8rem); }

/* Plate captions and contact details never push past a narrow phone. */
.plate__tag { white-space: normal; }
@media (max-width: 480px) {
  .plate figcaption { grid-template-columns: minmax(0, 1fr); }
  /* The credit's desktop column would add a second, implicit column and squeeze the tag under the caption. */
  .plate .credit { grid-column: 1; }
}
a[href^="mailto:"], a[href^="tel:"] { overflow-wrap: anywhere; }
.agency__name { font-family: var(--body); font-size: 1.2rem; font-weight: 700; letter-spacing: 0; margin-bottom: 0.3rem; }

/* Linked titles that wrap keep room under their underline. */
h2 a, h3 a { text-underline-offset: 0.16em; }
.program-card h2, .program-card h3 { line-height: 1.24; }

/* On a phone the home page opens on its photograph, then the headline. */
@media (max-width: 700px) {
  .hero .plate--hero { order: -1; }
  .hero .plate--hero .plate__frame img { aspect-ratio: 16 / 10; }
  .hero { padding-top: 1.2rem; }
}

/* The home page opens on the rings: headline, then the hundred feet, then what to do. */
.band--lead { padding-top: clamp(1.6rem, 4vw, 3.2rem); }
.band--lead .rings-band { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); grid-template-areas: "head rings" "intro rings"; align-items: start; row-gap: 1rem; }
.band--lead .rings-band__head { grid-area: head; align-self: end; }
.band--lead .rings-band__head h1 { margin-bottom: 0.2rem; max-width: 13ch; }
.band--lead .rings { grid-area: rings; align-self: start; }
.band--lead .rings-band__intro { grid-area: intro; }
.rings-band__actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; align-items: center; margin-top: 1.2rem; }
@media (max-width: 900px) {
  .band--lead .rings-band { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "rings" "intro"; }
}

/* Ring pages where residents do the work sit on the fire-season ground. */
.ring-head[data-ring-head="house"], .ring-head[data-ring-head="yard"], .ring-head[data-ring-head="road"] { background: var(--gold-pale); border-top: 6px solid var(--gold); border-bottom: 6px solid var(--gold); }

/* Zone 0 on the yard page: the first ring lit, drawn with CSS rings, no photograph. */
.zone-glyph { margin: 0; background: #fff; border: 1px solid var(--line); padding: 0.9rem; border-radius: 4px; }
.zone-glyph__field { position: relative; width: min(100%, 260px); aspect-ratio: 1; margin: 0 auto 0.6rem; }
.zg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; }
.zg--2 { width: 100%; height: 100%; border: 2px dashed var(--red); background: var(--gold-paper); }
.zg--1 { width: 68%; height: 68%; border: 2px solid var(--sage); background: #fff; }
.zg--0 { width: 40%; height: 40%; border: 3px solid var(--ink); background: var(--gold); }
.zg__house { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 22%; aspect-ratio: 1; border-radius: 8px; background: var(--blue); color: #fff; font-size: 0.72rem; font-weight: 700; line-height: 1.1; display: grid; place-items: center; text-align: center; }
.zone-glyph figcaption { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.15rem 0.75rem; align-items: baseline; font-size: 0.95rem; color: var(--ink-2); }

/* On a phone the plan's progress and print button come first, and print repeats at the end. */
.plan-print-again { margin-top: 1.2rem; }
@media (max-width: 900px) {
  .plan-aside { order: -1; }
}

/* On a phone the ring page's you-are-here rings sit at the top right, beside the
   breadcrumb, so the title keeps the full width. */
@media (max-width: 900px) {
  .ring-head__grid { grid-template-columns: minmax(0, 1fr); position: relative; }
  .ring-head__rings { position: absolute; top: 0; right: var(--gap, 1rem); width: 40px; }
  .ring-head .crumbs { padding-right: 52px; }
}

/* Zone titles read the same whether a page sets them as h2 (home) or h3 (yard). */
.zone-card h2 { font-family: var(--body); font-size: clamp(1.2rem, 1.6vw, 1.38rem); font-weight: 700; letter-spacing: 0; line-height: 1.22; margin-bottom: 0.5rem; }

/* Between the phone layout and full desktop the lead band's column is too narrow for the
   rings and the zone card side by side: stack them, rings first, so the rings open the page. */
@media (min-width: 901px) and (max-width: 1180px) {
  .band--lead .rings { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1.25rem; }
  .band--lead .rings__field { max-width: 380px; }
}
