@charset "UTF-8";
/* ==========================================================================
   StopKroger.com — "Municipal Record"
   A documentary/civic-archive aesthetic: warm newsprint, hairline rules,
   letterpress classification stamps, mono metadata.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light dark;

  /* Paper & ink — light */
  --paper:        #f3eee4;
  --paper-raised: #faf7f0;
  --paper-sunk:   #e8e1d3;
  --ink:          #16140f;
  --ink-2:        #423c31;
  --ink-3:        #6f6653;
  --ink-4:        #9a9081;
  --rule:         #d2c9b6;
  --rule-strong:  #b6ab93;

  /* Classification accents */
  --c-fact:       #2b4a5e;
  --c-fact-bg:    #2b4a5e14;
  --c-doc:        #4a4034;
  --c-doc-bg:     #4a403414;
  --c-concern:    #a33417;
  --c-concern-bg: #a3341714;
  --c-opinion:    #856317;
  --c-opinion-bg: #85631714;
  --c-unver:      #6f6653;
  --c-unver-bg:   #6f665310;

  --oxide:        #a33417;
  --slate:        #2b4a5e;

  /* Type */
  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body:    "IBM Plex Sans", "Segoe UI", sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --fs-micro: 0.6875rem;
  --fs-sm:    0.8125rem;
  --fs-base:  1.0125rem;
  --fs-lg:    1.1875rem;

  /* Space */
  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 68ch;
  --radius: 2px;

  --shadow-card: 0 1px 0 var(--rule), 0 2px 14px -8px #16140f26;
  --shadow-lift: 0 1px 0 var(--rule-strong), 0 14px 34px -18px #16140f4d;

  --tap: 44px;
}

:root[data-theme="dark"] {
  --paper:        #14130f;
  --paper-raised: #1c1a15;
  --paper-sunk:   #0e0d0a;
  --ink:          #ece6d9;
  --ink-2:        #c2baa9;
  --ink-3:        #928a79;
  --ink-4:        #6b6455;
  --rule:         #322e26;
  --rule-strong:  #4a4438;

  --c-fact:       #7fb0cc;
  --c-fact-bg:    #7fb0cc1a;
  --c-doc:        #bdb09b;
  --c-doc-bg:     #bdb09b1a;
  --c-concern:    #e2704f;
  --c-concern-bg: #e2704f1a;
  --c-opinion:    #d9ae4a;
  --c-opinion-bg: #d9ae4a1a;
  --c-unver:      #928a79;
  --c-unver-bg:   #928a7914;

  --oxide:        #e2704f;
  --slate:        #7fb0cc;

  --shadow-card: 0 1px 0 var(--rule), 0 2px 14px -8px #00000080;
  --shadow-lift: 0 1px 0 var(--rule-strong), 0 14px 34px -18px #000000b3;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:        #14130f;
    --paper-raised: #1c1a15;
    --paper-sunk:   #0e0d0a;
    --ink:          #ece6d9;
    --ink-2:        #c2baa9;
    --ink-3:        #928a79;
    --ink-4:        #6b6455;
    --rule:         #322e26;
    --rule-strong:  #4a4438;

    --c-fact:       #7fb0cc;
    --c-fact-bg:    #7fb0cc1a;
    --c-doc:        #bdb09b;
    --c-doc-bg:     #bdb09b1a;
    --c-concern:    #e2704f;
    --c-concern-bg: #e2704f1a;
    --c-opinion:    #d9ae4a;
    --c-opinion-bg: #d9ae4a1a;
    --c-unver:      #928a79;
    --c-unver-bg:   #928a7914;

    --oxide:        #e2704f;
    --slate:        #7fb0cc;

    --shadow-card: 0 1px 0 var(--rule), 0 2px 14px -8px #00000080;
    --shadow-lift: 0 1px 0 var(--rule-strong), 0 14px 34px -18px #000000b3;
  }
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    /* graph-paper survey grid */
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: .28; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body::before { mix-blend-mode: screen; opacity: .28; }
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--oxide); }

