/* ============================================================
   LUMIKHA GHOST THEME
   The Team Behind the Work
   ============================================================ */

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* --- VARIABLES --- */
:root {
  /* ── Lumikha Color System — Light Theme ── */
  --color-primary: #1E22AA;           /* Royal blue — primary accent */
  --color-primary-dark: #141855;      /* Deep navy — hover */
  --color-primary-light: #E8E9F8;     /* Blue tint — backgrounds */
  --color-primary-dim: rgba(30, 34, 170, 0.08);
  --color-primary-glow: rgba(30, 34, 170, 0.2);
  --color-gold: #E09A10;              /* Lumikha gold (darkened for light bg legibility) */
  --color-gold-bright: #facc15;       /* Gold for dark surfaces */
  --color-gold-dim: rgba(224, 154, 16, 0.1);
  --color-gold-glow: rgba(224, 154, 16, 0.25);

  /* ── Background scale — Light ── */
  --color-bg: #F7F7FB;                /* Off-white with blue undertone */
  --color-bg-2: #EFEFF6;              /* Slightly darker — footer, sections */
  --color-bg-card: #FFFFFF;           /* Pure white cards */
  --color-bg-card-hover: #F0F0FA;     /* Card hover */

  /* ── Borders ── */
  --color-border: rgba(30, 34, 170, 0.08);
  --color-border-hover: rgba(30, 34, 170, 0.3);
  --color-border-gold: rgba(224, 154, 16, 0.25);

  /* ── Text ── */
  --color-text: #1A1A2E;              /* Near-black with navy tint */
  --color-text-muted: #5A5A80;        /* Medium grey-blue */
  --color-text-dim: #9898B8;          /* Light grey-blue */
  --color-white: #ffffff;

  /* ── Tag backgrounds ── */
  --color-tag-bg: rgba(30, 34, 170, 0.07);
  --color-tag-gold-bg: rgba(224, 154, 16, 0.1);

  /* ── Typography ── */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* ── Spacing & shape ── */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;

  --container-width: 1240px;
  --container-padding: 24px;

  --nav-height: 68px;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Light theme scrollbar */
::-webkit-scrollbar-track { background: var(--color-bg-2); }

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

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--color-bg-2); }
::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 2px; }

/* --- UTILITY --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); border: 0;
}

.tag-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-tag-bg);
  border: 1px solid rgba(20, 31, 250, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
}

.members-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: var(--color-gold-dim);
  border: 1px solid var(--color-border-gold);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition-slow), border-color var(--transition-slow), box-shadow var(--transition-slow);
}

.site-nav.scrolled {
  background: rgba(247, 247, 251, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: rgba(30, 34, 170, 0.1);
  box-shadow: 0 1px 24px rgba(30, 34, 170, 0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  transition: color var(--transition-slow);
}

.site-nav.scrolled .nav-logo { color: var(--color-text); }

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-logo-dot {
  width: 8px; height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--color-gold-glow);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 14px var(--color-gold-glow); }
  50% { box-shadow: 0 0 24px var(--color-gold), 0 0 40px var(--color-gold-glow); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.site-nav.scrolled .nav-links a {
  color: var(--color-text-muted);
}

.site-nav.scrolled .nav-links a:hover,
.site-nav.scrolled .nav-links a.active {
  color: var(--color-primary);
  background: var(--color-primary-dim);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-subscribe-btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0C0D1E;
  background: #facc15;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav-subscribe-btn:hover {
  background: #ffe047;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--color-gold-glow);
}

.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.nav-search-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

.site-nav.scrolled .nav-search-btn {
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

.site-nav.scrolled .nav-search-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-primary-dim);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
}

.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  background: var(--color-bg-card);
  z-index: 999;
  padding: 32px var(--container-padding);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 20px 40px rgba(30, 34, 170, 0.08);
}

.nav-drawer.open { display: block; }

.nav-drawer .nav-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.nav-drawer .nav-links a {
  font-size: 22px;
  padding: 10px 0;
  color: var(--color-text);
}

.nav-hamburger span { background: #ffffff; transition: background var(--transition-slow); }
.site-nav.scrolled .nav-hamburger span { background: var(--color-text); }

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
  background: #0a0c1e;
}

/* White feather bleeds FROM the hero bottom edge INTO the wordmark track */
/* This element sits at the very bottom of the hero, outside overflow */
.hero-bleed-fade {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(247, 247, 251, 0.15) 30%,
    rgba(247, 247, 251, 0.55) 60%,
    rgba(247, 247, 251, 0.90) 80%,
    rgba(247, 247, 251, 1.00) 100%
  );
}

/* Full-bleed image — fills entire hero */
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transform-origin: center center;
  will-change: transform;
  /* JS drives the zoom-in scale on scroll */
}

/* Blue overlay — preserves image vibrancy, adds contrast for white text */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(20, 24, 85, 0.82) 0%,
      rgba(20, 24, 85, 0.60) 35%,
      rgba(20, 24, 85, 0.20) 65%,
      rgba(20, 24, 85, 0.05) 100%
    ),
    linear-gradient(
      to top,
      rgba(14, 16, 64, 0.55) 0%,
      transparent 45%
    );
  pointer-events: none;
}

/* Bottom accent line — gold */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  z-index: 5;
  background: linear-gradient(90deg,
    #facc15 0%,
    rgba(250, 204, 21, 0.4) 50%,
    transparent 100%
  );
}

/* ── Scroll veil: blur + fade to white as user scrolls down ── */
.hero-scroll-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: rgba(247, 247, 251, 1);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  transition: none; /* driven entirely by JS rAF */
}

/* ── Hero layout: two-column ── */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 4; /* above veil (z:2) and overlay (z:1) */
}

.hero-image-spacer {
  min-height: 400px;
}

/* ── Hero inner (left column) ── */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-eyebrow-line {
  width: 32px; height: 2px;
  background: var(--color-gold-bright);
  border-radius: 1px;
}

.hero-eyebrow-text {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-bright);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-headline .accent {
  color: var(--color-gold);
}

.hero-subheadline {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 36px;
}

/* ── Hero CTAs ── */
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}

/* Primary CTA — gold */
.btn-primary {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0C0D1E;
  background: #facc15;
  border-radius: var(--radius-sm);
  padding: 13px 24px;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: #ffe047;
  box-shadow: 0 8px 32px rgba(250, 204, 21, 0.5);
  transform: translateY(-1px);
}

/* Secondary CTA — white outline on dark hero */
.btn-secondary {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  padding: 11px 22px;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* Trust signal line */
.hero-trust {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Legacy subscribe form (members-enabled state) */
.hero-subscribe {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}

.hero-subscribe input[type="email"] {
  font-family: var(--font-body);
  font-size: 15px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  width: 260px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(8px);
}

.hero-subscribe input[type="email"]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-dim);
}

.hero-subscribe input[type="email"]::placeholder {
  color: var(--color-text-dim);
}

.hero-subscribe button[type="submit"] {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0C0D1E;
  background: #facc15;
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}

.hero-subscribe button[type="submit"]:hover {
  background: #ffe047;
  box-shadow: 0 8px 32px rgba(250, 204, 21, 0.5);
  transform: translateY(-1px);
}

.hero-subscribe .success-msg {
  font-size: 14px;
  color: #22c55e;
  display: none;
}

/* ============================================================
   FEATURED STRIP — TOP 5 HORIZONTAL
   ============================================================ */

.featured-strip {
  padding: 64px 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.featured-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.view-all-link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.view-all-link:hover { gap: 10px; }
.view-all-link svg { width: 14px; height: 14px; }

.featured-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Big card — spans 2 rows */
.featured-card-main {
  grid-row: 1 / 3;
  grid-column: 1;
}

.featured-card {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-card);
  cursor: pointer;
}

