/* ═══════════════════════════════════════════════
   Quantum Light Technologies — Design System v2
   Brand Guide: Phase Green / Coherence Lime / Quantum Dark
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Tokens ── */
:root {
  --quantum-dark: #0F1719;
  --quantum-dark-2: #131F23;
  --navy: #11252B;
  --navy-2: #15323A;
  --photon-white: #FFFFFF;
  --phase-green: #B8FF3A;
  --coherence-lime: #E0FF4A;
  --substrate-gray: #ECEAE4;
  --cloud: #F4F3EF;
  --silicon: #6B7B7F;
  --waveguide-teal: #2CC6B3;
  --signal-amber: #F5A054;
  --ink: #0F1719;
  --ink-soft: #2A373A;
  --line: rgba(255, 255, 255, 0.08);
  --line-light: rgba(15, 23, 25, 0.10);
  --line-strong: rgba(255, 255, 255, 0.14);
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-bg-light: rgba(255, 255, 255, 0.78);
  --glow: rgba(184, 255, 58, 0.15);
  --glow-strong: rgba(184, 255, 58, 0.25);
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  --shadow-green: 0 16px 48px rgba(184, 255, 58, 0.15);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;
  --max: 1200px;
  --font: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  background: var(--quantum-dark);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ── Shell ── */
.shell { width: min(calc(100% - 2.5rem), var(--max)); margin: 0 auto; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--photon-white);
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  max-width: 58ch;
}

.section-copy {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

.mono { font-family: var(--mono); }

/* ── Eyebrow ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(184, 255, 58, 0.08);
  border: 1px solid rgba(184, 255, 58, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--phase-green);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--phase-green);
  box-shadow: 0 0 8px var(--phase-green);
}

/* ═══════════════════
   HEADER / NAV
   ═══════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.site-header.scrolled {
  background: rgba(15, 23, 25, 0.85);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--phase-green);
  text-shadow: 0 0 24px rgba(184, 255, 58, 0.4);
}

.brand-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.25s var(--ease-out);
  position: relative;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--photon-white);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--phase-green);
  box-shadow: 0 0 6px var(--phase-green);
}

.nav-cta {
  margin-left: 0.3rem;
  padding: 0.55rem 1.1rem !important;
  background: rgba(184, 255, 58, 0.1) !important;
  border: 1px solid rgba(184, 255, 58, 0.25) !important;
  color: var(--phase-green) !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

.nav-cta:hover {
  background: rgba(184, 255, 58, 0.18) !important;
  box-shadow: var(--shadow-green);
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  color: var(--photon-white);
  border-radius: var(--radius-full);
  padding: 0.6rem 1rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

/* ═══════════════════
   HERO
   ═══════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

/* ── Full-screen logo splash ── */
.hero.hero-splash {
  padding: 0;
  margin-top: -4.5rem;
  min-height: 100vh;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background: #e8e6e0;
  overflow: hidden;
}
.hero.hero-splash::before,
.hero.hero-splash::after { display: none; }

.splash-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.splash-glow-tl {
  width: 600px; height: 600px;
  top: -15%; left: -8%;
  background: radial-gradient(circle, rgba(160,255,20,0.7) 0%, rgba(190,255,50,0.35) 40%, transparent 70%);
}
.splash-glow-r {
  width: 450px; height: 550px;
  top: 15%; right: -5%;
  background: radial-gradient(circle, rgba(40,230,60,0.6) 0%, rgba(150,255,30,0.35) 35%, transparent 65%);
}

.splash-logo {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  z-index: 2;
}
.splash-mark {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(6rem, 14vw, 16rem);
  color: #fff;
  line-height: 0.85;
  letter-spacing: -0.03em;
}
.splash-name {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 3.5vw, 3.6rem);
  color: #1a1a1a;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.splash-name sup {
  font-size: 0.35em;
  vertical-align: super;
  font-weight: 300;
  opacity: 0.6;
}

.hero-splash-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(15, 23, 25, 0.35);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(184, 255, 58, 0.12) 0%, rgba(224, 255, 74, 0.06) 40%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(44, 198, 179, 0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite reverse;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge { margin-bottom: 1.5rem; }

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 14ch;
}

.hero h1 .accent { color: var(--phase-green); }

.hero .lede { margin-bottom: 2rem; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--phase-green);
  letter-spacing: -0.04em;
}

.hero-stat span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ── Chip Visual (Hero RHS) ── */
.chip-visual {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(20, 35, 42, 0.95), rgba(15, 23, 25, 0.98));
  border: 1px solid var(--line-strong);
  padding: 2rem;
  overflow: hidden;
}

