/* ============================================================
   Burns Media — editorial design system
   Typography-first, newsprint palette, serif display + sans body.
   ============================================================ */

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

:root {
  --bg: #f5f2ec;
  --surface: #ffffff;
  --surface-alt: #fbf8f2;
  --text: #0f1419;
  --text-muted: #4b5563;
  --text-subtle: #6b7280;
  --rule: #d8d2c4;
  --rule-strong: #111827;
  --accent: #0a3161;
  --accent-hover: #0c4084;
  --accent-wire: #0a3161;
  --accent-ai: #4a2b6c;
  --accent-biotech: #0e4f3c;

  --serif: "Source Serif 4", "Charter", "Source Serif Pro", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
::selection { background: var(--text); color: var(--bg); }

/* Masthead */
.masthead {
  border-bottom: 3px double var(--rule-strong);
  background: var(--bg);
}
.masthead-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.masthead-brand {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.masthead-brand:hover { text-decoration: none; }
.masthead-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Kicker label */
.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
}
.kicker--muted { color: var(--text-muted); }

/* Hub page */
.hub {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 32px 96px;
}
.hub-header {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 40px;
  margin-bottom: 8px;
}
.hub-dateline {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hub-headline {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-bottom: 18px;
}
.hub-deck {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 56ch;
  line-height: 1.5;
}

.hub-sections { display: block; }
.hub-section {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}
.hub-section-label .kicker { display: block; margin-bottom: 10px; }
.hub-section-label .num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}
.hub-section-card a { display: block; color: inherit; }
.hub-section-card a:hover { text-decoration: none; }
.hub-section-card a:hover h2 { color: var(--accent); }
.hub-section-card h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.hub-section-card p {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 60ch;
  margin-bottom: 16px;
}
.hub-section-card .arrow {
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.hub-section[data-accent="wire"] .kicker,
.hub-section[data-accent="wire"] .hub-section-card .arrow { color: var(--accent-wire); }
.hub-section[data-accent="wire"] .hub-section-card a:hover h2 { color: var(--accent-wire); }

.hub-section[data-accent="ai"] .kicker,
.hub-section[data-accent="ai"] .hub-section-card .arrow { color: var(--accent-ai); }
.hub-section[data-accent="ai"] .hub-section-card a:hover h2 { color: var(--accent-ai); }

.hub-section[data-accent="biotech"] .kicker,
.hub-section[data-accent="biotech"] .hub-section-card .arrow { color: var(--accent-biotech); }
.hub-section[data-accent="biotech"] .hub-section-card a:hover h2 { color: var(--accent-biotech); }

/* Landing page */
.landing {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 32px 96px;
}
.landing-back {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 32px;
}
.landing-back:hover { color: var(--text); text-decoration: none; }

.landing-header { margin-bottom: 40px; }
.landing-header .kicker { margin-bottom: 16px; }
.landing-header h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.landing-header .deck {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.22rem;
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.5;
}

.landing-features {
  list-style: none;
  margin: 32px 0;
  border-top: 1px solid var(--rule);
}
.landing-features li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
  color: var(--text);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  line-height: 1.5;
}
.landing-features li::before {
  content: '§';
  font-family: var(--serif);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
}
.landing[data-accent="wire"] .landing-features li::before { color: var(--accent-wire); }
.landing[data-accent="ai"] .landing-features li::before { color: var(--accent-ai); }
.landing[data-accent="biotech"] .landing-features li::before { color: var(--accent-biotech); }
.landing[data-accent="wire"] .landing-header .kicker { color: var(--accent-wire); }
.landing[data-accent="ai"] .landing-header .kicker { color: var(--accent-ai); }
.landing[data-accent="biotech"] .landing-header .kicker { color: var(--accent-biotech); }

/* Subscribe "clip-out" box */
.subscribe {
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  padding: 32px;
  margin: 40px 0;
  position: relative;
}
.subscribe::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 6px;
  background: var(--accent);
}
.subscribe .kicker { margin-bottom: 10px; }
.subscribe h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 8px;
  line-height: 1.3;
}
.subscribe p.copy {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 20px;
}
.subscribe label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.subscribe input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--rule-strong);
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s;
}
.subscribe input[type="email"]:focus { border-color: var(--accent); }
.subscribe button {
  width: 100%;
  margin-top: 12px;
  padding: 14px 20px;
  background: var(--accent);
  color: var(--surface);
  border: none;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}
.subscribe button:hover { background: var(--accent-hover); }
.subscribe .fine {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-subtle);
  text-align: center;
}

