:root {
  --pm-red: #971b16;
  --pm-red-dark: #68100d;
  --pm-ink: #171717;
  --pm-muted: #6f6b67;
  --pm-line: #ddd8d1;
  --pm-paper: #f7f4ef;
  --pm-white: #fff;
  --pm-radius: 4px;
  --pm-shadow: 0 12px 30px rgba(23, 23, 23, .08);
  --pm-container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--pm-ink);
  background: var(--pm-white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pm-red); }
button, input { font: inherit; }
.container { width: min(calc(100% - 40px), var(--pm-container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.section-spacing { padding-block: clamp(44px, 6vw, 88px); }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed !important; z-index: 100000; top: 12px; left: 12px; width: auto; height: auto;
  padding: 12px 18px; clip: auto; color: var(--pm-white); background: var(--pm-red);
}

.utility-bar { color: #f5dcd9; background: var(--pm-red-dark); font-size: 12px; letter-spacing: .03em; }
.utility-inner { display: flex; justify-content: space-between; gap: 20px; padding-block: 7px; }
.utility-tagline { text-transform: uppercase; letter-spacing: .12em; }
.brand-row { display: flex; align-items: center; justify-content: space-between; min-height: 118px; gap: 30px; }
.site-branding img, .custom-logo { width: 272px; max-height: 90px; object-fit: contain; }
.brand-actions { display: flex; gap: 10px; }
.search-toggle, .menu-toggle {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--pm-line); background: var(--pm-white); cursor: pointer;
}
.search-toggle:hover, .menu-toggle:hover { color: var(--pm-white); background: var(--pm-red); border-color: var(--pm-red); }
.search-toggle svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.menu-toggle { display: none; gap: 4px; align-content: center; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 21px; height: 2px; background: currentColor; }
.header-search { padding: 18px 0; background: var(--pm-paper); border-top: 1px solid var(--pm-line); }
.header-search .search-form { display: flex; max-width: 700px; margin-inline: auto; }
.search-field { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--pm-line); }
.search-submit, .button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px;
  color: var(--pm-white); background: var(--pm-red); border: 0; cursor: pointer; font-weight: 750;
}
.search-submit:hover, .button:hover { color: var(--pm-white); background: var(--pm-red-dark); }
.primary-navigation { color: var(--pm-white); background: var(--pm-red); border-bottom: 4px solid var(--pm-red-dark); }
.site-menu, .primary-navigation ul { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.primary-navigation a { display: block; padding: 15px 17px; font-size: 14px; font-weight: 780; text-transform: uppercase; letter-spacing: .035em; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { color: var(--pm-white); background: var(--pm-red-dark); }
.primary-navigation .menu-item-has-children { position: relative; }
.primary-navigation .sub-menu {
  position: absolute; z-index: 20; top: 100%; left: 0; display: none; min-width: 220px;
  background: var(--pm-white); color: var(--pm-ink); box-shadow: var(--pm-shadow);
}
.primary-navigation .menu-item-has-children:hover > .sub-menu { display: block; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 25px; border-bottom: 2px solid var(--pm-ink); }
.section-heading h1, .section-heading h2, .archive-header h1 { margin: 2px 0 12px; font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
.section-heading h1 { font-size: clamp(34px, 5vw, 62px); }
.section-heading h2, .archive-header h1 { font-size: clamp(30px, 4vw, 48px); }
.eyebrow { display: block; color: var(--pm-red); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.text-link { padding-bottom: 13px; color: var(--pm-red); font-size: 13px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }

.latest-hero { background: var(--pm-paper); border-bottom: 1px solid var(--pm-line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
.lead-story { grid-row: span 2; }
.lead-media, .card-media { display: block; overflow: hidden; background: #e8e2da; }
.lead-media { aspect-ratio: 3 / 2; }
.card-media { aspect-ratio: 16 / 10; }
.lead-media img, .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.lead-story:hover img, .post-card:hover img { transform: scale(1.025); }
.lead-content { padding-top: 19px; }
.lead-content h2 { margin: 9px 0 11px; font: 700 clamp(29px, 3.6vw, 47px)/1.06 Georgia, "Times New Roman", serif; }
.lead-excerpt { color: #4c4946; font-size: 17px; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--pm-muted); font-size: 12px; }
.post-kicker { color: var(--pm-red); font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.post-kicker::after { content: ""; display: inline-block; width: 18px; height: 1px; margin-left: 10px; vertical-align: middle; background: var(--pm-line); }
.post-card h3 { margin: 9px 0 7px; font: 700 23px/1.15 Georgia, "Times New Roman", serif; }
.card-content { padding-top: 14px; }
.card-excerpt { color: #595551; font-size: 14px; }
.card-excerpt p, .lead-excerpt p { margin: 0; }
.post-card--compact { display: grid; grid-template-columns: 120px 1fr; gap: 15px; padding-top: 20px; border-top: 1px solid var(--pm-line); }
.post-card--compact .card-media { aspect-ratio: 1 / 1; }
.post-card--compact .card-content { padding: 0; }
.post-card--compact h3 { font-size: 18px; }
.image-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(151,27,22,.28); font-weight: 900; letter-spacing: -.05em; font-size: clamp(25px, 6vw, 70px); }

.category-index { padding-block: 25px 80px; }
.category-section { padding-top: clamp(48px, 7vw, 84px); }
.category-grid, .archive-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.category-grid .post-card:first-child { grid-column: span 2; grid-row: span 2; }
.category-grid .post-card:first-child h3 { font-size: clamp(26px, 3vw, 36px); }
.category-grid .post-card:first-child .card-media { aspect-ratio: 16 / 10; }

.archive-header { max-width: 820px; margin-bottom: 38px; padding-bottom: 25px; border-bottom: 2px solid var(--pm-ink); }
.archive-description { color: var(--pm-muted); font-size: 17px; }
.pagination { margin-top: 45px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers { display: grid; place-items: center; min-width: 42px; min-height: 42px; padding: 6px; border: 1px solid var(--pm-line); }
.page-numbers.current, .page-numbers:hover { color: var(--pm-white); background: var(--pm-red); border-color: var(--pm-red); }

.article-header { text-align: center; }
.article-header .post-meta { justify-content: center; }
.article-header h1 { margin: 16px 0; font: 700 clamp(38px, 6vw, 72px)/1.02 Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
.article-deck { color: #504c48; font: 400 clamp(19px, 2.2vw, 25px)/1.5 Georgia, "Times New Roman", serif; }
.article-byline { margin-top: 22px; color: var(--pm-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.article-byline span { color: var(--pm-ink); font-weight: 800; }
.article-hero { margin-top: 42px; }
.article-hero img { width: 100%; max-height: 760px; object-fit: cover; }
.article-hero figcaption { padding-top: 8px; color: var(--pm-muted); font-size: 12px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; justify-content: center; gap: 70px; margin-top: 48px; }
.entry-content { font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.82; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2, .entry-content h3 { line-height: 1.2; }
.entry-content a { color: var(--pm-red); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 35px 0; padding: 5px 0 5px 25px; border-left: 4px solid var(--pm-red); font-size: 24px; line-height: 1.45; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; font-family: Inter, sans-serif; font-size: 12px; }
.article-tags a { padding: 6px 10px; color: var(--pm-ink); text-decoration: none; background: var(--pm-paper); }
.widget { margin-bottom: 30px; padding: 22px; border-top: 4px solid var(--pm-red); background: var(--pm-paper); }
.widget-title { margin: 0 0 14px; font: 700 23px/1.2 Georgia, serif; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--pm-line); }
.post-navigation-wrap { margin-top: 55px; }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { display: block; max-width: 340px; font-weight: 750; }
.comments-area { margin-top: 70px; }
.comments-title { font: 700 30px/1.2 Georgia, serif; }
.comment-list { padding-left: 0; list-style: none; }
.comment-list .comment-body { margin-bottom: 22px; padding: 20px; background: var(--pm-paper); }
.comment-form label { display: block; margin-bottom: 5px; font-weight: 700; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 11px; border: 1px solid var(--pm-line); }
.form-submit .submit { padding: 12px 22px; color: var(--pm-white); background: var(--pm-red); border: 0; cursor: pointer; font-weight: 750; }

.error-page { min-height: 62vh; text-align: center; }
.error-code { display: block; color: var(--pm-red); font-size: clamp(80px, 18vw, 190px); font-weight: 900; line-height: .8; opacity: .15; }
.error-page h1 { font: 700 clamp(35px, 6vw, 60px)/1.1 Georgia, serif; }
.error-page .search-form { display: flex; margin: 30px auto; }

.site-footer { margin-top: 50px; color: #eee8e4; background: #171313; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-block: 60px; }
.footer-brand img { width: 240px; }
.site-footer h2 { color: var(--pm-white); font: 700 21px/1.2 Georgia, serif; }
.site-footer a:hover { color: #ffb6af; }
.footer-menu, .site-footer .site-menu { display: block; margin: 0; padding: 0; columns: 2; list-style: none; }
.footer-menu li, .site-footer .site-menu li { margin-bottom: 7px; }
.footer-bottom { padding-block: 15px; color: #aaa29d; background: #0d0b0b; font-size: 12px; }
.footer-bottom p { margin: 0; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; }
  .lead-story { grid-row: span 3; }
  .category-grid, .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 720px); }
  .article-sidebar { display: none; }
  .primary-navigation a { padding-inline: 12px; font-size: 12px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--pm-container)); }
  .utility-tagline { display: none; }
  .brand-row { min-height: 92px; }
  .site-branding img, .custom-logo { width: 210px; }
  .menu-toggle { display: grid; }
  .primary-navigation { display: none; }
  .primary-navigation.is-open { display: block; }
  .primary-navigation .container { width: 100%; }
  .site-menu, .primary-navigation ul { display: block; }
  .primary-navigation a { padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .primary-navigation .sub-menu { position: static; display: block; color: var(--pm-white); background: rgba(0,0,0,.12); box-shadow: none; }
  .section-heading { align-items: start; }
  .section-heading .text-link { display: none; }
  .hero-grid { display: block; }
  .hero-grid > article { margin-bottom: 32px; }
  .hero-grid .post-card { display: grid; grid-template-columns: 128px 1fr; gap: 15px; padding-top: 20px; border-top: 1px solid var(--pm-line); }
  .hero-grid .post-card .card-media { aspect-ratio: 1 / 1; }
  .hero-grid .post-card .card-content { padding: 0; }
  .hero-grid .post-card h3 { margin-top: 5px; font-size: 18px; }
  .hero-grid .post-card .card-excerpt { display: none; }
  .category-grid, .archive-grid { grid-template-columns: 1fr; }
  .category-grid .post-card:first-child { grid-column: auto; grid-row: auto; }
  .category-grid .post-card:not(:first-child) { display: grid; grid-template-columns: 120px 1fr; gap: 15px; padding-top: 18px; border-top: 1px solid var(--pm-line); }
  .category-grid .post-card:not(:first-child) .card-media { aspect-ratio: 1 / 1; }
  .category-grid .post-card:not(:first-child) .card-content { padding: 0; }
  .category-grid .post-card:not(:first-child) .card-excerpt { display: none; }
  .article-header h1 { font-size: clamp(36px, 12vw, 54px); }
  .entry-content { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