.chip-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 255, 58, 0.5), transparent);
}

.chip-visual::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(184, 255, 58, 0.08), transparent 60%);
  pointer-events: none;
}

.chip-header {
  margin-bottom: 1.5rem;
}

.chip-header small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--phase-green);
  font-weight: 700;
}

.chip-header h3 {
  margin-top: 0.5rem;
  font-size: 1.3rem;
  color: var(--photon-white);
}

.chip-header p {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
}

.chip-stack {
  display: grid;
  gap: 0.65rem;
}

.chip-layer {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s var(--ease-out);
}

.chip-layer:hover {
  background: rgba(184, 255, 58, 0.04);
  border-color: rgba(184, 255, 58, 0.12);
}

.chip-layer strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--phase-green);
  font-weight: 700;
}

.chip-layer span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

/* ═══════════════════
   BUTTONS
   ═══════════════════ */
.btn, .btn-secondary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border: none;
  text-decoration: none;
}

.btn {
  background: linear-gradient(135deg, var(--phase-green), var(--coherence-lime));
  color: var(--quantum-dark);
  box-shadow: 0 12px 36px rgba(184, 255, 58, 0.18);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(184, 255, 58, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--photon-white);
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--phase-green);
  border: 1px solid rgba(184, 255, 58, 0.25);
}

.btn-ghost:hover {
  background: rgba(184, 255, 58, 0.08);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ═══════════════════
   SECTIONS
   ═══════════════════ */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-light {
  background: var(--substrate-gray);
  color: var(--ink);
  border-top: 1px solid var(--line-light);
}

.section-light h2,
.section-light h3,
.section-light h4 { color: var(--ink); }
.section-light .lede,
.section-light .section-copy,
.section-light .card p { color: var(--ink-soft); }
.section-light .card-label { color: var(--phase-green); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-head p {
  max-width: 48ch;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
}

.section-light .section-head p { color: var(--silicon); }

/* ── Page Hero (subpages) ── */
.page-hero {
  padding: 8rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184, 255, 58, 0.08), transparent 60%);
  pointer-events: none;
}

.page-hero h1 { margin: 1rem 0 1.2rem; max-width: 18ch; }
.page-hero .lede { max-width: 62ch; }

/* ── Blog Hero with Fade-Shift Background ── */
.blog-hero-bg {
  position: relative;
  overflow: hidden;
}

.blog-hero-bg .hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Left-to-right fade: solid dark on left → transparent on right to reveal image */
.blog-hero-bg .hero-bg-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--quantum-dark) 0%,
    var(--quantum-dark) 25%,
    rgba(15, 23, 25, 0.92) 40%,
    rgba(15, 23, 25, 0.65) 60%,
    rgba(15, 23, 25, 0.35) 80%,
    rgba(15, 23, 25, 0.20) 100%
  );
  z-index: 1;
}

/* Dark top/bottom edge vignette */
.blog-hero-bg .hero-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 25, 0.6) 0%,
    transparent 25%,
    transparent 75%,
    rgba(15, 23, 25, 0.7) 100%
  );
  z-index: 2;
}

/* Ensure text sits above the overlay */
.blog-hero-bg > .shell {
  position: relative;
  z-index: 3;
}

/* Individual blog hero images */
.blog-bg-transistor .hero-bg-img  { background-image: url('img/blog-hero-transistor.png'); }
.blog-bg-chip .hero-bg-img       { background-image: url('img/blog-hero-chip.png'); }
.blog-bg-fab .hero-bg-img        { background-image: url('img/blog-hero-fab.png'); }
.blog-bg-patent .hero-bg-img     { background-image: url('img/blog-hero-patent.png'); }
.blog-bg-energy .hero-bg-img     { background-image: url('img/blog-hero-energy.png'); }
.blog-bg-quantum .hero-bg-img    { background-image: url('img/blog-hero-quantum.png'); }
.blog-bg-platform .hero-bg-img   { background-image: url('img/blog-hero-platform.png'); }
.blog-bg-packaging .hero-bg-img  { background-image: url('img/blog-hero-packaging.png'); }
.blog-bg-datacenter .hero-bg-img { background-image: url('img/blog-hero-datacenter.png'); }
.blog-bg-edge-ai .hero-bg-img    { background-image: url('img/blog-hero-edge-ai.png'); }
.blog-bg-quantum-net .hero-bg-img { background-image: url('img/blog-hero-quantum-net.png'); }
.blog-bg-room-temp .hero-bg-img  { background-image: url('img/blog-hero-room-temp.png'); }
.blog-bg-market .hero-bg-img     { background-image: url('img/blog-hero-market.png'); }
.blog-bg-article-semi .hero-bg-img    { background-image: url('img/article-semi.png'); }
.blog-bg-article-optics .hero-bg-img  { background-image: url('img/article-optics.png'); }
.blog-bg-article-energy .hero-bg-img  { background-image: url('img/article-energy.png'); }
.blog-bg-article-quantum .hero-bg-img { background-image: url('img/article-quantum.png'); }
.blog-bg-article-financials .hero-bg-img { background-image: url('img/page-hero-financials.png'); }

