@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&display=swap");

/* Dumpster Guide — typography-first, mobile-friendly, no framework. */
:root {
  --bg: #f3efe6;
  --bg-elev: #fbf8f1;
  --ink: #1a1916;
  --muted: #5c574e;
  --line: #d7d0c3;
  --accent: #8a3a12;
  --accent-soft: #f0e0d4;
  --focus: #1a4d6e;
  --max: 68rem;
  --prose: 42rem;
  --sans: "IBM Plex Sans", "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.14em;
}

a:hover { text-decoration-thickness: 2px; }

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.4rem 0.7rem;
  z-index: 10;
}

.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}

.header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark:hover { color: var(--accent); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
  font-size: 0.95rem;
}

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

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

.hero,
.city-hero,
.article-header {
  padding-top: 2.4rem;
  padding-bottom: 0.4rem;
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4.5vw, 3.05rem);
}

h2 { font-size: 1.55rem; margin: 2.2rem 0 0.7rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }

.lede {
  max-width: 40rem;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0;
}

.updated {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Inactive CTA slot — visually reserved but hidden until activated. */
.cta-slot {
  margin: 1.4rem auto 0;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--accent);
  background: var(--accent-soft);
  border-radius: 4px;
}

.cta-slot--inactive { display: none; }

.cta-slot__label {
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.cta-slot__note { margin: 0; color: var(--muted); font-size: 0.95rem; }

.city-index { padding: 2rem 0 3.5rem; }

.city-index h2 {
  margin-top: 0;
  font-size: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.city-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.city-list li + li { border-top: 1px solid var(--line); }

.city-list a {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.85rem 0;
  color: inherit;
  text-decoration: none;
}

.city-list a:hover .city-name { color: var(--accent); text-decoration: underline; }

.city-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
}

.city-meta { color: var(--muted); font-size: 0.95rem; }

.city-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1.25rem 0 3.5rem;
}

@media (min-width: 860px) {
  .city-layout {
    grid-template-columns: 15rem minmax(0, var(--prose));
    gap: 2.5rem;
    align-items: start;
  }
}

.toc {
  font-size: 0.9rem;
}

@media (min-width: 860px) {
  .toc {
    position: sticky;
    top: 1rem;
  }
}

.toc-title {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc li + li { margin-top: 0.35rem; }

.toc a {
  color: var(--ink);
  text-decoration: none;
  line-height: 1.35;
}

.toc a:hover { color: var(--accent); text-decoration: underline; }

.article { padding-bottom: 3.5rem; }

.prose { max-width: var(--prose); }

.prose > p,
.prose > ul,
.prose > ol,
.prose > blockquote,
.prose > table,
.prose > pre {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol { padding-left: 1.2rem; }

.prose li + li { margin-top: 0.3rem; }

.prose h2 { scroll-margin-top: 1rem; }
.prose h3 { scroll-margin-top: 1rem; }

.prose blockquote {
  margin-left: 0;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 3px solid var(--accent);
  color: var(--muted);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--bg-elev);
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--line);
}

.prose th {
  font-weight: 600;
  background: #efe8d9;
}

.prose .table-wrap,
.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.prose code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: #ece6da;
  padding: 0.05em 0.3em;
  border-radius: 3px;
}

.prose .sources ol { padding-left: 1.3rem; }
.prose .note,
.prose aside.note {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 0.8rem 1rem;
  margin: 0 0 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ebe5d8;
  color: var(--ink);
}

.footer-inner { padding: 1.8rem 0 2.4rem; }

.footer-name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-tag { margin: 0.2rem 0 0.9rem; color: var(--muted); }

.disclaimer {
  max-width: 42rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  font-size: 0.95rem;
}

.footer-nav a { color: var(--ink); }

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-inner { flex-direction: column; gap: 0.4rem; padding: 0.85rem 0; }
  .prose th, .prose td { padding: 0.45rem 0.5rem; }
}