:focus-visible {
  outline: 2px solid var(--oxide);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection { background: var(--oxide); color: var(--paper); }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.018em;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 40;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p, li { text-wrap: pretty; }
p + p { margin-top: 1em; }

.lede {
  font-size: clamp(1.08rem, 1.9vw, 1.32rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: .65rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.mono { font-family: var(--f-mono); font-size: var(--fs-sm); }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.shell {
  width: min(100% - (var(--gut) * 2), 1220px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.shell--narrow { width: min(100% - (var(--gut) * 2), 780px); }

section { position: relative; z-index: 1; }
.band { padding-block: clamp(3rem, 7vw, 6rem); }
.band + .band { border-top: 1px solid var(--rule); }
.band--sunk { background: color-mix(in srgb, var(--paper-sunk) 72%, transparent); }

.stack > * + * { margin-top: var(--stack, 1.25rem); }
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.85rem); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--paper);
  padding: .75rem 1.15rem;
  font-family: var(--f-mono);
  font-size: var(--fs-sm);
}
.skip-link:focus { left: .5rem; top: .5rem; }

/* --------------------------------------------------------------------------
   5. Masthead / nav
   -------------------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--rule);
}
.masthead__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 66px;
}

.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
  padding-block: .55rem;
}
.wordmark__name {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variation-settings: "WONK" 1, "opsz" 20;
}
.wordmark__name em {
  font-style: normal;
  color: var(--oxide);
}
.wordmark__tag {
  font-family: var(--f-mono);
  font-size: 0.5625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: .3em;
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: .1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__link {
  display: block;
  padding: .55rem .68rem;
  font-size: 0.855rem;
  text-decoration: none;
  color: var(--ink-2);
  border-radius: var(--radius);
  position: relative;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
.nav__link:hover { color: var(--ink); background: var(--paper-sunk); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: .68rem; right: .68rem; bottom: .28rem;
  height: 2px;
  background: var(--oxide);
}

.icon-btn {
  width: var(--tap);
  height: var(--tap);
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink-2);
  flex-shrink: 0;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.icon-btn:hover { border-color: var(--rule-strong); color: var(--ink); background: var(--paper-raised); }
.icon-btn svg { width: 18px; height: 18px; }

.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    inset: 66px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    max-height: calc(100dvh - 66px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    box-shadow: var(--shadow-lift);
  }
  .nav[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; padding: .6rem var(--gut) 1.4rem; }
  .nav__link { padding: .85rem .2rem; border-bottom: 1px solid var(--rule); font-size: 1rem; }
  .nav__link[aria-current="page"]::after { left: .2rem; right: auto; width: 22px; bottom: .5rem; }
}

/* --------------------------------------------------------------------------
   6. Classification chips — the signature element
   -------------------------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .42em;
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  padding: .3em .6em;
  border: 1px solid currentColor;
  border-radius: 1px;
  line-height: 1.25;
  white-space: nowrap;
  vertical-align: baseline;
}
.chip::before {
  content: "";
  width: .46em;
  height: .46em;
  background: currentColor;
  flex-shrink: 0;
}

.chip--fact    { color: var(--c-fact);    background: var(--c-fact-bg); }
.chip--document{ color: var(--c-doc);     background: var(--c-doc-bg); }
.chip--concern { color: var(--c-concern); background: var(--c-concern-bg); }
.chip--opinion { color: var(--c-opinion); background: var(--c-opinion-bg); }
.chip--unverified {
  color: var(--c-unver);
  background: var(--c-unver-bg);
  border-style: dashed;
}
.chip--unverified::before { background: none; border: 1px dashed currentColor; }

/* Classification legend */
.legend {
  display: grid;
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--paper-raised);
  border-radius: var(--radius);
  overflow: hidden;
}
.legend__row {
  display: grid;
  grid-template-columns: minmax(9.5rem, auto) 1fr;
  gap: 1rem;
  padding: .9rem 1.1rem;
  align-items: start;
}
.legend__row + .legend__row { border-top: 1px solid var(--rule); }
.legend__row p { font-size: var(--fs-sm); color: var(--ink-2); }
@media (max-width: 620px) {
  .legend__row { grid-template-columns: 1fr; gap: .45rem; }
}

/* --------------------------------------------------------------------------
   7. Callouts / source notes
   -------------------------------------------------------------------------- */
.callout {
  border-left: 3px solid var(--rule-strong);
  background: var(--paper-raised);
  padding: 1.05rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout--fact    { border-left-color: var(--c-fact); }
.callout--concern { border-left-color: var(--c-concern); }
.callout--opinion { border-left-color: var(--c-opinion); }
.callout--warn    { border-left-color: var(--oxide); background: var(--c-concern-bg); }
.callout__head {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: .55rem;
}

.source {
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  color: var(--ink-3);
  line-height: 1.5;
  padding-top: .5rem;
  margin-top: .75rem;
  border-top: 1px dotted var(--rule-strong);
}
.source::before { content: "SOURCE — "; letter-spacing: .1em; }
.source--none::before { content: "NO SOURCE ON FILE — "; color: var(--oxide); }

/* --------------------------------------------------------------------------
   8. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: var(--tap);
  padding: .7rem 1.35rem;
  font-family: var(--f-mono);
  font-size: var(--fs-sm);
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:active { transform: none; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper-raised); }
.btn--oxide { background: var(--oxide); border-color: var(--oxide); color: #fff; }
:root[data-theme="dark"] .btn--oxide { color: #14130f; }
.btn--sm { min-height: 36px; padding: .4rem .8rem; font-size: var(--fs-micro); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 78% 12%, #00000000 0%, #000000 118%),
    linear-gradient(168deg, #6d7a5e 0%, #8b8467 34%, #a8926c 62%, #5d5b4a 100%);
  filter: saturate(.82);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, #0d0c08e6 0%, #0d0c08a6 42%, #0d0c08f2 100%);
}
.hero__inner {
  padding-block: clamp(4rem, 12vw, 8.5rem);
  color: #f3eee4;
  max-width: 62ch;
}
.hero h1 {
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 144;
  margin-block: .4em .5em;
  color: #fbf8f2;
}
.hero .lede { color: #e0d9cb; max-width: 54ch; }
.hero .eyebrow { color: #cfc6b4; }
.hero .eyebrow::after { background: #ffffff33; }
.hero .btn-row { margin-top: 2.1rem; }
.hero .btn--ghost { color: #f3eee4; border-color: #ffffff59; }
.hero .btn--ghost:hover { background: #ffffff1a; border-color: #f3eee4; }
.hero .btn:not(.btn--ghost):not(.btn--oxide) { background: #f3eee4; color: #16140f; border-color: #f3eee4; }

.hero__stamp {
  position: absolute;
  right: clamp(-2rem, -1vw, 1rem);
  top: clamp(2rem, 8vw, 5rem);
  z-index: 1;
  font-family: var(--f-mono);
  font-size: clamp(.6rem, 1.1vw, .72rem);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #e2704fd9;
  border: 2px solid #e2704fd9;
  padding: .6rem 1rem;
  transform: rotate(-8deg);
  border-radius: 2px;
  line-height: 1.5;
  text-align: center;
  pointer-events: none;
  opacity: .9;
}
@media (max-width: 760px) { .hero__stamp { display: none; } }

/* Case file block */
.casefile {
  border: 1px solid var(--rule);
  background: var(--paper-raised);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.casefile__head {
  padding: .85rem 1.15rem;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-sunk);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.casefile__title {
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.casefile__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.casefile__cell {
  padding: 1rem 1.15rem;
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.casefile__cell dt {
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: .3rem;
}
.casefile__cell dd { margin: 0; font-size: 1.02rem; line-height: 1.4; }
.casefile__cell dd .sub { display: block; font-size: var(--fs-sm); color: var(--ink-3); margin-top: .15rem; }

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.15rem, 2.2vw, 1.6rem);
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--rule-strong); }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; }
.card h3 { margin-bottom: .4rem; }

.cards { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

/* --------------------------------------------------------------------------
   11. Timeline
   -------------------------------------------------------------------------- */
.timeline { position: relative; padding-left: 2.4rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: .6rem;
  bottom: 2rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--rule-strong), var(--rule) 82%, transparent);
}
.tl-item { position: relative; padding-bottom: 2.4rem; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -2.4rem;
  top: .48rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--rule-strong);
  z-index: 1;
}
.tl-item[data-status="past"]::before     { border-color: var(--ink-3); background: var(--ink-3); }
.tl-item[data-status="current"]::before  { border-color: var(--oxide); background: var(--oxide); box-shadow: 0 0 0 5px var(--c-concern-bg); }
.tl-item[data-status="upcoming"]::before { border-color: var(--c-fact); background: var(--paper); }
.tl-item[data-status="tentative"]::before{ border-style: dashed; background: var(--paper); }

