:root {
  --ink: #22252c;
  --gold: #9e4d10;
  --rule: #e2dacc;
  --paper: #fcfaf7;
  --serif: Georgia, serif;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 system-ui, sans-serif;
}

* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: 0.2em; }
img { width: 100%; height: auto; display: block; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; clip-path: inset(50%); }
.skip:focus { clip-path: none; z-index: 2; background: white; color: var(--ink); padding: 0.5rem; }
.frame { width: min(100% - 3rem, 1170px); margin-inline: auto; }

.strap { background: #252930; color: #fff7e9; font-size: 0.74rem; padding-block: 0.42rem; }
.mast { background: #fff; border-bottom: 1px solid var(--rule); }
.top, .footer-links { display: flex; align-items: center; justify-content: space-between; }
.top { min-height: 74px; }
.wordmark { font: 750 2.75rem/0.9 var(--serif); letter-spacing: -0.075em; text-decoration: none; }
.wordmark span { color: #c87526; }
.top > a:last-child { font-size: 0.88rem; }
.menu { border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 0.35rem 1.4rem; padding-block: 0.65rem; }
.menu a { text-decoration: none; font-size: 0.85rem; font-weight: 610; }
.menu a:hover { text-decoration: underline; }

.front, .listing, .directory { padding-block: 1.85rem 2.8rem; }
.front h1, .listing h2, .directory h1 { font: 670 clamp(2rem,5vw,4.6rem)/1.02 var(--serif); letter-spacing: -0.055em; }
.directory h1 { hyphens: auto; overflow-wrap: anywhere; }
.subtitle { margin: 0.65rem 0 1.25rem; }
.newsroom, .reading-grid { display: grid; grid-template-columns: minmax(0,2.3fr) minmax(0,1fr); gap: clamp(1rem,3.3vw,2.2rem); }
.spotlight a { display: grid; position: relative; height: 100%; color: white; background: #252930; text-decoration: none; }
.spotlight img { aspect-ratio: 1.76; object-fit: cover; align-self: stretch; }
.spotlight span {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 0.55rem;
  padding: 2.8rem 1rem 1rem;
  background: linear-gradient(transparent, #17191ae3 48%);
  font: 650 clamp(1.35rem,3vw,2.65rem)/1.1 var(--serif);
}
.spotlight b { color: #ffd18e; }
.briefs h2, .listing h2 { border-top: 4px solid var(--gold); padding-top: 0.55rem; margin-bottom: 0.65rem; }
.briefs h2 { font: 670 1.5rem/1.1 var(--serif); }
.briefs a { display: flex; gap: 0.65rem; align-items: flex-start; border-bottom: 1px solid var(--rule); padding: 0.55rem 0; line-height: 1.22; text-decoration: none; font-weight: 645; }
.briefs a:hover span { text-decoration: underline; }
.briefs img { width: 4.4rem; flex: 0 0 4.4rem; aspect-ratio: 1.2; object-fit: cover; }
.briefs small { display: block; color: var(--gold); font-weight: 620; margin-bottom: 0.18rem; }
.listing { padding-top: 0; }
.listing h2 { font-size: clamp(1.9rem,3.65vw,3rem); }
.tiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.35rem; }
.card { border-bottom: 1px solid var(--rule); padding-bottom: 0.6rem; }
.card img { aspect-ratio: 1.68; object-fit: cover; }
.card-copy { padding: 0.45rem 0.2rem; }
.label { color: var(--gold); font-size: 0.75rem; font-weight: 670; }
.card h3 { font: 670 1.24rem/1.23 var(--serif); margin-block: 0.18rem 0.45rem; }
.card h3 + p { font-size: 0.87rem; }

.reading-grid { padding-block: 2rem 3rem; align-items: start; }
.paper { min-width: 0; }
.story-top { margin-bottom: 1.25rem; }
.back { display: inline-block; margin-bottom: 0.8rem; font-size: 0.86rem; }
.publication { color: var(--gold); font-size: 0.77rem; font-weight: 680; }
.story-top h1 { font: 660 clamp(2rem,4.5vw,4.3rem)/1.04 var(--serif); letter-spacing: -0.058em; margin: 0.22em 0 0.34em; hyphens: auto; overflow-wrap: anywhere; }
.story-top > p:last-child:not(.publication) { color: #50483d; font-size: 1.12rem; }
.reader-figure { margin-bottom: 1.35rem; }
.reader-figure img { aspect-ratio: 1.75; object-fit: cover; }
.reader-figure figcaption { font-size: 0.79rem; padding-top: 0.2rem; }
.reading { max-width: 69ch; overflow-wrap: anywhere; }
.reading > * + * { margin-top: 0.85rem; }
.reading h2 { font: 650 clamp(1.5rem,2.8vw,2.2rem)/1.13 var(--serif); margin-top: 1.25em; }
.reading a, .article-index a { color: var(--gold); }
.reading table { display: block; max-width: 100%; overflow: auto; border-collapse: collapse; }
.reading td, .reading th { border: 1px solid var(--rule); padding: 0.35rem; }
.article-index { background: #f8eddd; padding: 0.8rem; margin-bottom: 1.2rem; font-size: 0.85rem; }
.article-index a { display: block; }
.editor-note { font-size: 0.85rem; margin-top: 1rem; padding-top: 0.55rem; border-top: 1px solid var(--rule); }
.search-form { display: flex; gap: 0.4rem; margin-block: 1rem; }
.search-form input { width: min(100%, 25rem); min-width: 0; }
#results a { display: block; border-bottom: 1px solid var(--rule); padding-block: 0.4rem; }

footer { background: #252930; color: #fff7e9; padding-block: 0.95rem; }
.footer-links { justify-content: flex-start; gap: 1rem; }
.editorial-preferences { display: block; margin: 0.75rem auto 0; color: white; border: 1px solid #dfc5a5; background: transparent; padding: 0.25rem 0.5rem; }
.editorial-consent { max-width: min(94%,26rem); padding: 1rem; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
.editorial-consent::backdrop { background: #2529309c; }
.editorial-consent p { margin-block: 0.7rem; }
.editorial-consent-actions { display: flex; gap: 0.5rem; }
.editorial-consent-actions button { flex: 1; padding: 0.45rem; }

@media (max-width: 790px) {
  .reading-grid, .newsroom { grid-template-columns: minmax(0,1fr); }
  .tiles { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 510px) {
  .frame { width: calc(100% - 1.5rem); }
  .tiles { grid-template-columns: minmax(0,1fr); }
  .spotlight img, .reader-figure img { aspect-ratio: 1.38; }
  .spotlight span { position: static; background: #252930; padding: 0.7rem; }
}

