/* ============================================================
   home.css — Additional styles for santoshshelar.com homepage
   Extends styles.css (design tokens already defined there)
   ============================================================ */

/* ============================================================
   HERO V2 — Professional Redesign
   ============================================================ */

/* Override hero padding for v2 with proper navbar clearance */
.lw-hero-v2 {
  padding: calc(var(--nav-height) + 40px) 0 80px;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* === Background Orbs === */
.hero-bg-v2 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 70%);
  top: -100px;
  right: 5%;
  animation: orbDrift1 14s ease-in-out infinite;
}

.hero-orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(77,184,168,0.14) 0%, transparent 70%);
  bottom: 5%;
  left: 10%;
  animation: orbDrift2 18s ease-in-out infinite;
}

.hero-orb-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(245,158,11,0.10) 0%, transparent 70%);
  top: 40%;
  left: 40%;
  animation: orbDrift1 22s ease-in-out infinite reverse;
}

@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(30px, -20px); }
  66%       { transform: translate(-15px, 25px); }
}

@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-25px, -30px); }
}

.hero-bg-v2 .hero-grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26,26,46,0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.6;
}

/* === Floating Social Sidebar === */
.hero-social-sidebar {
  position: fixed;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all var(--transition);
  position: relative;
  overflow: visible;
}

[data-theme="dark"] .hero-social-btn {
  background: var(--card-bg);
  color: var(--ink);
  border-color: var(--card-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-social-btn span {
  /* tooltip */
  position: absolute;
  left: calc(100% + 12px);
  white-space: nowrap;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-6px);
  transition: all var(--transition);
  font-family: var(--font-body);
}

.hero-social-btn span::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: var(--ink);
}

.hero-social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}

.hero-social-btn:hover span {
  opacity: 1;
  transform: translateX(0);
}

.hero-social-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--border-color), transparent);
  margin-top: 6px;
  border-radius: 1px;
}

/* === Hero V2 Inner Grid === */
.hero-v2-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* === Left: Content === */
.hero-v2-content {
  max-width: 560px;
}

/* Status pill */
.hero-v2-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(77,184,168,0.07);
  border: 1px solid rgba(77,184,168,0.2);
  border-radius: 100px;
  padding: 6px 16px 6px 10px;
  margin-bottom: 24px;
}

.hero-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4db8a8;
  box-shadow: 0 0 0 3px rgba(77,184,168,0.25);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(77,184,168,0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(77,184,168,0.12); }
}

.hero-status-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4db8a8;
  font-family: var(--font-body);
}

/* Eyebrow */
.hero-v2-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 16px;
}

/* Headline */
.hero-v2-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 24px;
}

/* Description */
.hero-v2-desc {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 490px;
  margin-bottom: 36px;
}

/* CTA buttons */
.hero-v2-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

/* === Metric Pills === */
.hero-metric-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 14px 24px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 4px 20px rgba(26, 26, 46, 0.05), 0 1px 3px rgba(26, 26, 46, 0.03);
  margin-bottom: 32px;
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
}