/* ═══ INTERACTIVE FINANCIALS TABLE ═══ */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
}

.comparison-table th {
  text-align: left;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.comparison-table tr {
  background: var(--card-bg);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.comparison-table tr:hover {
  background: rgba(184, 255, 58, 0.03);
  transform: translateX(12px);
  box-shadow: -4px 0 0 var(--phase-green);
}

.comparison-table td {
  padding: 1.5rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.3s ease;
}

.comparison-table tr:hover td {
  color: var(--photon-white);
}

/* Tooltip Popup Array */
.has-popup {
  position: relative;
  cursor: help;
  border-bottom: 1px dashed rgba(255,255,255,0.3);
  display: inline-block;
}

.has-popup::after {
  content: attr(data-popup);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #0a1012;
  border: 1px solid var(--phase-green);
  color: var(--photon-white);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: normal;
  width: max-content;
  max-width: 320px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 20px rgba(184,255,58,0.15);
  z-index: 100;
  pointer-events: none;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

.has-popup:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-12px);
}

/* ═══ MEGA HOVER ARTICLES ═══ */
.stat-container {
  position: relative;
}

.article-popup {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 380px;
  background: transparent;
  border: none;
  border-radius: 12px;
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  pointer-events: none;
  padding-top: 10px; /* invisible hover bridge */
}

/* Inner wrapper provides the visible card */
.article-popup-inner {
  background: #0a1012;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--phase-green);
  box-shadow: 0 30px 60px rgba(0,0,0,0.95), 0 0 40px rgba(184,255,58,0.1);
}

.stat-container:hover .article-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.article-popup-img {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.article-popup-content {
  padding: 1.5rem;
  text-align: left;
}

.article-popup-headline {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--photon-white);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.article-popup-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.article-popup-text:last-child {
  margin-bottom: 0;
}

.article-popup-source {
  font-size: 0.75rem;
  color: var(--phase-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

/* Mobile: stronger fade for readability */
@media (max-width: 768px) {
  .blog-hero-bg .hero-bg-img::before {
    background: linear-gradient(
      90deg,
      var(--quantum-dark) 0%,
      var(--quantum-dark) 35%,
      rgba(15, 23, 25, 0.85) 55%,
      rgba(15, 23, 25, 0.60) 100%
    );
  }
}

/* ═══════════════════
   GRIDS
   ═══════════════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.split-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem; }
.split-grid-even { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* ═══════════════════
   CARDS
   ═══════════════════ */
.card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--line);
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 255, 58, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.card:hover {
  border-color: rgba(184, 255, 58, 0.15);
  background: rgba(184, 255, 58, 0.02);
  transform: translateY(-3px);
}

.card:hover::before { opacity: 1; }

.section-light .card {
  background: var(--card-bg-light);
  border-color: var(--line-light);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.section-light .card:hover {
  border-color: rgba(184, 255, 58, 0.3);
  background: var(--photon-white);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.card-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--phase-green);
  margin-bottom: 0.6rem;
}

.card h3 { margin-bottom: 0.7rem; }

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
}
.section-light .card p { color: var(--silicon); }

.card-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(184, 255, 58, 0.12);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 0.8rem;
}

/* ── Callout Card ── */
.callout {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(184, 255, 58, 0.08), transparent 50%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(184, 255, 58, 0.1);
}

/* ── Stat Card ── */
.stat {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--line);
  text-align: center;
}

.stat-value {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--photon-white);
  line-height: 1.2;
  margin-top: 0.5rem;
}

/* ═══════════════════
   PILLS & TAGS
   ═══════════════════ */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.pill {
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s;
}

.pill:hover {
  border-color: rgba(184, 255, 58, 0.2);
  color: var(--phase-green);
}

