/* Trinity Sky raise catalog — QLT manufacturing CSS, retokened.
   --phase-green / --primary = #8B7CF6
   --waveguide-teal / --neural-cyan / --coherence-lime = #38BDF8
   No lime. Catalog pages load this file only — not raise.css. */

@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: #0A0E17;
  --quantum-dark-2: #131F23;
  --navy: #11252B;
  --navy-2: #15323A;
  --photon-white: #FFFFFF;
  --phase-green: #8B7CF6;
  --primary: #8B7CF6;
  --coherence-lime: #38BDF8;
  --neural-cyan: #38BDF8;
  --substrate-gray: #ECEAE4;
  --cloud: #F4F3EF;
  --silicon: #6B7B7F;
  --waveguide-teal: #38BDF8;
  --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(139, 124, 246, 0.15);
  --glow-strong: rgba(139, 124, 246, 0.25);
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  --shadow-violet: 0 16px 48px rgba(139, 124, 246, 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;
  position: relative;
}

/* No QLT bg-loop.gif on the raise catalog */

/* Subtle mouse-following green glow — positioned via JS */
#cursor-glow {
  position: fixed;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 124, 246, 0.04) 0%, rgba(139, 124, 246, 0.015) 30%, rgba(139, 124, 246, 0.005) 50%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  opacity: 0;
  will-change: left, top;
}

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);
}

/* ── Copy width utilities (replace inline max-width caps) ── */
.copy-narrow {
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}
.copy-wide { max-width: 100%; }

.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(139, 124, 246, 0.08);
  border: 1px solid rgba(139, 124, 246, 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 {
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

/* Blur lives on a pseudo-element so the header doesn't create a
   containing block that breaks position:fixed on .site-nav */
.site-header.scrolled::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(15, 23, 25, 0.85);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
}

.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 {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}

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

/* ── Hamburger Button (always visible) ── */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  z-index: 201;
  transition: all 0.3s var(--ease-out);
  padding: 0;
  font-size: 0;
  color: transparent;
  overflow: hidden;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 124, 246, 0.2);
}

/* Three-line icon via pseudo-elements + box-shadow */
.menu-toggle::before,
.menu-toggle::after {
  content: '';
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--photon-white);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

.menu-toggle::before { top: 15px; }
.menu-toggle::after  { top: 27px; }

/* Middle line via box-shadow on ::before */
.menu-toggle::before {
  box-shadow: 0 6px 0 var(--photon-white);
}

/* X morphing when open */
.menu-toggle[aria-expanded="true"]::before {
  top: 21px;
  transform: rotate(45deg);
  box-shadow: none;
}

.menu-toggle[aria-expanded="true"]::after {
  top: 21px;
  transform: rotate(-45deg);
}

.menu-toggle[aria-expanded="true"] {
  background: rgba(139, 124, 246, 0.06);
  border-color: rgba(139, 124, 246, 0.15);
}

/* ── Right-side Slide-out Nav Panel ── */
.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  width: 320px;
  max-width: 85vw;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 5rem 1rem 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(12, 16, 18, 0.92);
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.4s;
}

.site-nav.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

/* ── Main-level links ── */
.site-nav > a,
.site-nav > .nav-group {
  transform: translateX(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease;
}

.site-nav.open > a,
.site-nav.open > .nav-group {
  transform: translateX(0);
  opacity: 1;
}

.site-nav > a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease-out);
  position: relative;
  letter-spacing: 0.01em;
  text-decoration: none;
}

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

.site-nav > a.active {
  color: var(--phase-green);
  background: rgba(139, 124, 246, 0.06);
}

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

/* ── Staggered slide-in ── */
.site-nav.open > :nth-child(1)  { transition-delay: 0.03s; }
.site-nav.open > :nth-child(2)  { transition-delay: 0.05s; }
.site-nav.open > :nth-child(3)  { transition-delay: 0.07s; }
.site-nav.open > :nth-child(4)  { transition-delay: 0.09s; }
.site-nav.open > :nth-child(5)  { transition-delay: 0.11s; }
.site-nav.open > :nth-child(6)  { transition-delay: 0.13s; }
.site-nav.open > :nth-child(7)  { transition-delay: 0.15s; }
.site-nav.open > :nth-child(8)  { transition-delay: 0.17s; }
.site-nav.open > :nth-child(9)  { transition-delay: 0.19s; }
.site-nav.open > :nth-child(10) { transition-delay: 0.21s; }
.site-nav.open > :nth-child(11) { transition-delay: 0.23s; }
.site-nav.open > :nth-child(12) { transition-delay: 0.25s; }
.site-nav.open > :nth-child(13) { transition-delay: 0.27s; }

/* ── Nav divider line between sections ── */
.site-nav > .nav-group {
  margin: 0.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0;
}

/* ═══ Collapsible Nav Group (Chips) ═══ */
.nav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  font-family: inherit;
  text-align: left;
  letter-spacing: 0.02em;
}

