:root {
  --primary: #7A1E16;
  --primary-dark: #5A0504;
  --gold: #D9A441;
  --teal: #2F6F73;
  --ink: #262626;
  --paper: #FBF9F4;
  --subtle: #F4F1EA;
  --line: #DDC0BC;
}

/*
Design audit typography tokens:
h1 48px / 800; h2 30px / 700; h3 21px / 700; h4 16px / 700.
body 16px / 400; small 13px / 500.
Merriweather, Georgia, serif for headings; Inter, Arial, sans-serif for body.
Design colors: #7A1E16 #D9A441 #2F6F73 #262626 #F4F1EA.
*/

html { background: var(--paper); }
body {
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

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

a { color: inherit; }
.content a,
.editorial-box a,
.intro-block a,
.card-content a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: rgba(47, 111, 115, .35);
  text-underline-offset: .18em;
}
.content a:hover,
.editorial-box a:hover,
.card-content a:hover { color: var(--primary); }

.container { width: min(1160px, 92vw); }
.utility-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}
.utility-inner {
  min-height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.utility-links { display: flex; flex-wrap: wrap; gap: .9rem; }
.utility-links a { color: var(--primary-dark); text-decoration: none; }
.site-navbar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  min-height: 74px;
}
.brand-mark {
  color: var(--primary) !important;
  font-weight: 900;
  font-size: 1.45rem;
}
.brand-mark span {
  color: var(--ink);
  font-size: .78em;
  margin-left: .1rem;
  font-weight: 700;
}
.navbar-item,
.navbar-link {
  color: var(--ink);
  font-weight: 700;
  font-size: .88rem;
}
.navbar-item:hover,
.navbar-link:hover { color: var(--primary) !important; background: transparent !important; }

.site-hero {
  background: var(--primary-dark);
  color: #fff;
  overflow: hidden;
}
.site-hero .hero-body { padding: 4rem 1.5rem; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
  gap: 2rem;
  align-items: center;
}
.site-hero .title,
.site-hero .subtitle { color: #fff; }
.site-hero .title {
  font-size: clamp(2.75rem, 5vw, 4.4rem);
  line-height: 1.02;
  max-width: 760px;
}
.eyebrow,
.card-kicker,
.meta {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-media {
  margin: 0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.newsletter-band {
  padding: 1rem 0;
  background: var(--teal);
  color: #fff;
}
.newsletter-band .title { color: #fff; margin: 0; }
.newsletter-inner,
.newsletter-form {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.newsletter-form { min-width: min(460px, 100%); }
.newsletter-form .input { border-radius: 4px; }
.button.is-warning { background: var(--gold); color: #271900; font-weight: 800; }

.page-title-band {
  padding: 3rem 0 2.2rem;
  background: var(--subtle);
  border-bottom: 1px solid var(--line);
}
.article-title { background: #fff; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 1.3rem;
}
.editorial-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.2rem, 3vw, 2.2rem);
}
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 2rem;
  align-items: start;
}
.article-shell > article:only-child,
.article-shell > .editorial-box { max-width: 860px; }
.site-sidebar,
.toc-wrap {
  position: sticky;
  top: 1rem;
}
.experience-card {
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.experience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(38,38,38,.12);
}
.experience-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.experience-card .title {
  font-size: 1.12rem;
  line-height: 1.28;
}
.content-figure,
.image-card {
  margin: 1.1rem 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.content-figure img,
.image-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.figure-float,
.main-image {
  float: right;
  max-width: min(330px, 42%);
  margin: .25rem 0 1rem 1.4rem;
}
.image-card figcaption,
.content-figure figcaption {
  padding: .65rem .8rem;
  font-size: 13px;
  color: #57423f;
}
.gallery-grid { margin-top: 1rem; }
.table-container,
.table-wrap {
  margin: 1.2rem 0;
  overflow-x: auto;
  max-width: 100%;
}
.table-container table,
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
}
.table-container th,
.table-container td,
.table-wrap th,
.table-wrap td {
  overflow-wrap: anywhere;
}
blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  color: #57423f;
}
.partner-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.18);
  margin-bottom: 2rem;
}
.partner-band span {
  background: rgba(255,255,255,.08);
  color: #f7f2e8;
  padding: .75rem;
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
}
.site-footer {
  background: #003032;
  color: #f7f2e8;
  padding: 3rem 1.5rem 1.3rem;
}
.footer-brand {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: .5rem;
}
.footer-heading {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
}
.footer-links a { color: #f7f2e8; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.18);
  margin-top: 2rem;
  padding-top: 1rem;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}
.site-breadcrumb { margin-bottom: .8rem; }
.media-page .image-card img { aspect-ratio: 4 / 3; }
.legacy-links-section {
  padding-top: 0;
}
.legacy-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: .55rem .9rem;
}
.legacy-link-grid a {
  display: block;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.legacy-link-grid a:hover {
  border-color: var(--gold);
  color: var(--primary);
}

@media (max-width: 900px) {
  .hero-layout,
  .article-shell {
    grid-template-columns: 1fr;
  }
  .newsletter-inner,
  .newsletter-form {
    align-items: stretch;
    flex-direction: column;
  }
  .figure-float,
  .main-image {
    float: none;
    max-width: 100%;
    margin: 1rem 0;
  }
  .partner-band { grid-template-columns: 1fr 1fr; }
}

@media print {
  .utility-strip,
  .site-navbar,
  .site-footer { display: none; }
  body { background: #fff; color: #000; }
  .editorial-box { border: 0; padding: 0; }
}