.tl-item__date {
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: .3rem;
}
.tl-item[data-status="current"] .tl-item__date { color: var(--oxide); }
.tl-item h3 { margin-bottom: .45rem; }
.tl-item__body { color: var(--ink-2); max-width: 62ch; }
.tl-item__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; align-items: center; }

/* --------------------------------------------------------------------------
   12. Document archive
   -------------------------------------------------------------------------- */
.doc-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .8rem;
  align-items: center;
  margin-bottom: 1.6rem;
}
@media (max-width: 700px) { .doc-toolbar { grid-template-columns: 1fr; } }

.field {
  display: flex;
  align-items: center;
  gap: .6rem;
  border: 1px solid var(--rule-strong);
  background: var(--paper-raised);
  border-radius: var(--radius);
  padding: 0 .85rem;
  min-height: var(--tap);
}
.field:focus-within { border-color: var(--oxide); box-shadow: 0 0 0 3px var(--c-concern-bg); }
.field svg { width: 16px; height: 16px; color: var(--ink-3); flex-shrink: 0; }
.field input, .field select {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  padding: .6rem 0;
  font-size: var(--fs-base);
}
.field select { cursor: pointer; }

.filter-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.4rem; }
.filter-chip {
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .45rem .75rem;
  min-height: 34px;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink-2);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .16s ease;
}
.filter-chip:hover { border-color: var(--ink-3); color: var(--ink); }
.filter-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.doc-list { display: grid; gap: 1rem; }
.doc {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.15rem;
  align-items: start;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem;
  box-shadow: var(--shadow-card);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.doc:hover { border-color: var(--rule-strong); box-shadow: var(--shadow-lift); }
.doc[data-status="requested"], .doc[data-status="missing"] { background: transparent; border-style: dashed; box-shadow: none; }

.doc__icon {
  width: 42px; height: 52px;
  border: 1px solid var(--rule-strong);
  border-radius: 1px;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: .5rem;
  letter-spacing: .06em;
  color: var(--ink-3);
  background: var(--paper);
  position: relative;
  flex-shrink: 0;
}
.doc__icon::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  border-width: 0 9px 9px 0;
  border-style: solid;
  border-color: var(--paper-sunk) var(--paper) var(--paper) var(--paper-sunk);
}
.doc[data-status="available"] .doc__icon { color: var(--c-fact); border-color: var(--c-fact); }

