/* ─── EADEE Blog — 30-blog.css ─── */
:root {
  --bg:        oklch(0.965 0.012 85);
  --bg-2:      oklch(0.945 0.014 82);
  --paper:     oklch(0.99 0.008 90);
  --ink:       oklch(0.20 0.012 60);
  --ink-2:     oklch(0.34 0.012 60);
  --ink-3:     oklch(0.52 0.012 60);
  --ink-4:     oklch(0.74 0.010 70);
  --rule:      oklch(0.86 0.012 75);
  --accent:    oklch(0.58 0.14 35);
  --accent-ink:oklch(0.42 0.12 32);
  --green:     oklch(0.48 0.08 145);
  --green-bg:  oklch(0.94 0.04 145);
  --serif: "Instrument Serif", "Iowan Old Style", "Apple Garamond", Georgia, serif;
  --sans: "Geist", "Söhne", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --shadow-lift: 0 4px 16px -4px oklch(0.20 0.01 60 / 0.14), 0 1px 0 var(--rule);
  --shadow-hover: 0 8px 28px -8px oklch(0.20 0.01 60 / 0.20), 0 1px 0 var(--rule);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01","cv11";
  letter-spacing: -0.003em;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ── Nav ── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px; max-width: 1280px; margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand-word {
  font-family: var(--serif); font-size: 22px; letter-spacing: 0.04em;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-size: 14px;
  transition: color var(--dur-fast) var(--ease-smooth);
}
.nav a:hover { color: var(--ink); }
.topbar-cta { display: flex; align-items: center; gap: 10px; }
.btn-nav {
  appearance: none; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  padding: 9px 16px; border-radius: 999px; font: inherit; font-size: 14px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background var(--dur-fast) var(--ease-smooth);
  will-change: transform;
}
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 8px 24px -8px oklch(0.20 0.01 60 / 0.28); }
.btn-nav:active { transform: translateY(0) scale(0.975); box-shadow: none; transition-duration: var(--dur-fast); }

/* ── Article wrap ── */
.blog-wrap {
  max-width: 720px; margin: 0 auto;
  padding: 48px 24px 80px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3); margin-bottom: 28px;
}
.breadcrumb a { text-decoration: none; color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--ink-4); }

/* Article header */
.art-header { margin-bottom: 36px; }
.art-kw {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.art-header h1 {
  font-family: var(--serif); font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2; color: var(--ink); margin-bottom: 16px; font-weight: 400;
}
.art-meta {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.art-meta strong { color: var(--accent); font-weight: 600; }

/* Article body */
.art-body { font-size: 16px; line-height: 1.78; color: var(--ink); }
.art-body h2 {
  font-family: var(--serif); font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400; line-height: 1.3;
  margin: 52px 0 16px; color: var(--ink);
  padding-top: 24px; border-top: 1px solid var(--rule);
}
.art-body h3 {
  font-size: 17px; font-weight: 600; line-height: 1.4;
  margin: 32px 0 10px; color: var(--ink);
}
.art-body p { margin-bottom: 20px; }
.art-body ul, .art-body ol { margin: 0 0 20px 22px; padding: 0; }
.art-body li { margin-bottom: 7px; }
.art-body strong { font-weight: 600; }
.art-body em { font-style: italic; }
.art-body hr { border: none; border-top: 1px solid var(--rule); margin: 40px 0; }
.art-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.art-body a:hover { color: var(--accent-ink); }

/* Callout tip */
.tip {
  background: var(--paper); border: 1px solid var(--rule);
  border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0;
  padding: 16px 20px; margin: 28px 0; font-size: 14.5px;
}
.tip strong { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }

/* Warning / note box */
.warn {
  background: oklch(0.97 0.03 65); border: 1px solid oklch(0.88 0.06 65);
  border-radius: 8px; padding: 16px 20px; margin: 28px 0; font-size: 14.5px;
}
.warn strong { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: oklch(0.42 0.12 55); }

/* Green check box */
.check-box {
  background: var(--green-bg); border: 1px solid oklch(0.80 0.06 145);
  border-radius: 8px; padding: 16px 20px; margin: 28px 0; font-size: 14.5px;
}
.check-box strong { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); }

/* CTA inline box */
.cta-inline {
  background: var(--ink); color: var(--paper);
  border-radius: 12px; padding: 32px; margin: 48px 0; text-align: center;
}
.cta-inline h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  color: var(--paper); margin-bottom: 8px;
}
.cta-inline p { font-size: 14px; color: oklch(0.74 0.010 70); margin-bottom: 20px; }
.cta-inline a {
  display: inline-block; background: var(--accent); color: var(--paper);
  border-radius: 8px; padding: 12px 28px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}
.cta-inline a:hover { transform: translateY(-2px); opacity: 0.9; }
.cta-feats {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-bottom: 20px;
}
.cta-feats span {
  background: oklch(0.30 0.012 60); color: oklch(0.74 0.010 70);
  font-size: 12px; padding: 4px 12px; border-radius: 20px;
}

/* ── Blog listing page ── */
.blog-listing-wrap {
  max-width: 860px; margin: 0 auto; padding: 56px 24px 80px;
}
.listing-head { margin-bottom: 48px; }
.listing-head .eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.listing-head h1 {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 42px);
  font-weight: 400; color: var(--ink); margin-bottom: 10px;
}
.listing-head p { color: var(--ink-3); font-size: 16px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 18px;
}
.blog-card {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: 12px; padding: 24px 26px;
  text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover {
  border-color: oklch(0.58 0.14 35 / 0.50);
  box-shadow: 0 6px 24px -6px oklch(0.20 0.01 60 / 0.12);
  transform: translateY(-2px);
}
.blog-card .kw {
  font-size: 11px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--accent);
}
.blog-card h2 { font-size: 16px; font-weight: 600; line-height: 1.4; }
.blog-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; flex-grow: 1; }
.blog-card .card-meta {
  font-size: 12px; color: var(--ink-4); margin-top: 4px;
  padding-top: 12px; border-top: 1px solid var(--rule);
  display: flex; gap: 8px; align-items: center;
}
.blog-card .vol {
  background: var(--bg-2); color: var(--ink-3);
  font-size: 11px; padding: 2px 8px; border-radius: 4px;
}

/* ── Footer ── */
.blog-footer {
  border-top: 1px solid var(--rule);
  padding: 24px; text-align: center;
  font-size: 13px; color: var(--ink-3);
}
.blog-footer a { color: var(--accent); text-decoration: none; }
.blog-footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 660px) {
  .nav { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta-inline { padding: 20px 16px; }
  .blog-wrap { padding: 32px 16px 60px; }
  .blog-listing-wrap { padding: 32px 16px 60px; }
}
