/* CALIBER article page styles */
:root {
  --ink: #0a0f1c;
  --paper: #f4f1ea;
  --paper-warm: #ebe6da;
  --accent: #c8553d;
  --accent-dark: #8e2f1f;
  --line: #1a2337;
  --muted: #5a6478;
}

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

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(10,15,28,0.04) 1px, transparent 0);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 1;
}

/* Top nav */
.topbar {
  position: relative;
  z-index: 10;
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(10,15,28,0.1);
}

.logo {
  font-family: 'Genos', sans-serif;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 8px;
  color: var(--ink);
  text-decoration: none;
}

.backlink {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.backlink:hover { color: var(--accent); }

/* Article header */
.article-header {
  position: relative;
  z-index: 2;
  padding: 100px 48px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.article-number {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.article-title {
  font-family: 'Genos', sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.9;
  letter-spacing: -1px;
  margin-bottom: 40px;
}

.article-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.article-deck {
  font-family: 'Genos', sans-serif;
  font-weight: 300;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.25;
  color: var(--muted);
  margin-bottom: 60px;
  max-width: 780px;
}

.article-meta {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(10,15,28,0.15);
}

.meta-item {
  font-family: 'Roboto', sans-serif;
}

.meta-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.meta-value {
  font-size: 14px;
  color: var(--ink);
}

/* Article body */
.article-body {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 48px 120px;
}

.article-body h2 {
  font-family: 'Genos', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.05;
  margin: 80px 0 24px;
  color: var(--ink);
}

.article-body h2:first-child { margin-top: 0; }

.article-body h3 {
  font-family: 'Genos', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  margin: 48px 0 16px;
  color: var(--accent-dark);
}

.article-body p {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 24px;
  color: var(--ink);
}

.article-body p.lead {
  font-family: 'Genos', sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 40px;
  color: var(--ink);
}

.article-body p.lead em {
  font-style: italic;
  color: var(--accent);
}

.article-body strong { font-weight: 500; color: var(--ink); }

.article-body ul {
  margin-bottom: 32px;
  padding-left: 0;
  list-style: none;
}

.article-body ul li {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  padding-left: 32px;
  margin-bottom: 16px;
  position: relative;
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 1px;
  background: var(--accent);
}

/* Pull quote */
.pullquote {
  font-family: 'Genos', sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  color: var(--accent-dark);
  margin: 60px 0;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

/* Comparison table */
.compare-table {
  margin: 40px 0 48px;
  border-top: 2px solid var(--ink);
  overflow-x: auto;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr 1.4fr;
  padding: 20px 0;
  border-bottom: 1px solid rgba(10,15,28,0.12);
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  gap: 16px;
}

.compare-row.header {
  font-family: 'Genos', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
}

.compare-row.highlight {
  background: rgba(200,85,61,0.08);
  padding: 20px 12px;
  margin: 0 -12px;
}

.compare-row strong {
  font-weight: 500;
  color: var(--ink);
}

/* Spec blocks */
.spec-block {
  background: var(--ink);
  color: var(--paper);
  padding: 40px 36px;
  margin: 48px 0;
  position: relative;
}

.spec-block .spec-num {
  font-family: 'Genos', sans-serif;
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}

.spec-block h4 {
  font-family: 'Genos', sans-serif;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--paper);
}

.spec-block p {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244,241,234,0.85);
}

/* Next article */
.next-up {
  background: var(--paper-warm);
  padding: 80px 48px;
  position: relative;
  z-index: 2;
}

.next-inner {
  max-width: 720px;
  margin: 0 auto;
}

.next-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.next-link {
  display: block;
  text-decoration: none;
  color: var(--ink);
  border-top: 2px solid var(--ink);
  padding-top: 24px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.next-link:hover { transform: translateX(8px); }

.next-link .num {
  font-family: 'Genos', sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.next-link .title {
  font-family: 'Genos', sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 16px;
}

.next-link:hover .title { color: var(--accent-dark); }

.next-link .arrow {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Footer */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 48px 32px;
  position: relative;
  z-index: 2;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(244,241,234,0.1);
  margin-bottom: 32px;
}

.footer-logo {
  font-family: 'Genos', sans-serif;
  font-weight: 900;
  font-size: 40px;
  letter-spacing: 6px;
}

.footer-tagline {
  font-family: 'Genos', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 18px;
  opacity: 0.8;
}

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(244,241,234,0.5);
}

/* Mobile */
@media (max-width: 900px) {
  .topbar { padding: 20px 24px; }
  .article-header { padding: 60px 24px 40px; }
  .article-body { padding: 20px 24px 80px; }
  .article-meta { flex-wrap: wrap; gap: 24px; }
  .next-up { padding: 60px 24px; }
  .next-link .title { font-size: 40px; }
  footer { padding: 40px 24px 24px; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .compare-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .compare-row.header { display: none; }
  .compare-row strong { font-size: 15px; margin-bottom: 4px; }
}
