:root {
  --ink: #1E2329;
  --paper: #F4EFE5;
  --card: #FFF9EF;
  --red: #C43B27;
  --ochre: #D79B35;
  --graphite: #68707A;
  --rubber: #111315;
  --line: #D9CDBA;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(22px, 4vw, 48px);
  background: rgba(244,239,229,.96);
  border-bottom: 2px solid var(--rubber);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--rubber);
  font: 700 28px Oswald, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border: 5px solid var(--rubber);
  background: var(--red);
  transform: rotate(-8deg);
}
.nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px 18px; }
.nav-item { position: relative; display: inline-block; }
.nav a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}
.dropdown {
  display: none;
  position: absolute;
  min-width: 230px;
  right: 0;
  top: 100%;
  z-index: 30;
  padding: 10px;
  background: var(--card);
  border: 2px solid var(--rubber);
  box-shadow: 6px 6px 0 var(--line);
}
.has-children:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 7px 0;
  letter-spacing: 0;
  text-transform: none;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  min-height: 650px;
  border-bottom: 2px solid var(--rubber);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(24px, 6vw, 64px);
}
.eyebrow {
  width: max-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 7px 10px;
  background: var(--ochre);
  color: var(--rubber);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 20px;
  font: 700 clamp(42px, 7vw, 92px)/.95 Oswald, sans-serif;
  text-transform: uppercase;
}
.marker {
  color: var(--red);
  font-family: "Permanent Marker", cursive;
  font-size: .72em;
  text-transform: none;
}
.lead { max-width: 680px; color: var(--graphite); font-size: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-block;
  padding: 13px 18px;
  border: 2px solid var(--rubber);
  background: var(--red);
  color: white;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}
.button.secondary { background: var(--card); color: var(--rubber); }
.hero-media {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-left: 2px solid var(--rubber);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 14px;
  background: var(--card);
  border: 2px solid var(--rubber);
  font-weight: 800;
}
.breadcrumbs {
  max-width: 1180px;
  margin: 22px auto 0;
  padding: 0 24px;
  color: var(--graphite);
}
.breadcrumbs a { color: var(--red); text-decoration: none; }
.breadcrumbs span { margin: 0 8px; }
.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 38px 24px 72px;
}
.wrap.single { display: block; }
.content-card {
  background: var(--card);
  border: 2px solid var(--rubber);
  border-radius: 6px;
  box-shadow: 8px 8px 0 var(--line);
  padding: clamp(22px, 4vw, 42px);
}
.site-prose h2, .site-prose h3 {
  font-family: Oswald, sans-serif;
  line-height: 1.1;
}
.site-prose a { color: var(--red); }
.site-prose img, figure img {
  max-width: 100%;
  height: auto;
  border: 2px solid var(--rubber);
}
figure { margin: 24px 0; }
figcaption { color: var(--graphite); font-size: 14px; }
blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 6px solid var(--red);
  background: var(--paper);
}
.feed { display: grid; gap: 22px; }
.post-card {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 2px solid var(--line);
}
.post-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.post-card time {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.post-card h2 { margin: 6px 0 10px; font-size: 30px; }
.side { display: grid; align-content: start; gap: 18px; }
.panel {
  padding: 20px;
  background: var(--ink);
  color: white;
  border: 2px solid var(--rubber);
  border-radius: 6px;
}
.panel h2 {
  margin: 0 0 12px;
  color: var(--ochre);
  font: 700 24px Oswald, sans-serif;
  text-transform: uppercase;
}
.panel a {
  display: block;
  padding: 9px 0;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.archive-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 2px solid var(--line);
}
.archive-links a {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.gallery-grid, .category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.hub-editorial { margin-bottom: 28px; }
.hub-editorial .content-hub > h1:first-child { display: none; }
.category-card {
  background: var(--paper);
  border: 2px solid var(--rubber);
  padding: 16px;
}
.category-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.main-image {
  float: right;
  max-width: 34%;
  margin: 0 0 20px 24px;
}
.toc-panel {
  margin: 20px 0;
  padding: 16px;
  background: var(--paper);
  border: 2px solid var(--line);
}
.toc-panel a { display: block; margin-top: 8px; }
.table-wrap { overflow-x: auto; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(22px, 4vw, 48px);
  background: var(--rubber);
  color: white;
}
.site-footer a { color: white; margin-left: 16px; text-decoration: none; }
@media (max-width: 880px) {
  .topbar, .site-footer { align-items: flex-start; flex-direction: column; }
  .nav { flex-wrap: wrap; }
  .hero, .wrap, .post-card { grid-template-columns: 1fr; }
  .hero-copy { padding: 44px 24px; }
  .hero-media { min-height: 420px; border-left: 0; border-top: 2px solid var(--rubber); }
  .main-image { float: none; max-width: 100%; margin: 0 0 18px; }
}