.nav-group-toggle:hover {
  color: var(--waveguide-teal);
  background: rgba(56, 189, 248, 0.06);
}

.nav-group-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.4;
  flex-shrink: 0;
}

.nav-group-toggle[aria-expanded="true"] {
  color: var(--waveguide-teal);
}

.nav-group-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
  opacity: 0.7;
}

/* ── Expandable chip links ── */
.nav-group-links {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 0.5rem;
  border-left: 2px solid rgba(56, 189, 248, 0.08);
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}

.nav-group-links.expanded {
  grid-template-rows: 1fr;
  border-left-color: rgba(56, 189, 248, 0.25);
}

/* Single inner wrapper — required for grid row collapse */
.nav-group-inner {
  min-height: 0;
  overflow: hidden;
}

.nav-group-inner > a {
  display: block;
  padding: 0.4rem 0.8rem 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: all 0.2s var(--ease-out);
  letter-spacing: 0.02em;
  position: relative;
}

.nav-group-inner > a:first-child {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.06);
  margin-bottom: 0.1rem;
}

.nav-group-inner > a:hover {
  color: var(--waveguide-teal);
  background: rgba(56, 189, 248, 0.06);
  padding-left: 1.2rem;
}

.nav-group-inner > a.active {
  color: var(--waveguide-teal);
  background: rgba(56, 189, 248, 0.08);
}

.nav-group-inner > a.active::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: var(--waveguide-teal);
  box-shadow: 0 0 6px var(--waveguide-teal);
}

/* ── Chip dimension badges ── */
.nav-group-inner > a[href="chip-gemini.html"]::after  { content: 'd=2'; }
.nav-group-inner > a[href="chip-solar.html"]::after   { content: 'd=10'; }
.nav-group-inner > a[href="chip-galaxy.html"]::after   { content: 'd=16 ★'; }
.nav-group-inner > a[href="chip-tetris.html"]::after   { content: 'd=32'; }
.nav-group-inner > a[href="chip-nova.html"]::after    { content: 'd=64'; }
.nav-group-inner > a[href="chip-super.html"]::after   { content: 'd=128'; }
.nav-group-inner > a[href="chip-theta.html"]::after   { content: 'd=256'; }
.nav-group-inner > a[href="chip-lotus.html"]::after   { content: 'd=512'; }

.nav-group-inner > a[href^="chip-"]::after {
  float: right;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: rgba(56, 189, 248, 0.4);
  letter-spacing: 0.03em;
  margin-left: 0.4rem;
}

/* ── Manufacturing fab badges ── */
.nav-group-inner > a[href="manufacturing-gemini.html"]::after  { content: 'd=2'; }
.nav-group-inner > a[href="manufacturing-solar.html"]::after   { content: 'd=10'; }
.nav-group-inner > a[href="manufacturing-galaxy.html"]::after  { content: 'd=16'; }
.nav-group-inner > a[href="manufacturing-tetris.html"]::after  { content: 'd=32'; }
.nav-group-inner > a[href="manufacturing-nova.html"]::after    { content: 'd=64'; }
.nav-group-inner > a[href="manufacturing-super.html"]::after   { content: 'd=128'; }
.nav-group-inner > a[href="manufacturing-theta.html"]::after   { content: 'd=256'; }
.nav-group-inner > a[href="manufacturing-lotus.html"]::after   { content: 'd=512'; }

.nav-group-inner > a[href^="manufacturing-"]::after {
  float: right;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: rgba(245, 160, 84, 0.4);
  letter-spacing: 0.03em;
  margin-left: 0.4rem;
}


.nav-cta {
  margin-top: 0.6rem !important;
  padding: 0.55rem 1rem !important;
  background: rgba(139, 124, 246, 0.06) !important;
  border: 1px solid rgba(139, 124, 246, 0.18) !important;
  color: var(--phase-green) !important;
  font-weight: 600 !important;
  text-align: center;
  border-radius: var(--radius-sm) !important;
}

.nav-cta:hover {
  background: rgba(139, 124, 246, 0.12) !important;
  box-shadow: var(--shadow-violet);
}

