:root {
  --ink: #151515;
  --muted: #5e6470;
  --line: #dedbd2;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --red: #d71920;
  --blue: #0f6f9f;
  --green: #2e7d52;
  --gold: #c9911f;
  --shadow: 0 18px 45px rgba(21, 21, 21, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(215, 25, 32, 0.45);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--red);
  font-weight: 800;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.main-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 15px;
}

.main-nav a,
.site-footer a {
  text-decoration: none;
}

.hero {
  display: grid;
  min-height: 78vh;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.12));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 5vw, 64px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd76a;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 20ch;
  font-size: clamp(40px, 4.8vw, 58px);
}

h2 {
  font-size: clamp(28px, 4vw, 46px);
}

h3 {
  font-size: clamp(22px, 3vw, 31px);
}

.hero-copy p:not(.eyebrow) {
  max-width: 720px;
  font-size: 19px;
}

.hero-actions,
.button,
.newsletter form,
.ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button,
.newsletter button {
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid currentColor;
  font-weight: 800;
  text-decoration: none;
}

.button.primary,
.newsletter button {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.ticker {
  padding: 13px clamp(18px, 5vw, 64px);
  background: #111;
  color: #fff;
}

.ticker span {
  color: #ffd76a;
  font-weight: 800;
}

.ticker a {
  color: #fff;
}

.content-grid,
.topics-band,
.two-column,
.editorial,
.newsletter,
.daily,
.article-page {
  padding: clamp(44px, 7vw, 84px) clamp(18px, 5vw, 64px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.lead-story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.lead-story img,
.story-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.meta span {
  color: var(--red);
  font-weight: 800;
}

.story-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}

.story-card,
.topic,
.newsletter,
.daily {
  background: var(--panel);
  box-shadow: var(--shadow);
}

.story-card {
  padding: 18px;
}

.story-card h3 {
  font-size: 24px;
}

.topics-band {
  background: #ece7dc;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.topic {
  min-height: 170px;
  padding: 22px;
  text-decoration: none;
  border-top: 5px solid var(--blue);
}

.topic:nth-child(2) {
  border-color: var(--green);
}

.topic:nth-child(3) {
  border-color: var(--gold);
}

.topic:nth-child(4) {
  border-color: var(--red);
}

.topic span,
.category-list a {
  display: block;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.category-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.category-list li {
  border-bottom: 1px solid var(--line);
}

.category-list a {
  padding: 15px 0;
  text-decoration: none;
  font-weight: 800;
}

.editorial {
  color: #fff;
  background: #111;
}

.editorial p:not(.eyebrow) {
  max-width: 800px;
  font-size: 19px;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: 24px;
  align-items: end;
  margin: clamp(18px, 5vw, 64px);
}

.newsletter label {
  width: 100%;
  color: var(--muted);
  font-weight: 800;
}

.newsletter input {
  flex: 1 1 220px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  font: inherit;
}

.newsletter button {
  cursor: pointer;
  font: inherit;
}

.daily {
  margin: clamp(18px, 5vw, 64px);
}

.daily code {
  padding: 2px 5px;
  background: #eee6d6;
}

.article-page {
  max-width: 1180px;
  margin: 0 auto;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.article-body {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(220px, 300px);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding-top: 34px;
}

.article-body article {
  font-size: 19px;
}

.article-body article p {
  margin: 0 0 22px;
}

.article-body article h2 {
  margin: 36px 0 14px;
  font-size: 31px;
}

.article-aside {
  position: sticky;
  top: 96px;
  padding: 18px;
  background: #ece7dc;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 64px);
  background: #111;
  color: #fff;
}

.site-footer p {
  margin: 4px 0 0;
  color: #cbc7bd;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
  }

  .hero {
    min-height: 74vh;
  }

  h1 {
    max-width: 12ch;
    font-size: 46px;
  }

  .lead-story,
  .story-list,
  .topic-grid,
  .two-column,
  .newsletter,
  .article-hero,
  .article-body {
    grid-template-columns: 1fr;
  }

  .newsletter,
  .daily {
    margin: 18px;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 520px) {
  .hero-copy {
    padding-top: 96px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-copy p:not(.eyebrow),
  .editorial p:not(.eyebrow),
  .article-body article {
    font-size: 17px;
  }

  .button,
  .newsletter button,
  .newsletter input {
    width: 100%;
  }
}
