*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f2efe9;
  --hero: #080808;
  --text: #111110;
  --muted: #625f59;
  --faint: #9a9690;
  --border: #dedad3;
  --font: 'Space Grotesk', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── HEADER ─────────────────────────────── */
header {
  background: var(--hero);
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.header-name:hover { color: rgba(255,255,255,0.65); }

.header-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.header-cta:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

/* ── ARTICLE HERO ───────────────────────── */
.article-hero {
  background: var(--hero);
  padding: 56px 40px 68px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.article-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}

.article-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 24px;
}

.article-hero h1 {
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

/* ── ARTICLE BODY ───────────────────────── */
.article-body {
  padding: 64px 40px 88px;
}

.article-content {
  max-width: 680px;
  margin: 0 auto;
}

.article-content p {
  font-size: 0.975rem;
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 18px;
}

.article-content p.lead {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 36px;
}

.article-content h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.article-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.article-content ul {
  list-style: none;
  margin: 14px 0 22px;
}

.article-content ul li {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.article-content ul li:first-child { border-top: 1px solid var(--border); }

.article-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--faint);
  font-size: 0.78rem;
  top: 9px;
}

/* inline contrast list (short items like "3–5 hours") */
.article-content ul.tight li {
  padding-top: 5px;
  padding-bottom: 5px;
}

/* callout / example box */
.callout {
  border: 1px solid var(--border);
  padding: 20px 24px;
  margin: 20px 0;
}

.callout p {
  font-size: 0.875rem !important;
  color: var(--muted) !important;
  margin-bottom: 6px !important;
}

.callout p:last-child { margin-bottom: 0 !important; }

.callout .callout-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px !important;
}

/* takeaway section */
.takeaway {
  border-left: 2px solid var(--text);
  padding: 18px 22px;
  margin: 36px 0 0;
}

.takeaway h2 {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.takeaway p {
  font-size: 0.94rem !important;
  color: var(--text) !important;
  font-weight: 500;
}

/* ── MORE ARTICLES ──────────────────────── */
.more-articles {
  border-top: 1px solid var(--border);
  padding: 56px 40px;
}

.more-inner {
  max-width: 680px;
  margin: 0 auto;
}

.more-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.more-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--border);
}

.more-list {
  list-style: none;
}

.more-list li { border-bottom: 1px solid var(--border); }
.more-list li:first-child { border-top: 1px solid var(--border); }

.more-list a {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  padding: 12px 0 12px 20px;
  position: relative;
  line-height: 1.5;
  transition: color 0.2s;
}

.more-list a::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--faint);
  font-size: 0.78rem;
  top: 13px;
}

.more-list a:hover { color: var(--text); }

.more-list li.active a {
  color: var(--faint);
  pointer-events: none;
  cursor: default;
}

.more-list li.active a::before { content: '·'; font-size: 1rem; top: 11px; }

/* ── FINAL CTA ──────────────────────────── */
.final-cta {
  background: var(--hero);
  padding: 80px 40px;
}

.final-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 14px;
}

.final-cta p {
  font-size: 0.975rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 13px 26px;
  transition: all 0.18s;
  font-family: var(--font);
}

.btn-primary {
  background: #fff;
  color: #080808;
}

.btn-primary:hover { background: #e5e2dd; }

.btn-ghost {
  color: rgba(255,255,255,0.4);
  font-weight: 400;
  padding: 13px 0;
}

.btn-ghost:hover { color: rgba(255,255,255,0.75); }

/* ── FOOTER ─────────────────────────────── */
footer {
  background: var(--hero);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 30px 40px;
}

.footer-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-id p {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
}

.footer-id span {
  font-size: 11px;
  color: rgba(255,255,255,0.18);
  display: block;
  margin-top: 3px;
}

.footer-location {
  font-size: 11px;
  color: rgba(255,255,255,0.18);
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 640px) {
  header { padding: 18px 20px; }
  .header-name { font-size: 11px; }
  .header-cta { font-size: 11px; }

  .article-hero { padding: 40px 20px 48px; }
  .article-hero h1 { font-size: 1.55rem; }

  .article-body { padding: 40px 20px 64px; }

  .article-content p,
  .article-content p.lead { font-size: 0.95rem; }

  .article-content p.lead {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .article-content h2 { margin-top: 36px; }

  .callout { padding: 16px 18px; }

  .takeaway { padding: 16px 18px; }

  .more-articles { padding: 40px 20px; }

  .final-cta { padding: 52px 20px; }

  .final-cta h2 { font-size: 1.35rem; }

  .cta-actions { flex-direction: column; align-items: flex-start; gap: 10px; }

  footer { padding: 24px 20px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