/* ═══════════════════
   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;
  z-index: 2;
}
.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(139, 124, 246, 0.12) 0%, rgba(56, 189, 248, 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(56, 189, 248, 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(139, 124, 246, 0.5), transparent);
}

.chip-visual::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 124, 246, 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(139, 124, 246, 0.04);
  border-color: rgba(139, 124, 246, 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(139, 124, 246, 0.18);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(139, 124, 246, 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(139, 124, 246, 0.25);
}

.btn-ghost:hover {
  background: rgba(139, 124, 246, 0.08);
}

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

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

.section-alt {
  background: rgba(15, 23, 25, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  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;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 1100px) {
  .section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
  }
}

.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;
  background: var(--quantum-dark);
  z-index: 2;
}

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

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

/* ── STAR-PHASER hero title treatment ── */
.hero-title-block {
  margin: 1.6rem 0 0;
  text-align: left;
}
.hero-codename {
  font-family: var(--mono) !important;
  font-size: clamp(2.6rem, 6vw, 4.2rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em;
  max-width: none !important;
  margin: 0 0 0.6rem !important;
  background: linear-gradient(135deg, var(--phase-green) 0%, #38BDF8 40%, var(--waveguide-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 28px rgba(139, 124, 246, 0.18));
  line-height: 1.1;
}
.hero-acronym {
  font-family: var(--sans);
  font-size: clamp(0.78rem, 1.4vw, 0.95rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 52ch;
}
.acro-hl {
  font-weight: 700;
  font-style: normal;
  color: var(--phase-green);
  text-shadow: 0 0 8px rgba(139, 124, 246, 0.25);
}
.hero-divider {
  width: 64px;
  height: 2px;
  margin: 1.4rem 0;
  background: linear-gradient(90deg, var(--phase-green), var(--waveguide-teal));
  border-radius: 2px;
  opacity: 0.6;
}
.hero-subtitle {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--waveguide-teal);
  margin: 0;
}

/* ── 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('/assets/parallax/hologram-05-quantum-circuit.webp'); }
.blog-bg-chip .hero-bg-img       { background-image: url('/assets/parallax/hologram-01-e8-lattice.webp'); }
.blog-bg-fab .hero-bg-img        { background-image: url('/assets/parallax/hologram-14-rack-topology.webp'); }
.blog-bg-patent .hero-bg-img     { background-image: url('/assets/parallax/hologram-25-crypto-lattice.webp'); }
.blog-bg-energy .hero-bg-img     { background-image: url('/assets/parallax/hologram-20-performance-radar.webp'); }
.blog-bg-quantum .hero-bg-img    { background-image: url('/assets/parallax/hologram-07-photonic-aurora.webp'); }
.blog-bg-platform .hero-bg-img   { background-image: url('/assets/parallax/hologram-13-dome-hub.webp'); }
.blog-bg-packaging .hero-bg-img  { background-image: url('/assets/parallax/hologram-08-binding-field.webp'); }
.blog-bg-datacenter .hero-bg-img { background-image: url('/assets/parallax/hologram-23-deployment-fabric.webp'); }
.blog-bg-edge-ai .hero-bg-img    { background-image: url('/assets/parallax/hologram-35-spiking-neural.webp'); }
.blog-bg-quantum-net .hero-bg-img { background-image: url('/assets/parallax/hologram-15-mesh-interconnect.webp'); }
.blog-bg-room-temp .hero-bg-img  { background-image: url('/assets/parallax/hologram-10-phase-encoding.webp'); }
.blog-bg-market .hero-bg-img     { background-image: url('/assets/parallax/hologram-17-market-landscape.webp'); }
.blog-bg-article-semi .hero-bg-img    { background-image: url('/assets/parallax/hologram-17-market-landscape.webp'); }
.blog-bg-article-optics .hero-bg-img  { background-image: url('/assets/parallax/hologram-07-photonic-aurora.webp'); }
.blog-bg-article-energy .hero-bg-img  { background-image: url('/assets/parallax/hologram-21-latency-cascade.webp'); }
.blog-bg-article-quantum .hero-bg-img { background-image: url('/assets/parallax/hologram-04-memory-crystal.webp'); }
.blog-bg-article-financials .hero-bg-img { background-image: url('/assets/parallax/hologram-18-roi-spectrum.webp'); }

/* ═══ 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(139, 124, 246, 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(139, 124, 246,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(139, 124, 246,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; }

/* ── Frosted text tile — bare copy sits on glass like cards do ── */
.frost-tile {
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 25, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.frost-tile > :last-child { margin-bottom: 0; }

/* Equipment article pages: one frosted tile per h2 section */
.article .frost-tile { margin: 1.6rem 0; }
.article .frost-tile > h2:first-child,
.article .frost-tile > h4:first-child { margin-top: 0; }

/* ═══════════════════
   CARDS
   ═══════════════════ */
.card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 25, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  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(139, 124, 246, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.card:hover {
  border-color: rgba(139, 124, 246, 0.15);
  background: rgba(15, 23, 25, 0.65);
  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(139, 124, 246, 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: var(--phase-green);
  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(139, 124, 246, 0.08), transparent 50%),
    rgba(15, 23, 25, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 124, 246, 0.1);
}

/* ── Stat Card ── */
.stat {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 25, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  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: var(--line);
  color: rgba(255, 255, 255, 0.7);
}

.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(139, 124, 246, 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(139, 124, 246, 0.02); }

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

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

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

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

/* Competitor comparison table — 5 equal columns */
.compare-table th:first-child,
.compare-table td:first-child {
  width: 15%;
  min-width: 120px;
  font-weight: 600;
}

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

.compare-table th:nth-child(n+3),
.compare-table td:nth-child(n+3) {
  width: 21%;
  min-width: 130px;
}

/* 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.6), rgba(15, 23, 25, 0.55));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  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(139, 124, 246, 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;
}

/* ═══════════════════
   MONOSPACE UTILITY
   ═══════════════════ */
.mono {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'JetBrains Mono', 'Consolas', monospace;
  font-size: 0.88rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

pre.mono {
  background: rgba(15, 23, 25, 0.55);
  border: 1px solid rgba(139, 124, 246, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.3rem;
  overflow-x: auto;
  color: var(--phase-green);
}

p.mono {
  color: var(--phase-green);
}

/* ═══════════════════
   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(10, 15, 17, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.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 {
  width: 28px;
  height: 28px;
}

.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(139, 124, 246, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* ═══════════════════
   PROTECTED GATE
   ═══════════════════ */
body.gate-locked { overflow: hidden; }

.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,10,12,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: opacity 0.4s ease;
}

.gate-shell {
  max-width: 480px;
  width: 90%;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(139, 124, 246,0.1);
  background: rgba(15,23,25,0.95);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6),
              0 0 120px rgba(139, 124, 246,0.03);
  text-align: center;
}

.gate-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(139, 124, 246,0.08);
  border: 1px solid rgba(139, 124, 246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

.gate-shell h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--photon-white);
}

.gate-shell p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.gate-form {
  display: flex;
  gap: 0.6rem;
  margin-top: 0;
}

.gate-form input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--photon-white);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}
.gate-form input:focus {
  outline: none;
  border-color: var(--phase-green);
  box-shadow: 0 0 0 3px rgba(139, 124, 246,0.1);
}
.gate-form input::placeholder {
  color: rgba(255,255,255,0.3);
}

.gate-form button {
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  border: none;
  background: var(--phase-green);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  white-space: nowrap;
}
.gate-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(139, 124, 246,0.25);
}

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

