:root {
  --paper: #f3e6d4;
  --paper-2: #f8efe2;
  --ink: #1c1712;
  --muted: #6f6459;
  --line: rgba(28, 23, 18, 0.14);
  --line-strong: rgba(28, 23, 18, 0.28);
  --accent: #9b6b2d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.5), transparent 32%),
    radial-gradient(circle at 80% 12%, rgba(155, 107, 45, 0.1), transparent 24%),
    var(--paper);
}

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

.radar-page {
  min-height: 100vh;
}

.radar-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 230, 212, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.radar-nav nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand span {
  width: 20px;
  height: 20px;
  background: var(--ink);
}

.radar-nav nav {
  gap: clamp(18px, 2vw, 30px);
}

.radar-nav nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-masthead,
.edition-bar,
.news-layout {
  padding-inline: clamp(18px, 5vw, 72px);
}

.news-masthead {
  padding-top: 28px;
}

.news-masthead-rule {
  height: 1px;
  background: var(--line-strong);
}

.news-masthead-copy {
  padding: clamp(26px, 4vw, 40px) 0;
  text-align: center;
}

.news-kicker,
.eyebrow,
.section-heading span,
.edition-meta span,
.search-box span,
.story-card-topline span,
.lead-story-topline span,
.sidebar-panel .eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-title,
.hero-headline,
.lead-story h3,
h2,
h3,
h4 {
  margin: 0;
  font-family: Fraunces, Newsreader, Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

.lead-story-summary,
.lead-story-analysis p,
.story-card > p,
.cake-moves article p {
  font-family: "Source Serif 4", Georgia, serif;
}

.news-title {
  font-size: clamp(58px, 9vw, 120px);
  line-height: 0.92;
}

.news-deck {
  max-width: 920px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.45;
}

.news-masthead-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edition-bar {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: 22px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-strong);
}

.edition-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.edition-meta article,
.lead-story,
.story-card,
.sidebar-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
}

.edition-meta article {
  padding: 16px;
}

.edition-meta strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 1;
}

.edition-slogan {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  text-align: right;
}

.edition-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.72fr);
  gap: 28px;
  padding-top: 36px;
  padding-bottom: 72px;
}

.news-main {
  min-width: 0;
}

.news-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.news-section-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.section-heading h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.1;
}

.front-page-note,
.section-heading p,
.lead-story-summary,
.lead-story-analysis p,
.story-card p,
.story-card-footer strong,
.sidebar-panel p,
.sidebar-list p {
  color: var(--muted);
  line-height: 1.55;
}

.front-page-note,
.section-heading p {
  font-size: 16px;
}

.lead-story {
  padding: 24px;
  margin-top: 22px;
}

.thin-day-card {
  padding: 24px 0 6px;
  border-top: 1px solid var(--line);
}

.thin-day-card h3 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 0.98;
}

.lead-story-topline,
.story-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 14px;
}

.lead-story h3 {
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 0.95;
}

.lead-story-summary {
  max-width: 920px;
  margin: 22px 0 0;
  font-size: clamp(20px, 2vw, 28px);
}

.lead-story-analysis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.lead-story-analysis span,
.story-card-footer a,
.sidebar-list h4,
.lead-story-actions a {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead-story-actions {
  margin-top: 24px;
}

.lead-story-actions a {
  color: var(--ink);
}

.story-stack {
  margin-top: 36px;
}

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

.story-card {
  padding: 18px;
}

.story-card h4 {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.05;
}

.story-card-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.sidebar-panel {
  padding: 18px;
}

.sidebar-panel-thesis h2 {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.02;
}

.sidebar-panel p,
.sidebar-list p {
  font-size: 15px;
  line-height: 1.5;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-list article {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.sidebar-list article:first-child {
  padding-top: 0;
  border-top: 0;
}

.sidebar-list h4 {
  color: var(--ink);
}

.sidebar-list a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.chatter-card {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.chatter-card:first-child {
  padding-top: 0;
  border-top: 0;
}

.chatter-card summary {
  cursor: pointer;
  list-style: none;
}

.chatter-card summary::-webkit-details-marker {
  display: none;
}

.chatter-card summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
}

.chatter-card[open] summary::after {
  content: "-";
}

.chatter-platform {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chatter-card strong,
.chatter-card small {
  display: block;
}

.chatter-card strong {
  max-width: calc(100% - 24px);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: none;
}

.chatter-card small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.chatter-read {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.chatter-read span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.empty-state {
  padding: 24px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.empty-state strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}

@media (max-width: 1180px) {
  .edition-bar,
  .news-layout,
  .lead-story-analysis {
    grid-template-columns: 1fr;
  }

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

  .edition-slogan {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .radar-nav,
  .news-masthead-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .radar-nav nav {
    flex-wrap: wrap;
  }

  .edition-meta,
  .story-list,
  .edition-strip {
    grid-template-columns: 1fr;
  }

  .news-title {
    font-size: clamp(48px, 18vw, 78px);
  }

  .lead-story h3 {
    font-size: clamp(34px, 12vw, 56px);
  }
}

/* --- Gagan's read: the five-layer cake (sidebar) --- */
.sidebar-cake .cake-sub {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.sidebar-cake .cake-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--accent);
}

.sidebar-cake .cake {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.cake-layer {
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.28);
}

.cake-layer.is-hot {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(155, 107, 45, 0.12), rgba(255, 255, 255, 0.28));
}

.cake-layer.is-quiet {
  opacity: 0.6;
}

.cake-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cake-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cake-num {
  flex: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px 8px;
}

.cake-count {
  margin-left: auto;
  flex: none;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}

.cake-count-quiet {
  color: var(--muted);
  border-color: var(--line);
}

.cake-desc {
  margin: 7px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.cake-moves {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
}

.cake-moves article h4 {
  margin: 0 0 3px;
  font-size: 12.5px;
  line-height: 1.45;
}

.cake-moves article p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