.metric-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.metric-pill-icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.metric-pill-number {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.metric-pill-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.metric-divider {
  display: none;
}

/* === Trust Row === */
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-trust-avatars {
  display: flex;
}

.hero-trust-avatars .bento-avatar {
  width: 36px;
  height: 36px;
  font-size: 0.8rem;
  margin-left: -10px;
  border: 2.5px solid var(--paper);
  box-shadow: 0 1px 4px rgba(26,26,46,0.1);
}

.hero-trust-avatars .bento-avatar:first-child { margin-left: 0; }

.hero-trust-text {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.hero-trust-text strong {
  color: var(--ink);
}

.hero-trust-stars {
  color: #f59e0b;
  font-size: 0.7rem;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* === Right: Visual Stack === */
.hero-v2-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* === Profile Card === */
.hero-profile-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 24px 28px;
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 40px rgba(26,26,46,0.10);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}

.hero-profile-card:hover {
  transform: translateY(-4px);
}

.hero-profile-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-profile-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.hero-profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #818cf8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(99,102,241,0.3);
}

.hero-profile-info {
  flex: 1;
}

.hero-profile-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.hero-profile-role {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.hero-profile-loc {
  font-size: 0.74rem;
  color: var(--muted);
}

.hero-profile-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(99,102,241,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-profile-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* === "Not Available" status variant === */
.hero-v2-badge-busy {
  background: rgba(107, 107, 123, 0.07);
  border-color: rgba(107, 107, 123, 0.2);
}

.hero-status-dot-busy {
  background: #6b6b7b;
  box-shadow: 0 0 0 3px rgba(107,107,123,0.2);
  animation: none;
}

.hero-status-text-busy {
  color: var(--muted);
}

/* === Hero Photo Card & Showcase === */
.hero-v2-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-photo-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  border-radius: 28px;
}

.hero-photo-glow {
  position: absolute;
  inset: -25px;
  background: radial-gradient(ellipse at 60% 40%, rgba(99,102,241,0.22) 0%, rgba(77,184,168,0.12) 45%, transparent 70%);
  border-radius: 40px;
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
  animation: glowPulse 6s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0%   { opacity: 0.7; transform: scale(0.98); }
  100% { opacity: 1;   transform: scale(1.03); }
}

.hero-photo-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(26,26,46,0.14), 0 0 0 1px rgba(99,102,241,0.12);
  z-index: 1;
  aspect-ratio: 3 / 4;
  max-height: 520px;
  background: #1a1a2e;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-photo-card:hover .hero-photo {
  transform: scale(1.04);
}

.hero-promo-panel {
  width: 100%;
  max-width: 430px;
  margin: 18px auto 0;
  padding: 22px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-promo-label {
  margin-bottom: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-promo-panel h2 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.hero-promo-panel p:not(.hero-promo-label) {
  margin-bottom: 14px;
  font-size: 0.82rem;
  line-height: 1.55;
}

.hero-promo-link {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-promo-link:hover {
  color: var(--accent-hover);
}

/* Nameplate overlay at bottom of photo */
.hero-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.95) 0%, rgba(26,26,46,0.7) 65%, transparent 100%);
  padding: 50px 24px 22px;
  z-index: 2;
}

.hero-photo-nameplate {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-photo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-photo-role {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.hero-photo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-photo-tags .tech-tag {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-size: 0.68rem;
  padding: 3px 9px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}

.hero-photo-tags .tech-tag:hover {
  border-color: rgba(99,102,241,0.6);
  background: rgba(99,102,241,0.25);
  color: #fff;
}

/* === Floating Satellite Badges on Photo Card === */
.hero-photo-badge {
  position: absolute;
  z-index: 3;
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 10px 16px;
  box-shadow: 0 8px 30px rgba(26,26,46,0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-photo-badge:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 36px rgba(99,102,241,0.18);
}

.hero-photo-badge-exp {
  top: 24px;
  right: -24px;
  animation: chipFloat 4.5s ease-in-out infinite;
}

.hero-photo-badge-proj {
  top: 44%;
  left: -28px;
  animation: chipFloat 4.5s ease-in-out infinite 1.8s;
}

.hero-photo-badge-educator {
  top: -16px;
  left: -16px;
  animation: chipFloat 5s ease-in-out infinite 0.9s;
}

.hero-photo-badge-emoji {
  font-size: 1.3rem;
  line-height: 1;
}

.hero-photo-badge-info {
  display: flex;
  flex-direction: column;
}

.hero-photo-badge-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.hero-photo-badge-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.hero-photo-badge-sub {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.hero-photo-badge-txt {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  line-height: 1.25;
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* === Scroll Indicator === */
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  z-index: 5;
}

.hero-scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(26,26,46,0.2);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.hero-scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   RESPONSIVE — Hero v2
   ============================================================ */
@media (max-width: 1200px) {
  .hero-social-sidebar { left: 16px; }
}

@media (max-width: 1024px) {
  .hero-v2-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-v2-content { max-width: 100%; }
  .hero-v2-visual  { order: -1; max-width: 520px; margin: 0 auto; }
  .hero-scroll-indicator { display: none; }
}

@media (max-width: 860px) {
  .hero-social-sidebar {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    padding: 16px 0 0;
    order: 10;
  }
  .hero-social-line { display: none; }
  .hero-social-btn span { display: none; }
  .lw-hero-v2 { padding-bottom: 60px; }
}

@media (max-width: 768px) {
  .lw-hero-v2 {
    padding-top: calc(var(--nav-height) + 28px) !important;
    padding-bottom: 3rem !important;
    min-height: auto !important;
  }

  .hero-v2-inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .hero-v2-visual {
    order: -1;
    max-width: 360px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  .hero-v2-title {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem) !important;
    line-height: 1.18 !important;
  }

  .hero-v2-desc {
    font-size: 1rem !important;
    line-height: 1.65 !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-v2-cta {
    margin-bottom: 2rem !important;
    flex-direction: column;
    align-items: stretch !important;
  }

  .hero-v2-cta .lw-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-metric-pills {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 14px !important;
  }

  .metric-divider {
    display: none !important;
  }

  .metric-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 2px 4px !important;
  }

  .metric-pill-number {
    font-size: 1.1rem !important;
  }

  .metric-pill-label {
    font-size: 0.8rem !important;
  }
}

@media (max-width: 480px) {
  .hero-metric-pills {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 12px 14px !important;
  }
  
  .hero-photo-card {
    padding: 14px !important;
  }
}



/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #818cf8 50%, var(--success) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HERO BENTO GRID ===== */
.hero-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.bento-code {
  grid-column: 1 / 3;
}

.bento-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px;
}

.bento-stat-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.bento-stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 16px;
}

.bento-stat-bar {
  height: 4px;
  background: rgba(99, 102, 241, 0.12);
  border-radius: 100px;
  overflow: hidden;
}

.bento-stat-fill {
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--accent), #818cf8);
  border-radius: 100px;
  animation: growBar 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

@keyframes growBar {
  from { width: 0; }
  to   { width: 72%; }
}

.bento-post {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
}

.bento-post-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--warning);
  font-weight: 500;
}

.bento-post-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  flex: 1;
}

