@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg: #f3efe7;
  --bg-strong: #e4dccb;
  --surface: rgba(255, 252, 247, 0.88);
  --surface-strong: #fffaf2;
  --surface-dark: #101418;
  --ink: #171a1d;
  --muted: #5d6267;
  --line: rgba(23, 26, 29, 0.12);
  --line-strong: rgba(23, 26, 29, 0.2);
  --accent: #b63e24;
  --accent-soft: rgba(182, 62, 36, 0.1);
  --shadow: 0 24px 70px rgba(34, 31, 28, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font: 400 16px/1.6 "IBM Plex Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(182, 62, 36, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(16, 20, 24, 0.08), transparent 34%),
    linear-gradient(180deg, #f8f4ec 0%, var(--bg) 58%, #ebe4d7 100%);
}

::selection {
  color: #fff;
  background: rgba(182, 62, 36, 0.8);
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.topbar,
.hero__main,
.hero-card,
.ticker,
.section,
.news-card,
.topic-card,
.brief-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.82);
  backdrop-filter: blur(14px);
}

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

.brand__mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, #101418 0%, #343d48 50%, #b63e24 100%);
  transform: rotate(12deg);
}

.brand__text {
  display: grid;
  gap: 2px;
  line-height: 1;
  font-family: "Space Grotesk", sans-serif;
}

.brand__text span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topnav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero,
.section,
.ticker {
  margin-bottom: 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  gap: 24px;
}

.hero__main,
.hero-card,
.section,
.news-card,
.topic-card,
.brief-card {
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.hero__main {
  position: relative;
  overflow: hidden;
  padding: 44px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(245, 238, 225, 0.96));
}

.hero__main::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 62, 36, 0.16), transparent 70%);
}

.hero__sidebar {
  display: grid;
  gap: 20px;
}

.hero-card {
  padding: 26px;
}

.hero-card--dark {
  background: linear-gradient(180deg, rgba(16, 20, 24, 0.97), rgba(32, 39, 47, 0.98));
  color: #f7f2e8;
}

.hero-card__label,
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-card--dark .hero-card__label {
  color: rgba(247, 242, 232, 0.7);
}

.hero__meta,
.news-card__meta,
.news-card__footer,
.brief-card__top,
.topic-card__head,
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero__meta {
  justify-content: flex-start;
  margin-bottom: 18px;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

h1,
h2,
h3,
strong {
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  max-width: 12ch;
  margin: 0 0 18px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero__lead,
.section-copy,
.section-heading,
.news-card__summary,
.headline-list,
.topic-card p,
.about__copy {
  color: var(--muted);
}

.hero__lead {
  max-width: 58ch;
  margin: 0 0 28px;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff8f0;
  background: linear-gradient(135deg, #c14928, #932f1a);
}

.button--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.46);
}

.headline-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.headline-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.headline-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.brief-stats {
  display: grid;
  gap: 14px;
}

.brief-stats div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.brief-stats strong {
  display: block;
  font-size: 1.8rem;
}

.ticker {
  overflow: hidden;
  padding: 14px 0;
  border-radius: 999px;
  background: rgba(16, 20, 24, 0.95);
  color: #f7f2e8;
}

.ticker__track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  animation: ticker-move 24s linear infinite;
}

.ticker__track span {
  font-size: 0.95rem;
}

.ticker__track span::after {
  content: "•";
  margin-left: 24px;
  color: rgba(247, 242, 232, 0.4);
}

.section {
  padding: 34px;
}

.section--contrast {
  background:
    linear-gradient(180deg, rgba(255, 249, 238, 0.96), rgba(230, 222, 205, 0.96));
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.news-grid,
.topics-grid {
  display: grid;
  gap: 18px;
}

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

.news-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.news-card--featured {
  grid-column: span 2;
  grid-row: span 2;
  align-content: start;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(242, 233, 219, 0.98));
}

.news-card__meta,
.news-card__footer,
.brief-card__top,
.topic-card__head {
  color: var(--muted);
  font-size: 0.9rem;
}

.news-card__summary {
  margin: 0;
}

.news-card__footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

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

.topic-card {
  padding: 22px;
}

.topic-card h3 {
  margin-bottom: 8px;
}

.topic-card p {
  margin: 0 0 14px;
}

.topic-card__count {
  color: var(--accent);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 16px;
}

.brief-card {
  padding: 20px 22px;
}

.brief-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.about {
  align-items: start;
}

.about__copy {
  max-width: 60ch;
}

.about__copy p {
  margin: 0 0 14px;
}

.about__copy p:last-child {
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ticker-move {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-40%);
  }
}

@media (max-width: 1080px) {
  .hero,
  .split,
  .topics-grid,
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero__sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .news-card--featured {
    grid-column: span 2;
  }

  .about {
    display: grid;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1220px);
    padding-top: 12px;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
  }

  .hero__main,
  .hero-card,
  .section,
  .news-card,
  .topic-card,
  .brief-card {
    padding: 24px;
  }

  .hero__sidebar,
  .split,
  .topics-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card--featured {
    grid-column: auto;
    grid-row: auto;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
