:root {
  --cream: #f4ead7;
  --paper: #fffaf0;
  --paper-deep: #eadbc1;
  --red: #b5332a;
  --red-dark: #7f211c;
  --ink: #211f1b;
  --muted: #6b6257;
  --line: #c8b99f;
  --green: #315b4a;
  --blue: #254e63;
  --yellow: #e1b44a;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 17px;
  line-height: 1.62;
}

body.search-open { overflow: hidden; }

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

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

button,
input { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .55rem .8rem;
  background: var(--paper);
  color: var(--ink);
}

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

.score-strip {
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  text-transform: uppercase;
}

.score-strip__inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 34px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  white-space: nowrap;
}

.score-strip strong {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0 1rem;
  background: var(--red);
}

.score-strip span { opacity: .82; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(244, 234, 215, .96);
}

.masthead {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 1rem 0 .85rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1.25rem;
}

.brand {
  width: max-content;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3.7rem);
  line-height: .82;
}

.brand small {
  display: block;
  margin-top: .45rem;
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.masthead__date {
  margin: 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .75rem;
  text-align: right;
  text-transform: uppercase;
}

.nav-wrap {
  border-top: 1px solid var(--line);
}

.nav-row {
  width: min(var(--max), calc(100% - 32px));
  min-height: 49px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  flex: 0 0 auto;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--red); }

.search-trigger {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.search-icon {
  width: 20px;
  height: 20px;
  position: relative;
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.edition-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.2rem 0 .7rem;
  padding-bottom: .5rem;
  border-bottom: 3px solid var(--ink);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(260px, .8fr);
  border-bottom: 1px solid var(--line);
}

.lead-story {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  color: #fffaf0;
}

.lead-story img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
}

.lead-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(25, 20, 17, .9), rgba(25, 20, 17, .04) 68%);
}

.lead-story__copy {
  position: absolute;
  z-index: 1;
  left: clamp(1rem, 4vw, 3rem);
  right: clamp(1rem, 4vw, 3rem);
  bottom: 2rem;
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 .65rem;
  padding: .28rem .5rem;
  background: var(--red);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-story h1,
.lead-story h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.35rem, 5.2vw, 5.1rem);
  line-height: .96;
}

.lead-story h1 a,
.lead-story h2 a { text-decoration: none; }

.lead-story p {
  max-width: 62ch;
  margin: 1rem 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.lead-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  border-left: 1px solid var(--line);
}

.mini-story {
  padding: 1rem;
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: start;
  gap: .9rem;
}

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

.mini-story img {
  width: 110px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.mini-story__number,
.story-card__number {
  display: block;
  margin-bottom: .3rem;
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .7rem;
  font-weight: 900;
}

.mini-story h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.08;
}

.mini-story h2 a,
.story-card h3 a { text-decoration: none; }

.mini-story h2 a:hover,
.story-card h3 a:hover { color: var(--red); }

.mini-story p {
  margin: .55rem 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .82rem;
  line-height: 1.45;
}