.featured-card-link {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 3;
}

.featured-card-img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.7);
}

.featured-card-main .featured-card-img { min-height: 440px; }

.featured-card-img-placeholder-light {
  background: linear-gradient(135deg, var(--color-primary-light), #DDDDF0);
  min-height: 220px;
}

.featured-card:hover .featured-card-img {
  transform: scale(1.04);
  filter: brightness(0.55);
}

/* Progressive blur overlay */
.featured-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 15, 0.95) 0%,
    rgba(10, 10, 15, 0.6) 40%,
    rgba(10, 10, 15, 0.1) 100%
  );
  z-index: 1;
}

.featured-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  z-index: 2;
}

.featured-card-main .featured-card-body { padding: 32px; }

.featured-card-body .tag-badge { margin-bottom: 12px; }

.featured-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-white);
  letter-spacing: -0.02em;
  transition: color var(--transition);
}

.featured-card-main .featured-card-title {
  font-size: clamp(22px, 2.2vw, 30px);
}

.featured-card:hover .featured-card-title {
  color: rgba(255,255,255,0.9);
}

.featured-card-meta {
  margin-top: 10px;
  font-size: 12px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-sep { opacity: 0.4; }

/* ============================================================
   CATEGORY FILTER TABS
   ============================================================ */

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 0 2px;
}

.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  white-space: nowrap;
  transition: all var(--transition);
}

.filter-tab:hover {
  color: var(--color-primary);
  background: var(--color-primary-dim);
}

.filter-tab.active {
  color: var(--color-gold);
  background: var(--color-gold-dim);
  border-color: var(--color-border-gold);
}

/* ============================================================
   POST CARDS GRID
   ============================================================ */

.posts-section {
  padding: 64px 0;
  background: #ffffff;
}

.posts-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Standard Post Card */
.post-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-slow), transform var(--transition-slow), box-shadow var(--transition-slow);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(30, 34, 170, 0.04);
}

.post-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(30, 34, 170, 0.08);
}

.post-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.post-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card-img { transform: scale(1.04); }

.post-card-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #EEEEF8, #E4E4F4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card-img-placeholder svg {
  width: 40px; height: 40px;
  opacity: 0.15;
}

.post-card-img-badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  gap: 6px;
  z-index: 1;
}

.post-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-tag { margin-bottom: 12px; }

.post-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.post-card:hover .post-card-title { color: var(--color-primary); }

.post-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-text-muted);
}

.post-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-card-author-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.post-card-author-name {
  font-weight: 500;
  color: var(--color-text-muted);
}

.post-card-link {
  display: block;
  position: absolute;
  inset: 0;
}

.post-card-wrap { position: relative; }

/* Wide post card (full-width row) */
.post-card-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  gap: 0;
}

.post-card-wide .post-card-img-wrap {
  width: 40%;
  flex-shrink: 0;
  aspect-ratio: unset;
  min-height: 220px;
}

.post-card-wide .post-card-body {
  flex: 1;
  padding: 32px;
}

.post-card-wide .post-card-title { font-size: 22px; }

.post-card-wide .post-card-excerpt {
  -webkit-line-clamp: 3;
}

/* ============================================================
   CATEGORY ROW SECTIONS (below the grid)
   ============================================================ */

.category-section {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.category-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.category-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.category-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

/* Minimal list card */
.list-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.list-card:hover { background: var(--color-bg-card); }

.list-card-img {
  width: 80px; height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.list-card-body { flex: 1; min-width: 0; }

.list-card-tag {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.list-card-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-card-title:hover { color: var(--color-white); }

.list-card-date {
  font-size: 11px;
  color: var(--color-text-dim);
  margin-top: 6px;
}

/* ============================================================
   NEWSLETTER / CTA SECTION
   ============================================================ */

.newsletter-section {
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  background: var(--color-primary-light);
}

/* Image variant — overrides background */
.newsletter-section--image {
  background: #0a0c1e; /* fallback while image loads */
  border-top: none;
  padding: 100px 0;
}

/* Full-bleed background image */
.newsletter-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.newsletter-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Dark overlay — left side heavier so text stays legible */
.newsletter-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(10, 12, 40, 0.88) 0%,
      rgba(10, 12, 40, 0.70) 40%,
      rgba(10, 12, 40, 0.50) 70%,
      rgba(10, 12, 40, 0.35) 100%
    ),
    linear-gradient(
      to top,
      rgba(10, 12, 40, 0.55) 0%,
      transparent 60%
    );
}

/* Text color overrides when on dark image */
.newsletter-section--image .newsletter-inner {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 560px;
}

.newsletter-section--image .newsletter-label { color: #facc15; }

.newsletter-section--image .newsletter-title {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.newsletter-section--image .newsletter-subtitle {
  color: rgba(255,255,255,0.75);
}

.newsletter-section--image .newsletter-form input[type="email"] {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.newsletter-section--image .newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.45);
}

.newsletter-section--image .newsletter-form input[type="email"]:focus {
  border-color: #facc15;
  box-shadow: 0 0 0 3px rgba(250,204,21,0.2);
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--color-primary-dim) 0%, transparent 60%);
  pointer-events: none;
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 16px;
}

.newsletter-subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  width: 300px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-dim);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--color-text-dim);
}

.newsletter-form button {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #0C0D1E;
  background: #facc15;
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.newsletter-form button:hover {
  background: #ffe047;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.5);
  transform: translateY(-1px);
}

/* ============================================================
   SINGLE POST
   ============================================================ */

.post-header { padding-top: var(--nav-height); }

/* Overlay layout */
.post-header-overlay {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.post-header-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: brightness(0.5);
}

.post-header-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.98) 0%, rgba(10,10,15,0.5) 50%, rgba(10,10,15,0.2) 100%);
}

.post-header-body {
  position: relative;
  z-index: 1;
  padding: 60px 0 56px;
  max-width: 820px;
}

.post-header-tags { margin-bottom: 16px; display: flex; gap: 8px; }

.post-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--color-white); /* stays white — overlaid on image */
  margin-bottom: 20px;
}

.post-excerpt {
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 680px;
  margin-bottom: 28px;
}

.post-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.post-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
}

.post-author-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
}

.post-author-role {
  font-size: 12px;
  color: var(--color-text-muted);
}

.post-meta-sep { width: 1px; height: 24px; background: var(--color-border); }

.post-meta-detail {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Post content */
.post-content-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  padding: 56px 0 80px;
  align-items: start;
}

.post-content {
  min-width: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text);
}

.post-content-wrap {
  background: var(--color-bg);
}

.post-content h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin: 48px 0 16px;
}

.post-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin: 36px 0 12px;
}

.post-content p { margin-bottom: 24px; }

.post-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(30, 34, 170, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition);
}

.post-content a:hover { text-decoration-color: var(--color-primary); }

.post-content blockquote {
  border-left: 3px solid var(--color-gold);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--color-text-muted);
  font-size: 18px;
}

.post-content code {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(30, 34, 170, 0.1);
}

.post-content pre {
  background: #1A1A2E;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  overflow-x: auto;
  margin: 32px 0;
}

.post-content pre code {
  background: none;
  border: none;
  color: #a0e0ff;
  padding: 0;
}

.post-content pre code {
  background: none;
  border: none;
  padding: 0;
}

.post-content ul, .post-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.post-content li { margin-bottom: 8px; }

.post-content img {
  border-radius: var(--radius-md);
  margin: 32px 0;
  width: 100%;
}

.post-content hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 48px 0;
}

/* Table of Contents sidebar */
.post-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}

.toc-widget {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 2px 12px rgba(30, 34, 170, 0.04);
}

