:root {
  --paper: #f7f1e7;
  --paper-strong: #fffaf0;
  --ink: #171515;
  --ink-soft: #4d4742;
  --line: #d8cfc2;
  --accent: #b3261e;
  --accent-deep: #7f1813;
  --card: #fffdf8;
  --shadow: rgba(23, 21, 21, 0.06);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(179, 38, 30, 0.08), transparent 32%),
    linear-gradient(180deg, #fffaf3 0%, var(--paper) 100%);
}
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-shell { min-height: 100vh; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(216, 207, 194, 0.9);
  background: rgba(255, 250, 240, 0.94);
  backdrop-filter: blur(16px);
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.main-nav a { font-size: 0.95rem; }
.search {
  display: flex;
  gap: 8px;
  align-items: center;
}
.search input {
  width: min(320px, 42vw);
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
}
.search button,
.cta,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  background: var(--accent);
  color: white;
  font-weight: 600;
}
.button-link.alt,
.search button.alt {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
main { padding: 26px 28px 56px; }
.hero {
  padding: 32px;
  border: 1px solid rgba(179, 38, 30, 0.12);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 247, 238, 0.96));
  box-shadow: 0 18px 42px var(--shadow);
}
.hero h1, .page-hero h1, .article h1, .product-hero h1 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}
.lede,
.muted { color: var(--ink-soft); }
.stats,
.card-grid,
.lane-grid,
.archive-grid,
.meta-row,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.stats { margin-top: 18px; }
.stat,
.card,
.lane,
.route-note,
.archive-card,
.product-card,
.post-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 26px var(--shadow);
}
.stat {
  min-width: 140px;
  padding: 16px;
}
.section { margin-top: 24px; }
.section h2 {
  font-family: Georgia, "Times New Roman", serif;
  margin-bottom: 10px;
}
.card-grid,
.lane-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.card, .lane, .archive-card, .post-card, .product-card {
  padding: 18px;
}
.product-card .price {
  margin: 10px 0 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.product-meta,
.post-meta,
.archive-meta,
.micro-copy {
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.pill {
  border-radius: 999px;
  border: 1px solid rgba(179, 38, 30, 0.12);
  background: rgba(179, 38, 30, 0.06);
  padding: 6px 10px;
  font-size: 0.84rem;
}
.article,
.product-hero,
.page-hero,
.not-found {
  max-width: 960px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 18px 42px var(--shadow);
}
.article-body { line-height: 1.7; }
.article-body h2, .article-body h3 { font-family: Georgia, "Times New Roman", serif; }
.article-body img { max-width: 100%; height: auto; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 20px;
}
.route-note { padding: 16px; }
.site-footer {
  padding: 22px 28px 36px;
  border-top: 1px solid rgba(216, 207, 194, 0.9);
  color: var(--ink-soft);
}
.footer-links a { margin-right: 12px; }
@media (max-width: 880px) {
  .topbar {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .search input { width: 100%; }
  main { padding: 18px 18px 42px; }
  .hero { padding: 22px; }
  .split { grid-template-columns: 1fr; }
}