.section-light .pill {
  border-color: var(--line-light);
  background: var(--photon-white);
  color: var(--ink-soft);
}

/* ═══════════════════
   TIMELINE
   ═══════════════════ */
.timeline { display: grid; gap: 0; }

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.2rem;
  padding: 1.2rem 0 1.2rem 1.5rem;
  border-left: 1px solid var(--line-strong);
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 1.6rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--phase-green);
  box-shadow: 0 0 10px var(--phase-green);
}

.timeline-item strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--phase-green);
  font-weight: 700;
  padding-top: 0.15rem;
}

.timeline-item h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.timeline-item p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.55); }

/* ═══════════════════
   TABLES
   ═══════════════════ */
.table-wrap {
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--line);
  overflow: auto;
}

table { width: 100%; border-collapse: collapse; min-width: 600px; }

th, td {
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--phase-green);
  font-weight: 700;
  background: rgba(184, 255, 58, 0.03);
}

td {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(184, 255, 58, 0.02); }

/* Manufacturing equipment tables — 4-column layout */
table th:last-child,
table td:last-child {
  white-space: nowrap !important;
  min-width: 110px;
  text-align: right;
  padding-left: 0.5rem;
}

table th:first-child,
table td:first-child {
  min-width: 150px;
  width: 16%;
  font-weight: 600;
}

table th:nth-child(3),
table td:nth-child(3) {
  min-width: 200px;
  width: 22%;
}

table th:nth-child(2),
table td:nth-child(2) {
  width: 42%;
}

/* Alternating row tint for readability */
tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

/* ═══════════════════
   LIST
   ═══════════════════ */
.check-list { display: grid; gap: 0.65rem; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.check-list li::before {
  content: '→';
  color: var(--phase-green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.section-light .check-list li { color: var(--ink-soft); }
.section-light .check-list li::before { color: var(--phase-green); }

/* ═══════════════════
   CTA BAND
   ═══════════════════ */
.cta-band {
  position: relative;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(20, 35, 42, 0.98), rgba(15, 23, 25, 0.95));
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--phase-green), transparent);
}

.cta-band::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(184, 255, 58, 0.06), transparent 60%);
  pointer-events: none;
}

.cta-band h2 { margin: 0.8rem 0 1rem; }
.cta-band p { color: rgba(255, 255, 255, 0.6); max-width: 55ch; margin-bottom: 1.5rem; }

/* ═══════════════════
   BLOG CARDS
   ═══════════════════ */
a.card { display: block; }
a.card:hover h3 { color: var(--phase-green); }

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.5rem;
}

/* ═══════════════════
   DIVIDER
   ═══════════════════ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin: 1.5rem 0;
}

/* ═══════════════════
   SCROLL ANIMATIONS
   ═══════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ═══════════════════
   FOOTER
   ═══════════════════ */
.footer {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }

.footer-brand .brand-mark {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--phase-green);
}

.footer-brand span {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.footer-desc {
  max-width: 44ch;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 2rem;
}

.footer-links-grid a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s;
}

.footer-links-grid a:hover { color: var(--phase-green); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ═══════════════════
   CONTACT FORM
   ═══════════════════ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--photon-white);
  font: inherit;
  font-size: 0.95rem;
  transition: all 0.25s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--phase-green);
  box-shadow: 0 0 0 3px rgba(184, 255, 58, 0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ═══════════════════
   PROTECTED GATE
   ═══════════════════ */
.gate-shell {
  max-width: 560px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background: var(--card-bg);
}

.gate-form {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.gate-form input {
  flex: 1;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--photon-white);
  font: inherit;
}

.gate-error {
  color: var(--signal-amber);
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.4rem;
  margin-top: 0.5rem;
}

.protected-content[hidden] { display: none; }

/* ═══════════════════
   ARTICLE
   ═══════════════════ */
.article {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  border: 1px solid var(--line);
}

.article h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.8rem; }
.article h3 { margin-top: 2rem; margin-bottom: 0.8rem; font-size: 1.35rem; }
.article p { font-size: 1.02rem; color: rgba(255, 255, 255, 0.72); line-height: 1.7; margin-bottom: 1.2rem; }
.article ul, .article ol { margin-bottom: 1.2rem; }
.article li { font-size: 1.02rem; color: rgba(255, 255, 255, 0.72); line-height: 1.7; margin-bottom: 0.4rem; padding-left: 1.2rem; position: relative; }
.article li::before { content: '—'; position: absolute; left: 0; color: var(--phase-green); }

