/* ==========================================================================
   Klepha — design system & homepage styles
   Fonts: Fraunces (display/serif) + Inter (UI)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --muted: #6b7280;
  --faint: #9ca3af;
  --line: #ececec;
  --line-soft: #f3f4f6;
  --surface: #fafafa;
  --radius: 16px;
  --radius-lg: 22px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.serif { font-family: 'Fraunces', serif; }

/* reusable */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--muted); background: #fff;
}
.pill .ping {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; font-family: inherit;
  padding: 12px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .12s, background .2s, border-color .2s;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #222; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #fafafa; border-color: #ddd; }
.btn:active { transform: scale(0.98); }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--faint);
}
.section-title {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.02em; line-height: 1.05;
  margin-top: 14px;
}
.section-sub {
  margin-top: 16px; max-width: 540px; color: var(--muted); font-size: 16px;
}

/* ---------- NAV ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand-mark { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand-dot { width: 28px; height: 28px; border-radius: 8px; display: block; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-signin { font-size: 14px; color: var(--muted); padding: 8px 6px; }
.nav-signin:hover { color: var(--ink); }

/* ---------- HERO ---------- */
.hero { position: relative; text-align: center; padding: 96px 0 72px; overflow: hidden; }
.glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 1100px; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at center, rgba(99,102,241,0.07), rgba(255,255,255,0) 60%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: clamp(44px, 7vw, 84px); letter-spacing: -0.03em; line-height: 1.02;
  margin-top: 28px;
  background: linear-gradient(180deg, #0a0a0a 35%, #444 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .ital { font-style: italic; }
.brand-pron {
  margin-top: 14px; font-family: 'Fraunces', serif; font-style: italic;
  font-size: clamp(16px, 2vw, 20px); color: var(--faint); letter-spacing: 0.04em;
}
.brand-pron .sep { color: #d4d4d4; margin: 0 7px; }
.hero p.lead {
  margin: 22px auto 0; max-width: 560px; font-size: clamp(16px, 2vw, 19px); color: var(--muted);
}
.hero-cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* fake search bar */
.searchbar {
  margin: 44px auto 0; max-width: 620px;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 8px 8px 20px; box-shadow: 0 12px 40px -16px rgba(0,0,0,0.18);
}
.searchbar svg { flex: 0 0 auto; color: var(--faint); }
.searchbar .ph { flex: 1; text-align: left; color: var(--faint); font-size: 15px; }
.searchbar .ph b { color: var(--ink); font-weight: 500; }
.searchbar .cur { display: inline-block; width: 1px; height: 16px; background: var(--ink); margin-left: 1px; vertical-align: -3px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }

.hero-note { margin-top: 18px; font-size: 13px; color: var(--faint); }

/* ---------- TRUSTED ---------- */
.trusted { padding: 36px 0 8px; }
.trusted p { text-align: center; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 22px; }
.logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 44px; opacity: 0.7; }
.logos span { font-family: 'Fraunces', serif; font-size: 21px; color: #b3b3b3; letter-spacing: -0.01em; }

/* ---------- SECTIONS ---------- */
.section { padding: 96px 0; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 56px; }
.section-head .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- FEATURES ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px;
  background: #fff; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feat:hover { border-color: #e2e2e2; transform: translateY(-3px); box-shadow: 0 18px 50px -28px rgba(0,0,0,0.22); }
.feat-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.feat-ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff;
  display: grid; place-items: center;
}
.feat-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.feat h3 { font-size: 21px; letter-spacing: -0.01em; margin-bottom: 8px; font-weight: 600; }
.feat p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- HOW IT WORKS ---------- */
.steps-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }
.step { position: relative; padding-top: 28px; }
.step .num {
  font-family: 'Fraunces', serif; font-size: 15px; width: 34px; height: 34px;
  border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); margin-bottom: 18px;
}
.step h4 { font-size: 18px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- PRODUCT PREVIEW ---------- */
.preview-card {
  margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; overflow: hidden; box-shadow: 0 30px 80px -40px rgba(0,0,0,0.28);
}
.pv-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.pv-dot { width: 11px; height: 11px; border-radius: 50%; background: #e1e1e1; }
.pv-url { margin-left: 14px; font-size: 12.5px; color: var(--faint); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 5px 14px; }
.pv-body { display: grid; grid-template-columns: 200px 1fr; min-height: 360px; }
.pv-side { border-right: 1px solid var(--line); padding: 22px 16px; }
.pv-side .si { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; color: var(--muted); }
.pv-side .si.active { background: var(--ink); color: #fff; }
.pv-side .si .ic { width: 16px; height: 16px; border-radius: 5px; background: currentColor; opacity: .55; }
.pv-main { padding: 28px; }
.pv-main h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 6px; }
.pv-score { font-family: 'Fraunces', serif; font-size: 40px; letter-spacing: -0.02em; margin-bottom: 22px; }
.pv-score b { color: #16a34a; }
.pv-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.pv-row:last-child { border-bottom: 1px solid var(--line-soft); }
.pv-kw { color: var(--ink); }
.pv-vol { color: var(--faint); font-size: 13px; }
.pv-bar-track { width: 120px; height: 7px; border-radius: 999px; background: #f0f0f0; overflow: hidden; }
.pv-bar-fill { height: 100%; background: var(--ink); border-radius: 999px; }
.pv-badge { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.pv-badge.up { background: #dcfce7; color: #16a34a; }
.pv-badge.gap { background: #ede9fe; color: #6d28d9; }

/* ---------- RESULTS BAND ---------- */
.results { background: var(--ink); color: #fff; }
.results .wrap { padding-top: 80px; padding-bottom: 80px; }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.stat .n { font-family: 'Fraunces', serif; font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.02em; line-height: 1; }
.stat .l { margin-top: 12px; color: rgba(255,255,255,0.6); font-size: 14.5px; }
.results-head { text-align: center; margin-bottom: 56px; }
.results-head h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.02em; }
.results-head p { color: rgba(255,255,255,0.6); margin-top: 14px; }

/* ---------- BRAND / ETYMOLOGY ---------- */
.brand-sec { text-align: center; }
.ety-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; max-width: 680px; margin: 44px auto 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
}
.ety-cell { padding: 30px 26px; }
.ety-greek { font-family: 'Fraunces', serif; font-size: 34px; letter-spacing: -0.01em; margin-bottom: 6px; }
.ety-translit { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); margin-bottom: 12px; }
.ety-mean { font-size: 15px; color: var(--muted); }
.ety-mean b { color: var(--ink); font-weight: 600; }
.ety-plus { display: grid; place-items: center; width: 56px; border-left: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); font-family: 'Fraunces', serif; font-size: 26px; color: var(--faint); background: #fcfcfc; }
.ety-result { margin-top: 24px; font-size: 18px; color: var(--muted); }
.ety-result b { color: var(--ink); font-weight: 600; }

/* ---------- FINAL CTA ---------- */
.cta-final { padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.cta-final .glow { top: -10%; }
.cta-final h2 {
  position: relative; z-index: 1;
  font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(34px, 5.5vw, 60px);
  letter-spacing: -0.025em; line-height: 1.05;
}
.cta-final p { position: relative; z-index: 1; margin: 18px auto 0; max-width: 480px; color: var(--muted); }
.cta-final .hero-cta { position: relative; z-index: 1; }

/* ---------- FOOTER ---------- */
footer { border-top: 1px solid var(--line); padding: 64px 0 0; position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; position: relative; z-index: 1; }
.foot-col h6 { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.foot-col a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 13px; transition: color .2s; }
.foot-col a:hover { color: var(--ink); }
.foot-col a .soon { color: var(--faint); font-size: 12px; }
.foot-social { display: flex; gap: 10px; margin-bottom: 18px; }
.foot-social a { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; margin: 0; }
.foot-social a:hover { background: #f0f0f0; }
.foot-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.foot-mail:hover { color: var(--ink); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 56px; padding: 24px 0 40px; font-size: 13.5px; color: var(--faint); position: relative; z-index: 1; }
.foot-bottom .f-links { display: flex; gap: 26px; }
.foot-bottom .f-links a:hover { color: var(--ink); }
/* giant ghost wordmark */
.foot-watermark {
  position: absolute; left: 0; right: 0; bottom: -3.5vw; z-index: 0;
  text-align: center; line-height: 0.8; pointer-events: none; user-select: none;
  font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: -0.03em;
  font-size: 26vw; color: #f4f4f5; white-space: nowrap;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px) {
  .feat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .results-grid { grid-template-columns: 1fr; gap: 36px; }
  .pv-body { grid-template-columns: 1fr; }
  .pv-side { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .ety-grid { grid-template-columns: 1fr; }
  .ety-plus { width: 100%; border: none; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 8px; }
  .foot-grid { grid-template-columns: 1fr; }
  .nav-signin { display: none; }
}

/* ==========================================================================
   Coming-soon page (single fixed viewport, no scroll)
   ========================================================================== */
body.coming-soon { height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
.coming-soon .glow { position: fixed; top: -25%; }
.cs-nav { position: relative; z-index: 5; flex: 0 0 auto; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; }
.cs-main { position: relative; z-index: 2; flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12px 32px; min-height: 0; }
.cs-main .pill { margin-bottom: 26px; }
.cs-wordmark {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: clamp(58px, 11vw, 120px); letter-spacing: -0.03em; line-height: 0.95;
  background: linear-gradient(180deg, #0a0a0a 30%, #3a3a3a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cs-tagline { margin-top: 20px; font-size: clamp(18px, 2.4vw, 23px); font-weight: 500; letter-spacing: -0.01em; }
.cs-subtag { margin: 12px auto 0; max-width: 460px; color: var(--muted); font-size: 15px; }
.coming-soon .etymology { width: 100%; max-width: 660px; margin-top: 34px; }
.coming-soon .ety-grid { margin-top: 0; }
.cs-foot { position: relative; z-index: 2; flex: 0 0 auto; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 18px 32px 22px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--faint); }
.cs-foot .f-greek { font-family: 'Fraunces', serif; }
@media (max-width: 720px) {
  .coming-soon .nav-links { display: none; }
  .cs-subtag { display: none; }
}
@media (max-height: 720px) {
  .cs-main .pill { margin-bottom: 16px; }
  .cs-subtag { display: none; }
  .coming-soon .etymology { margin-top: 22px; }
  .coming-soon .ety-cell { padding: 16px 22px; }
}

/* ==========================================================================
   Blog — index listing + article reading layout
   ========================================================================== */

/* --- Blog index --- */
.blog-hero { text-align: center; padding: 80px 0 8px; position: relative; overflow: hidden; }
.blog-hero h1 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(38px, 6vw, 60px); letter-spacing: -0.025em; line-height: 1.04; margin-top: 18px; }
.blog-hero p { margin: 16px auto 0; max-width: 520px; color: var(--muted); font-size: 17px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: #fff; display: flex; flex-direction: column; transition: border-color .2s, transform .2s, box-shadow .2s; }
.post-card:hover { border-color: #e2e2e2; transform: translateY(-3px); box-shadow: 0 18px 50px -28px rgba(0,0,0,0.22); }
.post-card .cat { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.post-card h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; flex: 1; }
.post-card .meta { margin-top: 18px; font-size: 12.5px; color: var(--faint); display: flex; gap: 12px; }
.post-card .arrow { margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--ink); }

/* --- Article --- */
.article { max-width: 740px; margin: 0 auto; padding: 0 32px; }
.breadcrumb { font-size: 13px; color: var(--faint); padding: 36px 0 0; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { margin: 0 8px; color: #d4d4d4; }
.article-head { padding: 26px 0 0; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.article-cat { font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--faint); }
.article-head h1 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(32px, 5vw, 50px); letter-spacing: -0.025em; line-height: 1.08; margin: 16px 0 18px; }
.article-dek { font-size: 19px; color: var(--muted); line-height: 1.55; margin-bottom: 24px; }
.article-meta { display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--faint); padding-bottom: 28px; }
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #d4d4d4; }

.prose { font-size: 17px; line-height: 1.75; color: #1f2328; }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 28px; letter-spacing: -0.015em; line-height: 1.2; margin-top: 48px; color: var(--ink); }
.prose h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-top: 34px; color: var(--ink); }
.prose p { color: #2a2f36; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: #d4d4d4; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-top: 8px; }
.prose li::marker { color: var(--faint); }
.prose blockquote { border-left: 3px solid var(--ink); padding: 4px 0 4px 22px; margin-left: 0; font-family: 'Fraunces', serif; font-style: italic; font-size: 21px; color: var(--ink); line-height: 1.45; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }
.prose pre { background: var(--ink); color: #f5f5f5; border-radius: 12px; padding: 20px 22px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.prose pre code { background: none; border: none; color: inherit; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); font-weight: 600; }
.prose figure { margin: 0; }
.prose figcaption { font-size: 13.5px; color: var(--faint); text-align: center; margin-top: 10px; }

/* key-takeaways / callout box */
.callout { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 24px 26px; }
.callout h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 12px; }
.callout ul { margin: 0; padding-left: 20px; }
.callout li { margin-top: 8px; color: #2a2f36; }

/* FAQ */
.faq { margin-top: 20px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: 'Fraunces', serif; font-size: 22px; color: var(--faint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* in-article CTA */
.article-cta { margin: 56px 0; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; text-align: center; background: var(--surface); }
.article-cta h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 26px; letter-spacing: -0.015em; margin-bottom: 10px; }
.article-cta p { color: var(--muted); margin-bottom: 22px; max-width: 440px; margin-left: auto; margin-right: auto; }

/* related posts */
.related { border-top: 1px solid var(--line); margin-top: 64px; padding-top: 40px; }
.related h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: border-color .2s, transform .2s; }
.related-card:hover { border-color: #ddd; transform: translateY(-2px); }
.related-card .cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); }
.related-card h5 { font-size: 16px; font-weight: 600; margin-top: 8px; line-height: 1.3; letter-spacing: -0.01em; }

@media (max-width: 880px) {
  .post-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