.bento-post-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bento-post-link:hover { gap: 8px; }

.bento-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 16px;
  text-align: center;
}

.bento-avatars {
  display: flex;
  gap: -6px;
}

.bento-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid #fff;
  margin-left: -8px;
}

.bento-avatars .bento-avatar:first-child { margin-left: 0; }

.bento-social-text {
  font-size: 0.78rem;
  color: var(--muted);
}

.bento-social-text strong {
  color: var(--ink);
}

.bento-stars {
  font-size: 0.7rem;
  letter-spacing: 2px;
}

/* ===== SECTION HEADER ROW (title + CTA side by side) ===== */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-header-row .section-title {
  margin-bottom: 8px;
}

/* ===== CONTENT PILLARS ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.2);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 4px;
}

.pillar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.pillar-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
  margin: 0;
}

.pillar-card .card-link {
  margin-top: 4px;
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.project-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 12px 28px -8px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
}

.project-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
  position: relative;
  border-bottom: 1px solid var(--card-border);
  transition: transform 0.3s ease;
}

.project-card:hover .project-thumb {
  transform: scale(1.02);
}

.bg-accent-gradient {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.12));
}

.bg-success-gradient {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(14, 165, 233, 0.12));
}

.bg-warning-gradient {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(239, 68, 68, 0.12));
}

.bg-purple-gradient {
  background: linear-gradient(135deg, rgba(119, 123, 180, 0.18), rgba(79, 70, 229, 0.12));
}

.bg-cyan-gradient {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(99, 102, 241, 0.12));
}

.bg-pink-gradient {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(139, 92, 246, 0.12));
}

.project-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.badge-accent {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-purple {
  background: rgba(119, 123, 180, 0.1);
  color: #777bb4;
  border: 1px solid rgba(119, 123, 180, 0.2);
}

.project-links {
  display: flex;
  gap: 8px;
}

.project-icon-link {
  font-size: 1.1rem;
  opacity: 0.7;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}

.project-icon-link:hover {
  opacity: 1;
  transform: scale(1.2);
}

.project-card h3 {
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.project-card h3 a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition);
}

.project-card h3 a:hover {
  color: var(--accent);
}

.project-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--tag-bg);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  padding: 4px 10px;
  color: var(--ink);
  font-weight: 500;
  transition: all var(--transition);
}

.tech-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.project-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.project-card-footer {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

/* ===== BLOG SECTION ===== */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

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