.article blockquote {
  margin: 1.5rem 0;
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--phase-green);
  background: rgba(184, 255, 58, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════
   FINANCIALS
   ═══════════════════ */
.metric-large {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--phase-green);
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* ═══════════════════
   RESPONSIVE
   ═══════════════════ */
@media (max-width: 1060px) {
  .hero-grid,
  .split-grid,
  .split-grid-even,
  .footer-grid { grid-template-columns: 1fr; }

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

@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 25, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
  }

  .site-nav.open { display: flex; }

  .grid-2, .grid-3, .grid-4,
  .form-grid { grid-template-columns: 1fr; }

  .hero { padding: 5.5rem 0 3rem; min-height: auto; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .section { padding: 3rem 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 2rem 1.5rem; }
  .footer-links-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }

  .chip-layer {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 1.2rem;
  }

  .timeline-item strong {
    margin-bottom: 0.2rem;
  }

  h1 { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .btn-row { flex-direction: column; }
  .btn, .btn-secondary, .btn-ghost { width: 100%; }
}

/* ═══════════════════════════════════════════════
   Parallax Cinematic Sections
   ═══════════════════════════════════════════════ */

.parallax-break {
  position: relative;
  height: 45vh;
  min-height: 320px;
  max-height: 520px;
  overflow: hidden;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Dark cinematic overlay */
.parallax-break::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 25, 0.72) 0%,
    rgba(15, 23, 25, 0.40) 40%,
    rgba(15, 23, 25, 0.40) 60%,
    rgba(15, 23, 25, 0.72) 100%
  );
  z-index: 1;
}

/* Subtle brand-color glow at edges */
.parallax-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(184, 255, 58, 0.04) 0%,
    transparent 25%,
    transparent 75%,
    rgba(184, 255, 58, 0.04) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Optional overlay text */
.parallax-break .parallax-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  text-align: center;
  padding: 2rem;
}

.parallax-break .parallax-caption .parallax-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--phase-green);
  margin-bottom: 0.8rem;
  opacity: 0.9;
}

.parallax-break .parallax-caption .parallax-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  max-width: 700px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Individual image assignments */
.parallax-photon   { background-image: url('img/parallax-photon-beam.png'); }
.parallax-datacenter { background-image: url('img/parallax-data-center.png'); }
.parallax-chip     { background-image: url('img/parallax-chip-macro.png'); }
.parallax-fiber    { background-image: url('img/parallax-fiber-optics.png'); }
.parallax-quantum  { background-image: url('img/parallax-quantum.png'); }
.parallax-prism    { background-image: url('img/parallax-prism.png'); }
.parallax-market   { background-image: url('img/parallax-market.png'); }
.parallax-wafer    { background-image: url('img/parallax-wafer.png'); }
.parallax-fab      { background-image: url('img/parallax-fab.png'); }
.parallax-speed    { background-image: url('img/parallax-speed.png'); }
.parallax-network  { background-image: url('img/parallax-network.png'); }
.parallax-server   { background-image: url('img/parallax-server.png'); }
.parallax-coherence{ background-image: url('img/parallax-coherence.png'); }
.parallax-thermal  { background-image: url('img/parallax-thermal.png'); }

/* Taller variant for dramatic moments */
.parallax-break.parallax-tall {
  height: 55vh;
  max-height: 620px;
}

/* Shorter variant for subtle breaks */
.parallax-break.parallax-short {
  height: 32vh;
  min-height: 240px;
  max-height: 380px;
}

/* Mobile: disable fixed attachment (iOS doesn't support it) */
@media (max-width: 768px) {
  .parallax-break {
    background-attachment: scroll;
    height: 35vh;
    min-height: 240px;
  }
  .parallax-break .parallax-caption .parallax-text {
    font-size: 1.2rem;
  }
}

/* ═══════════════════════════════════════════════
   STACKED BLOG CARDS — Single Column with Image Reveal
   ═══════════════════════════════════════════════ */

.blog-stack {
  margin-bottom: 3rem;
}

.blog-stack-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(184,255,58,0.04) 0%, rgba(15,23,25,0.8) 100%);
  border: 1px solid rgba(184,255,58,0.08);
  position: relative;
  overflow: hidden;
}

/* Subtle shimmer on stack header */
.blog-stack-label::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(184,255,58,0.03), transparent);
  animation: stackShimmer 6s ease-in-out infinite;
}
@keyframes stackShimmer {
  0%, 100% { left: -100%; }
  50%      { left: 100%; }
}

.blog-stack-label .stack-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.stack-qlt {
  font-family: 'Inter', sans-serif;
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--quantum-dark);
  line-height: 1;
}