.toc-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-list li a {
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  display: block;
  border-left: 2px solid transparent;
  transition: all var(--transition);
  line-height: 1.4;
}

.toc-list li a:hover,
.toc-list li a.active {
  color: var(--color-primary);
  background: var(--color-primary-dim);
  border-left-color: var(--color-gold);
}

/* ============================================================
   AUTHORS PAGE
   ============================================================ */

.authors-page { padding: calc(var(--nav-height) + 60px) 0 80px; }

.page-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--color-text);
  margin-bottom: 48px;
}

.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.author-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 4px rgba(30, 34, 170, 0.04);
}

.author-card:hover {
  border-color: var(--color-border-gold);
  transform: translateY(-3px);
}

.author-card-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 2px solid var(--color-gold);
}

.author-card-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.author-card-bio {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.author-card-count {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gold);
}

/* ============================================================
   TAG / ARCHIVE PAGE
   ============================================================ */

.tag-header {
  padding: calc(var(--nav-height) + 60px) 0 48px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 48px;
  background: var(--color-bg);
}

.tag-header-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.tag-header-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--color-text);
  margin-bottom: 12px;
}

.tag-header-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 560px;
}

.tag-header-count {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-text-dim);
}

/* ============================================================
   PAGINATION
   ============================================================ */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 48px 0;
}

.pagination a,
.pagination span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.pagination .current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}
.pagination a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.pagination .prev-next {
  width: auto;
  padding: 0 16px;
  gap: 6px;
}

/* ============================================================
   404 PAGE
   ============================================================ */

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px var(--container-padding);
}

.error-code {
  font-family: var(--font-display);
  font-size: 140px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.error-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 60px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-logo {
  height: 28px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-links a { color: var(--color-text-muted); }

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.footer-social-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: var(--color-gold-dim);
}

.footer-social-link svg { width: 16px; height: 16px; }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--color-white); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--color-text-dim);
}

.footer-copyright a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-copyright a:hover { color: var(--color-gold); }

.footer-links-inline {
  display: flex;
  gap: 20px;
}

.footer-links-inline a {
  font-size: 13px;
  color: var(--color-text-dim);
  transition: color var(--transition);
}

.footer-links-inline a:hover { color: var(--color-text-muted); }

/* ============================================================
   MEMBERS / SUBSCRIPTION
   ============================================================ */

.members-wall {
  margin: 48px 0;
  background: var(--color-primary-light);
  border: 1px solid rgba(30, 34, 170, 0.15);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.members-wall::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 200px;
  background: radial-gradient(ellipse, rgba(245, 166, 35, 0.1) 0%, rgba(30, 34, 170, 0.08) 50%, transparent 70%);
  pointer-events: none;
}

.members-wall-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 12px;
}

.members-wall-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

/* ============================================================
   LOAD MORE BUTTON
   ============================================================ */

.load-more-wrap {
  text-align: center;
  padding: 48px 0 24px;
}

.btn-load-more {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  transition: all var(--transition);
}

.btn-load-more:hover {
  color: var(--color-white);
  border-color: var(--color-gold);
  background: var(--color-gold-dim);
}

/* ============================================================
   SEARCH
   ============================================================ */

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(247, 247, 251, 0.97);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 24px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.search-box {
  width: 100%;
  max-width: 680px;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.search-input-wrap svg {
  width: 24px; height: 24px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.search-input-wrap input {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text);
  background: none;
  border: none;
  outline: none;
  width: 100%;
  letter-spacing: -0.02em;
}

.search-input-wrap input::placeholder { color: var(--color-text-dim); }

.search-close {
  font-size: 13px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  padding: 4px 10px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  background: var(--color-bg-card);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeUp 0.5s ease forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .featured-card-main { grid-row: 1; grid-column: 1 / -1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .post-content-wrap { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
  .category-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  .nav-links, .nav-actions .nav-subscribe-btn { display: none; }
  /* hero and parallax full-bleed — no change needed at 768px */
  .nav-hamburger { display: flex; }

  .posts-grid { grid-template-columns: 1fr; }
  .post-card-wide { flex-direction: column; }
  .post-card-wide .post-card-img-wrap { width: 100%; aspect-ratio: 16/9; }
  .featured-grid { grid-template-columns: 1fr; }
  .category-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-top > *:not(:first-child) { display: none; }
  .newsletter-form { flex-direction: column; align-items: center; }
  .newsletter-form input { width: 100%; max-width: 340px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-image-spacer { display: none; }
  .hero-subscribe input { width: 100%; max-width: 280px; }
}

@media (max-width: 480px) {
  .hero-subscribe { flex-direction: column; align-items: flex-start; }
  .hero-subscribe input { width: 100%; }
  .hero-subscribe button { width: 100%; }
}

/* ============================================================
   KOENIG EDITOR — REQUIRED CARD CLASSES
   Ghost requires these to be present in the theme CSS
   ============================================================ */

.post-content .kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin: 32px calc(50% - 42.5vw);
}

.post-content .kg-width-full {
  position: relative;
  width: 100vw;
  margin: 32px calc(50% - 50vw);
}

/* Card base */
.post-content .kg-card { margin: 32px 0; }

/* Image cards */
.post-content .kg-image-card img {
  border-radius: var(--radius-md);
  width: 100%;
}

.post-content .kg-image-card figcaption,
.post-content .kg-gallery-card figcaption,
.post-content .kg-embed-card figcaption {
  font-size: 13px;
  color: var(--color-text-dim);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* Gallery */
.post-content .kg-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-content .kg-gallery-row {
  display: flex;
  gap: 8px;
}

.post-content .kg-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* Bookmark card */
.post-content .kg-bookmark-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-card);
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 4px rgba(30, 34, 170, 0.04);
}

.post-content .kg-bookmark-card:hover { border-color: var(--color-border-hover); }

.post-content .kg-bookmark-container {
  display: flex;
  min-height: 120px;
  text-decoration: none;
  color: inherit;
}

.post-content .kg-bookmark-content {
  flex: 1;
  padding: 20px;
}

.post-content .kg-bookmark-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.post-content .kg-bookmark-description {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-content .kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-dim);
}

.post-content .kg-bookmark-icon {
  width: 16px; height: 16px;
}

.post-content .kg-bookmark-thumbnail {
  width: 160px;
  flex-shrink: 0;
}

.post-content .kg-bookmark-thumbnail img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Callout card */
.post-content .kg-callout-card {
  display: flex;
  gap: 16px;
  background: var(--color-primary-light);
  border: 1px solid rgba(30, 34, 170, 0.12);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 32px 0;
}

.post-content .kg-callout-emoji {
  font-size: 20px;
  flex-shrink: 0;
}

.post-content .kg-callout-text {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.6;
}

/* Toggle card */
.post-content .kg-toggle-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 24px 0;
}

.post-content .kg-toggle-heading {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-content .kg-toggle-content {
  font-size: 15px;
  color: var(--color-text-muted);
  padding-top: 12px;
  line-height: 1.6;
}

/* Video card */
.post-content .kg-video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Embed / iframe */
.post-content .kg-embed-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.post-content .kg-embed-card iframe {
  max-width: 100%;
  border-radius: var(--radius-md);
}

/* Audio card */
.post-content .kg-audio-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

/* NFT / Product cards (no-op styling) */
.post-content .kg-nft-card,
.post-content .kg-product-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Button card */
.post-content .kg-button-card {
  text-align: center;
  margin: 32px 0;
}

.post-content .kg-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #0C0D1E;
  background: #facc15;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.post-content .kg-btn:hover {
  background: #ffe047;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.5);
  transform: translateY(-1px);
}

/* Header card */
.post-content .kg-header-card {
  background: var(--color-primary-light);
  border: 1px solid rgba(30, 34, 170, 0.1);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin: 32px 0;
}

