:root {
  --bg: #0C0C0B;
  --bg-2: #141413;
  --text: rgba(245, 240, 232, 0.72);
  --text-strong: #F5F0E8;
  --text-muted: rgba(245, 240, 232, 0.40);
  --text-faint: rgba(245, 240, 232, 0.20);
  --line: rgba(245, 240, 232, 0.08);
  --accent: #B85C3C;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--text);
}

body { min-height: 100vh; }

a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
img { display: block; max-width: 100%; }

/* ─── NAV ─── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(12, 12, 11, 0.8);
  border-bottom: 1px solid var(--line);
}

.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}

.site-nav .brand img {
  height: 20px;
  width: auto;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.site-nav ul a {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
}

.site-nav ul a:hover { color: var(--text-strong); }

.site-nav .cta {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-strong);
  padding: 10px 20px;
  border: 1px solid var(--text-faint);
  border-radius: 100px;
  transition: background 0.3s, border-color 0.3s;
}

.site-nav .cta:hover {
  background: rgba(245, 240, 232, 0.05);
  border-color: var(--text-muted);
}

/* ─── BLOG INDEX ─── */
.blog-header {
  padding: 160px 32px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.blog-header .eyebrow {
  font-size: 11px;
  line-height: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.blog-header .eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.blog-header h1 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--text-strong);
  margin-bottom: 16px;
}

.blog-header p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 480px;
}

.blog-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px 160px;
}

.blog-card {
  display: block;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  transition: opacity 0.3s;
}

.blog-card:last-child {
  border-bottom: 1px solid var(--line);
}

.blog-card:hover { opacity: 0.7; }

.blog-card .date {
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 16px;
}

.blog-card h2 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--text-strong);
  margin-bottom: 12px;
}

.blog-card .excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  max-width: 600px;
  margin-bottom: 16px;
}

.blog-card .read-time {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── ARTICLE ─── */
.article-header {
  padding: 160px 32px 0;
  max-width: 680px;
  margin: 0 auto;
}

.article-header .date {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 24px;
}

.article-header h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--text-strong);
  margin-bottom: 20px;
}

.article-header .meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.article-header .meta span { color: var(--text-faint); }

.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 32px 120px;
}

.article-body hr {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 48px 0;
}

.article-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
}

.article-body h2 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--text-strong);
  margin-top: 56px;
  margin-bottom: 24px;
}

.article-body h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--text-strong);
  margin-top: 40px;
  margin-bottom: 16px;
}

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

.article-body em {
  font-style: italic;
}

.article-body blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--text-muted);
}

.article-body code {
  background: rgba(245, 240, 232, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 15px;
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-body li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 8px;
}

.article-cta {
  margin-top: 64px;
  padding: 40px;
  background: var(--bg-2);
  border-radius: 16px;
  border: 1px solid var(--line);
  text-align: center;
}

.article-cta p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.article-cta .btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 100px;
  transition: opacity 0.3s;
}

.article-cta .btn:hover { opacity: 0.85; }

.article-nav {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

.article-nav a {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.article-nav a:hover { color: var(--text-strong); }

/* ─── FOOTER ─── */
.blog-footer {
  padding: 80px 32px 48px;
  border-top: 1px solid var(--line);
  max-width: 1200px;
  margin: 0 auto;
}

.blog-footer .foot-top {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;
}

.blog-footer .wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
}

.blog-footer .wordmark img {
  height: 20px;
  width: auto;
}

.blog-footer .foot-cols {
  display: flex;
  gap: 80px;
}

.blog-footer .foot-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-footer .foot-col a {
  color: var(--text-muted);
  transition: opacity 0.3s;
}

.blog-footer .foot-col a:hover { opacity: 0.6; }

.blog-footer .foot-bot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .site-nav { padding: 0 20px; height: 56px; }
  .site-nav ul { display: none; }
  .blog-header { padding: 120px 20px 60px; }
  .blog-list { padding: 0 20px 120px; }
  .blog-card { padding: 32px 0; }
  .blog-card h2 { font-size: 20px; }
  .article-header { padding: 120px 20px 0; }
  .article-body { padding: 0 20px 80px; }
  .article-body p { font-size: 16px; }
  .article-nav { padding: 0 20px 60px; }
  .blog-footer { padding: 60px 20px 32px; }
  .blog-footer .foot-cols { gap: 40px; }
}
