/* ============================================================
   BLOCKFROST GHOST THEME — style.css
   Brand Guide v2.0 "Crystalline Frost" + Neue-inspired dark UI
   ============================================================ */

/* ===== BRAND TOKENS ===== */
:root {
  --frost-navy: #0B1628;
  --frost-white: #F0F4F8;
  --prism-blue: #7DD3FC;
  --prism-violet: #818CF8;
  --prism-rose: #FDA4AF;
  --ice-teal: #5EEAD4;
  --frost-cyan: #0EA5E9;
  --glacier: #38BDF8;
  --warm-gold: #FBBF24;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --slate-950: #020617;
  --card-bg: #111827;
  --card-border: rgba(255,255,255,0.06);
  --font-display: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --gradient-prismatic: linear-gradient(135deg, #0EA5E9, #7DD3FC, #5EEAD4);
  --nav-link-color: #94A3B8;
  --nav-accent: #FFFFFF;
  --nav-hover-bg: #1E293B;
  --hero-heading-color: #FFFFFF;
  --post-hero-text: #FFFFFF;
  --post-hero-align: left;
  --content-width: 720px;
  --layout-width: 1100px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--slate-300);
  background: var(--frost-navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== NAVIGATION ===== */
.site-nav {
  position: relative;
  z-index: 100;
  background: color-mix(in srgb, var(--frost-navy) 85%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  padding: 0 3rem;
}

/* Transparent nav on blog posts */
.site-nav.nav-transparent {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}
.nav-left {
  display: flex;
  align-items: center;
}
.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo svg { width: 28px; height: 28px; }
.nav-logo-img { height: 28px; width: auto; display: block; }
.nav-wordmark-img { height: var(--wordmark-height, 22px); width: auto; display: block; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--nav-accent);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav-links a {
  color: var(--nav-link-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--nav-accent); background: var(--nav-hover-bg); }
.nav-links a.nav-current { color: var(--nav-accent); background: var(--nav-hover-bg); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-search {
  background: none;
  border: none;
  padding: 0.4rem;
  color: var(--slate-400);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}
.nav-search:hover { color: var(--slate-200); }
.nav-signin {
  color: var(--nav-link-color);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.nav-signin:hover { color: var(--nav-accent); }
.nav-subscribe-btn {
  display: inline-flex;
  align-items: center;
  background: white;
  color: #0F172A;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-body);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}
.nav-subscribe-btn:hover { opacity: 0.85; }
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--frost-cyan);
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-body);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}
.nav-cta-btn:hover { opacity: 0.85; }
.nav-hamburger {
  display: none;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  color: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-hamburger .close-icon { display: none; }
.nav-hamburger.is-open .hamburger-icon { display: none; }
.nav-hamburger.is-open .close-icon { display: block; }

/* Mobile menu */
.mobile-menu {
  display: none;
  padding: 0.75rem 2rem 1.25rem;
  border-top: 1px solid var(--card-border);
}
.mobile-menu.is-open { display: block; }
.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu-links a {
  display: block;
  color: var(--nav-link-color);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  transition: all 0.15s ease;
}
.mobile-menu-links a:hover { color: var(--nav-accent); background: var(--nav-hover-bg); }
.mobile-menu-links a.nav-current { color: var(--nav-accent); background: var(--nav-hover-bg); }

/* ===== HERO (index page) ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--frost-navy);
}
/* Canvas mosaic background */
.hero-mosaic {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-mosaic canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin: 0 auto;
}
.hero-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-icon img {
  max-height: 56px;
  max-width: 56px;
  width: auto;
  height: auto;
  display: block;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--hero-heading-color);
  margin-bottom: 1.25rem;
}
.hero h1 .gradient-text {
  background: var(--gradient-prismatic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.0625rem;
  color: var(--slate-400);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* Subscribe form */
.subscribe-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 9999px;
  padding: 5px 5px 5px 8px;
  transition: border-color 0.2s ease;
}
.subscribe-form:focus-within { border-color: rgba(14,165,233,0.3); }
.subscribe-form input[type="email"] {
  flex: 1;
  background: none;
  border: none;
  padding: 0.7rem 1rem;
  color: white;
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
}
.subscribe-form input[type="email"]::placeholder { color: var(--slate-500); }
.subscribe-form button {
  background: white;
  color: var(--frost-navy);
  border: none;
  border-radius: 9999px;
  padding: 0.7rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.subscribe-form button:hover { background: var(--slate-200); }

/* Hero tag pills */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-300);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.hero-tag-pill:hover {
  border-color: var(--frost-cyan);
  color: var(--frost-cyan);
  transform: translateY(-2px);
}

/* ===== BLOG SECTION ===== */
.blog-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}

/* ===== POST CARDS ===== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.post-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.post-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--slate-900);
}
.post-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: white;
  margin-bottom: 0.75rem;
}
.post-card-excerpt {
  font-size: 0.875rem;
  color: var(--slate-400);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}
.post-card-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-300);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.3rem 0.65rem;
}
.post-card-date {
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding-top: 3rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}
.pagination a {
  color: white;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.pagination a:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
}

/* ===== ARTICLE HEADER (post/page) ===== */
.article-header {
  padding: 4rem 2rem 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.article-header::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(14,165,233,0.1) 0%, rgba(125,211,252,0.05) 30%, transparent 65%);
  pointer-events: none;
  filter: blur(40px);
}
.article-header-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-width);
  margin: 0 auto;
}
.article-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-300);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  margin-bottom: 1.75rem;
}
.article-header h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: white;
  margin-bottom: 1.25rem;
}
.article-excerpt {
  font-size: 1.0625rem;
  color: var(--slate-400);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.article-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
}
.article-meta-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--slate-800);
  overflow: hidden;
  flex-shrink: 0;
}
.article-meta-avatar img { width: 100%; height: 100%; object-fit: cover; }
.article-meta-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  text-align: left;
}
.article-meta-author {
  font-size: 0.8125rem;
  font-weight: 600;
  color: white;
}
.article-meta-author a { color: white; }
.article-meta-date {
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* ===== FEATURED IMAGE ===== */
.featured-image-wrap {
  max-width: 900px;
  margin: 2.5rem auto 0;
  padding: 0 2rem;
}
.featured-image {
  width: 100%;
  border-radius: 16px;
  display: block;
  border: 1px solid var(--card-border);
}

/* ===== ARTICLE BODY (Ghost content) ===== */
.article-body,
.gh-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.article-body p,
.gh-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--slate-300);
  margin-bottom: 1.5rem;
}
.article-body h2,
.gh-content h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.article-body h3,
.gh-content h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: white;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.article-body ul,
.gh-content ul,
.article-body ol,
.gh-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.article-body li,
.gh-content li {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--slate-300);
  margin-bottom: 0.5rem;
}
.article-body li::marker,
.gh-content li::marker { color: var(--frost-cyan); }
.article-body a,
.gh-content a {
  color: var(--frost-cyan);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid color-mix(in srgb, var(--frost-cyan) 25%, transparent);
  transition: border-color 0.15s ease;
}
.article-body a:hover,
.gh-content a:hover { border-bottom-color: var(--frost-cyan); }