.post-content .kg-header-card h2 {
  margin: 0 0 12px;
}

/* Responsive Koenig widths */
@media (max-width: 1024px) {
  .post-content .kg-width-wide {
    width: 100%;
    margin: 32px 0;
  }
  .post-content .kg-width-full {
    width: 100%;
    margin: 32px 0;
  }
}

/* ============================================================
   PARALLAX WORLD — Rebuilt
   ============================================================ */

.parallax-world {
  position: relative;
  background: #0a0c1e;
}

/* ── Phase 1: Wordmark track — SHORT (80vh not 200vh) ── */
.px-wordmark-track {
  height: 130vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

/* Top white fade — receives the hero bleed so no hard edge visible */
.px-wordmark-track::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 20%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--color-bg) 0%,
    rgba(247, 247, 251, 0.6) 50%,
    transparent 100%
  );
}

.px-wordmark {
  font-family: var(--font-display);
  font-size: clamp(60px, 12vw, 160px);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(30, 34, 170, 0.5);
  text-stroke: 1.5px rgba(30, 34, 170, 0.5);
  position: sticky;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
  text-align: center;
  width: 100%;
  padding: 0 var(--container-padding);
  z-index: 3;
}

/* ── Phase 2: Card scroll container ──
   Each card = 100vh of scroll space. 4 cards = 400vh total.
   The sticky frame stays pinned for all 400vh.
*/
.px-card-scroll {
  position: relative;
  height: 400vh;
}

/* The sticky viewport — pinned at top:0, height 100vh */
.px-sticky-frame {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* ── Images stage ── */
.px-images-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.px-img-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.px-img-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.px-img-layer.is-active {
  opacity: 1;
}

/* Veil — directional gradient, swapped per card via JS class */
.px-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: background 0.6s ease;
  /* Default: heavy left */
  background:
    linear-gradient(to right,
      rgba(10, 12, 30, 0.88) 0%,
      rgba(10, 12, 30, 0.60) 40%,
      rgba(10, 12, 30, 0.20) 75%,
      rgba(10, 12, 30, 0.05) 100%
    ),
    linear-gradient(to top,
      rgba(10, 12, 30, 0.70) 0%,
      transparent 45%
    );
}

/* Card 2: bus is on the left — veil heavy on right for right-aligned text */
.px-veil.veil-right {
  background:
    linear-gradient(to left,
      rgba(10, 12, 30, 0.90) 0%,
      rgba(10, 12, 30, 0.65) 40%,
      rgba(10, 12, 30, 0.20) 75%,
      rgba(10, 12, 30, 0.05) 100%
    ),
    linear-gradient(to top,
      rgba(10, 12, 30, 0.70) 0%,
      transparent 45%
    );
}

/* Card 3: AI+Human — cinematic dark image, lighter overlay */
.px-veil.veil-center {
  background:
    linear-gradient(to right,
      rgba(10, 12, 30, 0.75) 0%,
      rgba(10, 12, 30, 0.50) 50%,
      rgba(10, 12, 30, 0.30) 100%
    ),
    linear-gradient(to top,
      rgba(10, 12, 30, 0.65) 0%,
      transparent 50%
    );
}

/* Card 4: centered over bright bus image */
.px-veil.veil-bus {
  background:
    rgba(10, 12, 30, 0.55),
    linear-gradient(to top,
      rgba(10, 12, 30, 0.80) 0%,
      rgba(10, 12, 30, 0.40) 50%,
      rgba(10, 12, 30, 0.15) 100%
    );
}

/* ── Cards container ── */
.px-cards {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* ── Individual card ──
   All start invisible, JS adds .is-active
*/
.px-card {
  position: absolute;
  top: 50%;
  left: max(48px, calc(50vw - 580px));
  max-width: 520px;
  opacity: 0;
  transform: translateY(calc(-50% + 48px));
  pointer-events: none;
  will-change: opacity, transform;
}

/* Right-aligned card (Card 2) */
.px-card--right {
  left: auto;
  right: max(48px, calc(50vw - 580px));
  text-align: right;
}

.px-card--right .px-eyebrow { padding-left: 0; padding-right: 20px; }
.px-card--right .px-eyebrow::before { left: auto; right: 0; }
.px-card--right .px-stats { justify-content: flex-end; }

/* Centered card (Card 4) */
.px-card--center {
  left: 50%;
  right: auto;
  text-align: center;
  max-width: 600px;
  transform: translateX(-50%) translateY(calc(-50% + 48px));
}

.px-card--center.is-active {
  transform: translateX(-50%) translateY(-50%) !important;
}

.px-card--center .px-eyebrow { padding-left: 0; padding-right: 0; }
.px-card--center .px-eyebrow::before { display: none; }
.px-card--center .px-stats { justify-content: center; }
.px-card--center .px-ctas { justify-content: center; }

/* Active state */
.px-card.is-active {
  opacity: 1;
  transform: translateY(-50%);
  pointer-events: auto;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Exit states */
.px-card.is-exit-up {
  opacity: 0 !important;
  transform: translateY(calc(-50% - 48px)) !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.px-card.is-exit-down {
  opacity: 0 !important;
  transform: translateY(calc(-50% + 48px)) !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.px-card--center.is-exit-up {
  transform: translateX(-50%) translateY(calc(-50% - 48px)) !important;
}

.px-card--center.is-exit-down {
  transform: translateX(-50%) translateY(calc(-50% + 48px)) !important;
}

/* ── Card typography ── */
.px-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #facc15;
  margin-bottom: 18px;
  padding-left: 20px;
  position: relative;
}

.px-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 2px;
  background: #facc15;
  border-radius: 1px;
}

.px-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.px-gold { font-style: normal; color: #facc15; }

.px-body {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 460px;
  margin-bottom: 24px;
}

.px-card--right .px-body { margin-left: auto; }
.px-card--center .px-body { margin: 0 auto 24px; }

/* Stats row */
.px-stats {
  display: flex;
  gap: 28px;
  margin-top: 4px;
}

.px-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.px-stat-n {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #facc15;
  letter-spacing: -0.04em;
  line-height: 1;
}

.px-stat-l {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* CTA row */
.px-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Progress dots ── */
.px-dots {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.px-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  padding: 0;
}

.px-dot.px-dot--active {
  background: #facc15;
  transform: scale(1.5);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .px-wordmark-track { height: 80vh; min-height: 250px; }
  .px-card {
    left: var(--container-padding) !important;
    right: var(--container-padding) !important;
    max-width: 100% !important;
    text-align: left !important;
  }
  .px-card--center { left: 0 !important; right: 0 !important; transform: translateY(calc(-50% + 48px)); }
  .px-card--center.is-active { transform: translateY(-50%) !important; }
  .px-card--right .px-eyebrow { padding-left: 20px; padding-right: 0; }
  .px-card--right .px-eyebrow::before { left: 0; right: auto; }
  .px-card--right .px-stats, .px-card--center .px-stats { justify-content: flex-start; }
  .px-card--center .px-ctas { justify-content: flex-start; }
  .px-dots { right: 16px; }
}

/* ============================================================
   PAGE TEMPLATES CSS
   Services · How We Work · Blog · About · Contact
   ============================================================ */

/* ── Shared page utilities ── */
.text-gold    { color: #facc15; }
.text-primary { color: var(--color-primary); }

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-weight: 500;
}
.page-breadcrumb a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.page-breadcrumb a:hover { color: #facc15; }

/* Hero shared pattern — full-bleed image with blue overlay */
.srv-hero,
.hww-hero,
.about-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-height) + 80px) 0 72px;
  overflow: hidden;
}

.srv-hero-bg img,
.hww-hero-bg img,
.about-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.srv-hero-bg,
.hww-hero-bg,
.about-hero-bg { position: absolute; inset: 0; z-index: 0; }

.srv-hero-bg--default,
.hww-hero-bg--default,
.about-hero-bg--default {
  background: linear-gradient(135deg, #0E122E 0%, #1a1f5c 100%);
}

.srv-hero-overlay,
.hww-hero-overlay,
.about-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(14,18,70,0.88) 0%, rgba(14,18,70,0.55) 50%, rgba(14,18,70,0.25) 100%),
    linear-gradient(to top, rgba(14,18,70,0.7) 0%, transparent 55%);
}

.srv-hero-body,
.hww-hero-body,
.about-hero-body {
  position: relative;
  z-index: 2;  /* above overlay (z:1 from absolute positioning) */
  max-width: 680px;
}

.srv-hero-title,
.hww-hero-title,
.about-hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.srv-hero-sub,
.hww-hero-sub,
.about-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 36px;
}