.blog-stack-label h2 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--photon-white);
  position: relative;
  z-index: 1;
}

.blog-stack-label .stack-count {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--silicon);
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}

/* Individual stacked card */
.blog-layer {
  display: block;
  position: relative;
  margin-bottom: -1px;
  padding: 1rem 1.6rem;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 0;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
  cursor: pointer;
}

.blog-layer:first-of-type { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.blog-layer:last-of-type  { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.blog-layer:only-of-type  { border-radius: var(--radius-sm); }

/* Background hero image — hidden by default, opacity-shift style */
.blog-layer .layer-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s var(--ease-out);
  pointer-events: none;
}

.blog-layer .layer-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(15,23,25,0.94) 0%,
    rgba(15,23,25,0.82) 40%,
    rgba(15,23,25,0.55) 100%);
}

.blog-layer:hover .layer-bg { opacity: 1; }

/* Left accent bar */
.blog-layer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  opacity: 0;
  transition: opacity 0.35s;
  z-index: 2;
}
.blog-layer:hover::before { opacity: 1; }

.blog-layer[data-cat="market"]::before    { background: var(--phase-green); }
.blog-layer[data-cat="tech"]::before      { background: var(--waveguide-teal); }
.blog-layer[data-cat="product"]::before   { background: var(--signal-amber); }
.blog-layer[data-cat="strategy"]::before  { background: var(--coherence-lime); }
.blog-layer[data-cat="financial"]::before { background: #FF6B9D; }

/* Header row */
.blog-layer-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  position: relative;
  z-index: 2;
}

.blog-layer-head .layer-num {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--silicon);
  font-family: var(--mono);
  flex-shrink: 0;
  min-width: 24px;
  transition: color 0.3s;
}
.blog-layer:hover .layer-num { color: var(--phase-green); }

.blog-layer-head .layer-tag {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  white-space: nowrap;
}

.blog-layer[data-cat="market"] .layer-tag    { background: rgba(184,255,58,0.1); color: var(--phase-green); }
.blog-layer[data-cat="tech"] .layer-tag      { background: rgba(44,198,179,0.1); color: var(--waveguide-teal); }
.blog-layer[data-cat="product"] .layer-tag   { background: rgba(245,160,84,0.1); color: var(--signal-amber); }
.blog-layer[data-cat="strategy"] .layer-tag  { background: rgba(224,255,74,0.1); color: var(--coherence-lime); }
.blog-layer[data-cat="financial"] .layer-tag { background: rgba(255,107,157,0.1); color: #FF6B9D; }

.blog-layer-head h3 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--photon-white);
  flex: 1;
  transition: color 0.3s;
}
.blog-layer:hover .blog-layer-head h3 { color: var(--phase-green); }

.blog-layer-head .layer-arrow {
  font-size: 0.9rem;
  color: var(--silicon);
  transition: all 0.4s var(--ease-spring);
  flex-shrink: 0;
  opacity: 0.4;
}
.blog-layer:hover .layer-arrow {
  color: var(--phase-green);
  transform: translateX(6px);
  opacity: 1;
}

/* Expandable body */
.blog-layer-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s 0.08s, padding 0.4s;
  padding: 0;
  position: relative;
  z-index: 2;
}

.blog-layer:hover .blog-layer-body {
  max-height: 140px;
  opacity: 1;
  padding: 0.7rem 0 0.2rem 34px;
}

.blog-layer-body p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0.4rem;
}

.blog-layer-body .layer-cta {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--phase-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.blog-layer-body .layer-cta::after {
  content: '→';
  transition: transform 0.3s var(--ease-spring);
}
.blog-layer:hover .blog-layer-body .layer-cta::after {
  transform: translateX(5px);
}

/* Hover state — glassmorphism uplift */
.blog-layer:hover {
  background: rgba(15,23,25,0.92);
  border-color: rgba(184,255,58,0.12);
  transform: scale(1.008) translateX(4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3),
              -4px 0 20px rgba(184,255,58,0.04),
              inset 0 0 40px rgba(184,255,58,0.02);
  z-index: 3;
  backdrop-filter: blur(2px);
}

/* Single column layout */
.blog-stacks-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: var(--max);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .blog-layer-head h3 { font-size: 0.82rem; }
  .blog-layer:hover { transform: translateX(3px); }
  .blog-layer:hover .blog-layer-body { padding-left: 0; }
  .blog-stack-label { padding: 0.6rem 0.8rem; }
}