.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-thumbnail {
  width: calc(100% + 56px);
  height: 172px;
  margin: -28px -28px 2px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-read-time {
  font-size: 0.78rem;
  color: var(--muted);
}

.blog-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  flex: 1;
}

.blog-excerpt {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

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

.blog-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.blog-author-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.blog-date {
  font-size: 0.72rem;
  color: var(--muted);
}

.blog-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 96px;
}

.sidebar-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sidebar-heading-row .section-eyebrow {
  margin-bottom: 0;
}

.sidebar-label,
.ad-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.promo-card,
.ad-slot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

.promo-card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.promo-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.promo-card-accent {
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.14), var(--card-bg) 62%);
}

.promo-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.14);
  font-size: 1.15rem;
}

.promo-icon-warm {
  background: rgba(245, 158, 11, 0.14);
}

.promo-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.promo-description,
.ad-slot p {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}

.promo-link {
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

.ad-slot {
  min-height: 180px;
  justify-content: center;
  border-style: dashed;
  background: var(--cream);
}

.ad-slot strong {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.3;
  color: var(--ink);
}

.article-page {
  padding: 116px 0 80px;
  background: var(--cream);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

.article-content {
  max-width: 780px;
  padding: 42px clamp(24px, 5vw, 64px) 56px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

.article-back {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
}

.article-kicker,
.article-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.article-kicker {
  color: var(--muted);
  font-size: 0.8rem;
}

.article-content h1 {
  max-width: 700px;
  margin: 18px 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
}

.article-lede {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.article-author-row {
  margin-bottom: 34px;
}

.article-author-row strong,
.article-author-row span {
  display: block;
}

.article-author-row strong {
  color: var(--ink);
  font-size: 0.84rem;
}

.article-author-row span {
  color: var(--muted);
  font-size: 0.76rem;
}

.article-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 28px;
}

.article-body {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.75;
}

.article-body p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.75;
}

.article-body h2 {
  margin: 32px 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
}

.article-body h3 {
  margin: 24px 0 10px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.article-body h4 {
  margin: 18px 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.article-body ul,
.article-body ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 6px;
  line-height: 1.65;
  font-size: 0.95rem;
}

.article-body code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--code-bg);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.84em;
  border: 1px solid var(--border-color);
}

.article-body pre {
  overflow-x: auto;
  margin: 20px 0 24px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--code-bg);
  color: var(--ink);
  font: 0.8rem/1.65 var(--font-mono);
  border: 1px solid var(--border-color);
}

.article-body pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  border: none;
  font-size: 1em;
}

.article-body table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.article-body th,
.article-body td {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.article-body th {
  background: var(--surface);
  font-weight: 600;
}

.promise-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.promise-diagram span {
  padding: 7px 10px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--card-bg);
}

.promise-diagram i {
  color: var(--muted);
  font-style: normal;
}

.promise-diagram .diagram-success {
  color: var(--success);
}

.promise-diagram .diagram-error {
  color: var(--warning);
}

.promise-diagram .diagram-or {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.article-body blockquote {
  margin: 24px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-sidebar {
  margin-top: 0;
}

/* ===== TOOLS SECTION — EXTRA ===== */
.tool-link {
  display: block;
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}

.tools-footer {
  text-align: center;
  margin-top: 48px;
}

/* ===== INTERVIEW PREP ===== */
.interview-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.interview-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.interview-left .section-title { margin-bottom: 0; }

.interview-stats {
  display: flex;
  gap: 32px;
}

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

.interview-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.interview-stat-label {
  font-size: 0.78rem;
  color: var(--muted);
}

.topic-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-badge {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
}

.badge-accent {
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

/* Interview Preview Card */
.interview-preview-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl, 28px);
  padding: 32px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.interview-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.interview-q {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
}

.interview-q code {
  font-family: var(--font-mono);
  background: var(--cream);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.interview-answer-preview {
  position: relative;
}

.interview-answer-preview p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 8px;
}

.interview-answer-preview code {
  font-family: var(--font-mono);
  background: var(--cream);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--accent);
}

.interview-answer-blur {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--card-bg));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.interview-preview-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

