:root {
  --paper: #eee3cc;
  --paper-light: #f8f0df;
  --paper-deep: #ddcba8;
  --ink: #211f17;
  --muted: #665f4d;
  --rule: #8d8168;
  --olive: #3f421d;
  --olive-dark: #292d10;
  --brass: #9b7933;
  --body: "Libre Caslon Text", Georgia, serif;
  --headline: "Bodoni Moda", Didot, Georgia, serif;
  --antique: "IM Fell English", Georgia, serif;
  --caps: "IM Fell English SC", Georgia, serif;
  --condensed: "League Gothic", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,.32), transparent 28%),
    linear-gradient(110deg, #c7bda8, #d7cdb9 46%, #bdb39e);
  color: var(--ink);
  font-family: var(--body);
  text-rendering: optimizeLegibility;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; }

.skip-link {
  position: fixed;
  top: -70px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 12px; }

.newspaper {
  width: min(1420px, calc(100% - 30px));
  margin: 18px auto 34px;
  padding: 20px clamp(18px, 3vw, 44px) 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 12%, rgba(91,72,34,.09) 0 1px, transparent 1.5px),
    radial-gradient(circle at 71% 41%, rgba(91,72,34,.055) 0 1px, transparent 1.5px),
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,0)),
    var(--paper);
  background-size: 19px 23px, 29px 31px, auto, auto;
  border: 1px solid rgba(49,45,29,.35);
  box-shadow: 0 24px 70px rgba(43,36,21,.24);
}

.masthead { border-top: 7px double var(--olive-dark); }
.brand-row {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr) 175px;
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  min-height: 240px;
  padding: 18px 0 16px;
}
.store-seal, .wordmark { display: block; color: inherit; text-decoration: none; }
.store-seal img { filter: sepia(.05) contrast(1.04); transition: transform .3s ease; }
.store-seal:hover img { transform: rotate(-2deg) scale(1.025); }
.wordmark { display: grid; place-items: center; }
.wordmark img { max-width: 960px; max-height: 220px; object-fit: contain; }
.issue-box {
  border: 5px double var(--olive-dark);
  padding: 12px 10px 0;
  background: rgba(255,255,255,.18);
  text-align: center;
  text-transform: uppercase;
  transform: rotate(.45deg);
}
.issue-box span, .issue-box time, .issue-box strong { display: block; }
.issue-box span { color: var(--brass); font-family: var(--condensed); font-size: 1rem; letter-spacing: .17em; }
.issue-box time { margin: 7px 0 11px; font-family: var(--caps); font-size: .9rem; line-height: 1.2; }
.issue-box strong { margin: 0 -10px; padding: 7px; background: var(--olive-dark); color: var(--paper-light); font-family: var(--condensed); font-size: 1.12rem; font-weight: 400; letter-spacing: .1em; }

