:root {
  --ink: #121314;
  --paper: #f6f1e8;
  --muted: #68635b;
  --line: #d9d0c3;
  --scarlet: #d73a31;
  --gold: #f0b83f;
  --court: #2f6f66;
  --night: #171b25;
  --white: #fffaf1;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(246, 241, 232, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Archivo, Inter, sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--ink);
  color: var(--gold);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--scarlet);
}

.search-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.25rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 6vw, 84px) clamp(18px, 4vw, 56px) 28px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 720px;
}

.kicker,
.label {
  margin: 0 0 14px;
  color: var(--scarlet);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Archivo, Inter, sans-serif;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.6rem, 6.3vw, 7rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.hero-deck {
  max-width: 610px;
  margin: 22px 0 0;
  color: #393733;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: transparent;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--night);
  aspect-ratio: 5 / 4;
}

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

.score-strip {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(255, 250, 241, 0.35);
  background: rgba(18, 19, 20, 0.72);
}

.score-strip span {
  padding: 12px 6px;
  color: var(--white);
  font-family: Archivo, Inter, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
}

.ticker {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: var(--white);
}

.ticker span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.ticker p {
  margin: 0;
  color: #eee7db;
}

.section,
.briefing {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

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

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.filter-chip.active {
  border-color: var(--ink);
  background: var(--gold);
  color: var(--ink);
}

.cms-status {
  min-height: 22px;
  margin: -8px 0 18px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.story-card {
  display: flex;
  min-height: 315px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}

.story-cover {
  width: calc(100% + 44px);
  height: 220px;
  margin: -22px -22px 18px;
  object-fit: scale-down;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.story-card.hidden {
  display: none;
}

.story-card p:not(.label):not(.story-byline) {
  color: var(--white);
  line-height: 1.55;
}

.story-card a {
  color: var(--scarlet);
  font-weight: 900;
}

.story-byline,
.story-views {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.story-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.article-reader {
  margin-top: 28px;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
}

.reader-back {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--scarlet);
  font-weight: 900;
}

.reader-title {
  max-width: 980px;
  margin-bottom: 16px;
}

.reader-cover {
  width: auto;
  max-width: 100%;
  max-height: 560px;
  margin: 0 0 28px;
  object-fit: scale-down;
  background: var(--night);
  border: 1px solid var(--line);
}

.reader-meta,
.reader-excerpt {
  max-width: 780px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.6;
}

.reader-body {
  max-width: 760px;
  margin-top: 28px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.8;
}

.reader-body * {
  color: var(--ink);
}

.reader-body h2,
.reader-body h3 {
  margin: 1.8em 0 0.5em;
  line-height: 1.08;
}

.reader-body p {
  margin: 0 0 1.15em;
}

.reader-body blockquote {
  margin: 1.5em 0;
  padding-left: 18px;
  border-left: 4px solid var(--scarlet);
  color: var(--muted);
  font-weight: 700;
}

.feature-card {
  grid-column: span 2;
  background: var(--court);
  color: var(--white);
}

.feature-card .story-cover {
  border-color: rgba(255, 250, 241, 0.25);
}

.feature-card .story-byline,
.feature-card .story-views {
  color: #eaf1ed;
}

.feature-card .label,
.feature-card a {
  color: var(--gold);
}

.feature-card p:not(.label) {
  color: #eaf1ed;
}

.columns-section {
  background: #e9e1d3;
}

.column-list {
  display: grid;
  gap: 12px;
}

.column-list a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid #c9bdad;
  background: rgba(255, 250, 241, 0.55);
}

.column-list a:hover {
  background: var(--white);
}

.column-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  background: var(--scarlet);
  color: var(--white);
  font-family: Archivo, Inter, sans-serif;
  font-weight: 800;
}

.column-list p,
.briefing p,
.newsletter-section p {
  color: var(--muted);
  line-height: 1.55;
}

.briefing {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) 1.25fr;
  gap: clamp(28px, 5vw, 80px);
  background: var(--night);
  color: var(--white);
}

.briefing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 250, 241, 0.22);
  border: 1px solid rgba(255, 250, 241, 0.22);
}

.briefing-grid div {
  min-height: 220px;
  padding: 22px;
  background: var(--night);
}

.briefing p {
  color: #d8d1c5;
}

.newsletter-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.newsletter-form {
  display: grid;
  gap: 10px;
}

.hidden-field {
  display: none;
}

.newsletter-form label {
  font-weight: 900;
}

.newsletter-form div {
  display: flex;
  gap: 10px;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer div {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

.signup-success {
  display: grid;
  min-height: 100vh;
  align-content: center;
  gap: 18px;
  padding: clamp(32px, 8vw, 96px);
}

.signup-success h1 {
  font-size: clamp(3rem, 9vw, 7rem);
}

.signup-success p:not(.kicker) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .hero,
  .briefing,
  .newsletter-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 360px;
  }

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

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  h1 {
    font-size: clamp(2.75rem, 10.6vw, 3.35rem);
  }

  .ticker,
  .article-grid,
  .briefing-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-column: span 1;
  }

  .newsletter-form div,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .score-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}
