/* Brewer blog — cream newspaper-style layout (index + article pages) */

body.blog {
  background: #f1ece3;
  color: #1e1c19;
}
.paper {
  max-width: 1560px;
  margin: 0 auto;
  border-left: 2px solid #1e1c19;
  border-right: 2px solid #1e1c19;
  min-height: 100vh;
}
.paper-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  border-bottom: 2px solid #1e1c19;
  font-family: var(--serif);
  font-size: 17px;
}
.paper-top a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #1e1c19;
}
.paper-top .logo-squircle {
  width: 40px;
  height: 40px;
  color: #1e1c19;
}
.masthead {
  text-align: center;
  padding: clamp(30px, 5vw, 70px) 20px;
  border-bottom: 2px solid #1e1c19;
}
.masthead h1 {
  font-family: var(--sans-display);
  font-size: clamp(60px, 12.5vw, 210px);
  letter-spacing: -0.03em;
  line-height: 0.9;
}
.dingbats {
  display: flex;
  justify-content: center;
  gap: 34px;
  padding: 22px;
  border-bottom: 2px solid #1e1c19;
  font-size: 26px;
}
.paper-body {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
}
.post-list { border-right: 2px solid #1e1c19; }
.post {
  display: block;
  text-decoration: none;
  color: #1e1c19;
  padding: clamp(30px, 4vw, 60px);
  border-bottom: 2px solid #1e1c19;
  transition: background 0.25s;
}
a.post:hover { background: rgba(30, 28, 25, 0.05); }
.post .post-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: 16px;
  margin-bottom: 26px;
}
.post h2 {
  font-size: clamp(30px, 4vw, 58px);
  letter-spacing: -0.02em;
  margin-bottom: 30px;
  max-width: 18ch;
}
.post .post-thumb {
  aspect-ratio: 16 / 8;
  border-radius: 14px;
  background: linear-gradient(150deg, #ddd6c8, #cbc3b1);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.post .post-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}
.post .post-thumb span {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(30, 28, 25, 0.4);
}
.post .post-excerpt { margin-top: 26px; max-width: 68ch; font-size: 18px; }
.post-soon {
  padding: clamp(30px, 4vw, 60px);
  font-family: var(--serif);
  font-size: 17px;
  opacity: 0.65;
}
.blog-side { position: relative; }
.side-card {
  padding: clamp(28px, 3vw, 48px);
  border-bottom: 2px solid #1e1c19;
}
.side-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 18px;
}
.side-card p { font-size: 16.5px; margin-bottom: 26px; }
.side-card .contact-btn {
  display: block;
  text-align: center;
  font-family: var(--serif);
  font-size: 18px;
  color: #1e1c19;
  text-decoration: none;
  border: 1.5px solid #1e1c19;
  border-radius: 8px;
  padding: 14px;
  transition: background 0.2s, color 0.2s;
}
.side-card .contact-btn:hover { background: #1e1c19; color: #f1ece3; }
.side-card .cat-list { list-style: none; }
.side-card .cat-list li {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 20px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(30, 28, 25, 0.2);
}
.side-card .cat-list li:last-child { border-bottom: 0; }
.paper-foot {
  border-top: 2px solid #1e1c19;
  text-align: center;
  padding: 26px;
  font-family: var(--serif);
  font-size: 14px;
}
.paper-foot a { color: inherit; }
body.blog .menu-btn { background: #1e1c19; color: #f1ece3; }
body.blog .menu-bar { background: #1e1c19; }
body.blog .menu-bar-logo { color: #f1ece3; }
body.blog .menu-bar .menu-btn { background: #f1ece3; color: #1e1c19; }
@media (max-width: 900px) {
  .paper-body { grid-template-columns: 1fr; }
  .post-list { border-right: 0; }
}
@media (max-width: 620px) {
  /* keep the article hero from swallowing the first phone screen */
  .article-hero img { max-height: 52vh; }
}

/* ----- article pages ----- */
.article-head {
  text-align: center;
  padding: clamp(36px, 6vw, 80px) 24px clamp(28px, 4vw, 56px);
  border-bottom: 2px solid #1e1c19;
}
.article-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-family: var(--serif);
  font-size: 16px;
  margin-bottom: 26px;
}
.article-title {
  font-family: var(--sans-display);
  font-size: clamp(38px, 6.5vw, 92px);
  letter-spacing: -0.03em;
  line-height: 0.98;
  max-width: 18ch;
  margin: 0 auto;
}
.article-hero {
  border-bottom: 2px solid #1e1c19;
}
.article-hero img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  display: block;
  filter: saturate(0.88) contrast(1.04);
}
.article-body {
  max-width: 72ch;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 90px) 24px;
  font-size: 19px;
  line-height: 1.65;
}
.article-body p { margin-bottom: 1.5em; }
.article-body h2 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  margin: 1.8em 0 0.7em;
}
.article-foot {
  border-top: 2px solid #1e1c19;
  text-align: center;
  padding: clamp(28px, 4vw, 48px) 24px;
}
.article-foot .byline {
  font-family: var(--serif);
  margin-bottom: 22px;
}
.article-foot .contact-btn {
  display: inline-block;
  font-family: var(--serif);
  font-size: 18px;
  color: #1e1c19;
  text-decoration: none;
  border: 1.5px solid #1e1c19;
  border-radius: 8px;
  padding: 14px 28px;
  transition: background 0.2s, color 0.2s;
}
.article-foot .contact-btn:hover { background: #1e1c19; color: #f1ece3; }