.doc__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .9rem;
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .06em;
  color: var(--ink-3);
  margin-bottom: .5rem;
  text-transform: uppercase;
}
.doc h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.doc p { font-size: var(--fs-sm); color: var(--ink-2); max-width: 66ch; }
.doc__actions { display: flex; flex-direction: column; gap: .5rem; align-items: stretch; }
.doc__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
.tag {
  font-family: var(--f-mono);
  font-size: .625rem;
  letter-spacing: .07em;
  padding: .18em .5em;
  border: 1px solid var(--rule);
  border-radius: 1px;
  color: var(--ink-3);
}

@media (max-width: 780px) {
  .doc { grid-template-columns: auto 1fr; }
  .doc__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}

.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius);
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   13. Map
   -------------------------------------------------------------------------- */
.map-wrap {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--paper-raised);
}
@media (max-width: 900px) { .map-wrap { grid-template-columns: 1fr; } }

.map-panel {
  border-right: 1px solid var(--rule);
  padding: 1.15rem;
  max-height: 620px;
  overflow-y: auto;
  background: var(--paper-raised);
}
@media (max-width: 900px) {
  .map-panel { border-right: none; border-bottom: 1px solid var(--rule); max-height: none; }
}

.layer {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .65rem .4rem;
  cursor: pointer;
  border-radius: var(--radius);
  min-height: var(--tap);
}
.layer:hover { background: var(--paper-sunk); }
.layer input { width: 17px; height: 17px; margin-top: .22rem; accent-color: var(--oxide); flex-shrink: 0; cursor: pointer; }
.layer__name { font-size: .93rem; line-height: 1.35; display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.layer__swatch { width: 11px; height: 11px; border-radius: 2px; flex-shrink: 0; border: 1px solid #0003; }
.layer__desc { font-size: var(--fs-micro); color: var(--ink-3); line-height: 1.45; margin-top: .2rem; }

.map-canvas { min-height: 480px; height: 620px; background: var(--paper-sunk); }
@media (max-width: 900px) { .map-canvas { height: 460px; } }
#map { width: 100%; height: 100%; }
.leaflet-container { font-family: var(--f-body) !important; background: var(--paper-sunk) !important; }
:root[data-theme="dark"] .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.9) saturate(.7); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.9) saturate(.7); }
}
.map-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 2rem;
  text-align: center;
  color: var(--ink-3);
  font-size: var(--fs-sm);
}