.gate-shake {
  animation: gateShake 0.4s ease;
}
@keyframes gateShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

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

/* ── Gate Mobile Fix ── */
@media (max-width: 768px) {
  .gate-shell {
    padding: 2rem 1.5rem;
    width: 94%;
  }
  .gate-shell h2 {
    font-size: 1.1rem;
  }
  .gate-shell p {
    font-size: 0.82rem;
  }
  .gate-form {
    flex-direction: column;
    gap: 0.5rem;
  }
  .gate-form input {
    width: 100%;
    text-align: center;
  }
  .gate-form button {
    width: 100%;
    padding: 0.9rem;
  }
}

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

/* Equipment pages: single .shell.article wrapper (no nested 780px cap) */
.shell.article {
  max-width: min(calc(100% - 2.5rem), var(--max));
  width: min(calc(100% - 2.5rem), var(--max));
  box-sizing: border-box;
}

.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(139, 124, 246, 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) {

  .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(139, 124, 246, 0.04) 0%,
    transparent 25%,
    transparent 75%,
    rgba(139, 124, 246, 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('/assets/parallax/hologram-13-dome-hub.webp'); }
.parallax-datacenter { background-image: url('/assets/parallax/hologram-14-rack-topology.webp'); }
.parallax-chip     { background-image: url('/assets/parallax/hologram-05-quantum-circuit.webp'); }
.parallax-fiber    { background-image: url('/assets/parallax/hologram-07-photonic-aurora.webp'); }
.parallax-quantum  { background-image: url('/assets/parallax/hologram-01-e8-lattice.webp'); }
.parallax-prism    { background-image: url('/assets/parallax/hologram-29-insight-prism.webp'); }
.parallax-market   { background-image: url('/assets/parallax/hologram-17-market-landscape.webp'); }
.parallax-wafer    { background-image: url('/assets/parallax/hologram-04-memory-crystal.webp'); }
.parallax-fab      { background-image: url('/assets/parallax/hologram-40-sovereignty-fortress.webp'); }
.parallax-speed    { background-image: url('/assets/parallax/hologram-21-latency-cascade.webp'); }
.parallax-network  { background-image: url('/assets/parallax/hologram-15-mesh-interconnect.webp'); }
.parallax-server   { background-image: url('/assets/parallax/hologram-23-deployment-fabric.webp'); }
.parallax-coherence{ background-image: url('/assets/parallax/hologram-10-phase-encoding.webp'); }
.parallax-thermal  { background-image: url('/assets/parallax/hologram-20-performance-radar.webp'); }

/* 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) {
  .shell {
    width: calc(100% - 2rem);
  }
  .shell.article {
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
  }
  .fig-wide,
  .fig {
    max-width: 100%;
  }
  .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(139, 124, 246,0.04) 0%, rgba(10,15,17,0.92) 100%);
  border: 1px solid rgba(139, 124, 246,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(139, 124, 246,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: rgba(10, 15, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  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,
.blog-layer.is-open .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(139, 124, 246,0.1); color: var(--phase-green); }
.blog-layer[data-cat="tech"] .layer-tag      { background: rgba(56, 189, 248,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(56, 189, 248,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;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.blog-layer-body .layer-text {
  flex: 1;
  min-width: 0;
}

.blog-layer:hover .blog-layer-body,
.blog-layer.is-open .blog-layer-body {
  max-height: 200px;
  opacity: 1;
  padding: 0.7rem 0 0.4rem 34px;
}

/* Equipment thumbnail */
.blog-layer-body .layer-thumb {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  overflow: visible;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.5s 0.15s, transform 0.5s 0.15s var(--ease-spring);
  border: 1px solid rgba(139, 124, 246,0.08);
  position: relative;
  z-index: 1;
  cursor: zoom-in;
}
.blog-layer:hover .blog-layer-body .layer-thumb,
.blog-layer.open .blog-layer-body .layer-thumb {
  opacity: 1;
  transform: translateX(0);
}
.blog-layer-body .layer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  filter: brightness(0.75) saturate(0.8);
  transition: filter 0.4s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
  transform-origin: center center;
}
.blog-layer-body .layer-thumb:hover {
  z-index: 100;
  overflow: visible;
}
/* In-place zoom replaced by centered .hover-zoom-pop overlay (app.js) —
   the old scale(2.8) was clipped by overflow:hidden ancestors */