.dateline, .edition-rule {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 7px 0;
  font-family: var(--condensed);
  font-size: .92rem;
  font-weight: 400;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.dateline b { text-align: center; }
.dateline a { justify-self: end; color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.edition-rule {
  margin-top: 5px;
  border-top: 5px double var(--olive-dark);
  border-bottom: 5px double var(--olive-dark);
  color: var(--olive-dark);
  font-size: .82rem;
}
.edition-rule strong { font-family: var(--caps); font-size: 1rem; font-weight: 400; text-align: center; }
.edition-rule span:last-child { text-align: right; }

.lead-news {
  display: grid;
  grid-template-columns: minmax(330px, 1.25fr) minmax(480px, 2fr) minmax(250px, .9fr);
  gap: 0;
  align-items: stretch;
  padding: 25px 0 22px;
  border-bottom: 7px double var(--olive-dark);
}

.lead-copy { min-width: 0; padding: 14px clamp(20px, 2.2vw, 34px); overflow: hidden; }
.story-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  color: var(--olive);
  font-family: var(--condensed);
  font-size: .88rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.story-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead-copy h1 {
  max-width: 100%;
  margin: 0;
  font-family: var(--headline);
  font-size: clamp(2.5rem, 3.25vw, 4.1rem);
  font-weight: 900;
  hyphens: auto;
  letter-spacing: -.055em;
  line-height: .82;
  overflow-wrap: break-word;
}
.lead-copy h1::first-letter { font-family: var(--antique); font-size: 1.12em; }
.story-deck {
  margin: 17px 0 13px;
  font-family: var(--antique);
  font-size: clamp(1.04rem, 1.33vw, 1.3rem);
  line-height: 1.24;
}
.story-byline {
  margin: 0 0 14px;
  font-family: var(--condensed);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.open-article {
  border: 2px solid var(--ink);
  padding: 6px 10px 4px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--condensed);
  font-size: .86rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease;
}
.open-article:hover, .open-article:focus-visible { background: var(--ink); color: var(--paper-light); }

.lead-illustration {
  min-width: 0;
  margin: 0;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: 8px 20px;
}
.lead-illustration button { width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.lead-illustration img {
  height: 100%;
  max-height: 620px;
  border: 6px double var(--olive-dark);
  padding: 5px;
  background: var(--paper-light);
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform .28s ease, filter .28s ease;
}
.lead-illustration button:hover img { transform: rotate(-.45deg) scale(1.008); filter: contrast(1.08); }
.lead-illustration figcaption { margin-top: 6px; font-family: var(--condensed); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; }

.news-sidebar { padding-left: 18px; }
.news-sidebar > section + section { margin-top: 19px; }
.news-sidebar h2 {
  margin: 0;
  border: 4px double var(--olive-dark);
  padding: 5px 8px 3px;
  background: rgba(255,255,255,.16);
  font-family: var(--caps);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
}
.side-story { border-bottom: 1px solid var(--rule); }
.side-story button {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 10px;
  width: 100%;
  border: 0;
  padding: 12px 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.side-story img { grid-column: 1; grid-row: 1 / 4; width: 64px; aspect-ratio: .78; border: 1px solid var(--ink); object-fit: cover; mix-blend-mode: multiply; }
.side-story small, .side-story h3, .side-story p { grid-column: 2; }
.side-story small { color: var(--olive); font-family: var(--condensed); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.side-story h3 { margin: 0; font-family: var(--antique); font-size: 1.18rem; font-weight: 400; line-height: .95; }
.side-story p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.25; }
.side-story button:hover h3 { text-decoration: underline; text-underline-offset: 2px; }

.news-desk { padding: 24px 0 30px; }
.desk-heading {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 18px;
  align-items: center;
  border: 4px double var(--olive-dark);
  padding: 8px 13px;
}
.desk-heading p, .desk-heading span { margin: 0; font-family: var(--condensed); font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; }
.desk-heading h2 { margin: 0; font-family: var(--caps); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 400; line-height: .9; text-align: center; }
.desk-heading span { text-align: right; }

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border-bottom: 1px solid var(--ink);
}
.story-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background .18s ease;
}
.story-card:hover { background: rgba(255,255,255,.2); }
.story-card:nth-child(1) { grid-column: 1 / span 5; grid-row: 1 / span 2; padding-left: 0; }
.story-card:nth-child(2) { grid-column: 6 / span 3; grid-row: 1; }
.story-card:nth-child(3) { grid-column: 9 / span 4; grid-row: 1; padding-right: 0; border-right: 0; }
.story-card:nth-child(4) { grid-column: 6 / -1; grid-row: 2; padding: 18px 0 18px 18px; border-top: 1px solid var(--rule); border-right: 0; }
.story-card > button { border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.story-media { display: block; position: relative; overflow: hidden; border: 4px double var(--olive-dark); background: var(--paper-light); }
.story-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; mix-blend-mode: multiply; transition: transform .3s ease, filter .3s ease; }
.story-card button:hover .story-media img { transform: scale(1.025); filter: contrast(1.08); }
.story-media em { position: absolute; right: 0; bottom: 0; padding: 4px 7px 3px; background: var(--olive-dark); color: var(--paper-light); font-family: var(--condensed); font-size: .7rem; font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.story-card .story-kicker { margin-top: 11px; }
.story-card h3 { margin: 0 0 7px; font-family: var(--antique); font-size: clamp(1.45rem, 2vw, 2.25rem); font-weight: 400; line-height: .92; }
.story-card:nth-child(1) h3 { font-family: var(--headline); font-size: clamp(2.2rem, 3.15vw, 3.7rem); font-weight: 700; letter-spacing: -.035em; }
.story-card p:not(.story-kicker) { margin: 0 0 12px; color: var(--muted); font-size: .95rem; line-height: 1.32; }
.story-excerpt { margin-top: 8px; color: var(--ink); }
.story-excerpt p, .story-card .story-excerpt p { margin: 0 0 8px; color: var(--ink); font-size: .82rem; line-height: 1.38; }
.story-card:nth-child(1) .story-excerpt { column-count: 2; column-gap: 20px; column-rule: 1px solid var(--rule); }
.story-status { margin-top: auto; }
.story-card:nth-child(4) > button {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) 1.4fr;
  grid-template-areas: "media kicker" "media title" "media deck";
  column-gap: 22px;
  align-items: start;
}
.story-card:nth-child(4) .story-media { grid-area: media; }
.story-card:nth-child(4) .story-kicker { grid-area: kicker; margin-top: 0; }
.story-card:nth-child(4) h3 { grid-area: title; font-family: var(--headline); font-size: clamp(2rem, 3vw, 3.5rem); font-style: italic; font-weight: 700; }
.story-card:nth-child(4) > button > p:not(.story-kicker) { grid-area: deck; column-count: 2; column-gap: 24px; }

.status-badge { display: inline-flex; margin-left: 6px; border: 1px solid currentColor; padding: 1px 4px; color: var(--olive); font-family: var(--condensed); font-size: .65rem; letter-spacing: .05em; vertical-align: middle; }
.status-badge.read { color: var(--muted); }

.daily-feature {
  display: grid;
  grid-template-columns: 280px 1fr;
  margin: 5px 0 32px;
  border: 6px double var(--olive-dark);
  background: rgba(255,255,255,.16);
}
.daily-label { display: flex; flex-direction: column; justify-content: center; padding: 24px; background: var(--olive-dark); color: var(--paper-light); text-align: center; }
.daily-label span, .daily-label p { font-family: var(--condensed); letter-spacing: .11em; text-transform: uppercase; }
.daily-label span { color: #d9ba72; font-size: .82rem; }
.daily-label h2 { margin: 8px 0 5px; font-family: var(--antique); font-size: 2.55rem; font-style: italic; font-weight: 400; line-height: .85; }
.daily-label p { margin: 0; font-size: .78rem; }
.daily-article button {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 20px;
  align-items: center;
  width: 100%;
  border: 0;
  padding: 16px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.daily-article img { width: 230px; height: 250px; border: 1px solid var(--ink); object-fit: cover; mix-blend-mode: multiply; }
.daily-article small { color: var(--olive); font-family: var(--condensed); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.daily-article h3 { margin: 7px 0 10px; font-family: var(--headline); font-size: clamp(2rem, 3.2vw, 3.6rem); font-weight: 700; letter-spacing: -.04em; line-height: .9; }
.daily-article p { margin: 0; font-family: var(--antique); font-size: 1.08rem; line-height: 1.34; }
.daily-article em { display: inline-block; margin-top: 12px; font-family: var(--condensed); font-size: .8rem; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }

.archive {
  margin: 0 calc(clamp(18px, 3vw, 44px) * -1);
  padding: 32px clamp(18px, 3vw, 44px) 44px;
  background:
    radial-gradient(circle at 72% 22%, rgba(89,67,28,.09) 0 1px, transparent 1.5px),
    var(--paper-deep);
  background-size: 23px 27px, auto;
}
.archive-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 7px double var(--olive-dark); border-bottom: 7px double var(--olive-dark); padding: 12px 0; }
.archive-heading p { margin: 0; color: var(--olive); font-family: var(--condensed); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.archive-heading h2 { margin: 3px 0 0; font-family: var(--antique); font-size: clamp(2.5rem, 4vw, 4.6rem); font-weight: 400; line-height: .8; }
.archive-heading output { font-family: var(--condensed); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; }
.archive-filters { display: grid; grid-template-columns: 2fr repeat(4, 1fr) auto; gap: 8px; margin: 22px 0; }
.archive-filters label { display: grid; gap: 5px; }
.archive-filters label > span { font-family: var(--condensed); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.archive-filters input, .archive-filters select { min-width: 0; height: 42px; border: 2px solid var(--olive-dark); border-radius: 0; padding: 0 10px; background: rgba(255,255,255,.3); color: var(--ink); }
.archive-filters button { align-self: end; height: 42px; border: 2px solid var(--olive-dark); padding: 0 12px; background: var(--olive-dark); color: var(--paper-light); cursor: pointer; font-family: var(--condensed); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.archive-list { border-top: 3px solid var(--olive-dark); }
.archive-row {
  display: grid;
  grid-template-columns: 58px 100px 1fr 180px 110px;
  gap: 13px;
  align-items: center;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 9px 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.archive-thumb { width: 58px; height: 46px; border: 1px solid var(--ink); object-fit: cover; mix-blend-mode: multiply; }
.archive-row time, .archive-row small, .archive-row > span { font-family: var(--condensed); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.archive-row h3 { margin: 0; font-family: var(--antique); font-size: 1.18rem; font-weight: 400; line-height: 1; }
.archive-row small { color: var(--olive); }
.archive-row:hover h3 { text-decoration: underline; text-underline-offset: 2px; }
.archive-empty { padding: 24px 0; color: var(--muted); }

.site-footer { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 26px; padding: 28px 0 0; font-family: var(--condensed); font-size: .78rem; line-height: 1.4; }
.site-footer > div > strong { font-family: var(--caps); font-size: 1rem; }
.site-footer nav { display: grid; align-content: start; gap: 6px; }
.site-footer a { color: var(--ink); }
.vintage-ad { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; border: 5px double var(--olive-dark); padding: 10px; background: rgba(255,255,255,.18); }
.vintage-ad > span { color: var(--brass); font-family: var(--antique); font-size: 2.5rem; text-align: center; }
.vintage-ad small { display: block; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.vintage-ad strong { display: block; margin: 2px 0; font-family: var(--caps); font-size: .9rem; }
.vintage-ad p { margin: 0; color: var(--olive); }

.article-dialog {
  width: min(940px, calc(100% - 28px));
  max-height: 94vh;
  border: 0;
  padding: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(85,63,30,.08) 0 1px, transparent 1.5px),
    var(--paper);
  background-size: 21px 25px, auto;
  color: var(--ink);
  outline: 7px double var(--olive-dark);
  outline-offset: -15px;
  box-shadow: 0 30px 100px rgba(0,0,0,.55);
}
.article-dialog::backdrop { background: rgba(25,23,16,.8); }
.article-dialog article { padding: clamp(34px, 6vw, 76px); }
.dialog-close { position: sticky; float: right; top: 10px; z-index: 5; width: 44px; height: 44px; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; font-family: Arial, sans-serif; font-size: 1.7rem; }
.dialog-meta { color: var(--olive); font-family: var(--condensed); font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; }
.article-dialog h1 { max-width: 780px; margin: 12px 0 15px; font-family: var(--headline); font-size: clamp(2.8rem, 6vw, 5.8rem); font-weight: 900; letter-spacing: -.055em; line-height: .82; }
.dialog-deck { margin: 0; font-family: var(--antique); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.34; }
.article-dialog figure { margin: 24px 0; }
.article-dialog figure img { max-height: 660px; border: 5px double var(--olive-dark); object-fit: contain; mix-blend-mode: multiply; }
.article-dialog figcaption { margin-top: 5px; color: var(--muted); font-family: var(--condensed); font-size: .68rem; text-transform: uppercase; }
.dialog-body { max-width: 770px; margin: auto; column-count: 2; column-gap: 34px; column-rule: 1px solid var(--rule); }
.dialog-body p { margin-top: 0; font-size: 1.04rem; line-height: 1.55; }
.dialog-body p:first-child::first-letter { float: left; margin: .04em .08em 0 0; color: var(--olive); font-family: var(--antique); font-size: 5em; line-height: .7; }
@media (prefers-reduced-motion: no-preference) {
  .lead-news, .news-desk, .daily-feature { animation: press-in .55s ease both; }
  .news-desk { animation-delay: .08s; }
  .daily-feature { animation-delay: .14s; }
  @keyframes press-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 1120px) {
  .brand-row { grid-template-columns: 120px minmax(0,1fr) 145px; min-height: 190px; }
  .lead-news { grid-template-columns: minmax(260px, 1fr) minmax(0, 1.45fr); }
  .news-sidebar { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; padding: 16px 0 0; border-top: 4px double var(--olive-dark); }
  .news-sidebar > section + section { margin-top: 0; }
  .news-sidebar > section > div { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .side-story { border-right: 1px solid var(--rule); padding-right: 12px; }
  .archive-filters { grid-template-columns: repeat(3, 1fr); }
  .archive-filters .search-field { grid-column: span 2; }
}

@media (max-width: 760px) {
  body { background: var(--paper); }
  .newspaper { width: 100%; margin: 0; padding: 10px 12px 24px; border: 0; box-shadow: none; }
  .brand-row { grid-template-columns: 78px 1fr; gap: 9px 12px; min-height: 0; padding: 10px 0; }
  .store-seal { grid-column: 1; grid-row: 1; }
  .wordmark { grid-column: 1 / -1; grid-row: 2; }
  .wordmark img { max-height: 150px; }
  .issue-box { grid-column: 2; grid-row: 1; justify-self: stretch; padding-top: 7px; }
  .issue-box strong { margin-inline: -10px; }
  .dateline { grid-template-columns: 1fr auto; font-size: .76rem; }
  .dateline b { display: none; }
  .edition-rule { grid-template-columns: 1fr; font-size: .72rem; text-align: center; }
  .edition-rule strong, .edition-rule span:last-child { display: none; }
  .lead-news { grid-template-columns: 1fr; padding-top: 13px; }
  .lead-copy { padding: 17px 0; }
  .lead-copy h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .lead-illustration { padding: 0; border: 0; }
  .lead-illustration img { max-height: 580px; }
  .news-sidebar { grid-template-columns: 1fr; }
  .news-sidebar > section > div { grid-template-columns: 1fr; }
  .side-story { border-right: 0; padding-right: 0; }
  .desk-heading { grid-template-columns: 1fr; gap: 4px; text-align: center; }
  .desk-heading span { display: none; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card, .story-card:nth-child(1), .story-card:nth-child(2), .story-card:nth-child(3), .story-card:nth-child(4) { grid-column: 1; grid-row: auto; padding: 18px 0; border-right: 0; }
  .story-card:nth-child(4) > button { display: block; }
  .story-card:nth-child(4) .story-kicker { margin-top: 11px; }
  .story-card:nth-child(4) p:not(.story-kicker) { column-count: 1; }
  .daily-feature { grid-template-columns: 1fr; }
  .daily-label { padding: 16px; }
  .daily-article button { grid-template-columns: 110px 1fr; gap: 12px; padding: 12px; }
  .daily-article img { width: 110px; height: 165px; }
  .daily-article h3 { font-size: 1.65rem; }
  .daily-article p { display: none; }
  .archive { margin-inline: -12px; padding-inline: 12px; }
  .archive-heading { align-items: flex-start; flex-direction: column; }
  .archive-filters { grid-template-columns: 1fr; }
  .archive-filters .search-field { grid-column: auto; }
  .archive-row { grid-template-columns: 48px 76px 1fr; gap: 7px 9px; }
  .archive-thumb { width: 48px; height: 42px; }
  .archive-row h3 { grid-column: 3; grid-row: 1; }
  .archive-row small, .archive-row > span { grid-column: 3; }
  .site-footer { grid-template-columns: 1fr; }
  .dialog-body { column-count: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