/* ===== CONCEPTS SECTION ===== */
.concepts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.concept-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.concept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.concept-featured {
  grid-column: 1;
  grid-row: span 2;
  background: var(--ink);
  border-color: transparent;
  color: rgba(255,255,255,0.85);
  justify-content: flex-end;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

.concept-featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(99,102,241,0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(77,184,168,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.concept-featured * { position: relative; z-index: 1; }

.concept-featured-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(99,102,241,0.8);
  font-weight: 500;
}

.concept-category-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.concept-featured .concept-category-tag {
  color: rgba(255,255,255,0.4);
}

.concept-card h3 {
  font-size: 1.05rem;
  line-height: 1.4;
}

.concept-featured h3 {
  color: #fff;
  font-size: 1.25rem;
}

.concept-card p {
  font-size: 0.88rem;
  line-height: 1.65;
}

.concept-featured p {
  color: rgba(255,255,255,0.65);
}

.concept-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--muted);
}

.concept-featured .concept-meta {
  color: rgba(255,255,255,0.5);
}

.concept-badge {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
}

/* ===== NEWSLETTER ===== */
.newsletter-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl, 28px);
  padding: 60px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 400px; height: 400px;
  background: radial-gradient(circle at 80% 20%, rgba(99,102,241,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.newsletter-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.newsletter-left h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.newsletter-left p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.newsletter-form-inline {
  display: flex;
  gap: 12px;
}

.newsletter-fine-print {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.newsletter-right h4 {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: var(--ink);
}

.newsletter-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.perk-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.perk-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== ABOUT SNAPSHOT ===== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-left .section-title { margin-bottom: 0; }

.about-bio {
  font-size: 0.97rem;
  line-height: 1.75;
}

.about-status { margin: 0; }

.about-tech h4 {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tech-stack-groups {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tech-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.tech-group-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  padding-top: 5px;
  white-space: nowrap;
  min-width: 60px;
}

/* About Right Card */
.about-right {
  display: flex;
  justify-content: center;
}

.about-avatar-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl, 28px);
  padding: 40px 36px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
  text-align: center;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-avatar-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

.about-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
}

.about-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(99,102,241,0.25);
  animation: spinSlow 12s linear infinite;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.about-quick-stats {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid rgba(26,26,46,0.06);
  border-bottom: 1px solid rgba(26,26,46,0.06);
}

.about-quick-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.about-quick-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-quick-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}

.about-cta-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-social-btn {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  transition: all var(--transition);
  border: 1px solid rgba(26,26,46,0.06);
  text-align: center;
}

.about-social-btn:hover {
  background: rgba(99,102,241,0.06);
  border-color: rgba(99,102,241,0.15);
  color: var(--accent);
  transform: translateX(3px);
}

/* ===== TECH STACK LOGO CLOUD & MARQUEE ===== */
.tech-marquee-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.tech-marquee-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: techMarqueeScroll 30s linear infinite;
  will-change: transform;
}

.tech-marquee-wrapper:hover .tech-marquee-track {
  animation-play-state: paused;
}

@keyframes techMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.tech-marquee-item {
  width: 130px;
  min-height: 110px;
  padding: 16px 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  flex-shrink: 0;
  user-select: none;
  cursor: pointer;
}

.tech-marquee-item::after {
  content: attr(title);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.tech-marquee-item .tech-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: block;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tech-marquee-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md), 0 8px 24px -6px rgba(99, 102, 241, 0.18);
}

.tech-marquee-item:hover .tech-logo {
  transform: scale(1.15);
}

.tech-cloud {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.tech-logo-wrapper {
  min-height: 120px;
  padding: 18px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  text-decoration: none;
}

.tech-logo-wrapper::after {
  content: attr(title);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.tech-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: block;
  transition: transform 0.2s ease;
}

.tech-logo-wrapper:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md), 0 8px 24px -6px rgba(99, 102, 241, 0.15);
}

.tech-logo-wrapper:hover .tech-logo {
  transform: scale(1.1);
}

/* ===== FOOTER COL ===== */
.footer-col {}

/* ===== MOBILE MENU SOCIAL LINKS ===== */
.mobile-menu-socials {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.social-link-mobile {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--tag-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  transition: all var(--transition);
}

.social-link-mobile:hover {
  background: var(--accent);
  color: #fff;
}

/* ===== BUTTON RIPPLE ===== */
.lw-btn {
  position: relative;
  overflow: hidden;
}

.btn-ripple {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: translate(-50%, -50%) scale(30);
    opacity: 0;
  }
}

