@font-face {
  font-family: Lilita;
  src: url('/assets/LilitaOne.ttf') format('truetype');
  font-display: swap;
}

:root {
  --paper: #f7f4e9;
  --white: #fffcf2;
  --ink: #17241c;
  --green: #123b28;
  --dark: #102d20;
  --gold: #ffd342;
  --muted: #4d5c51;
  --rule: #cdd3c3;
  --serif: Georgia, 'Times New Roman', serif;
  --display: Lilita, Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #a04d00; outline-offset: 3px; }
.masthead a:focus-visible, .lead a:focus-visible { outline-color: var(--gold); }
::selection { background: var(--gold); color: #201c08; }

.frame { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; clip-path: inset(50%); }
.skip:focus { clip-path: none; top: 8px; left: 8px; padding: 12px; background: var(--white); }

.masthead { background: var(--dark); color: var(--white); }
.mast-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: wrap;
  min-height: 72px;
  padding-block: 8px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .25em;
  min-height: 44px;
  color: inherit;
  font: clamp(1.13rem, 2.6vw, 1.6rem)/1.1 var(--display);
  text-decoration: none;
  white-space: nowrap;
}
.brand img { width: clamp(46px, 9vw, 76px); height: auto; margin-right: .14em; object-fit: contain; }
.brand span, .game span { color: var(--gold); }
.game {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  min-height: 44px;
  padding-inline: .65em;
  border: 1px solid #759380;
  border-radius: 4px;
  font-size: clamp(.72rem, 1.5vw, .9rem);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.game:hover { border-color: var(--gold); }
.nav-wrap { border-top: 1px solid #ffffff24; box-shadow: inset 0 -3px var(--gold); }
.nav { display: flex; flex-wrap: wrap; gap: 0 clamp(12px, 5vw, 44px); }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 47px;
  padding-inline: .27rem;
  font-size: clamp(.85rem, 1.8vw, 1rem);
  font-weight: 750;
  text-decoration: none;
}
.nav a:hover { color: var(--gold); text-decoration: underline; }

.editorial { padding-block: clamp(18px, 4vw, 40px) clamp(46px, 7vw, 90px); }
.edition {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: clamp(13px, 2.2vw, 25px);
}
.edition h1 { font: clamp(2.1rem, 6vw, 4.35rem)/1.02 var(--display); letter-spacing: -.025em; }
.edition h1 span { color: #a56100; }
.edition-date, .meta { color: var(--muted); font-size: .82rem; }
.edition-date { font-weight: 700; }

.front-grid { display: grid; gap: 26px; align-items: start; }
.lead {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  min-width: 0;
  background: var(--dark);
  color: var(--white);
  border-radius: 6px;
  box-shadow: 0 4px 0 #c3cfa8;
}
.lead::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: linear-gradient(180deg,#102d2017 0%,#102d20ee 50%,#0a2419 100%),
    url('/assets/ground.webp') center 24% / cover no-repeat;
}
.lead-copy { padding: clamp(88px, 18vw, 132px) clamp(17px, 3.7vw, 42px) clamp(17px, 3.1vw, 34px); }
.lead-tag {
  display: inline-block;
  padding: 4px 9px;
  background: var(--gold);
  color: #191c0e;
  font-size: .71rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.lead h2 {
  font: 700 clamp(1.8rem, 4.7vw, 3.8rem)/1.08 var(--serif);
  letter-spacing: -.04em;
  margin-block: 11px 14px;
  max-width: 24ch;
  text-wrap: balance;
}
.lead h2 a { text-decoration: none; }
.lead h2 a:hover { text-decoration: underline; text-decoration-thickness: .06em; }
.lead-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; }
.lead .meta { color: #e0e8dc; }
.lead-link, .text-link { display: inline-flex; align-items: center; min-height: 44px; gap: .35em; font-weight: 800; }
.lead-link { color: var(--gold); }

.section-heading {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding-block: 10px 12px;
  border-top: 3px solid var(--ink);
  font: clamp(1.6rem, 4vw, 2.5rem)/1.05 var(--display);
}
.section-heading::before {
  flex: 0 0 7px;
  align-self: stretch;
  content: '';
  background: var(--gold);
}
.latest-rail .section-heading { font-size: clamp(1.45rem, 3.4vw, 2rem); }
.latest-rail ul { margin: 0; padding: 0; list-style: none; }
.dispatch, .archive-card { padding-block: 13px; border-bottom: 1px solid var(--rule); min-width: 0; }
.topic { color: #1c5c3a; font-weight: 800; }
.story-link, .archive-card h3 a {
  display: inline-block;
  padding-block: 3px;
  font: 700 clamp(1.12rem, 2.5vw, 1.4rem)/1.19 var(--serif);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.story-link:hover, .archive-card h3 a:hover { color: #16603a; text-decoration: underline; }
.news-section { margin-top: clamp(34px, 5vw, 62px); scroll-margin-top: 16px; }
.brief-grid, .archive-grid { display: grid; gap: 0 clamp(17px, 3vw, 36px); }
.edition-empty, .empty, .summary { color: var(--muted); }
.summary { margin-top: 6px; font-size: .92rem; }
.archive-section { padding: clamp(14px, 2.6vw, 28px); background: #e9eddf; }
.archive-more { margin-top: 10px; }
.archive-more summary { width: fit-content; padding-block: 12px; font-weight: 800; cursor: pointer; }
.archive-more summary:hover, .text-link:hover { color: #16603a; }

.reading { padding-block: 12px clamp(44px, 8vw, 92px); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; margin-bottom: clamp(10px, 3vw, 34px); font-size: .86rem; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumbs a + a::before { content: '/'; padding-right: 10px; text-decoration: none; color: var(--muted); }
.article { max-width: 760px; margin-inline: auto; }
.article h1 {
  margin-block: 8px 12px;
  font: 700 clamp(2rem, 6vw, 4.75rem)/1.04 var(--serif);
  letter-spacing: -.045em;
}
.standfirst { margin-bottom: 24px; color: var(--muted); font-size: clamp(1.04rem, 2.5vw, 1.24rem); }
.article-body p { margin-bottom: 1.07em; font: clamp(1.12rem, 2.7vw, 1.27rem)/1.68 var(--serif); overflow-wrap: anywhere; }
.source { margin-top: 25px; padding-top: 15px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .9rem; }

.footer-news { background: var(--dark); color: var(--white); padding-block: 16px; border-top: 3px solid var(--gold); }
.footer-news .frame { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 14px; }
.footer-news strong { font-family: var(--display); font-size: 1.13rem; font-weight: 400; }
.footer-news nav { display: flex; flex-wrap: wrap; gap: 0 15px; font-size: .86rem; }
.footer-news a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-news a:focus-visible { outline-color: var(--gold); }

@media (min-width: 620px) {
  .frame { width: min(1200px, calc(100% - 56px)); }
  .brief-grid, .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .mast-row { min-height: 85px; }
  .front-grid { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 32px; }
  .lead { align-self: stretch; min-height: 392px; }
  .lead::before {
    background: linear-gradient(90deg,#0a2419ed,#0a241931),
      linear-gradient(0deg,#0a2419,#0a241900 70%), url('/assets/ground.webp') center / cover no-repeat;
  }
  .lead-copy { padding-top: 62px; }
  .brief-grid, .archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
