/* Lot Index
   Utility directory for RV and boat storage.
   Cool gravel and steel, slate ink, one dock-teal accent.
   Type: Fraunces (display) + Public Sans (body).
   Distinct from Well Index (Newsreader, Atkinson, warm paper, forest, clay).
*/

:root {
  --bg: #e4e6ea;
  --bg-ink: #d9dce1;
  --paper: #f2f3f5;
  --ink: #1a2330;
  --ink-soft: #3d4856;
  --muted: #5c6773;
  --rule: #8a7a5c;
  --rule-soft: #c5c8ce;
  --accent: #0e5c59;
  --accent-hover: #0a4745;
  --focus: #0e5c59;
  --cta-text: #f2f3f5;
  --space: 1.25rem;
  --wrap: 70rem;
  --gutter: clamp(1.25rem, 4vw, 2.25rem);
  --measure: 40.5rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 112.5%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Public Sans", "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  background-image:
    linear-gradient(180deg, rgba(26, 35, 48, 0.03) 1px, transparent 1px);
  background-size: 100% 4px;
}

img { max-width: 100%; height: auto; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover { color: var(--accent-hover); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.site-header {
  padding: 1.75rem 0 0;
}

.site-header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1rem;
}

.logo {
  font-family: Fraunces, "Times New Roman", serif;
  font-weight: 500;
  font-variation-settings: "opsz" 36, "SOFT" 30, "WONK" 0.4;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.logo:hover { color: var(--ink); }

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

h1, h2, h3 {
  font-family: Fraunces, "Times New Roman", serif;
  font-weight: 500;
  font-variation-settings: "opsz" 72, "SOFT" 20, "WONK" 0.5;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 3.95rem);
  line-height: 1.05;
  max-width: 18ch;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 36, "SOFT" 10, "WONK" 0.3;
  margin-top: 0;
}

h3 {
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  font-weight: 550;
  font-variation-settings: "opsz" 24, "SOFT" 0, "WONK" 0;
}

.lede {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: var(--measure);
  margin: 0 0 1.75rem;
}

p { margin: 0 0 1rem; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.section {
  padding: 3.25rem 0 0;
}

.section + .section {
  margin-top: 3.25rem;
  border-top: 1px solid var(--rule-soft);
  padding-top: 3.25rem;
}

.hero {
  padding: 3.5rem 0 0.5rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--accent);
  color: var(--cta-text);
  text-decoration: none;
  font-size: 1rem;
  padding: 0.7rem 1.1rem 0.7rem 1.15rem;
  border: 1px solid var(--accent);
  line-height: 1;
}

.cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--cta-text);
}

.cta .arrow,
.county-name .arrow {
  display: inline-block;
  vertical-align: -0.12em;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.cta:hover .arrow {
  transform: translateX(4px);
}

.county-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 46rem;
}

.county-list li {
  border-top: 1px solid var(--rule-soft);
}

.county-list a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.15rem 0 1.2rem;
}

.county-list a:hover .county-name {
  color: var(--accent);
}

.county-name {
  font-family: Fraunces, "Times New Roman", serif;
  font-variation-settings: "opsz" 28, "SOFT" 10, "WONK" 0.3;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.3rem;
}

.county-name .arrow {
  font-family: "Public Sans", sans-serif;
  font-size: 1rem;
  color: var(--accent);
  transition: transform 0.18s ease;
}

.county-list a:hover .arrow {
  transform: translateX(4px);
}

.county-meta {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 40rem;
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 0.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: transparent;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 1rem 0.7rem 0;
  border-bottom: 1px solid var(--rule-soft);
}

th {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
}

td a { color: var(--ink); }
td a:hover { color: var(--accent); }

.facility {
  margin: 0 0 2.25rem;
  padding: 0 0 0.25rem;
  max-width: 52rem;
  border-bottom: 1px solid var(--rule-soft);
}

.facility:last-of-type { border-bottom: 0; margin-bottom: 0; }

.facility h3 { margin-bottom: 0.2rem; }

.facility-place {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
}

.facility dl {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.35rem 1rem;
  margin: 0 0 0.9rem;
}

.facility dt {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding-top: 0.1rem;
}

.facility dd {
  margin: 0;
  max-width: none;
}

.facility .notes {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.note, .fine {
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: var(--measure);
}

.sources {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 52rem;
}

.sources li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.sources li:last-child { border-bottom: 1px solid var(--rule-soft); }

.placeholder {
  margin: 1.25rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px dashed var(--rule);
  max-width: var(--measure);
}

.placeholder p { margin-bottom: 0.6rem; }

.placeholder-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.check-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  max-width: 46rem;
}

.check-list li {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--rule-soft);
}

.check-list li:last-child { border-bottom: 1px solid var(--rule-soft); }

.check-list .label {
  font-weight: 700;
  color: var(--ink);
}

.site-footer {
  margin-top: 4.5rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer p { margin: 0 0 0.75rem; max-width: 46rem; }

.checked {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

ul.plain, ol.plain {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  max-width: var(--measure);
}

ul.plain li, ol.plain li { margin-bottom: 0.45rem; }

@media (max-width: 640px) {
  html { font-size: 100%; }
  .hero { padding-top: 2.25rem; }
  .section { padding-top: 2.5rem; }
  .section + .section { margin-top: 2.5rem; padding-top: 2.5rem; }
  .site-header-inner { flex-wrap: wrap; gap: 0.75rem 1.25rem; }
  .check-list li,
  .facility dl {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
