@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* Sister to fixmuellerlandscaping.com: the same type and layout, a different palette.
   Slate blue for structure, warm cream for the ground, brick for calls to action. */
:root {
  color-scheme: light dark;
  --paper: #fbf7ef;
  --card: #fff;
  --tint: #f1ebdf;
  --line: #ddd4c4;
  --line-strong: #77706a;
  --ink: #1f2329;
  --ink-soft: #3b4048;
  --muted: #565c64;
  --slate: #2f4f73;
  --slate-dark: #1f3651;
  --slate-tint: #e3e9f0;
  --brick: #a5402c;
  --brick-dark: #85321f;
  --brick-tint: #f6e6df;
  --ok-tint: #e4efe4;
  --err: #a4262c;
  --err-tint: #fbe9e7;
  --fixed: #8a8f96;
  --on-dark: #f3efe6;
  --on-dark-soft: #cdd6e0;
  --focus: #1f6fa8;
  --radius: 8px;
  --radius-s: 4px;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15191f;
    --card: #1d232b;
    --tint: #222a33;
    --line: #36404c;
    --line-strong: #8a95a3;
    --ink: #eef0f2;
    --ink-soft: #d3d8de;
    --muted: #aab3bd;
    --slate: #8fb3dc;
    --slate-dark: #b8d0ec;
    --slate-tint: #233243;
    --brick: #d9735c;
    --brick-dark: #e88d78;
    --brick-tint: #3a2621;
    --ok-tint: #1f3324;
    --err: #ff8a80;
    --err-tint: #3b1f1f;
    --fixed: #7d848c;
    --focus: #8fc4ee;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--ink); background: var(--paper); min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--slate); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--slate-dark); }
h1, h2, h3, legend { font-weight: 700; line-height: 1.15; letter-spacing: -0.012em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; line-height: 1.25; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { width: min(1100px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2rem); margin-inline: auto; }
.section { padding: 2rem 0 3rem; }
.lede { font-size: 1.12rem; line-height: 1.55; color: var(--ink-soft); max-width: 46rem; }
.small { font-size: 0.9rem; color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--card); padding: 0.6rem 1rem; }
.skip:focus { left: 1rem; top: 0.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- header and footer */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1100; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.4rem 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.55rem; min-height: 44px; font: 700 1.12rem/1.1 var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--slate-dark); }
.brand svg { flex: none; }
.nav { display: flex; gap: 0.25rem 1rem; flex-wrap: wrap; align-items: center; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--ink-soft); }
.nav a[aria-current="page"] { color: var(--slate); text-decoration: underline; }
.site-footer { background: var(--slate-dark); color: var(--on-dark-soft); padding: 2rem 0; font-size: 0.92rem; --focus: #fff; }
@media (prefers-color-scheme: dark) { .site-footer { background: #0e1217; } }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 0.5em; max-width: 46rem; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 48px; padding: 0.6rem 1.2rem; border-radius: var(--radius); border: 2px solid var(--slate); font: 600 1rem/1.15 var(--sans); text-align: center; text-decoration: none; cursor: pointer; background: var(--slate); color: var(--paper); }
.btn:hover { background: var(--slate-dark); border-color: var(--slate-dark); color: var(--paper); }
.btn--brick { background: var(--brick); border-color: var(--brick); color: #fff; }
.btn--brick:hover { background: var(--brick-dark); border-color: var(--brick-dark); color: #fff; }
@media (prefers-color-scheme: dark) { .btn--brick, .btn--brick:hover { color: #15191f; } }
.btn--ghost { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn--ghost:hover { background: var(--slate); color: var(--paper); }
.btn--danger { background: transparent; color: var(--err); border-color: var(--err); }
.btn--danger:hover { background: var(--err); border-color: var(--err); color: var(--paper); }
.btn--light { background: #fff; color: #1f2329; border-color: #fff; }
.btn--light:hover { background: #eee; border-color: #eee; color: #1f2329; }
.btn--small { min-height: 44px; padding: 0.35rem 0.85rem; font-size: 0.94rem; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }

/* ---------- notices */
.notice { border-radius: var(--radius); padding: 0.8rem 1rem; border: 1px solid var(--line); background: var(--card); margin: 0 0 1.1rem; }
.notice--warn { background: var(--brick-tint); }
.notice--ok { background: var(--ok-tint); }
.notice--err { background: var(--err-tint); color: var(--err); }
.notice p:last-child { margin-bottom: 0; }

/* ---------- map */
.map { height: min(64vh, 600px); border: 1px solid var(--line-strong); border-radius: var(--radius); background: #e9e6dd; z-index: 0; }
.map--small { height: 320px; }
.map-wrap { position: relative; }
.map-hint { position: absolute; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1rem; background: rgba(20, 30, 45, 0.74); color: #fff; font: 600 1.1rem/1.3 var(--sans); text-align: center; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.map-hint--on { opacity: 1; }
.leaflet-container { font: inherit; }
.leaflet-popup-content { margin: 0.75rem 0.9rem; min-width: 210px; max-width: 280px; font-size: 0.95rem; line-height: 1.45; }
.leaflet-popup-content h3 { margin-bottom: 0.25rem; }
.leaflet-popup-content p { margin: 0 0 0.5em; }
.popup-photo { padding: 0; border: 0; background: none; cursor: zoom-in; margin-bottom: 0.5rem; width: 100%; }
.popup-photo img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--radius-s); }

/* ---------- filter chips */
.toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; margin: 1rem 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; border: 1.5px solid var(--line-strong); background: var(--card); border-radius: 999px; padding: 0.3rem 0.85rem; font: 600 0.92rem/1.2 var(--sans); color: var(--muted); cursor: pointer; }
.chip::before { content: ""; width: 0.8rem; height: 0.8rem; border-radius: 50%; border: 2px solid var(--dot, var(--line-strong)); background: transparent; }
.chip[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"]::before { background: var(--dot, var(--ink)); }
.chip--plain::before { display: none; }
.chip--plain[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: var(--paper); }

/* ---------- issue cards */
.cards { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card__photo { padding: 0; border: 0; background: var(--tint); cursor: zoom-in; display: block; width: 100%; }
.card__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 0.75rem 0.9rem 0.9rem; }
.card__body h3 { margin-bottom: 0.3rem; }
.card__meta { font-size: 0.88rem; color: var(--muted); margin: 0 0 0.4rem; }
.card__text { font-size: 0.95rem; margin: 0; }
.card--fixed { opacity: 0.8; }
.tag { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; font-size: 0.85rem; }
.tag::before { content: ""; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--dot, var(--fixed)); }
.fixed-badge { display: inline-block; font-size: 0.8rem; font-weight: 700; padding: 0.05rem 0.45rem; border-radius: 999px; background: var(--ok-tint); color: var(--ink); }
.empty { color: var(--muted); }

/* ---------- photos */
.thumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 0.5rem; }
.thumbs button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-s); overflow: hidden; }
.thumbs img { width: 76px; height: 76px; object-fit: cover; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; --focus: #fff; }
.lightbox::backdrop { background: rgba(12, 16, 22, 0.92); }
.lightbox img { max-width: 94vw; max-height: 82vh; border-radius: var(--radius-s); margin: 0 auto; }
.lightbox__bar { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 0.7rem; color: #fff; flex-wrap: wrap; }
.lightbox__bar span { padding: 0 0.4rem; font-weight: 600; }

/* ---------- forms */
fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; min-width: 0; }
legend { font-size: 1.2rem; padding: 0; margin-bottom: 0.6rem; }
.step { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; margin-right: 0.45rem; border-radius: 50%; background: var(--slate); color: var(--paper); font-size: 0.95rem; }
.field { margin: 0 0 1rem; }
.field > label:not(.check), .label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.field .hint { display: block; font-weight: 400; font-size: 0.9rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="date"], input[type="password"], input[type="number"], textarea, select {
  width: 100%; min-height: 48px; padding: 0.55rem 0.7rem; font: inherit; color: var(--ink); background: var(--card); border: 1.5px solid var(--line-strong); border-radius: var(--radius-s);
}
textarea { min-height: 7.5rem; resize: vertical; }
[aria-invalid="true"] { border-color: var(--err) !important; }
.field-error { color: var(--err); font-weight: 700; margin: 0.35rem 0 0.2rem; }
.check { display: flex; gap: 0.65rem; align-items: flex-start; min-height: 44px; margin: 0 0 0.35rem; padding: 0.45rem 0; font-weight: 600; cursor: pointer; }
.check input { width: 1.4rem; height: 1.4rem; margin-top: 0.1rem; flex: none; accent-color: var(--slate); }
.check small { display: block; font-weight: 400; color: var(--muted); font-size: 0.92rem; }
.radios { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.dot { display: inline-block; width: 0.75rem; height: 0.75rem; border-radius: 50%; margin-right: 0.35rem; vertical-align: 0.05em; }
.previews { list-style: none; padding: 0; margin: 0.6rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.previews li { position: relative; }
.previews img { width: 92px; height: 92px; object-fit: cover; border-radius: var(--radius-s); }
.previews button { position: absolute; top: -8px; right: -8px; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--card); background: var(--ink); color: var(--paper); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.file-btn input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-btn:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- the list for the City */
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: flex-end; margin-bottom: 1.2rem; }
.group { margin: 2rem 0 0; }
.group h2 { border-bottom: 2px solid var(--slate); padding-bottom: 0.3rem; }
.group h2 .count { font-weight: 400; color: var(--muted); font-size: 0.8em; }
.entry { padding: 1rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; page-break-inside: avoid; }
.entry h3 { margin-bottom: 0.2rem; }
.entry__meta { font-size: 0.9rem; color: var(--muted); margin: 0 0 0.4rem; }
.entry__photos { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.entry__photos a { flex: 0 0 200px; }
.entry__photos img { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: var(--radius-s); }
.print-footer { display: none; }

/* ---------- admin */
.tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; }
.admin-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin: 0 0 1rem; }
.admin-item dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.15rem 0.9rem; margin: 0 0 0.8rem; font-size: 0.94rem; }
.admin-item dt { font-weight: 600; color: var(--muted); }
.admin-item dd { margin: 0; overflow-wrap: anywhere; }
.admin-grid { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.flag { color: var(--err); font-weight: 600; }
#login .btn-row { margin-top: 0.8rem; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .admin-item dl { grid-template-columns: 1fr; }
  .admin-item dt { margin-top: 0.4rem; }
  .entry__photos a { flex-basis: calc(50% - 0.25rem); }
  .entry__photos img { height: 120px; }
}

@media print {
  :root { color-scheme: light; --paper: #fff; --card: #fff; --ink: #000; --ink-soft: #222; --muted: #444; --slate: #1f3651; --line: #bbb; }
  body { font-size: 11pt; background: #fff; color: #000; }
  .site-header, .site-footer, .no-print, .skip { display: none !important; }
  .wrap, .narrow { width: 100%; }
  .section { padding: 0; }
  a { color: #000; }
  .entry__photos a { flex-basis: 30%; }
  .entry__photos img { height: auto; aspect-ratio: 4 / 3; }
  .group h2 { break-after: avoid; page-break-after: avoid; }
  .print-footer { display: block; margin-top: 2rem; padding-top: 0.5rem; border-top: 1px solid #999; font-size: 9pt; color: #444; }
}

/* ---------- map extras */
.issue-popup .leaflet-popup-content { margin: 0; width: 260px !important; }
.issue-popup .card { border: 0; }
.issue-popup .card__text { max-height: 9rem; overflow: auto; }
.leaflet-tooltip.fixed-tick { background: transparent; border: 0; box-shadow: none; color: #fff; font-weight: 800; font-size: 11px; padding: 0; }
.leaflet-tooltip.fixed-tick::before { display: none; }
.pin-help { font-size: 0.92rem; color: var(--muted); margin: 0.4rem 0 0; }
.landscaping-note { margin: 0.4rem 0 0; }
.thumbs .thumb { display: inline-flex; flex-direction: column; gap: 0.25rem; align-items: stretch; }
.admin-item details { margin: 0.8rem 0; }
.admin-item summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.prose h2 { margin-top: 1.8rem; }