.srv-hero-ctas,
.about-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── TRUST STRIP ── */
.srv-trust-strip {
  background: var(--color-primary-light);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
}

.srv-trust-strip .container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.srv-trust-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  white-space: nowrap;
}

.srv-trust-flags {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ── SECTION HEADERS ── */
.srv-section-header,
.hww-section-header {
  margin-bottom: 48px;
  max-width: 600px;
}

.srv-section-title,
.hww-section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-top: 10px;
  margin-bottom: 12px;
}

.hww-section-sub {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── SERVICES SECTION ── */
.srv-services { padding: 80px 0; background: var(--color-bg); }

.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.srv-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition-slow), box-shadow var(--transition-slow), transform var(--transition-slow);
}

.srv-card:hover {
  border-color: rgba(30,34,170,0.2);
  box-shadow: 0 12px 40px rgba(30,34,170,0.08);
  transform: translateY(-3px);
}

.srv-card-icon {
  width: 44px; height: 44px;
  background: var(--color-primary-dim);
  border: 1px solid rgba(30,34,170,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.srv-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 10px;
}

.srv-card-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.srv-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0;
}

.srv-card-list li {
  font-size: 13px;
  color: var(--color-text-muted);
  padding-left: 18px;
  position: relative;
}

.srv-card-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 11px;
}

.srv-turnaround {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}

/* ── PRICING NOTE ── */
.srv-pricing-note {
  background: var(--color-primary-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 40px 0;
}

.srv-pricing-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.srv-pricing-icon { font-size: 28px; flex-shrink: 0; }

.srv-pricing-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.srv-pricing-desc { font-size: 14px; color: var(--color-text-muted); line-height: 1.55; }

/* ── POD CALLOUT ── */
.srv-pod-callout {
  background: var(--color-primary);
  padding: 80px 0;
}

.srv-pod-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.srv-pod-text .section-label { color: rgba(255,255,255,0.6); }

.srv-pod-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 12px 0 16px;
}

.srv-pod-desc { font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.65; margin-bottom: 24px; }

.srv-pod-text .view-all-link { color: #facc15; }
.srv-pod-text .view-all-link:hover { gap: 12px; }

.srv-pod-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.srv-pod-stat {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.srv-pod-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: #facc15;
  letter-spacing: -0.04em;
  line-height: 1;
}

.srv-pod-label { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.4; }

/* ── FAQ ── */
.srv-faq { padding: 80px 0; background: var(--color-bg-2); }

.srv-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.srv-faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.srv-faq-q {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.srv-faq-a { font-size: 14px; color: var(--color-text-muted); line-height: 1.65; }

/* ── BOTTOM CTA ── */
.srv-bottom-cta {
  background: var(--color-bg);
  padding: 96px 0;
  border-top: 1px solid var(--color-border);
}

.srv-bottom-cta-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.srv-bottom-cta-inner .newsletter-label { color: var(--color-gold); }
.srv-bottom-cta-inner .newsletter-title { color: var(--color-text); margin-bottom: 16px; }
.srv-bottom-cta-inner .newsletter-subtitle { color: var(--color-text-muted); margin-bottom: 32px; }
.srv-bottom-cta-inner .hero-ctas { justify-content: center; }

/* ============================================================
   HOW WE WORK
   ============================================================ */

.hww-pod { padding: 80px 0; background: var(--color-bg); }

.hww-pod-diagram {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.hww-pod-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 20px;
}

.hww-pod-hub {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px var(--color-primary-dim);
}

.hww-pod-hub-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.3;
}

.hww-pod-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hww-pod-role {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(30,34,170,0.04);
}

.hww-role-icon { font-size: 28px; margin-bottom: 12px; }

.hww-pod-role h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.hww-pod-role p { font-size: 13px; color: var(--color-text-muted); line-height: 1.55; }

/* ── PROCESS STEPS ── */
.hww-process {
  padding: 80px 0;
  background: var(--color-bg-2);
}

.hww-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hww-step {
  background: var(--color-bg-card);
  padding: 36px 28px;
  position: relative;
  transition: background var(--transition);
}

.hww-step:hover { background: var(--color-bg-card-hover); }

.hww-step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--color-primary-dim);
  line-height: 1;
  margin-bottom: 20px;
  -webkit-text-stroke: 1px var(--color-primary);
  text-stroke: 1px var(--color-primary);
}

.hww-step-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.hww-step-desc { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 16px; }

.hww-step-time {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  margin-top: auto;
}

/* ── AI SECTION ── */
.hww-ai {
  padding: 80px 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.hww-ai-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
}

.hww-ai-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin: 12px 0 20px;
}

.hww-ai-desc { font-size: 16px; color: var(--color-text-muted); line-height: 1.65; margin-bottom: 32px; }

.hww-ai-split {
  display: flex;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hww-ai-col { flex: 1; padding: 24px; }
.hww-ai-col:first-child { background: var(--color-bg-2); }
.hww-ai-col:last-child { background: var(--color-primary-light); }

.hww-ai-divider { width: 1px; background: var(--color-border); flex-shrink: 0; }

.hww-ai-col-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  display: block;
  margin-bottom: 16px;
}

.hww-ai-col-label--human { color: var(--color-primary); }

.hww-ai-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.hww-ai-list li {
  font-size: 13px;
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
}

.hww-ai-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--color-gold);
  font-size: 16px;
  line-height: 1;
  top: -1px;
}

/* AI visual card */
.hww-ai-visual { display: flex; justify-content: center; }

.hww-ai-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 4px 24px rgba(30,34,170,0.08);
}

.hww-ai-card-top,
.hww-ai-card-mid,
.hww-ai-card-bot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
}

.hww-ai-card-top { background: var(--color-bg-2); }
.hww-ai-card-mid { background: var(--color-primary-light); }
.hww-ai-card-bot { background: rgba(22, 163, 74, 0.08); border: 1px solid rgba(22,163,74,0.15); }

.hww-ai-arrow {
  text-align: center;
  color: var(--color-text-dim);
  font-size: 20px;
  padding: 8px 0;
}

.hww-ai-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.hww-ai-badge--ai     { background: var(--color-bg-card-hover); color: var(--color-text-muted); border: 1px solid var(--color-border); }
.hww-ai-badge--human  { background: var(--color-primary); color: #ffffff; }
.hww-ai-badge--ship   { background: rgba(22,163,74,0.15); color: #16a34a; border: 1px solid rgba(22,163,74,0.2); font-size: 16px; }

.hww-ai-step-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
}

/* ── COMMS ── */
.hww-comms { padding: 80px 0; background: var(--color-bg-2); border-top: 1px solid var(--color-border); }

.hww-comms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.hww-comms-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.hww-comms-icon { font-size: 24px; display: block; margin-bottom: 14px; }

.hww-comms-item h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.hww-comms-item p { font-size: 13px; color: var(--color-text-muted); line-height: 1.55; }

/* ── TURNAROUND TABLE ── */
.hww-turnaround { padding: 80px 0; background: var(--color-bg); border-top: 1px solid var(--color-border); }

.hww-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-top: 40px;
  box-shadow: 0 1px 4px rgba(30,34,170,0.04);
}