/* ===== RESPONSIVE — TABLET (max 1024px) ===== */
@media (max-width: 1024px) {
  .tech-cloud {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .project-featured .project-thumb {
    height: 200px;
  }

  .concepts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .concept-featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 240px;
    justify-content: flex-start;
  }

  .interview-split,
  .about-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .newsletter-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  .hero-bento {
    max-width: 480px;
    margin: 0 auto;
  }

  .blog-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
  }

  .article-sidebar {
    margin-top: 0;
  }

  .blog-sidebar {
    position: sticky;
    top: 96px;
    grid-template-columns: 1fr;
  }

  .sidebar-heading-row,
  .ad-slot {
    grid-column: auto;
  }
}

/* ===== RESPONSIVE — MOBILE (max 768px) ===== */
@media (max-width: 768px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

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

  .blog-card {
    min-width: 0;
  }

  .article-page {
    padding-top: 92px;
  }

  .article-content {
    padding: 28px 20px 38px;
  }

  .article-content h1 {
    font-size: 2.25rem;
  }

  .article-hero-image {
    aspect-ratio: 4 / 3;
  }

  .blog-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar-heading-row,
  .ad-slot {
    grid-column: auto;
  }

  .concepts-grid {
    grid-template-columns: 1fr;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-card {
    padding: 32px 24px;
  }

  .newsletter-form-inline {
    flex-direction: column;
  }

  .interview-stats {
    gap: 20px;
  }

  .hero-bento {
    grid-template-columns: 1fr;
  }

  .bento-code {
    grid-column: 1;
  }
}

/* ===== RESPONSIVE — SMALL MOBILE (max 480px) ===== */
@media (max-width: 480px) {
  .tech-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .tech-logo-wrapper {
    min-height: 116px;
    padding: 18px 8px 14px;
  }

  .pillars-grid,
  .projects-grid,
  .concepts-grid {
    grid-template-columns: 1fr;
  }

  .about-quick-stats {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .interview-stats {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ===== QUESTION OF THE DAY WIDGET ===== */
.qotd-wrapper {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* Progress dots */
.qotd-progress {
  display: flex;
  gap: 8px;
  align-items: center;
}
.qotd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
}
.qotd-dot:hover { background: var(--muted); transform: scale(1.2); }
.qotd-dot-active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}

/* The card container */
.qotd-card {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg, 0 8px 40px rgba(0,0,0,0.12));
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  outline: none;
  position: relative;
}
.qotd-card:hover {
  box-shadow: 0 12px 50px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}
.qotd-card:focus-visible {
  box-shadow: 0 0 0 3px var(--accent), 0 8px 40px rgba(0,0,0,0.12);
}

/* Coloured top accent bar */
.qotd-accent-bar {
  height: 4px;
  width: 100%;
}

/* Card sides */
.qotd-side {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-height: 220px;
}

/* Answer side hidden by default */
.qotd-side-answer {
  display: none;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(135deg, rgba(34,197,94,0.04) 0%, rgba(59,130,246,0.04) 100%);
  animation: qotdSlideIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.qotd-card.is-revealed .qotd-side-answer {
  display: flex;
}
.qotd-card.is-revealed .qotd-side-question {
  border-bottom: 1px solid var(--border-color);
}

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

/* Badges row */
.qotd-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.qotd-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.qotd-badge-topic {
  background: rgba(59,130,246,0.1);
  color: var(--accent);
  border-color: rgba(59,130,246,0.2);
}
.qotd-badge-diff {
  border: 1px solid;
}
.qotd-badge-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  color: var(--muted);
  border-color: var(--border-color);
  margin-left: auto;
}

/* Question text */
.qotd-question {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* Tags */
.qotd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Answer section */
.qotd-answer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.qotd-answer {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  opacity: 0.9;
}

/* Controls */
.qotd-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 600px) {
  .qotd-side { padding: 1.5rem; min-height: 180px; }
  .qotd-question { font-size: 1.05rem; }
  .qotd-badge-action { display: none; }
}