.section-head {
  margin: 3rem 0 1.25rem;
  padding: .55rem 0;
  border-top: 5px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.section-head h2,
.section-head h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 1;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  text-transform: uppercase;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.story-card {
  min-width: 0;
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-card--wide { grid-column: span 2; }

.story-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1rem;
}

.story-card__meta,
.article-meta {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.story-card h3 {
  margin: .35rem 0 .55rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.story-card p {
  margin: 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .88rem;
  line-height: 1.5;
}

.category-rail {
  margin: 3rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.category-rail a {
  min-height: 96px;
  padding: .5rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}

.category-rail a + a { border-left: 1px solid var(--line); }
.category-rail a:hover { background: var(--paper-deep); }

.category-rail span {
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .68rem;
  font-weight: 900;
}

.category-rail strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.site-footer {
  margin-top: 4rem;
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 2.3rem 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}

.footer-inner p {
  max-width: 54ch;
  margin: .7rem 0 0;
  color: #d8cbb6;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .82rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem 1rem;
  align-content: start;
}

.footer-nav a {
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .8rem;
  text-decoration: none;
}

.footer-nav a:hover { color: #f1a89f; }

.article-shell { padding-top: 1.5rem; }

.breadcrumb {
  margin-bottom: 1rem;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .73rem;
}

.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }

.article-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  gap: 2.4rem;
  align-items: end;
  padding: 1rem 0 1.6rem;
  border-top: 6px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  max-width: 18ch;
  margin: .55rem 0 .8rem;
  font-size: clamp(2.5rem, 5.8vw, 5.4rem);
  line-height: .95;
}

.article-header__dek {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

.article-header figure { margin: 0; }

.article-header figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-header figcaption {
  margin-top: .45rem;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .68rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 720px) 1fr;
  gap: 2rem;
  padding-top: 2rem;
}

.article-aside {
  position: sticky;
  top: 1rem;
  align-self: start;
  padding-top: .7rem;
  border-top: 3px solid var(--red);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .75rem;
  line-height: 1.45;
}

.article-aside strong {
  display: block;
  margin-bottom: .3rem;
  color: var(--ink);
  text-transform: uppercase;
}

.article-body {
  min-width: 0;
  font-size: 1.08rem;
}

.article-body > p:first-child {
  font-size: 1.28rem;
  line-height: 1.55;
}

.article-body h2 {
  margin: 2.7rem 0 .85rem;
  padding-top: .7rem;
  border-top: 4px solid var(--ink);
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
  line-height: 1.05;
}

.article-body h3 {
  margin: 2rem 0 .4rem;
  color: var(--red-dark);
  font-size: 1.48rem;
  line-height: 1.15;
}

.article-body h4 {
  margin: 1.4rem 0 .35rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .85rem;
  text-transform: uppercase;
}

.article-body p { margin: 0 0 1.15rem; }

.article-body ul,
.article-body ol {
  margin: 0 0 1.4rem;
  padding-left: 1.3rem;
}

.article-body li { margin-bottom: .45rem; }

.callout {
  margin: 1.8rem 0;
  padding: 1.1rem 1.25rem;
  border-left: 6px solid var(--red);
  background: var(--paper-deep);
}

.callout strong {
  display: block;
  margin-bottom: .25rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  text-transform: uppercase;
}

.article-end {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
}

.category-intro {
  max-width: 760px;
  margin: -.4rem 0 2rem;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
}

.category-list {
  display: grid;
  border-top: 1px solid var(--ink);
}

.category-item {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 1.4rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.category-item:hover h2 { color: var(--red); }

.category-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.category-item h2 {
  margin: .35rem 0 .4rem;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.category-item p {
  margin: 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .85rem;
  line-height: 1.5;
}

.category-item__arrow {
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2rem;
}

.search-panel {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: none;
  overflow-y: auto;
  background: rgba(33, 31, 27, .96);
  color: var(--paper);
}

.search-panel.is-open { display: block; }

.search-panel__inner {
  width: min(850px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4rem 0;
}

.search-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.search-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
}

.search-close {
  width: 44px;
  height: 44px;
  border: 1px solid #897f70;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
}

.search-form {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 3px solid var(--paper);
}

.search-form input {
  min-width: 0;
  padding: .8rem 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-size: 1.2rem;
}

.search-form input::placeholder { color: #b8aa96; }

.search-form button {
  border: 0;
  background: transparent;
  color: #f2c15a;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-status {
  color: #cfc1ad;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .8rem;
}

.search-results { display: grid; }

.search-result {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #756b5f;
  text-decoration: none;
}

.search-result img {
  width: 120px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.search-result span {
  color: #f1a89f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.search-result h3 {
  margin: .2rem 0;
  font-size: 1.35rem;
  line-height: 1.1;
}

.search-result p {
  margin: 0;
  color: #cfc1ad;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  line-height: 1.4;
}

@media (max-width: 920px) {
  .lead-grid { grid-template-columns: 1fr; }
  .lead-story, .lead-story img { min-height: 520px; }
  .lead-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; border-left: 0; }
  .mini-story + .mini-story { border-top: 0; border-left: 1px solid var(--line); }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-card--wide { grid-column: auto; }
  .article-header { grid-template-columns: 1fr; align-items: start; }
  .article-header h1 { max-width: 15ch; }
  .article-header figure img { aspect-ratio: 16 / 9; }
  .article-layout { grid-template-columns: 150px minmax(0, 1fr); }
  .article-layout::after { display: none; }
  .category-item { grid-template-columns: 220px 1fr auto; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .score-strip__inner { width: calc(100% - 20px); }
  .score-strip span:nth-of-type(n+2) { display: none; }
  .masthead { width: calc(100% - 24px); grid-template-columns: 1fr auto; align-items: center; }
  .masthead__date { font-size: .65rem; }
  .nav-row { width: calc(100% - 24px); }
  .site-nav { gap: 1rem; }
  .search-trigger__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .container { width: calc(100% - 24px); }
  .edition-line span:last-child { display: none; }
  .lead-story, .lead-story img { min-height: 480px; }
  .lead-story h1, .lead-story h2 { font-size: 2.55rem; }
  .lead-story__copy { bottom: 1.35rem; }
  .lead-story p { font-size: .88rem; }
  .lead-side { grid-template-columns: 1fr; }
  .mini-story + .mini-story { border-left: 0; border-top: 1px solid var(--line); }
  .section-head { align-items: flex-end; }
  .section-head p { display: none; }
  .story-grid { grid-template-columns: 1fr; }
  .category-rail { grid-template-columns: 1fr; }
  .category-rail a + a { border-left: 0; border-top: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1fr; }
  .article-shell { padding-top: 1rem; }
  .article-header { gap: 1.3rem; }
  .article-header h1 { font-size: 2.65rem; }
  .article-header__dek { font-size: .95rem; }
  .article-layout { grid-template-columns: 1fr; padding-top: 1.2rem; }
  .article-aside { position: static; }
  .article-body { font-size: 1.02rem; }
  .article-body > p:first-child { font-size: 1.15rem; }
  .category-item { grid-template-columns: 110px 1fr; gap: .9rem; align-items: start; }
  .category-item__arrow { display: none; }
  .category-item p { display: none; }
  .search-panel__inner { padding-top: 2rem; }
  .search-result { grid-template-columns: 88px 1fr; }
  .search-result img { width: 88px; }
}

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