.hww-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--color-bg-card);
}

.hww-table thead tr { background: var(--color-primary-light); }

.hww-table th {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
}

.hww-table td {
  padding: 14px 20px;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.hww-table td:first-child { color: var(--color-text); font-weight: 500; }
.hww-table td:nth-child(2) { color: var(--color-primary); font-weight: 600; }
.hww-table td:nth-child(3) { color: var(--color-gold); font-weight: 500; }
.hww-table tbody tr:last-child td { border-bottom: none; }
.hww-table tbody tr:hover td { background: var(--color-bg-card-hover); }

.hww-table-note {
  font-size: 13px;
  color: var(--color-text-dim);
  margin-top: 16px;
  font-style: italic;
}

/* ============================================================
   BLOG PAGE
   ============================================================ */

.blog-page-hero {
  padding: calc(var(--nav-height) + 72px) 0 64px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.blog-page-hero .page-breadcrumb { color: var(--color-text-dim); }
.blog-page-hero .page-breadcrumb a { color: var(--color-text-muted); }
.blog-page-hero .page-breadcrumb a:hover { color: var(--color-primary); }

.blog-page-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 18px;
}

.blog-page-sub {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 600px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-story {
  padding: 80px 0;
  background: var(--color-bg);
}

.about-story-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-story-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin: 12px 0 24px;
}

.about-story-body { display: flex; flex-direction: column; gap: 18px; }
.about-story-body p { font-size: 16px; color: var(--color-text-muted); line-height: 1.75; }

.about-tagline-line {
  font-style: italic;
  color: var(--color-text) !important;
  border-left: 3px solid #facc15;
  padding-left: 16px;
  margin-top: 8px;
}

.about-story-callout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}

.about-callout-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 4px rgba(30,34,170,0.04);
}

.about-callout-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-primary);
  line-height: 1;
}

.about-callout-label { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; }

/* Philosophy */
.about-philosophy {
  padding: 80px 0;
  background: var(--color-primary-light);
  border-top: 1px solid var(--color-border);
}

.about-philosophy-inner { max-width: 1000px; }

.about-philosophy-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin: 12px 0 40px;
}

.about-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.about-phil-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
}

.about-phil-icon { font-size: 28px; display: block; margin-bottom: 14px; }

.about-phil-item h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.about-phil-item p { font-size: 14px; color: var(--color-text-muted); line-height: 1.65; }

/* Team */
.about-team {
  padding: 80px 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

/* Two paths */
.about-paths {
  padding: 80px 0;
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
}

.about-paths-header { margin-bottom: 48px; }

.about-paths-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-top: 10px;
}

.about-paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-path {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-path--buyer { border-top: 3px solid var(--color-primary); }
.about-path--talent { border-top: 3px solid #facc15; }

.about-path-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-dim);
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
}

.about-path-badge--talent {
  color: var(--color-gold);
  background: var(--color-gold-dim);
}

.about-path-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-text);
}

.about-path-desc { font-size: 15px; color: var(--color-text-muted); line-height: 1.65; flex: 1; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-hero {
  padding: calc(var(--nav-height) + 72px) 0 80px;
  background: var(--color-bg);
}

.contact-hero .page-breadcrumb { color: var(--color-text-dim); }
.contact-hero .page-breadcrumb a { color: var(--color-text-muted); }
.contact-hero .page-breadcrumb a:hover { color: var(--color-primary); }

.contact-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 18px;
}

.contact-sub { font-size: 17px; color: var(--color-text-muted); line-height: 1.65; margin-bottom: 48px; }

.contact-next-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 24px;
}

.contact-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}

.contact-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-steps strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  display: block;
  margin-bottom: 4px;
}

.contact-steps p { font-size: 14px; color: var(--color-text-muted); line-height: 1.55; margin: 0; }

/* Form card */
.contact-form-wrap { position: sticky; top: calc(var(--nav-height) + 24px); }

.contact-form-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 4px 32px rgba(30,34,170,0.07);
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 28px;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cf-field label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.cf-field input,
.cf-field select,
.cf-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.cf-field input::placeholder,
.cf-field textarea::placeholder { color: var(--color-text-dim); }

.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-dim);
}

.cf-field textarea { resize: vertical; min-height: 100px; }

.cf-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239898B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Calendar option */
.contact-cal-option {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.contact-cal-divider {
  font-size: 13px;
  color: var(--color-text-dim);
  white-space: nowrap;
}

.contact-cal-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
}

.contact-cal-link:hover {
  color: var(--color-primary-dark);
  text-decoration-color: var(--color-primary);
}

/* ============================================================
   RESPONSIVE — Page Templates
   ============================================================ */

@media (max-width: 1024px) {
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .srv-pod-inner { grid-template-columns: 1fr; gap: 48px; }
  .srv-faq-grid { grid-template-columns: 1fr; }
  .hww-steps { grid-template-columns: repeat(2, 1fr); }
  .hww-ai-inner { grid-template-columns: 1fr; }
  .hww-ai-visual { display: none; }
  .hww-comms-grid { grid-template-columns: repeat(2, 1fr); }
  .hww-pod-diagram { grid-template-columns: 1fr; }
  .hww-pod-center { display: none; }
  .about-story-inner { grid-template-columns: 1fr; }
  .about-story-callout { position: static; flex-direction: row; flex-wrap: wrap; }
  .about-callout-card { flex: 1; min-width: 160px; }
  .about-paths-grid { grid-template-columns: 1fr; }
  .contact-hero-inner { grid-template-columns: 1fr; }
  .contact-form-wrap { position: static; }
}

@media (max-width: 768px) {
  .srv-grid { grid-template-columns: 1fr; }
  .hww-steps { grid-template-columns: 1fr; }
  .hww-comms-grid { grid-template-columns: 1fr; }
  .hww-pod-roles { grid-template-columns: 1fr; }
  .about-philosophy-grid { grid-template-columns: 1fr; }
  .srv-trust-strip .container { flex-direction: column; align-items: flex-start; gap: 10px; }
  .srv-pricing-inner { flex-direction: column; align-items: flex-start; }
  .srv-pod-stats { grid-template-columns: 1fr 1fr; }
  .contact-form-card { padding: 28px 20px; }
  .hww-ai-split { flex-direction: column; }
  .hww-ai-divider { width: 100%; height: 1px; }
}

/* ============================================================
   SUPPRESS GHOST NATIVE TITLE + FEATURE IMAGE
   on custom page templates — the template handles rendering
   Ghost injects .gh-content and .gh-canvas with the page
   title/image when "Show title and feature image" is ON.
   These rules hide that native block on our custom pages.
   Editors should toggle OFF "Show title and feature image"
   in Ghost Admin for these pages.
   ============================================================ */

/* If editor leaves "Show title and feature image" ON, hide it */
.page-template-page-services     .gh-article-header,
.page-template-page-how-we-work  .gh-article-header,
.page-template-page-blog         .gh-article-header,
.page-template-page-about        .gh-article-header,
.page-template-page-contact      .gh-article-header {
  display: none !important;
}

/* Also hide the native page content block —
   these templates render their own structured content */
.page-template-page-services     .gh-content.gh-canvas,
.page-template-page-how-we-work  .gh-content.gh-canvas,
.page-template-page-blog         .gh-content.gh-canvas,
.page-template-page-about        .gh-content.gh-canvas,
.page-template-page-contact      .gh-content.gh-canvas {
  display: none !important;
}