/* Ghost content cards */
.gh-content .kg-card { margin: 2rem 0; }
.gh-content .kg-image-card img {
  border-radius: 12px;
  border: 1px solid var(--card-border);
}
.gh-content .kg-width-wide { max-width: 900px; margin-left: auto; margin-right: auto; }
.gh-content .kg-width-full {
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.gh-content figcaption {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-top: 0.75rem;
}
.gh-content blockquote {
  border-left: 3px solid var(--frost-cyan);
  padding-left: 1.25rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--slate-400);
}
.gh-content pre {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
}
.gh-content code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}
.gh-content p code {
  background: rgba(255,255,255,0.06);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.875em;
}
.gh-content hr {
  border: none;
  height: 1px;
  background: var(--card-border);
  margin: 3rem 0;
}

/* Tables */
.gh-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2.5rem 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--card-border);
}
.gh-content thead th {
  background: var(--card-bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-300);
  padding: 0.875rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}
.gh-content tbody td {
  padding: 0.875rem 1.25rem;
  color: var(--slate-400);
  border-bottom: 1px solid var(--card-border);
  vertical-align: top;
}
.gh-content tbody tr:last-child td {
  border-bottom: none;
}
.gh-content tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--card-bg) 40%, transparent);
}
.gh-content tbody tr:hover {
  background: color-mix(in srgb, var(--card-bg) 70%, transparent);
}
.gh-content table a {
  color: var(--frost-cyan);
}