/* Schematic site plan */
.siteplan {
  border: 1px solid var(--rule);
  background: var(--paper-raised);
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 2rem);
  overflow-x: auto;
}
.siteplan svg { width: 100%; min-width: 520px; height: auto; }
.sp-label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .07em;
  text-transform: uppercase;
  fill: var(--ink-2);
}
.sp-hit { cursor: pointer; transition: opacity .16s ease; }
.sp-hit:hover { opacity: .78; }

/* --------------------------------------------------------------------------
   14. Concerns
   -------------------------------------------------------------------------- */
.concern-group { border-top: 1px solid var(--rule); padding-top: 1.6rem; margin-top: 2.2rem; }
.concern-list { list-style: none; padding: 0; display: grid; gap: .7rem; margin-top: 1.1rem; }
.concern-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .85rem;
  align-items: start;
  padding: .9rem 1.1rem;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--c-concern);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper-raised);
}
.concern-item__note {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  margin-top: .4rem;
  padding-left: .8rem;
  border-left: 1px solid var(--rule-strong);
}
/* Provenance caveat on a document card. When we actually hold the file, this is
   the note saying what we could not confirm about it — so it gets weight rather
   than the muted treatment a "how to obtain this" note gets. */
.doc__caveat {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  margin-top: .4rem;
  padding-left: .8rem;
  border-left: 1px solid var(--rule-strong);
}
.doc__caveat--live {
  color: var(--ink-2);
  padding: .65rem .9rem;
  border-left: 3px solid var(--c-unver);
  background: var(--paper-sunk);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* The receipt behind a "Verified Fact" chip: the words relied on, the page,
   and a link to the document. Rendered so the reader can check it, not stored
   out of sight in the data file. */
.concern-item__quote {
  margin-top: .6rem;
  padding: .65rem .9rem;
  border-left: 3px solid var(--c-fact);
  background: var(--paper-sunk);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.concern-item__quote p {
  font-size: var(--fs-sm);
  font-style: italic;
  margin: 0;
}
.concern-item__quote cite {
  display: block;
  margin-top: .45rem;
  font-family: var(--f-mono);
  font-size: .6875rem;
  font-style: normal;
  color: var(--ink-3);
}
/* A verified item is a fact, not a concern — the left rule should say so. */
.concern-item:has(.concern-item__quote) { border-left-color: var(--c-fact); }

/* --------------------------------------------------------------------------
   15. FAQ / details
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: .7rem; }
details.qa {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-raised);
  overflow: hidden;
}
details.qa[open] { box-shadow: var(--shadow-card); }
details.qa summary {
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -.012em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  min-height: var(--tap);
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+";
  font-family: var(--f-mono);
  font-size: 1.3rem;
  color: var(--ink-3);
  flex-shrink: 0;
  transition: transform .22s ease;
  line-height: 1;
}
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa summary:hover { background: var(--paper-sunk); }
.qa__body { padding: 0 1.25rem 1.25rem; border-top: 1px solid var(--rule); padding-top: 1rem; }
.qa__body p { color: var(--ink-2); max-width: 68ch; }

/* --------------------------------------------------------------------------
   16. Officials / copy buttons
   -------------------------------------------------------------------------- */
.official {
  display: grid;
  gap: .55rem;
  padding: 1.15rem 1.3rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-raised);
}
.official--todo { border-style: dashed; background: transparent; }
.official__name { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; }
.official__role { font-size: var(--fs-sm); color: var(--ink-3); }
.contact-line {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: var(--fs-sm);
  padding-top: .5rem;
  border-top: 1px dotted var(--rule-strong);
}
.contact-line a { color: var(--slate); }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35em .65em;
  min-height: 32px;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink-2);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .16s ease;
}
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.copy-btn[data-copied="true"] { background: var(--c-fact); border-color: var(--c-fact); color: var(--paper); }
:root[data-theme="dark"] .copy-btn[data-copied="true"] { color: #14130f; }

.not-published {
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-4);
  border: 1px dashed var(--rule-strong);
  padding: .35em .6em;
  border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   17. Gallery
   -------------------------------------------------------------------------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.gal-item {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-raised);
}
.gal-item__frame {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(45deg, var(--paper-sunk) 0 8px, transparent 8px 16px);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-4);
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}
.gal-item__cap { padding: .8rem 1rem; font-size: var(--fs-sm); }
.gal-item__cap .mono { display: block; color: var(--ink-3); margin-top: .25rem; }

