:root {
  --ink: #0b0b0b;
  --ink-soft: #252525;
  --paper: #faf7f1;
  --page: #fffdf8;
  --panel: #ffffff;
  --line: rgba(11, 11, 11, 0.16);
  --line-strong: #0b0b0b;
  --muted: rgba(11, 11, 11, 0.64);
  --crimson: #b11226;
  --crimson-dark: #7f0918;
  --gold: #d79b2b;
  --blue: #235d8f;
  --green: #168262;
  --shadow: 0 18px 42px rgba(11, 11, 11, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(11, 11, 11, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 18px 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p,
a {
  overflow-wrap: break-word;
}

.hero-copy,
.story-card,
.story-content,
.desk-panel,
.article,
.article-header,
.article-content {
  min-width: 0;
}

.edition-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.42rem max(4vw, calc((100vw - 1240px) / 2));
  color: #fff;
  background: var(--crimson);
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.edition-strip a {
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  padding: 1rem max(4vw, calc((100vw - 1240px) / 2));
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 3px double var(--line-strong);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-grid;
  grid-template-columns: 48px auto;
  gap: 0.75rem;
  align-items: center;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--ink);
  border: 3px solid var(--crimson);
  border-radius: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 950;
}

.brand-copy strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.brand-copy small {
  display: block;
  margin-top: 0.24rem;
  color: var(--crimson);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.18rem;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav a {
  padding: 0.5rem 0.62rem;
  border-radius: 2px;
  color: var(--ink-soft);
}

.nav a:hover {
  color: #fff;
  background: var(--crimson);
}

.hero {
  width: min(1240px, 92vw);
  margin: 0 auto;
  padding: 2rem 0 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1rem;
  align-items: stretch;
}

.hero-compact {
  grid-template-columns: 1fr;
}

.hero-copy {
  min-height: 340px;
  display: grid;
  align-content: end;
  padding: clamp(1.2rem, 4vw, 2.1rem);
  color: #fff;
  background:
    linear-gradient(rgba(11, 11, 11, 0.58), rgba(11, 11, 11, 0.92)),
    radial-gradient(circle at 20% 15%, rgba(177, 18, 38, 0.72), transparent 34%),
    linear-gradient(135deg, var(--ink), var(--crimson-dark));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.kicker {
  display: inline-block;
  width: fit-content;
  margin: 0 0 0.8rem;
  padding: 0.28rem 0.45rem;
  color: #fff;
  background: var(--crimson);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero p:not(.kicker) {
  max-width: 780px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
}

.hero-panel {
  display: grid;
  gap: 0;
  background: var(--page);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.hero-panel span {
  min-height: 84px;
  display: flex;
  align-items: center;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.hero-panel span::before {
  content: "";
  width: 9px;
  height: 38px;
  margin-right: 0.7rem;
  background: var(--crimson);
}

.hero-panel span:nth-child(2)::before {
  background: var(--blue);
}

.hero-panel span:nth-child(3)::before {
  background: var(--green);
}

.hero-panel span:nth-child(4) {
  border-bottom: 0;
}

.hero-panel span:nth-child(4)::before {
  background: var(--gold);
}

.ticker {
  width: min(1240px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
  background: var(--ink);
}

.ticker span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0.5rem;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.ticker span:first-child {
  color: #fff;
  background: var(--crimson);
}

.ticker span:last-child {
  border-right: 0;
}

.layout {
  width: min(1240px, 92vw);
  margin: 0 auto;
  padding: 1rem 0 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  align-items: start;
}

.layout.single {
  grid-template-columns: 1fr;
}

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

.story-card {
  overflow: hidden;
  display: grid;
  background: var(--page);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: none;
}

.story-card:nth-child(3n + 1):not(.story-lead) {
  border-left: 0;
}

.story-card:hover h2 a {
  color: var(--crimson);
}

.story-lead {
  grid-column: 1 / -1;
  grid-template-columns: minmax(420px, 1.25fr) minmax(0, 0.75fr);
}

.story-image {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 230px;
  color: #fff;
  background: var(--ink);
}

.story-lead .story-image {
  min-height: 430px;
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 420ms ease, filter 420ms ease;
}

.story-card:hover .story-image img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.08);
}

.story-image span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.55rem;
  color: #fff;
  background: var(--crimson);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.story-content {
  padding: 1rem;
}

.story-lead .story-content {
  display: grid;
  align-content: end;
  padding: 1.35rem;
}

.story-meta,
.article-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.story-meta a,
.article-labels a {
  color: var(--crimson);
}

.story-card h2 {
  margin: 0.7rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.14;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.story-lead h2 {
  font-size: 2.9rem;
  line-height: 1;
}

.story-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.desk-panel {
  position: sticky;
  top: 102px;
  padding: 1rem;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.desk-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.desk-panel p:not(.kicker) {
  color: rgba(255, 255, 255, 0.75);
}

.pulse-list {
  display: grid;
  gap: 0;
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.pulse-list a {
  padding: 0.72rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 950;
}

.pulse-list a:hover {
  background: var(--crimson);
}

.pulse-list a:last-child {
  border-bottom: 0;
}

.article-main {
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: 2rem 0 5rem;
}

.article {
  overflow: hidden;
  background: var(--page);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.article-header {
  padding: clamp(1.2rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line-strong);
}

.article-header h1 {
  margin: 0.6rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.25rem;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.article-header p {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.article-labels .kicker {
  margin: 0;
}

.article-image {
  margin: 0;
  border-bottom: 1px solid var(--line-strong);
}

.article-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.article-content {
  padding: clamp(1.2rem, 4vw, 2.5rem);
  font-size: 1rem;
  overflow-wrap: break-word;
}

.article-content h2 {
  margin: 2rem 0 0.45rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.16;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.article-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article-content p {
  margin: 0.92rem 0 0;
}

.article-content p:first-of-type {
  font-size: 1.05rem;
}

.article-content a {
  color: var(--crimson);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.source-note {
  margin-top: 2.1rem !important;
  padding-top: 1rem;
  color: var(--muted);
  border-top: 2px solid var(--line-strong);
  font-size: 0.95rem;
}

.site-footer {
  padding: 2rem max(4vw, calc((100vw - 1240px) / 2));
  color: rgba(255, 255, 255, 0.74);
  background: var(--ink);
  border-top: 6px solid var(--crimson);
}

.site-footer p {
  margin: 0.25rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 1.4rem;
  align-items: start;
}

.footer-brand {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 950;
}

.footer-credit {
  margin-top: 0.8rem !important;
  font-size: 0.92rem;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(215, 155, 43, 0.75);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 850;
}

@media (max-width: 1020px) {
  .masthead,
  .hero,
  .layout,
  .story-lead {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desk-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .edition-strip {
    grid-template-columns: 1fr auto;
  }

  .edition-strip span:nth-child(2) {
    display: none;
  }

  .masthead {
    position: static;
    gap: 0.8rem;
  }

  .brand {
    grid-template-columns: 42px auto;
  }

  .brand-copy strong {
    font-size: 1.72rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .nav {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
  }

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

  .nav a {
    flex: 0 0 auto;
    padding: 0.48rem 0.58rem;
  }

  .hero {
    padding-top: 1.4rem;
  }

  .hero-copy {
    min-height: 300px;
  }

  .hero h1 {
    font-size: 2.75rem;
    line-height: 1;
  }

  .hero-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel span {
    min-height: 70px;
    font-size: 1rem;
  }

  .ticker,
  .story-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .story-lead .story-image,
  .story-image {
    min-height: 230px;
  }

  .story-lead h2 {
    font-size: 2rem;
    line-height: 1.06;
  }

  .article-header h1 {
    font-size: 2.15rem;
    line-height: 1.05;
  }

  .article-content h2 {
    font-size: 1.35rem;
  }
}