.blog-layer-body .layer-thumb:hover img {
  filter: brightness(1) saturate(1);
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(0,0,0,0.5), 0 0 0 1px rgba(139, 124, 246,0.25);
  border-radius: 10px;
  position: relative;
  z-index: 100;
}

/* Clickable layer link */
a.blog-layer {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.blog-layer:hover .blog-layer-head h3 {
  color: var(--phase-green);
}

.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(139, 124, 246,0.12);
  transform: scale(1.008) translateX(4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3),
              -4px 0 20px rgba(139, 124, 246,0.04),
              inset 0 0 40px rgba(139, 124, 246,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; }
}

/* ── Photon's Journey: expandable stage tiles (reuses .blog-stack/.blog-layer) ── */
/* Taller bodies (multi-paragraph) + click/tap/keyboard open state alongside hover */
.journey-stacks .blog-layer-body { gap: 1.4rem; }
.journey-stacks .blog-layer:hover .blog-layer-body,
.journey-stacks .blog-layer.open .blog-layer-body {
  max-height: 200px;
  opacity: 1;
  padding: 0.7rem 0 0.6rem 34px;
}
.journey-stacks .blog-layer.open {
  background: rgba(15,23,25,0.92);
  border-color: rgba(139, 124, 246,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3),
              -4px 0 20px rgba(139, 124, 246,0.04),
              inset 0 0 40px rgba(139, 124, 246,0.02);
  z-index: 3;
}
.journey-stacks .blog-layer.open::before { opacity: 1; }
.journey-stacks .blog-layer.open .blog-layer-head h3,
.journey-stacks .blog-layer.open .layer-num { color: var(--phase-green); }
.journey-stacks .blog-layer.open .layer-arrow { transform: rotate(90deg); opacity: 1; color: var(--phase-green); }
.journey-stacks .blog-layer.open .blog-layer-body .layer-thumb { opacity: 1; transform: translateX(0); }
.journey-stacks .blog-layer-body .layer-thumb { width: 160px; height: 160px; }

@media (max-width: 768px) {
  .journey-stacks .blog-layer-body { flex-direction: column; }
  .journey-stacks .blog-layer-body .layer-thumb { width: 100%; height: 200px; margin-top: 0.6rem; }
  .blog-layer-body .layer-thumb:hover img { transform: scale(1.03); }
  .journey-stacks .blog-layer:hover .blog-layer-body,
  .journey-stacks .blog-layer.open .blog-layer-body { max-height: 720px; }
}