/* Table mobile scroll */
@media (max-width: 900px) {
  .gh-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    font-size: 0.8125rem;
  }
  .gh-content thead th,
  .gh-content tbody td {
    padding: 0.75rem 1rem;
  }
}

/* Callout box */
.callout {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--frost-cyan);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
}
.callout p { color: var(--slate-400); margin-bottom: 0.5rem; font-size: 0.9375rem; }
.callout p:last-child { margin-bottom: 0; }
.callout a { color: var(--frost-cyan); border-bottom-color: color-mix(in srgb, var(--frost-cyan) 25%, transparent); }

/* Support section */
.support-block {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
}
.support-block h2 { margin-top: 0; font-size: 1.25rem; margin-bottom: 0.5rem; color: white; }
.support-block p { font-size: 0.9375rem; color: var(--slate-400); }
.support-links {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.support-links li { margin-bottom: 0; }
.support-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-300);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  border-bottom: none;
  transition: all 0.15s ease;
}
.support-links a:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: white;
}

/* ===== POST HERO (full-viewport featured image) ===== */
.post-hero {
  position: relative;
  width: 100%;
  margin-top: -72px;
}
.post-hero-image {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}
.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 30%,
    color-mix(in srgb, var(--frost-navy) 50%, transparent) 60%,
    color-mix(in srgb, var(--frost-navy) 85%, transparent) 75%,
    var(--frost-navy) 100%
  );
  pointer-events: none;
}
.post-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  text-align: var(--post-hero-align);
  padding: 0 3rem 4rem;
}
.post-hero-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--post-hero-text);
  opacity: 0.85;
  border: 1px solid color-mix(in srgb, var(--post-hero-text) 25%, transparent);
  border-radius: 8px;
  padding: 0.35rem 0.8rem;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(4px);
}
.post-hero-title {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--post-hero-text);
  margin-bottom: 1.25rem;
}
.post-hero-excerpt {
  font-size: 1.0625rem;
  color: var(--post-hero-text);
  opacity: 0.7;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 0 2rem;
}
.post-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.15rem;
  background: color-mix(in srgb, var(--post-hero-text) 8%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid color-mix(in srgb, var(--post-hero-text) 12%, transparent);
  border-radius: 14px;
}
.post-hero-meta-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--post-hero-text) 10%, transparent);
  overflow: hidden;
  flex-shrink: 0;
}
.post-hero-meta-avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-meta-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  text-align: left;
}
.post-hero-meta-author {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--post-hero-text);
}
.post-hero-meta-author a { color: var(--post-hero-text); }
.post-hero-meta-date {
  font-size: 0.75rem;
  color: var(--post-hero-text);
  opacity: 0.55;
}
.post-hero-scroll {
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
  color: var(--post-hero-text);
  opacity: 0.4;
  text-align: center;
  animation: heroScrollBounce 2s ease-in-out infinite;
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===== POST THREE-COLUMN LAYOUT ===== */
.post-layout {
  display: grid;
  grid-template-columns: 60px 1fr 220px;
  gap: 0;
  max-width: var(--layout-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* Social share sidebar (left) */
.post-share {
  position: relative;
}
.post-share-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 3rem;
}
.post-share-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 0.25rem;
}
.post-share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--slate-400);
  background: none;
  border: 1px solid var(--card-border);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}