/* ── Blog page hero — image variant ── */
.blog-page-hero--image {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-height) + 80px) 0 64px;
  background: transparent;
  border-bottom: none;
}

.blog-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blog-page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.blog-page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(14,18,70,0.85) 0%, rgba(14,18,70,0.55) 50%, rgba(14,18,70,0.2) 100%),
    linear-gradient(to top, rgba(14,18,70,0.65) 0%, transparent 50%);
}

.blog-page-hero--image .blog-page-hero-body {
  position: relative;
  z-index: 1;
}

.blog-page-hero--image .blog-page-title {
  color: #ffffff;
}

.blog-page-hero--image .blog-page-sub {
  color: rgba(255,255,255,0.75);
}

.blog-page-hero--image .page-breadcrumb {
  color: rgba(255,255,255,0.55);
}

.blog-page-hero--image .page-breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.blog-page-hero--image .page-breadcrumb a:hover {
  color: #facc15;
}

/* ============================================================
   FOOTER BADGE STRIP — Featured & Listed On
   ============================================================ */

.footer-badge-strip {
  border-top: 1px solid rgba(30,34,170,0.08);
  border-bottom: 1px solid rgba(30,34,170,0.08);
  padding: 28px 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-badge-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex: 1;
}

.footer-badge-link {
  display: flex;
  align-items: center;
  opacity: 0.75;
  transition: opacity var(--transition), transform var(--transition);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.footer-badge-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-badge-img {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 6px;
}

.footer-badge-img--wide {
  height: 52px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-badge-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-badges {
    gap: 12px;
  }

  .footer-badge-img,
  .footer-badge-img--wide {
    height: 44px;
  }
}

/* ============================================================
   POST TEMPLATES — Overlay · Wide · Full · Split · No Image
   ============================================================ */

/* ── Shared post template tokens ── */
.pt-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 18px;
}

.pt-title--dark { color: var(--color-text); }

.pt-title--no-image {
  font-size: clamp(32px, 5vw, 64px);
}

.pt-excerpt {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 24px;
}

.pt-excerpt--dark { color: var(--color-text-muted); }

.pt-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pt-date-meta {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.pt-reading-time {
  font-family: var(--font-display);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.pt-authors {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pt-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pt-author-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
}

.pt-authors--light .pt-author-avatar { border-color: var(--color-border); }

.pt-author-name { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9); }
.pt-author-name--dark { color: var(--color-text); }

/* ── Post body wrapper ── */
.pt-body-wrap {
  background: var(--color-bg);
  padding-top: 56px;
}

/* ── Left share sidebar ── */
.pt-share-sidebar {
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: sticky;
  top: calc(var(--nav-height) + 32px);
  padding-top: 4px;
}

.pt-share-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  margin-bottom: 4px;
}

.pt-share-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.pt-share-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  text-decoration: none;
  font-size: 12px;
}

.pt-share-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-dim);
}

/* Update post-content-wrap to handle 3-column layout (share | content | ToC) */
.pt-body-wrap .post-content-wrap {
  display: grid;
  grid-template-columns: 44px 1fr 280px;
  gap: 48px;
  align-items: start;
}

/* ToC share link style */
.toc-share-link {
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  text-decoration: none;
}

.toc-share-link:hover {
  border-color: var(--color-gold);
  color: var(--color-text);
}

/* ── Related posts section ── */
.pt-related-wrap {
  border-top: 1px solid var(--color-border);
  padding: 56px 0 80px;
  background: var(--color-bg);
}

.pt-related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

/* ── Author bio ── */
.pt-author-bio-wrap { padding-bottom: 64px; }

.pt-author-bio-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 1px 4px rgba(30,34,170,0.04);
}

.pt-author-bio-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
  flex-shrink: 0;
}

.pt-author-bio-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 6px;
}

.pt-author-bio-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}

.pt-author-bio-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.pt-author-bio-link {
  font-size: 13px;
  color: var(--color-primary);
  margin-top: 10px;
  display: inline-block;
  text-decoration: none;
}

/* ============================================================
   OVERLAY TEMPLATE
   ============================================================ */

.post-tpl-overlay .pt-overlay-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.post-tpl-overlay .pt-overlay-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.post-tpl-overlay .pt-overlay-bg--fallback {
  background: linear-gradient(135deg, #0E122E 0%, #1E22AA 100%);
}

.post-tpl-overlay .pt-overlay-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,12,40,0.97) 0%, rgba(10,12,40,0.65) 45%, rgba(10,12,40,0.2) 100%),
    linear-gradient(to right, rgba(10,12,40,0.4) 0%, transparent 60%);
}

.post-tpl-overlay .pt-overlay {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.post-tpl-overlay .pt-overlay-body {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 80px 0 64px;
}

/* ============================================================
   WIDE TEMPLATE
   ============================================================ */

.post-tpl-wide .pt-wide-header {
  padding-top: calc(var(--nav-height) + 48px);
  background: var(--color-bg);
}

.post-tpl-wide .pt-wide-header .container {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--color-border);
}

.post-tpl-wide .pt-meta-row--light .pt-date-meta { color: var(--color-text-dim); }

.post-tpl-wide .pt-wide-image {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
}

.post-tpl-wide .pt-wide-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   FULL TEMPLATE
   ============================================================ */

.post-tpl-full .pt-full-image {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 520px;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.post-tpl-full .pt-full-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.post-tpl-full .pt-full-image-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
}

.post-tpl-full .pt-full-header {
  padding: 48px 0 40px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

/* ============================================================
   SPLIT TEMPLATE
   ============================================================ */

.post-tpl-split .pt-split-header,
.post-tpl-split-reverse .pt-split-header {
  padding-top: var(--nav-height);
  background: var(--color-bg);
}

.pt-split-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  min-height: calc(100vh - var(--nav-height));
  max-height: 720px;
}

.pt-split-layout--reverse {
  grid-template-columns: 3fr 2fr;
}

.pt-split-image {
  overflow: hidden;
  position: relative;
}

.pt-split-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pt-split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 64px;
  background: var(--color-bg);
}

.pt-split-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   NO IMAGE TEMPLATE
   ============================================================ */

.post-tpl-no-image .pt-no-image-header {
  padding: calc(var(--nav-height) + 60px) 0 48px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

/* ============================================================
   RESPONSIVE — Post Templates
   ============================================================ */

@media (max-width: 1024px) {
  .pt-body-wrap .post-content-wrap {
    grid-template-columns: 44px 1fr;
  }
  .pt-body-wrap .post-content-wrap .post-sidebar { display: none; }
}

@media (max-width: 768px) {
  .pt-body-wrap .post-content-wrap {
    grid-template-columns: 1fr;
  }
  .pt-share-sidebar { display: none; }

  /* Overlay */
  .post-tpl-overlay .pt-overlay { min-height: 80vh; }

  /* Full */
  .post-tpl-full .pt-full-image { height: 55vw; min-height: 280px; }

  /* Split */
  .pt-split-layout,
  .pt-split-layout--reverse {
    grid-template-columns: 1fr;
    max-height: none;
    min-height: auto;
  }
  .pt-split-image { aspect-ratio: 16/9; height: auto; max-height: 340px; }
  .pt-split-text { padding: 36px 24px; }
}

/* ============================================================
   HOMEPAGE SECTIONS
   What We Do · HITL · Proof Strip · How It Works · Talent
   ============================================================ */

/* ── Shared section tokens ── */
.home-section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  line-height: 1.15;
  margin: 10px 0 16px;
}

