:root {
  --olive: #40433b;
  --olive-deep: #34372f;
  --coal: #292a27;
  --stone: #b8ae9d;
  --paper: #e9e3d8;
  --champagne: #b69a70;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--coal);
  font: 18px/1.8 var(--sans);
  -webkit-font-smoothing: antialiased;
}
.reader-top {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 92px;
  padding: 10px clamp(22px, 7vw, 110px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--coal);
  color: var(--paper);
  border-bottom: 1px solid rgba(184, 174, 157, .25);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: max-content;
  color: var(--stone);
  text-decoration: none;
}
.brand-mark { display: block; width: 135px; height: auto; object-fit: contain; }
.brand-name {
  font: 400 16pt/1.2 "Times New Roman", Times, serif;
  letter-spacing: .04em;
}
.back-link, .back-bottom {
  color: var(--paper);
  font: 500 10px/1.5 "Manrope", Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--champagne);
  padding-bottom: 5px;
  transition: color .2s ease;
}
.back-link:hover, .back-bottom:hover { color: var(--champagne); }
.reader {
  width: min(760px, calc(100% - 42px));
  min-height: calc(100vh - 290px);
  margin: clamp(65px, 10vh, 115px) auto 100px;
}
.eyebrow {
  margin: 0 0 21px;
  color: var(--olive);
  font: 600 9px/1.5 "Manrope", Arial, sans-serif;
  letter-spacing: .2em;
}
h1 {
  max-width: 720px;
  margin: 0 0 20px;
  font: 400 clamp(34px, 5vw, 58px)/1.05 var(--serif);
  letter-spacing: -.035em;
}
.deck { max-width: 660px; margin: 0; color: #55564f; font-size: 16px; line-height: 1.7; }
.rule { height: 1px; margin: 40px 0; background: rgba(41, 42, 39, .24); }
.article-body { font-size: 16px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.source-link {
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 5px;
  color: var(--olive-deep);
  font: 500 13px/1.5 "Manrope", Arial, sans-serif;
  text-decoration: none;
  border-bottom: 1px solid var(--olive);
}
.back-bottom { display: inline-block; margin-top: 55px; color: var(--olive-deep); }
footer {
  min-height: 82px;
  padding: 20px clamp(22px, 7vw, 110px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: var(--coal);
  color: rgba(233, 227, 216, .72);
  font: 10px/1.5 var(--sans);
}
footer span:first-child { color: var(--stone); font: 16px "Times New Roman", Times, serif; }
.missing { color: #785a48; }
@media (max-width: 560px) {
  .reader-top { min-height: 76px; padding: 8px 18px; }
  .brand { gap: 10px; min-width:0; }
  .brand-mark { width: 85px; height: auto; }
  .brand-name { font-size: 13pt; }
  .back-link { font-size: 11px; }
  .reader { width: calc(100% - 40px); margin: 52px auto 65px; }
  h1 { font-size: clamp(30px, 8vw, 40px); overflow-wrap:anywhere; }
  .deck { font-size: 15px; }
  .rule { margin: 30px 0; }
  .article-body { font-size: 15px; line-height: 1.75; }
  footer { padding: 18px; font-size: 11px; flex-wrap:wrap; }
}