.subscribe[data-accent="wire"]::before { background: var(--accent-wire); }
.subscribe[data-accent="wire"] button { background: var(--accent-wire); }
.subscribe[data-accent="wire"] button:hover { background: #0c4084; }
.subscribe[data-accent="wire"] .kicker { color: var(--accent-wire); }
.subscribe[data-accent="wire"] input[type="email"]:focus { border-color: var(--accent-wire); }

.subscribe[data-accent="ai"]::before { background: var(--accent-ai); }
.subscribe[data-accent="ai"] button { background: var(--accent-ai); }
.subscribe[data-accent="ai"] button:hover { background: #5c3686; }
.subscribe[data-accent="ai"] .kicker { color: var(--accent-ai); }
.subscribe[data-accent="ai"] input[type="email"]:focus { border-color: var(--accent-ai); }

.subscribe[data-accent="biotech"]::before { background: var(--accent-biotech); }
.subscribe[data-accent="biotech"] button { background: var(--accent-biotech); }
.subscribe[data-accent="biotech"] button:hover { background: #126a52; }
.subscribe[data-accent="biotech"] .kicker { color: var(--accent-biotech); }
.subscribe[data-accent="biotech"] input[type="email"]:focus { border-color: var(--accent-biotech); }

/* Topics roundup */
.topics { border-top: 1px solid var(--rule); padding-top: 32px; margin-top: 48px; }
.topics h4 {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.topics ul { list-style: none; }
.topics li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.4;
}
.topics li:last-child { border-bottom: none; }

/* Archive index */
.archive { max-width: 760px; margin: 0 auto; padding: 56px 32px 96px; }
.breadcrumb {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text); }

.archive-header { border-bottom: 3px double var(--rule-strong); padding-bottom: 24px; margin-bottom: 32px; }
.archive-header .kicker { margin-bottom: 12px; }
.archive-header h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.archive-header p { color: var(--text-muted); font-size: 1rem; max-width: 52ch; }

.archive-list { list-style: none; margin-top: 8px; }
.archive-item { border-bottom: 1px solid var(--rule); }
.archive-item a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 24px 0;
  color: inherit;
  align-items: baseline;
}
.archive-item a:hover { text-decoration: none; }
.archive-item a:hover .archive-subject { color: var(--accent); }
.archive-date {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.archive-subject {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: 6px;
  color: var(--text);
  transition: color 0.15s;
}
.archive-preview {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

/* Issue page */
.issue { max-width: 720px; margin: 0 auto; padding: 56px 32px 96px; }
.issue-header { border-bottom: 3px double var(--rule-strong); padding-bottom: 28px; margin-bottom: 40px; }
.issue-header .kicker { margin-bottom: 14px; }
.issue-header h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.issue-header .dateline {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  margin-bottom: 20px;
}
.issue-header .lede {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text);
  max-width: 58ch;
}

.issue-section { margin: 48px 0; }
.issue-section-head {
  border-top: 1px solid var(--rule-strong);
  padding-top: 14px;
  margin-bottom: 28px;
}
.issue-section-head .kicker { margin-bottom: 6px; }
.issue-section-head h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
}

.story { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.story:last-child { border-bottom: none; }
.story h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 10px;
}
.story h3 a { color: var(--text); }
.story h3 a:hover { color: var(--accent); text-decoration: none; }
.story .summary {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 12px;
}
.story .why {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.98rem;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-bottom: 10px;
}
.story .attribution {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.quick-hits ul { list-style: none; }
.quick-hits li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
  line-height: 1.5;
}
.quick-hits li:last-child { border-bottom: none; }
.quick-hits li a { color: var(--text); }
.quick-hits li a:hover { color: var(--accent); text-decoration: none; }
.quick-hits .source {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.closing {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-muted);
  margin: 40px 0;
  text-align: center;
  font-size: 1.1rem;
}

.issue[data-accent="wire"] .kicker { color: var(--accent-wire); }
.issue[data-accent="wire"] .story h3 a:hover,
.issue[data-accent="wire"] .quick-hits li a:hover { color: var(--accent-wire); }
.issue[data-accent="wire"] .story .why { border-left-color: var(--accent-wire); }

.issue[data-accent="ai"] .kicker { color: var(--accent-ai); }
.issue[data-accent="ai"] .story h3 a:hover,
.issue[data-accent="ai"] .quick-hits li a:hover { color: var(--accent-ai); }
.issue[data-accent="ai"] .story .why { border-left-color: var(--accent-ai); }

.issue[data-accent="biotech"] .kicker { color: var(--accent-biotech); }
.issue[data-accent="biotech"] .story h3 a:hover,
.issue[data-accent="biotech"] .quick-hits li a:hover { color: var(--accent-biotech); }
.issue[data-accent="biotech"] .story .why { border-left-color: var(--accent-biotech); }

/* Thank-you page */
.thanks { max-width: 560px; margin: 0 auto; padding: 120px 32px; text-align: center; }
.thanks .kicker { margin-bottom: 20px; }
.thanks h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.thanks p {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.thanks a { font-weight: 600; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--bg);
  margin-top: 80px;
}
.site-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer-inner a { color: var(--text-muted); }
.site-footer-inner a:hover { color: var(--text); }
.site-footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hub-section { grid-template-columns: 1fr; gap: 12px; }
  .hub-section-label { display: flex; align-items: baseline; gap: 12px; }
  .hub-section-label .num { font-size: 1.4rem; }
  .archive-item a { grid-template-columns: 1fr; gap: 4px; }
  .masthead-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
}