/* ── Hover-zoom pop: enlarged image front & center while hovering a thumb ── */
.hover-zoom-pop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  pointer-events: none;
  background: rgba(5, 8, 10, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.hover-zoom-pop.active {
  opacity: 1;
  visibility: visible;
}
.hover-zoom-pop img {
  max-width: min(920px, 82vw);
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(139, 124, 246, 0.25);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(139, 124, 246, 0.07),
    0 0 0 1px rgba(139, 124, 246, 0.12);
  transform: scale(0.94);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-zoom-pop.active img {
  transform: scale(1);
}
/* Newly lightbox-wired content images */
img[src*="/patents/"],
img[src*="facility-render"] {
  cursor: zoom-in;
  transition: filter 0.3s ease, box-shadow 0.3s ease;
}
img[src*="/patents/"]:hover,
img[src*="facility-render"]:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 28px rgba(139, 124, 246, 0.1), 0 2px 12px rgba(0, 0, 0, 0.4);
}
.equip-hero { cursor: zoom-in; }

.hover-zoom-pop .hover-zoom-hint {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(15, 23, 25, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.9rem;
  white-space: nowrap;
}

/* ── Figures / AI-generated image placeholders ── */
.fig { margin: 2rem 0; }
.fig-wide { max-width: 100%; margin-left: auto; margin-right: auto; }
.fig-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px dashed rgba(139, 124, 246, 0.35);
  border-radius: var(--radius-md);
  background:
    radial-gradient(120% 140% at 20% 10%, rgba(139, 124, 246, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* When fig-frame contains an actual img, auto-size and style it */
.fig-frame:has(img) {
  aspect-ratio: auto;
  border-style: solid;
  border-color: rgba(139, 124, 246, 0.12);
  cursor: zoom-in;
  animation: fig-float 6s ease-in-out infinite;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.45s cubic-bezier(0.16,1,0.3,1),
              border-color 0.35s ease;
}
.fig-frame:has(img)::before { display: none; }
.fig-frame:has(img) .fig-tag { display: none; }
.fig-frame:has(img):hover {
  animation-play-state: paused;
  transform: scale(1.02);
  border-color: rgba(139, 124, 246, 0.35);
  box-shadow: 0 8px 40px rgba(139, 124, 246,0.08), 0 2px 12px rgba(0,0,0,0.4);
  z-index: 10;
}
.fig-frame:has(img) img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  transition: filter 0.35s ease;
}
.fig-frame:has(img):hover img {
  filter: brightness(1.05) contrast(1.03);
}

/* ── Lightbox overlay for full-screen image viewing ── */
.fig-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 8, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.fig-lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.fig-lightbox-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
  border: 1px solid rgba(139, 124, 246, 0.2);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(139, 124, 246, 0.06),
    0 0 0 1px rgba(139, 124, 246, 0.15);
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  object-fit: contain;
}
.fig-lightbox-overlay.active img {
  transform: scale(1);
}
.fig-lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 25, 0.7);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  z-index: 10000;
}
.fig-lightbox-close:hover {
  background: rgba(139, 124, 246, 0.15);
  border-color: rgba(139, 124, 246, 0.4);
  color: var(--phase-green);
}
.fig-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 124, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 124, 246, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
}
.fig-frame .fig-tag {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--phase-green);
  border: 1px solid rgba(139, 124, 246, 0.35);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.9rem;
  background: rgba(15, 23, 25, 0.55);
}
/* ── Floating tile: ambient float + hover expand ── */
@keyframes fig-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-6px) rotate(0.3deg); }
}
.fig-frame.has-image {
  border-style: solid;
  border-color: rgba(139, 124, 246, 0.12);
  aspect-ratio: auto;
  cursor: zoom-in;
  animation: fig-float 6s ease-in-out infinite;
  animation-play-state: running;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}
.fig-frame.has-image:hover {
  animation-play-state: paused;
  transform: scale(1.04);
  border-color: rgba(139, 124, 246, 0.4);
  box-shadow:
    0 8px 40px rgba(139, 124, 246, 0.08),
    0 2px 12px rgba(0, 0, 0, 0.4);
  z-index: 10;
}
.fig-frame.has-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  transition: filter 0.35s ease;
}
.fig-frame.has-image:hover img {
  filter: brightness(1.05) contrast(1.03);
}
.fig-frame.has-image .fig-tag { display: none; }
/* Stagger float animation so tiles don't bob in sync */
.fig-frame.has-image:nth-child(2n)  { animation-delay: -1.5s; }
.fig-frame.has-image:nth-child(3n)  { animation-delay: -3s; }
.fig-frame.has-image:nth-child(5n)  { animation-delay: -4.2s; }
.fig figcaption {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}
.fig figcaption strong { color: rgba(255, 255, 255, 0.92); }
.fig-prompt {
  margin-top: 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}
.fig-prompt > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.6rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--phase-green);
  user-select: none;
}
.fig-prompt > summary::-webkit-details-marker { display: none; }
.fig-prompt > summary::before { content: "▸ "; }
.fig-prompt[open] > summary::before { content: "▾ "; }
.fig-prompt .fig-prompt-body {
  padding: 0 0.9rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  white-space: pre-wrap;
}
/* Light sections invert figure colors */
.section-alt .fig-frame { border-color: rgba(15, 23, 25, 0.18); background: linear-gradient(180deg, rgba(15,23,25,0.04), rgba(15,23,25,0.02)); }
.section-alt .fig-frame::before { background-image: linear-gradient(rgba(15,23,25,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,25,0.05) 1px, transparent 1px); }
.section-alt .fig-frame .fig-tag { color: var(--ink); border-color: rgba(15,23,25,0.25); background: rgba(244, 243, 239, 0.7); }
.section-alt .fig figcaption { color: rgba(15, 23, 25, 0.7); }
.section-alt .fig figcaption strong { color: var(--ink); }
.section-alt .fig-prompt { border-color: var(--line-light); background: rgba(15,23,25,0.02); }
.section-alt .fig-prompt > summary { color: var(--ink-soft); }
.section-alt .fig-prompt .fig-prompt-body { color: rgba(15,23,25,0.7); }

