:root {
  --ink: #050505;
  --paper: #ffffff;
  --soft: #e9e9e9;
  --muted: #5f6368;
  --rule: #d4d4d4;
  --accent: #c43b2f;
  --green: #446b48;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Open Sans", Arial, sans-serif;
  letter-spacing: 0;
}

h1, h2, h3, h4, .title, .brand-wordmark, .footer-brand {
  font-family: "Merriweather", Georgia, serif;
  letter-spacing: 0;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ink);
  border-bottom: 1px solid #2f2f2f;
}

.bouffe-navbar {
  background: var(--ink);
  color: var(--paper);
  min-height: 4rem;
}

.bouffe-navbar .navbar-item,
.bouffe-navbar .navbar-burger {
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bouffe-navbar .navbar-item:hover,
.bouffe-navbar .navbar-item:focus {
  background: transparent;
  color: var(--soft);
}

.brand-wordmark {
  font-size: 1.45rem;
  font-weight: 900;
  margin-right: 2rem;
}

.nav-contact {
  border: 1px solid var(--paper);
  margin: 0.75rem 0 0.75rem 0.75rem;
  padding: 0.35rem 0.75rem;
}

.bouffe-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--rule);
}

.bouffe-hero h1,
.article-header h1,
.listing-header h1,
.article-body > h1 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.05;
  max-width: 13ch;
}

.article-body > h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
  max-width: 34ch;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 46rem;
}

.hero-image img,
.image-block img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}

.content-grid {
  align-items: stretch;
}

.section-heading,
.listing-header,
.article-header {
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
}

.article-card {
  height: 100%;
  border-radius: 0;
  border: 1px solid var(--rule);
  box-shadow: none;
  color: var(--muted);
  transition: border-color 160ms ease, transform 160ms ease;
}

.article-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.article-card .card-content {
  padding: 1.1rem;
}

.article-card .title {
  line-height: 1.25;
}

.read-more {
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.editorial-section,
.listing-section {
  background: var(--paper);
}

.article-body {
  font-size: 1.02rem;
  line-height: 1.75;
}

.article-body h2,
.article-body h3 {
  margin-top: 2rem;
}

.article-body blockquote {
  border-left: 4px solid var(--accent);
  color: var(--muted);
  padding-left: 1.25rem;
}

.image-block {
  margin: 1.5rem 0;
}

.image-block figcaption {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.gallery-grid {
  margin-top: 1.5rem;
}

.bouffe-breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.bouffe-sidebar {
  border-left: 1px solid var(--rule);
  padding-left: 1.25rem;
}

.toc {
  background: var(--soft);
  border: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
  padding: 0.75rem;
}

.toc a {
  font-size: 0.85rem;
  font-weight: 700;
}

.is-sticky {
  position: sticky;
  top: 5rem;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 3rem 1.5rem;
}

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

.site-footer .button {
  border-color: var(--green);
  color: var(--green);
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.footer-copy,
.footer-list,
.footer-heading {
  font-size: 0.9rem;
}

.footer-heading {
  color: var(--soft);
  font-weight: 700;
  text-transform: uppercase;
}

.footer-list li {
  border-bottom: 1px solid #333;
  padding: 0.4rem 0;
}

@media (max-width: 768px) {
  .navbar-menu {
    background: var(--ink);
  }

  .bouffe-hero h1,
  .article-header h1,
  .listing-header h1,
  .article-body > h1 {
    font-size: 2rem;
  }

  .article-body > h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-contact {
    border: 0;
    margin: 0;
  }

  .bouffe-sidebar {
    border-left: 0;
    padding-left: 0;
  }
}