.post-share-link:hover {
  color: white;
  background: var(--card-bg);
  border-color: rgba(255,255,255,0.15);
}
.post-share-copy.copied {
  color: var(--ice-teal);
  border-color: var(--ice-teal);
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: color-mix(in srgb, var(--frost-navy) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--slate-300);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}
.scroll-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-to-top:hover {
  background: var(--frost-cyan);
  color: #FFFFFF;
  border-color: var(--frost-cyan);
}

/* Article content (center) */
.post-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  width: 100%;
}

/* Table of contents sidebar (right) */
.post-toc {
  position: relative;
}
.post-toc-sticky {
  position: sticky;
  top: 100px;
  padding-top: 3rem;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.post-toc-title {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 1rem;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid var(--card-border);
}
.toc-item {
  margin: 0;
}
.toc-link {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--slate-400);
  text-decoration: none;
  padding: 0.35rem 0 0.35rem 1rem;
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: all 0.15s ease;
}
.toc-link:hover {
  color: white;
}
.toc-link.is-active {
  color: var(--frost-cyan);
  border-left-color: var(--frost-cyan);
}
.toc-h3 .toc-link {
  padding-left: 1.75rem;
  font-size: 0.75rem;
}

/* Hide scrollbar on TOC */
.post-toc-sticky::-webkit-scrollbar { width: 0; }
.post-toc-sticky { scrollbar-width: none; }

/* ===== DIVIDER ===== */
.article-divider {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}
.article-divider-inner {
  height: 1px;
  background: var(--card-border);
}

/* ===== READ MORE / RELATED POSTS ===== */
.read-more {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.read-more-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}
.read-more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.read-more-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.read-more-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.read-more-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--slate-900);
}
.read-more-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.read-more-card-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: white;
}
.read-more-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--slate-400);
  margin-top: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.read-more-card-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.read-more-card-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-300);
  border: 1px solid var(--card-border);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}
.read-more-card-date {
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* ===== TAG / AUTHOR ARCHIVE HEADERS ===== */
.archive-header {
  padding: 4rem 2rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.archive-header::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(14,165,233,0.08) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(40px);
}
.archive-header-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}
.archive-header h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: white;
  margin-bottom: 0.75rem;
}
.archive-header p {
  font-size: 1rem;
  color: var(--slate-400);
  line-height: 1.7;
}
.archive-header .author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 2px solid var(--card-border);
}
.archive-header .author-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ===== ERROR PAGE ===== */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 4rem 2rem;
}
.error-code {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-prismatic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}
.error-message {
  font-size: 1.25rem;
  color: var(--slate-400);
  margin-bottom: 2rem;
}
.error-link {
  color: white;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.15s ease;
}
.error-link:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); }

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 3.5rem 2rem 2.5rem;
  margin-top: 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.footer-logo svg { width: 24px; height: 24px; }
