/* VibeLab Group — blog post components (the "vlg-" system the GHL posts were
   written in), merged from the four original posts into one stylesheet.
   Loaded after site.css on /blog pages only. */

.vlg-post { font-family: var(--font-main); background: #040c1a; color: #c8d6e5; line-height: 1.7; -webkit-font-smoothing: antialiased; position: relative; z-index: 1; }
.vlg-post *, .vlg-post *::before, .vlg-post *::after { box-sizing: border-box; }

/* ── HERO ── */
.vlg-hero {
  position: relative; text-align: center; overflow: hidden;
  background: linear-gradient(160deg, #0a1628 0%, #040c1a 55%, #020810 100%);
  padding: 150px 24px 72px; /* extra top padding clears the fixed nav */
  border-bottom: 1px solid rgba(14,165,233,0.10);
}
.vlg-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 50% 0%, rgba(14,165,233,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 35% 25% at 80% 90%, rgba(6,182,212,0.05) 0%, transparent 60%);
}
.vlg-waves { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0.5; }
.vlg-waves svg { position: absolute; width: 120%; left: -10%; top: 0; }
.vlg-hero-inner { position: relative; max-width: 800px; margin: 0 auto; }
.vlg-crumbs { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: #556677; margin-bottom: 18px; }
.vlg-crumbs a { color: #8899aa; text-decoration: none; }
.vlg-crumbs a:hover { color: #38bdf8; }
.vlg-crumbs span[aria-hidden] { margin: 0 8px; opacity: 0.6; }
.vlg-section-tag {
  font-family: var(--font-mono); font-size: 0.70rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #0ea5e9; margin-bottom: 20px; display: block;
}
.vlg-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: #eef2f7; margin-bottom: 24px; }
.vlg-hero h1 em {
  font-style: normal; background: linear-gradient(90deg, #38bdf8, #0ea5e9, #22d3ee);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.vlg-hero-meta { font-size: 0.82rem; font-weight: 500; color: #8899aa; letter-spacing: 0.04em; margin-bottom: 32px; }
.vlg-hero-meta a { color: #8899aa; }
.vlg-hero-lead { font-size: 1.08rem; font-weight: 400; color: #8899aa; max-width: 640px; margin: 0 auto; line-height: 1.78; }

/* ── BODY ── */
.vlg-body { max-width: 760px; margin: 0 auto; padding: 64px 24px 80px; }
.vlg-post p { font-size: 1rem; font-weight: 400; color: #c8d6e5; line-height: 1.82; margin: 0 0 24px; }
.vlg-post p strong { font-weight: 700; color: #eef2f7; }
.vlg-post h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 800; letter-spacing: -0.025em; color: #eef2f7; margin: 56px 0 16px; line-height: 1.25; }
.vlg-post h2 .accent { color: #38bdf8; }
.vlg-post h3 { font-size: 1.05rem; font-weight: 700; color: #eef2f7; margin: 32px 0 10px; letter-spacing: -0.01em; }
.vlg-body a { color: #38bdf8; }

/* ── Pull Quote ── */
.vlg-pullquote { background: linear-gradient(135deg, #0d1d38, #0a1628); border-left: 3px solid #0ea5e9; border-radius: 0 12px 12px 0; padding: 28px 32px; margin: 40px 0; position: relative; }
.vlg-pullquote::before { content: '"'; position: absolute; top: -8px; left: 24px; font-size: 5rem; line-height: 1; color: rgba(14,165,233,0.15); font-family: Georgia, serif; }
.vlg-pullquote p { font-size: 1.12rem; font-weight: 600; color: #eef2f7; font-style: italic; line-height: 1.65; margin: 0; }

/* ── Stat Grid ── */
.vlg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 16px; margin: 40px 0; }
.vlg-stat-card { background: linear-gradient(135deg, #0d1d38, #0a1628); border: 1px solid rgba(14,165,233,0.09); border-radius: 16px; padding: 28px 22px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.vlg-stat-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.25); border-color: rgba(14,165,233,0.18); }
.vlg-stat-number { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.035em; background: linear-gradient(90deg, #38bdf8, #22d3ee); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 8px; }
.vlg-stat-label { font-size: 0.80rem; font-weight: 500; color: #8899aa; line-height: 1.45; }
.vlg-stat-source { font-family: var(--font-mono); font-size: 0.62rem; color: #556677; margin-top: 8px; letter-spacing: 0.04em; }

/* ── Two-column comparison ── */
.vlg-compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(14,165,233,0.10); border-radius: 16px; overflow: hidden; margin: 36px 0; }
.vlg-compare-header { background: rgba(14,165,233,0.08); padding: 14px 22px; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #0ea5e9; border-bottom: 1px solid rgba(14,165,233,0.10); }
.vlg-compare-header:first-child { border-right: 1px solid rgba(14,165,233,0.10); }
.vlg-compare-cell { padding: 18px 22px; border-bottom: 1px solid rgba(14,165,233,0.06); font-size: 0.91rem; color: #c8d6e5; line-height: 1.6; }
.vlg-compare-cell:nth-child(odd) { border-right: 1px solid rgba(14,165,233,0.06); }
.vlg-compare-cell:last-child, .vlg-compare-cell:nth-last-child(2) { border-bottom: none; }
.vlg-compare-cell strong { color: #eef2f7; display: block; margin-bottom: 3px; font-size: 0.88rem; }
.vlg-compare-cell.old strong { color: #fb7185; }
.vlg-compare-cell.new strong { color: #34d399; }
@media (max-width: 560px) { .vlg-compare { grid-template-columns: 1fr; } .vlg-compare-header:first-child, .vlg-compare-cell:nth-child(odd) { border-right: none; } }

/* ── Checklist ── */
.vlg-checklist { list-style: none; padding: 0; margin: 24px 0 32px; }
.vlg-checklist li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; font-size: 0.97rem; color: #c8d6e5; line-height: 1.65; }
.vlg-check-icon { flex-shrink: 0; width: 24px; height: 24px; background: rgba(14,165,233,0.10); border: 1px solid rgba(14,165,233,0.25); border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.vlg-check-icon svg { width: 13px; height: 13px; stroke: #38bdf8; stroke-width: 2.5; fill: none; }
.vlg-checklist li strong { color: #eef2f7; font-weight: 600; }

/* ── Highlight / Warning boxes ── */
.vlg-highlight, .vlg-warning { border-radius: 16px; padding: 30px 36px; margin: 40px 0; border: 1px solid rgba(14,165,233,0.14); }
.vlg-highlight { background: linear-gradient(135deg, rgba(14,165,233,0.07), rgba(6,182,212,0.03)); }
.vlg-warning { background: linear-gradient(135deg, rgba(14,165,233,0.06), rgba(6,182,212,0.03)); border-color: rgba(14,165,233,0.15); }
.vlg-highlight .vlg-section-tag, .vlg-warning .vlg-section-tag { margin-bottom: 12px; }
.vlg-highlight p, .vlg-warning p { margin-bottom: 0; }
.vlg-highlight p:not(:last-child), .vlg-warning p:not(:last-child) { margin-bottom: 14px; }

/* ── Process Steps ── */
.vlg-steps { margin: 32px 0; display: flex; flex-direction: column; }
.vlg-step { display: flex; gap: 20px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid rgba(14,165,233,0.06); }
.vlg-step:last-child { border-bottom: none; }
.vlg-step-num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #0ea5e9, #06b6d4); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; color: #020810; margin-top: 2px; }
.vlg-step-content h3 { margin-top: 0; margin-bottom: 6px; }
.vlg-step-content p { margin-bottom: 0; font-size: 0.95rem; }

/* ── Use cases ── */
.vlg-use-cases { display: flex; flex-direction: column; margin: 36px 0; }
.vlg-use-case { display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid rgba(14,165,233,0.06); }
.vlg-use-case:last-child { border-bottom: none; }
.vlg-use-case-num { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(6,182,212,0.08)); border: 1px solid rgba(14,165,233,0.20); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.vlg-use-case-content h3 { margin: 0 0 6px; font-size: 1rem; }
.vlg-use-case-content p { margin: 0; font-size: 0.94rem; color: #8899aa; line-height: 1.65; }
.vlg-use-case-content p strong { color: #eef2f7; }

/* ── Before / after table ── */
.vlg-reality { background: linear-gradient(135deg, #0d1d38, #0a1628); border: 1px solid rgba(14,165,233,0.10); border-radius: 16px; overflow: hidden; margin: 40px 0; }
.vlg-reality-header, .vlg-reality-row { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.vlg-reality-2 .vlg-reality-header, .vlg-reality-2 .vlg-reality-row { grid-template-columns: 1fr 1.7fr; }
.vlg-reality-header { background: rgba(14,165,233,0.08); border-bottom: 1px solid rgba(14,165,233,0.10); }
.vlg-reality-header span { padding: 13px 18px; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #0ea5e9; }
.vlg-reality-header span:not(:last-child) { border-right: 1px solid rgba(14,165,233,0.10); }
.vlg-reality-row { border-bottom: 1px solid rgba(14,165,233,0.06); }
.vlg-reality-row:last-child { border-bottom: none; }
.vlg-reality-cell { padding: 15px 18px; font-size: 0.88rem; color: #c8d6e5; line-height: 1.55; }
.vlg-reality-cell:not(:last-child) { border-right: 1px solid rgba(14,165,233,0.06); }
.vlg-reality-cell strong { color: #eef2f7; }
.vlg-reality-cell.task { font-weight: 600; color: #eef2f7; }
.vlg-reality-cell.before { color: #fb7185; font-size: 0.84rem; }
.vlg-reality-cell.after { color: #34d399; font-size: 0.84rem; }
@media (max-width: 580px) {
  .vlg-reality-header, .vlg-reality-row, .vlg-reality-2 .vlg-reality-header, .vlg-reality-2 .vlg-reality-row { grid-template-columns: 1fr; }
  .vlg-reality-cell:not(:last-child) { border-right: none; border-bottom: 1px solid rgba(14,165,233,0.06); }
  .vlg-reality-header span:not(:last-child) { border-right: none; border-bottom: 1px solid rgba(14,165,233,0.10); }
}

/* ── Brand status cards ── */
.vlg-brands { display: flex; flex-direction: column; gap: 16px; margin: 36px 0; }
.vlg-brand-card { background: linear-gradient(135deg, #0d1d38, #0a1628); border: 1px solid rgba(14,165,233,0.09); border-radius: 16px; padding: 26px 28px; position: relative; overflow: hidden; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.vlg-brand-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #0ea5e9, #06b6d4, transparent); opacity: 0.6; }
.vlg-brand-card:hover { transform: translateY(-5px); border-color: rgba(14,165,233,0.18); box-shadow: 0 16px 48px rgba(0,0,0,0.25); }
.vlg-brand-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.vlg-brand-head h3 { margin: 0; }
.vlg-brand-status { font-family: var(--font-mono); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.vlg-status-scaling { color: #34d399; background: rgba(52,211,153,0.10); border: 1px solid rgba(52,211,153,0.25); }
.vlg-status-pilot { color: #38bdf8; background: rgba(56,189,248,0.10); border: 1px solid rgba(56,189,248,0.25); }
.vlg-status-rethink { color: #fbbf24; background: rgba(251,191,36,0.10); border: 1px solid rgba(251,191,36,0.25); }
.vlg-brand-card p { font-size: 0.93rem; color: #8899aa; line-height: 1.7; margin: 0; }
.vlg-brand-card p strong { color: #eef2f7; }

/* ── Sources ── */
.vlg-sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(14,165,233,0.07); }
.vlg-sources p { font-size: 0.78rem; color: #556677; line-height: 1.7; margin-bottom: 6px; }
.vlg-sources a { color: #6b7f93; text-decoration: underline; }

/* ── Divider ── */
.vlg-divider { border: none; border-top: 1px solid rgba(14,165,233,0.07); margin: 48px 0; }

/* ── CTA ── */
.vlg-cta-section { background: linear-gradient(135deg, #0d1d38 0%, #0a1628 100%); border: 1px solid rgba(14,165,233,0.12); border-radius: 20px; padding: 56px 40px; text-align: center; margin-top: 64px; position: relative; overflow: hidden; }
.vlg-cta-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #0ea5e9, #06b6d4, transparent); }
.vlg-cta-section h2 { font-size: clamp(1.4rem, 3vw, 1.95rem); font-weight: 800; color: #eef2f7; margin: 12px 0 16px; letter-spacing: -0.025em; }
.vlg-cta-section p { color: #8899aa; max-width: 480px; margin: 0 auto 32px; font-size: 0.97rem; }
.vlg-btn-primary { display: inline-block; background: #0ea5e9; color: #020810 !important; font-family: var(--font-main); font-size: 0.925rem; font-weight: 700; padding: 14px 36px; border-radius: 8px; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.vlg-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(14,165,233,0.35); }

/* ── Author + related (added for the static /blog) ── */
.vlg-author { display: flex; gap: 16px; align-items: center; margin-top: 56px; padding: 22px 24px; border-radius: 16px; background: rgba(13, 29, 56, 0.5); border: 1px solid rgba(14,165,233,0.09); }
.vlg-author-mark { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #020810; background: linear-gradient(135deg, #0ea5e9, #22d3ee); }
.vlg-author p { margin: 0; font-size: 0.9rem; color: #8899aa; line-height: 1.6; }
.vlg-author p strong { color: #eef2f7; }
.vlg-related { margin-top: 40px; }
.vlg-related h2 { margin-top: 0; font-size: 1.3rem; }

@media (max-width: 600px) {
  .vlg-hero { padding: 120px 20px 52px; }
  .vlg-body { padding: 48px 20px 64px; }
  .vlg-cta-section { padding: 40px 24px; }
  .vlg-pullquote { padding: 24px 20px; }
  .vlg-highlight, .vlg-warning { padding: 24px 20px; }
  .vlg-brand-card { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) { .vlg-stat-card, .vlg-brand-card { transition: none; } }

/* ── BLOG INDEX ── */
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; text-decoration: none; background: linear-gradient(165deg, rgba(13, 29, 56, 0.7), rgba(10, 22, 40, 0.4)); border: 1px solid rgba(14, 165, 233, 0.1); transition: border-color 0.35s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.post-card:hover { border-color: rgba(14, 165, 233, 0.28); transform: translateY(-4px); }
.post-card img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--navy-mid); }
.post-card .body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.post-card .meta { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-primary); }
.post-card h2 { font-size: 1.2rem; font-weight: 800; line-height: 1.3; letter-spacing: -0.015em; color: var(--white); }
.post-card p { font-size: 0.92rem; color: var(--white-dim); line-height: 1.65; }
.post-card .more { font-size: 0.85rem; font-weight: 700; color: var(--blue-bright); margin-top: 0.25rem; }
@media (max-width: 768px) { .post-grid { grid-template-columns: 1fr; } }
