/* ShortRunList — print-shop directory, not a startup landing page. */
:root {
  --paper: #f3efe6;
  --paper-deep: #e8e1d3;
  --card: #fffdf8;
  --ink: #1c1915;
  --ink-soft: #3a352e;
  --muted: #5c564c;
  --rule: #d2cabb;
  --rule-strong: #1c1915;
  --accent: #8b2e1f;
  --accent-hover: #6f2418;
  --forest: #2a463a;
  --focus: #1c1915;
  --ok: #2a463a;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", Times, serif;
  --font-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --measure: 40rem;
  --wide: 62rem;
  --space: 1.25rem;
  --radius: 2px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161411;
    --paper-deep: #100e0c;
    --card: #1f1b17;
    --ink: #f3efe6;
    --ink-soft: #ddd6c8;
    --muted: #b0a798;
    --rule: #3a342c;
    --rule-strong: #f3efe6;
    --accent: #e07a66;
    --accent-hover: #f0a090;
    --forest: #8fbfa8;
    --focus: #f3efe6;
  }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

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);
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.75rem;
  z-index: 10;
}

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

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

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.wordmark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
}

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

.wordmark .mark {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.4rem;
  border: 1.5px solid currentColor;
  position: relative;
  top: 0.05rem;
}

.wordmark .mark::before,
.wordmark .mark::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.wordmark .mark::before {
  width: 1.5px;
  height: 1.05rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.wordmark .mark::after {
  height: 1.5px;
  width: 1.05rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.wordmark span {
  font-weight: 500;
  opacity: 0.72;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  font-size: 0.92rem;
}

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

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

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--rule);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer .grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .site-footer .grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

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

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.kicker {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0.3rem 0 0.8rem;
}

h2 {
  font-size: 1.55rem;
  margin: 2.4rem 0 0.7rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--rule);
}

.prose h2:first-child {
  border-top: 0;
  margin-top: 0;
}

h3 {
  font-size: 1.18rem;
  margin: 1.6rem 0 0.45rem;
}

p {
  margin: 0 0 1rem;
}

.lede {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}

.hero {
  padding: 2.4rem 0 1.5rem;
}

.hero p.tag {
  max-width: 38rem;
}

main {
  padding-bottom: 2rem;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1.25rem 0 0;
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.3rem;
  color: var(--rule);
}

.breadcrumbs a {
  color: var(--muted);
}

.prose,
.article-body {
  max-width: var(--measure);
}

.prose.wide,
.article-body.wide {
  max-width: 48rem;
}

.article-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.note,
.callout {
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--forest);
  padding: 0.9rem 1rem;
  margin: 1.25rem 0 1.5rem;
}

.note p:last-child,
.callout p:last-child {
  margin-bottom: 0;
}

blockquote {
  margin: 1.25rem 0;
  padding: 0 0 0 1rem;
  border-left: 3px solid var(--rule-strong);
  color: var(--ink-soft);
  font-family: var(--font-serif);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.2rem 0 1.6rem;
  background: var(--card);
}

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

th {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: var(--paper-deep);
}

.table-wrap {
  overflow-x: auto;
  margin: 1.2rem 0 1.6rem;
}

.table-wrap table {
  margin: 0;
  min-width: 36rem;
}

.sources {
  font-size: 0.92rem;
}

.sources ol {
  padding-left: 1.2rem;
}

.sources li {
  margin-bottom: 0.45rem;
}

.cards {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 700px) {
  .cards.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 1.1rem 1.15rem 1.15rem;
}

.card h2,
.card h3 {
  margin-top: 0.2rem;
  border: 0;
  padding: 0;
  font-size: 1.25rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.checklist li {
  padding: 0.45rem 0 0.45rem 1.4rem;
  position: relative;
  border-bottom: 1px solid var(--rule);
}

.checklist li::before {
  content: "□";
  position: absolute;
  left: 0;
  color: var(--forest);
}

.unknown {
  color: var(--muted);
  font-style: italic;
}

.byline-rule {
  border: 0;
  border-top: 2px solid var(--ink);
  width: 3rem;
  margin: 0 0 1.25rem;
}

.home-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin: 1.2rem 0 0.4rem;
}

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 0.55rem 0.95rem;
  font-size: 0.95rem;
  border: 1px solid var(--ink);
}

.btn:hover {
  background: transparent;
  color: var(--ink);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
}

.btn.ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.city-empty {
  padding: 1.5rem 0;
}

ul, ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.35rem;
}

code, .mono {
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.footer-mark {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.4rem;
}

@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }
  .site-header .bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  h1 {
    font-size: 1.85rem;
  }
}

ol.checklist {
  list-style: decimal;
  padding-left: 1.4rem;
}
ol.checklist li {
  padding-left: 0.4rem;
}
ol.checklist li::before {
  content: none;
}