.home-section-sub {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ── WHAT WE DO ── */
.home-what {
  padding: 88px 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.home-what-header {
  margin-bottom: 52px;
  max-width: 640px;
}

.home-what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-what-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color var(--transition-slow), box-shadow var(--transition-slow), transform var(--transition-slow);
  box-shadow: 0 1px 4px rgba(30,34,170,0.03);
}

.home-what-card:hover {
  border-color: rgba(30,34,170,0.18);
  box-shadow: 0 8px 32px rgba(30,34,170,0.07);
  transform: translateY(-2px);
}

.home-what-card--cta {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.home-what-card--cta h3,
.home-what-card--cta p {
  color: rgba(255,255,255,0.9);
}

.home-what-card--cta:hover {
  border-color: var(--color-primary-dark);
  background: var(--color-primary-dark);
}

.home-what-icon {
  width: 40px; height: 40px;
  background: var(--color-primary-dim);
  border: 1px solid rgba(30,34,170,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.home-what-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.home-what-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.home-what-link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.home-what-link:hover { gap: 8px; }

/* ── WHY HUMAN-IN-THE-LOOP ── */
.home-hitl {
  padding: 88px 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}

.home-hitl-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}

.home-hitl-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.home-hitl-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.home-hitl-check {
  color: var(--color-gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  font-family: var(--font-display);
}

/* HITL diagram */
.home-hitl-visual {
  display: flex;
  justify-content: center;
}

.home-hitl-diagram {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 4px 24px rgba(30,34,170,0.06);
}

.hitl-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
}

.hitl-step--ai   { background: var(--color-bg); }
.hitl-step--human { background: var(--color-primary-light); border: 1px solid rgba(30,34,170,0.1); }
.hitl-step--ship  { background: rgba(22,163,74,0.07); border: 1px solid rgba(22,163,74,0.15); }

.hitl-step-icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hitl-step-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hitl-step-content strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.hitl-step-content span {
  font-size: 12px;
  color: var(--color-text-muted);
}

.hitl-arrow {
  text-align: center;
  color: var(--color-text-dim);
  font-size: 18px;
  padding: 8px 0;
}

/* ── PROOF STRIP ── */
.home-proof {
  padding: 64px 0;
  background: var(--color-primary);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.home-proof-header {
  text-align: center;
  margin-bottom: 32px;
}

.home-proof-header .section-label {
  color: rgba(255,255,255,0.65);
}

.home-proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.home-proof-flag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
}

/* Country code — yellow, bold */
.home-proof-code {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #facc15;
}

.home-proof-flag-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.home-proof-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.home-proof-outcomes {
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 36px;
}

.home-proof-outcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 64px;
  position: relative;
  flex: 1;
  max-width: 280px;
}

.home-proof-outcome:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(255,255,255,0.15);
}

/* Running number animation */
.home-proof-outcome-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #facc15;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 4ch;
  text-align: center;
  transition: none;
}

.home-proof-outcome-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-align: center;
  line-height: 1.4;
  max-width: 140px;
}

/* ── HOW IT WORKS ── */
.home-how {
  padding: 88px 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}

.home-how-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.home-how-header .home-section-sub { margin: 0 auto; text-align: center; }

.home-how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.home-how-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.home-how-step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-white);
  background: var(--color-primary);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.home-how-step-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.home-how-step-body p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.home-how-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, var(--color-primary), rgba(30,34,170,0.2));
  margin-top: 22px;
  flex-shrink: 0;
}

/* ── TALENT PATH ── */
.home-talent {
  padding: 88px 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.home-talent::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(250,204,21,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.home-talent-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.home-talent-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-talent-badge {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color var(--transition), transform var(--transition);
}

.home-talent-badge:hover {
  border-color: var(--color-border-gold);
  transform: translateX(4px);
}

.home-talent-badge-emoji { font-size: 22px; flex-shrink: 0; margin-top: 2px; }

.home-talent-badge strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  display: block;
  margin-bottom: 3px;
}

.home-talent-badge span {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .home-what-grid { grid-template-columns: repeat(2, 1fr); }
  .home-hitl-inner { grid-template-columns: 1fr; }
  .home-hitl-visual { display: none; }
  .home-talent-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .home-what-grid { grid-template-columns: 1fr; }

  .home-how-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .home-how-step { width: 100%; max-width: 360px; }
  .home-how-connector {
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, var(--color-primary), rgba(30,34,170,0.2));
    margin: 0;
  }

  .home-proof-logos { gap: 8px; }
  .home-proof-flag { padding: 8px 16px; }
  .home-proof-divider { display: none; }

  .home-proof-outcomes { gap: 24px; }
  .home-proof-outcome { padding: 0 24px; }
  .home-proof-outcome:not(:last-child)::after { display: none; }
}

/* Talent section secondary CTA — solid blue for contrast on light bg */
.btn-talent-secondary {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 11px 22px;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-talent-secondary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 8px 24px var(--color-primary-glow);
  transform: translateY(-1px);
}

/* ============================================================
   LOGO TICKER STRIP
   Looping auto-scroll · zoom focus on center · draggable bar
   ============================================================ */

.logo-ticker-section {
  padding: 48px 0 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.logo-ticker-header {
  margin-bottom: 28px;
}

/* ── Outer wrap — clips overflow ── */
.logo-ticker-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 32px;
}

/* ── Left / right edge fade masks ── */
.logo-ticker-fade {
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-ticker-fade--left {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.logo-ticker-fade--right {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

/* ── Scrollable viewport ── */
.logo-ticker-viewport {
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.logo-ticker-viewport:active { cursor: grabbing; }

/* ── Track — wide flex row that scrolls ── */
.logo-ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  will-change: transform;
  /* JS drives translateX */
}

/* ── Individual logo item ── */
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
  height: 80px;
  flex-shrink: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.45;
}

/* Center-focus zoom — JS adds .logo-item--focus */
.logo-item--focus {
  opacity: 1;
  transform: scale(1.18);
}

.logo-item--near {
  opacity: 0.70;
  transform: scale(1.05);
}

.logo-item img {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
  pointer-events: none;
  filter: grayscale(0.3) brightness(0.95);
  transition: filter 0.3s ease;
}

.logo-item--focus img { filter: grayscale(0) brightness(1); }
.logo-item--near img  { filter: grayscale(0.1) brightness(0.98); }

/* ── Dark-background logos: mix-blend-mode removes black bg on white surface ── */
.logo-item--dark-bg img {
  mix-blend-mode: multiply;
  /* multiply: black px × white bg = white (transparent effect) */
  filter: grayscale(0.3) brightness(0.9);
}

.logo-item--dark-bg.logo-item--focus img {
  mix-blend-mode: multiply;
  filter: grayscale(0) brightness(1);
}

.logo-item--dark-bg.logo-item--near img {
  mix-blend-mode: multiply;
  filter: grayscale(0.1) brightness(0.95);
}

/* ── Progress / drag bar ── */
.logo-ticker-bar-wrap {
  padding: 0 var(--container-padding);
  margin-top: 20px;
}

.logo-ticker-bar-track {
  height: 3px;
  background: var(--color-border);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.logo-ticker-bar-thumb {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  width: 15%;
  background: var(--color-primary);
  border-radius: 3px;
  cursor: grab;
  transition: background 0.2s ease, height 0.2s ease;
  will-change: left, width;
}

.logo-ticker-bar-thumb:hover,
.logo-ticker-bar-thumb:active {
  background: var(--color-gold);
  height: 8px;
  cursor: grabbing;
}

/* ── Pause on hover ── */
.logo-ticker-viewport:hover ~ .logo-ticker-bar-wrap .logo-ticker-bar-thumb,
.logo-ticker-bar-wrap:hover .logo-ticker-bar-thumb {
  background: var(--color-gold);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .logo-ticker-fade { width: 60px; }
  .logo-item { padding: 0 20px; height: 64px; }
  .logo-item img { height: 32px; max-width: 80px; }
}