/* --------------------------------------------------------------------------
   17b. Yard sign request (home page)
   -------------------------------------------------------------------------- */
.order-hero {
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(90% 120% at 12% 0%, var(--c-concern-bg) 0%, transparent 62%);
}
.order-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) {
  .order-hero__grid { grid-template-columns: 1fr; }
  .sign-preview { order: -1; max-width: 300px; }
}
.order-hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.4rem);
  margin-block: .35em .4em;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 144;
}
.order-hero__points {
  list-style: none;
  padding: 0;
  margin-top: 1.8rem;
  display: grid;
  gap: .65rem;
  max-width: 46ch;
}
.order-hero__points li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.order-hero__points li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 8px;
  background: var(--oxide);
  border-radius: 1px;
}

.sign-preview { margin: 0; }
.sign-preview svg {
  width: 100%;
  filter: drop-shadow(0 18px 26px #16140f2e);
  transform: rotate(-1.4deg);
}
.sign-preview figcaption {
  text-align: center;
  margin-top: .9rem;
  font-size: var(--fs-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr);
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: start;
}
@media (max-width: 940px) { .order-grid { grid-template-columns: 1fr; } }
.order-aside { display: grid; gap: 1rem; position: sticky; top: 90px; }
@media (max-width: 940px) { .order-aside { position: static; } }

.fieldset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
@media (max-width: 620px) { .fieldset-grid { grid-template-columns: 1fr; } }
.form-field--wide { grid-column: 1 / -1; }

.form-field { display: grid; gap: .4rem; }
.form-field label {
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.req, .opt {
  font-size: .5625rem;
  letter-spacing: .09em;
  padding: .16em .4em;
  border-radius: 1px;
  border: 1px solid currentColor;
}
.req { color: var(--oxide); }
.opt { color: var(--ink-4); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: var(--tap);
  padding: .68rem .85rem;
  font-size: var(--fs-base);
  background: var(--paper-raised);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.form-field textarea { resize: vertical; line-height: 1.55; min-height: 92px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--oxide);
  box-shadow: 0 0 0 3px var(--c-concern-bg);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-4); }

.form-hint { font-size: var(--fs-micro); color: var(--ink-3); line-height: 1.45; }
.form-error {
  font-size: var(--fs-micro);
  color: var(--oxide);
  font-weight: 500;
  min-height: 0;
}
.form-error:empty { display: none; }
.has-error input,
.has-error select,
.has-error textarea { border-color: var(--oxide); }

.total {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--rule-strong);
  border-left: 3px solid var(--oxide);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper-raised);
}
.total__label {
  display: block;
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.total__calc {
  display: block;
  margin-top: .25rem;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.total__sum {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--oxide);
  font-variation-settings: "WONK" 1, "opsz" 40;
  line-height: 1;
}

.consent { margin-top: 1.6rem; display: grid; gap: .9rem; }
.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: start;
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  line-height: 1.5;
}
.check input {
  width: 19px; height: 19px;
  margin-top: .12rem;
  accent-color: var(--oxide);
  cursor: pointer;
  flex-shrink: 0;
}
.check .req, .check .opt { margin-left: .25rem; }
.consent.has-error .check span { color: var(--oxide); }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