/* ── Base 10 → GF(64) page: roadmap maturity banner ── */
.roadmap-banner {
  border: 1px solid rgba(245, 160, 84, 0.35);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(245, 160, 84, 0.08), rgba(15, 23, 25, 0.4));
  padding: 1.4rem 1.6rem;
  margin-bottom: 0;
}
.roadmap-banner .banner-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-amber);
  margin-bottom: 0.6rem;
}
.roadmap-banner p { margin: 0.6rem 0; line-height: 1.75; font-size: 0.94rem; }
.roadmap-banner .banner-keys {
  margin: 0.8rem 0 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
}
.roadmap-banner .banner-keys li { font-size: 0.88rem; line-height: 1.6; }
.roadmap-banner .banner-guardrails {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 160, 84, 0.2);
  font-size: 0.86rem;
  color: var(--silicon);
}
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  margin-right: 0.35rem;
  vertical-align: middle;
}
.tag-demonstrated { background: rgba(56, 189, 248, 0.15); color: var(--waveguide-teal); border: 1px solid rgba(56, 189, 248, 0.35); }
.tag-roadmap { background: transparent; color: var(--signal-amber); border: 1px dashed rgba(245, 160, 84, 0.5); }
.tag-speculative { background: transparent; color: #c9a0ff; border: 1px dashed rgba(201, 160, 255, 0.45); }

/* ── WS13 Chip Lineup: regime badges, stability rail, chip cards ── */
.regime-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-right: 0.5rem;
}
.regime-badge.region-i { background: rgba(56, 189, 248, 0.12); color: var(--waveguide-teal); border: 1px solid rgba(56, 189, 248, 0.35); }
.regime-badge.region-ii { background: rgba(245, 160, 84, 0.12); color: var(--signal-amber); border: 1px solid rgba(245, 160, 84, 0.35); }
.regime-badge.region-iii { background: rgba(201, 160, 255, 0.12); color: #c9a0ff; border: 1px dashed rgba(201, 160, 255, 0.45); }
.regime-badge.region-iv { background: rgba(255, 100, 100, 0.08); color: #ff8a8a; border: 1px dashed rgba(255, 100, 100, 0.35); }
.regime-badge.shipping { background: rgba(139, 124, 246, 0.15); color: var(--phase-green); border: 1px solid rgba(139, 124, 246, 0.4); }
.brand-star { color: var(--waveguide-teal); }
.brand-quasar { color: #c9a0ff; }

.stability-rail {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 2rem 0;
  padding: 1.4rem;
  border: 1px solid rgba(139, 124, 246, 0.15);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(15, 23, 25, 0.6), rgba(15, 23, 25, 0.3));
}
.stability-rail-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.stability-rail-row:last-child { border-bottom: none; }
.stability-rail-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silicon);
}
.stability-rail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip-pin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  font-size: 0.82rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.chip-pin:hover { border-color: rgba(139, 124, 246, 0.35); background: rgba(139, 124, 246, 0.06); }
.chip-pin.active { border-color: rgba(139, 124, 246, 0.5); background: rgba(139, 124, 246, 0.1); color: var(--phase-green); }
.chip-pin.ghost { opacity: 0.45; pointer-events: none; }

.chip-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}
.chip-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(15, 23, 25, 0.5));
  transition: border-color 0.25s, transform 0.25s;
}
.chip-card:hover { border-color: rgba(139, 124, 246, 0.25); transform: translateY(-2px); }
.chip-card.star-phaser { border-left: 3px solid var(--waveguide-teal); }
.chip-card.quasar { border-left: 3px solid #9b7fd4; }
.chip-card h3 { margin: 0.5rem 0 0.4rem; font-size: 1.1rem; }
.chip-card .chip-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--silicon);
  line-height: 1.7;
  margin: 0.8rem 0;
}
.chip-card .chip-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.86rem;
  color: var(--phase-green);
}

.spec-ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1.5rem 0;
}
.spec-ledger th,
.spec-ledger td {
  padding: 0.65rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.spec-ledger th {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silicon);
}
.spec-ledger tr:hover td { background: rgba(139, 124, 246, 0.03); }

.framework-banner {
  border: 1px dashed rgba(201, 160, 255, 0.45);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(201, 160, 255, 0.06), rgba(15, 23, 25, 0.5));
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.5rem;
}
.framework-banner .banner-eyebrow { color: #c9a0ff; }

.product-banner {
  border: 1px solid rgba(139, 124, 246, 0.35);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(139, 124, 246, 0.08), rgba(15, 23, 25, 0.4));
  padding: 1.4rem 1.6rem;
}

