:root {
  --ink: #1c2430;
  --muted: #5d6978;
  --line: #d9dee7;
  --paper: #fbf8f0;
  --surface: #ffffff;
  --accent: #a3332c;
  --accent-strong: #6d201b;
  --gold: #b9842c;
  --green: #2f6b57;
  --blue: #294c7a;
  --shadow: 0 18px 45px rgba(32, 35, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(251, 248, 240, 0.92), rgba(251, 248, 240, 0.92)),
    repeating-linear-gradient(90deg, rgba(28, 36, 48, 0.04) 0 1px, transparent 1px 56px),
    var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 240, 0.94);
  backdrop-filter: blur(12px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--surface);
  color: var(--accent);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.93rem;
}

.nav-actions a:hover {
  color: var(--accent);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 28px;
  min-height: calc(100vh - 76px);
  padding: 64px 0 40px;
  align-items: center;
}

.hero-copy {
  position: relative;
  padding: 42px 0;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -24px;
  width: 6px;
  background: linear-gradient(var(--accent), var(--gold), var(--green));
}

.eyebrow,
.panel-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 670px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-weight: 800;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  color: var(--accent);
}

.today-panel {
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 26px;
}

.today-panel h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.today-list {
  display: grid;
  gap: 14px;
}

.today-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.today-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.date-badge {
  display: grid;
  min-height: 58px;
  place-items: center;
  border-radius: 6px;
  background: #f2ead9;
  color: var(--accent-strong);
  font-weight: 900;
}

.today-item strong,
.content-card strong {
  display: block;
  margin-bottom: 6px;
}

.today-item span,
.content-card p,
.story-card p,
.source-card p {
  color: var(--muted);
  line-height: 1.55;
}

.control-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.search-box input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
}

.search-box input:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(163, 51, 44, 0.14);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

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

.chip.active,
.chip:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.section {
  padding: 70px 0 8px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.02;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

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

.content-card,
.source-card,
.story-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.content-card,
.source-card {
  display: grid;
  gap: 14px;
  min-height: 235px;
  padding: 22px;
}

.card-meta,
.source-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.tag {
  width: fit-content;
  border-radius: 999px;
  background: #eef3ef;
  color: var(--green);
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.content-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.card-link {
  align-self: end;
  color: var(--accent);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 34px;
  align-items: start;
}

.story-list {
  display: grid;
  gap: 14px;
}

.story-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 18px;
}

.story-year {
  display: grid;
  min-height: 96px;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 800;
}

.story-card h3,
.source-card h3 {
  margin-bottom: 8px;
}

.source-card {
  min-height: 210px;
}

.source-type {
  color: var(--blue);
  font-weight: 900;
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  min-height: 130px;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.empty-state span {
  color: var(--muted);
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 64px auto 0;
  padding: 26px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 900px) {
  .topbar,
  .nav-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar {
    padding: 14px 0;
  }

  .nav-actions {
    gap: 10px;
  }

  .hero,
  .control-panel,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .filter-group {
    justify-content: flex-start;
  }

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

@media (max-width: 620px) {
  main,
  .topbar,
  .site-footer {
    width: min(100% - 22px, 1180px);
  }

  h1 {
    font-size: clamp(2.2rem, 14vw, 3.6rem);
  }

  .card-grid,
  .source-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    grid-template-columns: 1fr;
  }

  .story-year {
    min-height: 72px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }
}
