:root {
  --ink: #171416;
  --ink-soft: #312b2e;
  --paper: #f5f0e7;
  --paper-deep: #e6ddce;
  --white: #fffdf9;
  --berry: #8a2444;
  --berry-dark: #5d1730;
  --gold: #d7a84b;
  --muted: #736a68;
  --line: rgba(23, 20, 22, 0.16);
  --display: "Old Standard TT", Georgia, "Times New Roman", serif;
  --body: "Work Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--berry-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible { color: var(--berry); }

.skip-link {
  position: absolute;
  top: -6rem;
  left: 1rem;
  z-index: 30;
  padding: 0.6rem 1rem;
  color: var(--white);
  background: var(--berry);
}

.skip-link:focus { top: 0.5rem; }

.independent-notice {
  padding: 0.45rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-bottom: 3px solid var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-align: center;
  text-transform: uppercase;
}

.topbar {
  position: relative;
  z-index: 10;
  color: var(--white);
  background: var(--berry-dark);
  box-shadow: 0 8px 24px rgba(23, 20, 22, 0.18);
}

.nav-inner {
  width: min(1180px, calc(100% - 2rem));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  color: var(--white);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  color: var(--gold);
  font-family: var(--body);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  padding: 0.45rem 0.75rem;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  font: 700 0.78rem var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  display: block;
  padding: 1.25rem 0.85rem;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.menu a:hover,
.menu a:focus-visible,
.menu a[aria-current="page"] {
  color: var(--ink);
  background: var(--gold);
}

.masthead {
  min-height: 310px;
  display: grid;
  place-items: end start;
  background-color: var(--ink-soft);
  background-image:
    linear-gradient(90deg, rgba(23,20,22,0.93) 0%, rgba(23,20,22,0.48) 58%, rgba(23,20,22,0.2) 100%),
    url("/images/hero-stage.jpg");
  background-position: center;
  background-size: cover;
  border-bottom: 8px solid var(--gold);
}

.masthead-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 2.6rem;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.masthead-title {
  max-width: 800px;
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.92;
  text-shadow: 0 3px 20px rgba(0,0,0,0.35);
}

.masthead-title span {
  display: block;
  margin-top: 0.45rem;
  color: var(--gold);
  font-family: var(--body);
  font-size: clamp(0.8rem, 1.8vw, 1.15rem);
  letter-spacing: 0.34em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 2.75rem auto 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.4rem;
  align-items: start;
}

.content-card {
  padding: clamp(1.4rem, 4vw, 3.4rem);
  background: var(--white);
  border-top: 6px solid var(--berry);
  box-shadow: 0 15px 38px rgba(49, 43, 46, 0.09);
}

.page-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
}

.page-meta {
  margin: 0.55rem 0 2rem;
  padding-bottom: 1rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lead {
  font-family: var(--display);
  font-size: 1.32rem;
  line-height: 1.55;
}

h2,
h3 { font-family: var(--display); line-height: 1.15; }

h2 {
  margin: 2.5rem 0 0.8rem;
  color: var(--berry-dark);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

h3 { margin: 0 0 0.35rem; font-size: 1.35rem; }

p { margin: 0 0 1.15rem; }

.feature-image {
  margin: 2rem 0;
  border: 8px solid var(--paper-deep);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.feature-image figcaption {
  padding: 0.65rem 0.85rem;
  color: var(--muted);
  background: var(--paper);
  font-size: 0.76rem;
}

.archive-list,
.category-list {
  margin: 1.25rem 0 2rem;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.archive-list li,
.category-list li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.archive-date,
.category-label {
  color: var(--berry);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-list p,
.category-list p { margin: 0.35rem 0 0; }

.notice-box {
  margin: 1.8rem 0;
  padding: 1.2rem 1.35rem;
  background: var(--paper);
  border-left: 5px solid var(--gold);
}

.sidebar {
  display: grid;
  gap: 1.25rem;
}

.sidebox {
  padding: 1.35rem;
  background: var(--white);
  border-top: 5px solid var(--gold);
  box-shadow: 0 10px 25px rgba(49, 43, 46, 0.07);
}

.sidebox h2 {
  margin: 0 0 0.9rem;
  color: var(--ink);
  font-size: 1.38rem;
}

.sidebox p,
.sidebox li { font-size: 0.88rem; }

.sidebox ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebox li + li { border-top: 1px solid var(--line); }

.sidebox li a {
  display: block;
  padding: 0.6rem 0;
  font-weight: 700;
  text-decoration: none;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 1.8rem 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat-grid div {
  padding: 1.2rem;
  background: var(--paper);
  text-align: center;
}

.stat-grid strong {
  display: block;
  color: var(--berry-dark);
  font-family: var(--display);
  font-size: 1.8rem;
}

.source-list li { margin-bottom: 0.8rem; }

.footer {
  color: var(--white);
  background: var(--ink);
  border-top: 8px solid var(--berry);
}

.footer-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.4rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer p { max-width: 720px; margin: 0; color: #d8d2cf; font-size: 0.82rem; }

.footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a { color: var(--gold); font-size: 0.78rem; font-weight: 700; }

.not-found {
  min-height: 52vh;
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
}

.not-found .content-card { width: min(720px, 100%); text-align: center; }

@media (max-width: 900px) {
  .nav-inner { align-items: flex-start; padding: 0.75rem 0; flex-wrap: wrap; }
  .menu-toggle { display: none; }
  .menu { width: 100%; flex-wrap: wrap; }
  .menu a { padding: 0.65rem 0.75rem; }
  html[data-enhanced="true"] .menu-toggle { display: block; }
  html[data-enhanced="true"] .menu { display: none; }
  html[data-enhanced="true"] .menu.is-open { display: flex; }
  .site-shell { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .masthead { min-height: 250px; }
  .archive-list li,
  .category-list li { grid-template-columns: 1fr; gap: 0.25rem; }
  .sidebar { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer ul { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