/* ═══════════════════
   COLLAPSIBLE MATH / TABLE ACCORDIONS
   ═══════════════════ */
.math-expand {
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.math-expand summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.2rem;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--phase-green);
  background: rgba(139, 124, 246, 0.04);
  border-bottom: 1px solid transparent;
  transition: all 0.25s;
  list-style: none;
}

.math-expand summary::-webkit-details-marker { display: none; }

.math-expand summary::before {
  content: '▸';
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.math-expand[open] summary::before {
  transform: rotate(90deg);
}

.math-expand summary:hover {
  background: rgba(139, 124, 246, 0.08);
}

.math-expand[open] summary {
  border-bottom: 1px solid var(--line);
}

.math-expand .expand-content {
  padding: 1.2rem;
}

.math-expand .expand-content pre,
.math-expand .expand-content table,
.math-expand .expand-content .spec-table-wrap,
.math-expand .expand-content .callout {
  margin-top: 0;
}

/* ═══════════════════
   SYSTEM INTEGRATION STACK
   ═══════════════════ */
.sys-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 640px;
  margin: 1.5rem auto;
}

.sys-stack-layer {
  position: relative;
  padding: 1rem 1.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.88rem;
  line-height: 1.6;
}

.sys-stack-layer:first-child {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.sys-stack-layer:last-child {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.sys-stack-layer + .sys-stack-layer {
  border-top: none;
}

.sys-stack-layer .stack-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.sys-stack-layer .stack-detail {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.sys-stack-layer .stack-parts {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.3rem;
}

.sys-stack-layer[data-tier="app"]    { border-left: 3px solid var(--phase-green); }
.sys-stack-layer[data-tier="mid"]    { border-left: 3px solid var(--waveguide-teal); }
.sys-stack-layer[data-tier="fpga"]   { border-left: 3px solid #60a5fa; }
.sys-stack-layer[data-tier="mcu"]    { border-left: 3px solid #c084fc; }
.sys-stack-layer[data-tier="elec"]   { border-left: 3px solid #fbbf24; }
.sys-stack-layer[data-tier="chip"]   { border-left: 3px solid #f87171; }

.sys-stack-layer[data-tier="app"]  .stack-label { color: var(--phase-green); }
.sys-stack-layer[data-tier="mid"]  .stack-label { color: var(--waveguide-teal); }
.sys-stack-layer[data-tier="fpga"] .stack-label { color: #60a5fa; }
.sys-stack-layer[data-tier="mcu"]  .stack-label { color: #c084fc; }
.sys-stack-layer[data-tier="elec"] .stack-label { color: #fbbf24; }
.sys-stack-layer[data-tier="chip"] .stack-label { color: #f87171; }

/* BOM sourcing tags */
.bom-source {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  vertical-align: middle;
}
.bom-source.in-house {
  background: rgba(139, 124, 246, 0.1);
  color: var(--phase-green);
  border: 1px solid rgba(139, 124, 246, 0.2);
}
.bom-source.external {
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.2);
}
.bom-source.custom {
  background: rgba(192, 132, 252, 0.1);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.2);
}



/* ── Trinity stack-icon tints (QLT sets these inline) ── */
.stack-icon { background: var(--phase-green); }
.stack-icon--cyan { background: var(--waveguide-teal); }
.stack-icon--magenta { background: #FF6B9D; }
.stack-icon--teal { background: var(--neural-cyan); }

/* ── Equipment / paper hero (QLT equipment pages, inlined there) ── */
.equip-hero {
  position: relative;
  z-index: 1;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 8rem 0 2.5rem;
  overflow: hidden;
  background: var(--quantum-dark);
  cursor: zoom-in;
}
.equip-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.35;
  transition: opacity 0.6s ease;
}
.equip-hero:hover .equip-hero-bg { opacity: 0.5; }
.equip-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--quantum-dark) 0%, rgba(10, 14, 23, 0.4) 50%, transparent 100%);
  z-index: 1;
}
.equip-hero .shell { position: relative; z-index: 2; }
.equip-hero h1 { font-size: 2.2rem; margin-bottom: 0.3rem; }
.equip-meta { font-size: 0.82rem; color: rgba(255,255,255,0.5); font-family: var(--mono); }
.equip-meta span + span::before { content: '  ·  '; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--phase-green);
  text-decoration: none;
  font-family: var(--mono);
  margin-bottom: 1rem;
  transition: opacity 0.2s;
}
.back-link:hover { opacity: 0.7; }

.mfg-honesty {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  padding: 0 1.5rem 2rem;
}

.frost-tile a {
  color: var(--photon-white);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0;
  display: block;
}
.frost-tile a:hover { color: var(--phase-green); }
.frost-tile a strong { display: block; }
.frost-tile a span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--mono);
}