#f-feedback.is-error { color: var(--oxide); }

.order-success {
  border: 1px solid var(--c-fact);
  background: var(--c-fact-bg);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  animation: rise .5s cubic-bezier(.22,.68,.24,1) both;
}
.order-success:focus { outline: none; }
.order-success__mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid var(--c-fact);
  color: var(--c-fact);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.order-success__mark svg { width: 24px; height: 24px; }
.order-success h3 { margin-bottom: .5rem; }
.order-success p { color: var(--ink-2); max-width: 52ch; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--rule);
  background: var(--paper-sunk);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
  margin-top: 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 {
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: .9rem;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.footer a { font-size: var(--fs-sm); text-decoration: none; color: var(--ink-2); }
.footer a:hover { color: var(--oxide); text-decoration: underline; }

.disclaimer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-sm);
  color: var(--ink-3);
  max-width: 78ch;
  line-height: 1.6;
}
.disclaimer strong { color: var(--ink-2); }

/* --------------------------------------------------------------------------
   19. Motion
   -------------------------------------------------------------------------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.reveal { animation: rise .62s cubic-bezier(.22,.68,.24,1) both; }
.reveal[data-d="1"] { animation-delay: .06s; }
.reveal[data-d="2"] { animation-delay: .13s; }
.reveal[data-d="3"] { animation-delay: .2s; }
.reveal[data-d="4"] { animation-delay: .27s; }
.reveal[data-d="5"] { animation-delay: .34s; }
.reveal[data-d="6"] { animation-delay: .41s; }

.in-view { opacity: 0; }
.in-view.is-visible { animation: rise .6s cubic-bezier(.22,.68,.24,1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .in-view { opacity: 1; }
}

/* --------------------------------------------------------------------------
   19b. Legal / editorial notices
   The affiliation strip sits under the masthead on every page. It must stay
   legible and must never be collapsed behind a toggle — it is the notice that
   keeps a criticism site plainly distinguishable from the company it names.
   -------------------------------------------------------------------------- */
.affiliation {
  border-bottom: 1px solid var(--rule);
  background: var(--paper-raised);
  padding: .6rem 0;
}
.affiliation p {
  margin: 0;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.affiliation strong { color: var(--ink-1); }
.affiliation__scope { display: block; color: var(--ink-3); }
@media (min-width: 900px) {
  .affiliation__scope { display: inline; }
  .affiliation__scope::before { content: " · "; }
}

/* Sits immediately under any graphic we drew ourselves. */
.graphic-notice {
  margin-top: .9rem;
  border-left: 3px solid var(--oxide);
  background: var(--paper-raised);
  padding: .8rem 1.05rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.graphic-notice p { margin: 0; font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-2); }
.graphic-notice__meta {
  margin-top: .5rem !important;
  font-family: var(--f-mono);
  font-size: .68rem;
  line-height: 1.6;
  color: var(--ink-3);
}
.placeholder-note { margin-block: 0; }

/* The privacy line directly above the submit button. */
.privacy-notice {
  margin-top: 1.15rem;
  padding: .8rem 1rem;
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink-2);
}

.rule-list { padding-left: 1.2rem; }
.rule-list li { margin-bottom: .5rem; line-height: 1.6; }

.correction { border-top: 1px solid var(--rule); padding: 1.1rem 0; }
.correction:first-child { border-top: 0; }
.correction__head {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  font-size: .7rem;
  color: var(--ink-3);
  margin-bottom: .4rem;
}
.correction p { margin: 0 0 .4rem; }

/* Provenance grid on each document record. */
.doc__prov {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .5rem .9rem;
  margin: .7rem 0 .2rem;
  padding: .7rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.doc__prov dt {
  font-family: var(--f-mono);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.doc__prov dd { margin: .15rem 0 0; font-size: var(--fs-sm); color: var(--ink-2); }

.is-disabled { opacity: .5; pointer-events: none; }

/* --------------------------------------------------------------------------
   20. Print
   -------------------------------------------------------------------------- */
@media print {
  .masthead, .footer__grid, .icon-btn, .btn, .filter-row, .doc-toolbar, .map-panel { display: none !important; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
  .doc, .card, .concern-item { break-inside: avoid; border-color: #999; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