.footer-logo-img { height: 24px; width: auto; display: block; }
.footer-wordmark-img { height: var(--wordmark-footer-height, 18px); width: auto; display: block; }
.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: white;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.footer-tagline {
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.5;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}
.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col-links a {
  color: var(--slate-400);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.footer-col-links a:hover { color: white; }
.footer-col-links .ext-arrow { font-size: 0.7rem; opacity: 0.5; }
.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copyright {
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr; gap: 1rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero { min-height: 90vh; padding: 4rem 1.5rem 3rem; }
  .hero-tag-pill { font-size: 0.75rem; padding: 0.4rem 1rem; }
  .blog-section { padding: 2.5rem 1.5rem 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .site-nav { padding: 0 1.5rem; }
  .nav-inner { height: 60px; }
  .nav-center { display: none; }
  .nav-signin { display: none; }
  .nav-subscribe-btn { display: none; }
  .nav-cta-btn { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { padding: 0.75rem 1.5rem 1.25rem; }
  .subscribe-form { flex-direction: column; border-radius: 24px; padding: 5px; }
  .subscribe-form button { border-radius: 9999px; margin-top: 2px; }
  .article-header h1 { font-size: 2rem; }
  .article-header { padding: 3rem 1.5rem 2rem; }
  .article-body, .gh-content { padding: 2rem 1.5rem 3rem; }
  .read-more-grid { grid-template-columns: 1fr; }
  .featured-image-wrap { padding: 0 1.5rem; }
  .archive-header h1 { font-size: 2rem; }

  /* Post hero responsive */
  .post-hero { margin-top: -60px; }
  .post-hero-title { font-size: 2.25rem; }
  .post-hero-content { padding: 0 1.5rem 0; max-width: 100%; }
  .post-hero-image { min-height: 85vh; }
  .post-hero-overlay {
    background: linear-gradient(
      to bottom,
      color-mix(in srgb, var(--frost-navy) 40%, transparent) 0%,
      color-mix(in srgb, var(--frost-navy) 65%, transparent) 15%,
      color-mix(in srgb, var(--frost-navy) 85%, transparent) 35%,
      var(--frost-navy) 55%
    );
  }
  .post-hero-scroll { display: none; }

  /* Three-column → single column on mobile */
  .post-layout {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .post-share {
    order: 1;
    padding: 0 1.5rem;
  }
  .post-toc {
    order: 2;
    padding: 0 1.5rem;
  }
  .post-toc-sticky {
    position: relative;
    top: auto;
    max-height: none;
    overflow-y: visible;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--card-border);
  }
  .post-content {
    order: 3;
    padding: 2rem 1.5rem 3rem;
  }
  .post-share-sticky {
    position: relative;
    top: auto;
    flex-direction: row;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--card-border);
    gap: 0.75rem;
  }
  .post-share-label {
    margin-bottom: 0;
    margin-right: 0.5rem;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: 60px 1fr; }
  .post-toc {
    grid-column: 1 / -1;
    padding: 0 2rem;
  }
  .post-toc-sticky {
    position: relative;
    top: auto;
    max-height: none;
    overflow-y: visible;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--card-border);
  }
}
@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ===== LIGHT MODE ===== */
body.light-mode {
  --frost-navy: #FFFFFF;
  --frost-white: #0B1628;
  --card-bg: #F8FAFC;
  --card-border: rgba(0,0,0,0.08);
  --slate-300: #334155;
  --slate-400: #64748B;
  --slate-500: #94A3B8;
  --slate-800: #E2E8F0;
  --slate-900: #F1F5F9;
  --nav-accent: #0F172A;
  --hero-heading-color: #0F172A;
  color: #334155;
  background: #FFFFFF;
}

/* Nav — light mode */
body.light-mode .site-nav {
  background: rgba(255,255,255,0.85);
  border-bottom-color: rgba(0,0,0,0.08);
}
body.light-mode .nav-logo-text { color: #0F172A; }
body.light-mode .nav-links a { color: var(--nav-link-color); }
body.light-mode .nav-links a:hover { color: var(--nav-accent); background: var(--nav-hover-bg); }
body.light-mode .nav-links a.nav-current { color: var(--nav-accent); background: var(--nav-hover-bg); }
body.light-mode .nav-search { color: #64748B; }
body.light-mode .nav-search:hover { color: #0F172A; }
body.light-mode .nav-signin { color: #64748B; }
body.light-mode .nav-signin:hover { color: #0F172A; }
body.light-mode .nav-subscribe-btn {
  background: #0F172A;
  color: white;
}
body.light-mode .nav-hamburger {
  background: rgba(0,0,0,0.06);
  color: #0F172A;
}
body.light-mode .mobile-menu { border-top-color: rgba(0,0,0,0.08); }
body.light-mode .mobile-menu-links a { color: #64748B; }
body.light-mode .mobile-menu-links a:hover { color: var(--nav-accent); background: var(--nav-hover-bg); }
body.light-mode .mobile-menu-links a.nav-current { color: var(--nav-accent); background: var(--nav-hover-bg); }

/* Hero — light mode */
body.light-mode .hero {
  background: #FFFFFF;
}
body.light-mode .hero h1 { color: #0F172A; }
body.light-mode .hero p { color: #64748B; }
body.light-mode .hero-tag-pill {
  background: #F8FAFC;
  border-color: rgba(0,0,0,0.1);
  color: #475569;
}
body.light-mode .hero-tag-pill:hover {
  border-color: var(--frost-cyan);
  color: var(--frost-cyan);
}

/* Subscribe form — light mode */
body.light-mode .subscribe-form {
  background: #F1F5F9;
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .subscribe-form:focus-within { border-color: rgba(14,165,233,0.4); }
body.light-mode .subscribe-form input[type="email"] { color: #0F172A; }
body.light-mode .subscribe-form input[type="email"]::placeholder { color: #94A3B8; }
body.light-mode .subscribe-form button {
  background: #0F172A;
  color: white;
}
body.light-mode .subscribe-form button:hover { background: #1E293B; }

/* Cards — light mode */
body.light-mode .post-card {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .post-card:hover {
  border-color: rgba(0,0,0,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
body.light-mode .post-card-image { background: #F1F5F9; }
body.light-mode .post-card-title { color: #0F172A; }
body.light-mode .post-card-excerpt { color: #64748B; }
body.light-mode .post-card-tag {
  color: #334155;
  border-color: rgba(0,0,0,0.12);
}
body.light-mode .post-card-date { color: #94A3B8; }

/* Pagination — light mode */
body.light-mode .pagination { color: #94A3B8; }
body.light-mode .pagination a {
  color: #0F172A;
  background: #F8FAFC;
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .pagination a:hover {
  border-color: rgba(0,0,0,0.15);
  background: rgba(0,0,0,0.04);
}

/* Section label — light mode */
body.light-mode .section-label { color: #94A3B8; }

/* Article header — light mode */
body.light-mode .article-header::before {
  background: radial-gradient(ellipse at center, rgba(14,165,233,0.06) 0%, rgba(125,211,252,0.03) 30%, transparent 65%);
}
body.light-mode .article-tag {
  color: #334155;
  border-color: rgba(0,0,0,0.12);
}
body.light-mode .article-header h1 { color: #0F172A; }
body.light-mode .article-excerpt { color: #64748B; }
body.light-mode .article-meta {
  background: #F8FAFC;
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .article-meta-avatar { background: #E2E8F0; }
body.light-mode .article-meta-author { color: #0F172A; }
body.light-mode .article-meta-author a { color: #0F172A; }
body.light-mode .article-meta-date { color: #94A3B8; }

/* Featured image — light mode */
body.light-mode .featured-image { border-color: rgba(0,0,0,0.08); }

/* Article body — light mode */
body.light-mode .article-body p,
body.light-mode .gh-content p { color: #334155; }
body.light-mode .article-body h2,
body.light-mode .gh-content h2 { color: #0F172A; }
body.light-mode .article-body h3,
body.light-mode .gh-content h3 { color: #0F172A; }
body.light-mode .article-body li,
body.light-mode .gh-content li { color: #334155; }
body.light-mode .gh-content blockquote { color: #64748B; }
body.light-mode .gh-content pre {
  background: #F8FAFC;
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .gh-content p code {
  background: rgba(0,0,0,0.06);
}
body.light-mode .gh-content hr { background: rgba(0,0,0,0.08); }
body.light-mode .gh-content .kg-image-card img { border-color: rgba(0,0,0,0.08); }
body.light-mode .gh-content figcaption { color: #94A3B8; }

/* Tables — light mode */
body.light-mode .gh-content table {
  border-color: rgba(0,0,0,0.1);
}
body.light-mode .gh-content thead th {
  background: #F8FAFC;
  color: #334155;
  border-bottom-color: rgba(0,0,0,0.1);
}
body.light-mode .gh-content tbody td {
  color: #475569;
  border-bottom-color: rgba(0,0,0,0.06);
}
body.light-mode .gh-content tbody tr:nth-child(even) {
  background: rgba(0,0,0,0.02);
}
body.light-mode .gh-content tbody tr:hover {
  background: rgba(0,0,0,0.04);
}

/* Callout — light mode */
body.light-mode .callout {
  background: #F8FAFC;
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .callout p { color: #64748B; }

/* Support block — light mode */
body.light-mode .support-block {
  background: #F8FAFC;
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .support-block h2 { color: #0F172A; }
body.light-mode .support-block p { color: #64748B; }
body.light-mode .support-links a {
  color: #334155;
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.1);
}
body.light-mode .support-links a:hover {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.18);
  color: #0F172A;
}

/* Divider — light mode */
body.light-mode .article-divider-inner { background: rgba(0,0,0,0.08); }

/* Read more — light mode */
body.light-mode .read-more-label { color: #94A3B8; }
body.light-mode .read-more-card {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .read-more-card:hover {
  border-color: rgba(0,0,0,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
body.light-mode .read-more-card img { background: #F1F5F9; }
body.light-mode .read-more-card-title { color: #0F172A; }
body.light-mode .read-more-card-excerpt { color: #64748B; }
body.light-mode .read-more-card-tag {
  color: #334155;
  border-color: rgba(0,0,0,0.12);
}
body.light-mode .read-more-card-date { color: #94A3B8; }

/* Post hero — light mode — overlay now auto-derives from --frost-navy, no override needed */

/* Post share — light mode */
body.light-mode .post-share-link {
  color: #64748B;
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .post-share-link:hover {
  color: #0F172A;
  background: #F8FAFC;
  border-color: rgba(0,0,0,0.15);
}

/* Post TOC — light mode */
body.light-mode .toc-list { border-left-color: rgba(0,0,0,0.08); }
body.light-mode .toc-link { color: #64748B; }
body.light-mode .toc-link:hover { color: #0F172A; }
body.light-mode .toc-link.is-active {
  color: var(--frost-cyan);
  border-left-color: var(--frost-cyan);
}
body.light-mode .post-share-sticky { border-bottom-color: rgba(0,0,0,0.08); }

/* Scroll to top — light mode */
body.light-mode .scroll-to-top {
  background: rgba(255,255,255,0.85);
  color: #64748B;
  border-color: rgba(0,0,0,0.1);
}
body.light-mode .scroll-to-top:hover {
  background: var(--frost-cyan);
  color: #FFFFFF;
  border-color: var(--frost-cyan);
}

/* Archive header — light mode */
body.light-mode .archive-header::before {
  background: radial-gradient(ellipse at center, rgba(14,165,233,0.05) 0%, transparent 60%);
}
body.light-mode .archive-header h1 { color: #0F172A; }
body.light-mode .archive-header p { color: #64748B; }
body.light-mode .archive-header .author-avatar { border-color: rgba(0,0,0,0.08); }

/* Error page — light mode */
body.light-mode .error-message { color: #64748B; }
body.light-mode .error-link {
  color: #0F172A;
  background: #F8FAFC;
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .error-link:hover {
  border-color: rgba(0,0,0,0.15);
  background: rgba(0,0,0,0.04);
}

/* Footer — light mode */
body.light-mode .site-footer { border-top-color: rgba(0,0,0,0.08); }
body.light-mode .footer-logo-text { color: #0F172A; }
body.light-mode .footer-tagline { color: #94A3B8; }
body.light-mode .footer-col-title { color: #0F172A; }
body.light-mode .footer-col-links a { color: #64748B; }
body.light-mode .footer-col-links a:hover { color: #0F172A; }
body.light-mode .footer-bottom { border-top-color: rgba(0,0,0,0.08); }
body.light-mode .footer-copyright { color: #94A3B8; }
