/* Full-width laboratory with interactive pipeline terminal HUD */
.system-lab.workstation {
  display: block;
  min-height: 0;
  background: #07080a;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.lab-stage {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  padding: 60px clamp(20px, 4vw, 60px) 40px;
  display: flex;
  align-items: center;
}

.lab-stage:after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 8, 10, .92) 0%, rgba(7, 8, 10, .75) 45%, rgba(7, 8, 10, .45) 80%, rgba(7, 8, 10, .85) 100%), linear-gradient(0deg, rgba(7, 8, 10, .85) 0%, transparent 40%);
  pointer-events: none;
}

.lab-image {
  position: absolute;
  z-index: 0;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  will-change: transform;
  filter: saturate(.8) contrast(1.15) brightness(0.7);
}

.lab-counter {
  position: absolute;
  z-index: 3;
  right: 28px;
  top: 24px;
  border: 1px solid rgba(243, 239, 229, .4);
  background: rgba(7, 8, 10, 0.6);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  font: 600 10px/1 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--acid);
  border-radius: 2px;
}

.lab-stage-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.lab-header {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lab-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 255, 0, 0.08);
  border: 1px solid rgba(217, 255, 0, 0.3);
  padding: 6px 12px;
  border-radius: 100px;
  font: 600 10px/1 'DM Mono', monospace;
  color: var(--acid);
  letter-spacing: 0.08em;
  width: fit-content;
  margin-bottom: 20px;
}

.lab-status-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
  animation: pulseDot 2s ease-in-out infinite;
}

.lab-header h2 {
  font-size: clamp(52px, 7.5vw, 110px);
  font-weight: 800;
  line-height: .82;
  letter-spacing: -.06em;
  margin: 0 0 24px;
  color: var(--paper);
}

.lab-header h2 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--paper);
}

.lab-header p {
  max-width: 500px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(243, 239, 229, 0.82);
  margin: 0 0 28px;
}

.lab-quick-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pipeline-sim-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  border: 0;
  padding: 12px 20px;
  border-radius: 4px;
  font: 600 12px/1 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: 0 4px 20px rgba(243, 58, 47, 0.35);
}

.pipeline-sim-btn:hover {
  background: #ff4d42;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(243, 58, 47, 0.5);
}

.pipeline-sim-btn svg {
  transition: transform 0.2s ease;
}

.pipeline-sim-btn:hover svg {
  transform: scale(1.15);
}

.pipeline-status-text {
  font: 500 11px/1 'DM Mono', monospace;
  color: rgba(243, 239, 229, 0.6);
  letter-spacing: 0.04em;
}

/* TERMINAL HUD CONSOLE */
.lab-terminal-console {
  background: rgba(11, 13, 17, 0.88);
  border: 1px solid rgba(243, 239, 229, 0.18);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.terminal-bar {
  background: rgba(18, 21, 28, 0.95);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(243, 239, 229, 0.12);
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.td-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.td-red { background: #ff5f56; }
.td-yellow { background: #ffbd2e; }
.td-green { background: #27c93f; }

.terminal-title {
  font: 600 11px/1 'DM Mono', monospace;
  letter-spacing: 0.08em;
  color: rgba(243, 239, 229, 0.85);
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-pill {
  font: 600 9px/1 'DM Mono', monospace;
  background: rgba(217, 255, 0, 0.12);
  color: var(--acid);
  border: 1px solid rgba(217, 255, 0, 0.3);
  padding: 4px 8px;
  border-radius: 3px;
  letter-spacing: 0.06em;
}

/* TERMINAL STAGE TABS */
.terminal-nav {
  display: flex;
  background: rgba(14, 16, 21, 0.7);
  border-bottom: 1px solid rgba(243, 239, 229, 0.08);
  overflow-x: auto;
}

.t-nav-btn {
  flex: 1;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(243, 239, 229, 0.08);
  color: rgba(243, 239, 229, 0.55);
  font: 500 11px/1 'DM Mono', monospace;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.t-nav-btn:last-child {
  border-right: 0;
}

.t-nav-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
}

.t-nav-btn.active {
  background: rgba(243, 58, 47, 0.12);
  color: var(--acid);
  border-bottom: 2px solid var(--acid);
  font-weight: 600;
}

/* TERMINAL SCREEN */
.terminal-screen {
  padding: 22px 20px;
  min-height: 180px;
  max-height: 220px;
  overflow-y: auto;
  font: 400 12.5px/1.7 'DM Mono', monospace;
  color: rgba(243, 239, 229, 0.9);
  background: rgba(5, 6, 8, 0.65);
}

.terminal-code-line {
  margin-bottom: 7px;
  word-break: break-word;
}

.t-prompt {
  color: var(--acid);
  font-weight: 700;
  margin-right: 6px;
}

.t-cmd {
  color: #fff;
  font-weight: 600;
}

.t-dim {
  color: rgba(243, 239, 229, 0.4);
  margin-right: 6px;
  font-size: 11px;
}

.t-info {
  color: #64b5f6;
  font-weight: 500;
}

.t-ok {
  color: #81c784;
  font-weight: 500;
}

.t-warn {
  color: #ffb74d;
  font-weight: 500;
}

.t-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--acid);
  vertical-align: middle;
  animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
  50% { opacity: 0; }
}

/* TELEMETRY METRICS GRID */
.terminal-telemetry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(14, 17, 23, 0.9);
  border-top: 1px solid rgba(243, 239, 229, 0.1);
  padding: 12px 16px;
  gap: 12px;
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tele-label {
  font: 500 9px/1 'DM Mono', monospace;
  color: rgba(243, 239, 229, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tele-value {
  font: 700 13px/1 'DM Mono', monospace;
  color: var(--paper);
  letter-spacing: 0.02em;
}

.text-acid { color: var(--acid) !important; }
.text-green { color: #81c784 !important; }

/* 5-STAGE PROCESS DOCK MODULES */
.lab-dock {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(243, 239, 229, .25);
  border-bottom: 1px solid rgba(243, 239, 229, .15);
  background: #07080a;
}

.lab-module {
  min-height: 280px;
  padding: 26px 22px;
  border-right: 1px solid rgba(243, 239, 229, .15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .35s var(--ease);
  cursor: pointer;
  position: relative;
  background: #090a0d;
}

.lab-module:last-child {
  border-right: 0;
}

.lab-module:hover,
.lab-module.active {
  background: #11141a;
  box-shadow: inset 0 3px 0 var(--red);
  transform: translateY(-6px);
}

.lab-module.active {
  background: #131720;
  box-shadow: inset 0 3px 0 var(--acid);
}

.module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.lab-module b {
  font-size: 38px;
  letter-spacing: -.06em;
  font-weight: 800;
  line-height: 1;
  color: var(--paper);
  transition: color 0.3s ease;
}

.lab-module:hover b,
.lab-module.active b {
  color: var(--acid);
}

.module-status-chip {
  font: 600 8.5px/1 'DM Mono', monospace;
  padding: 4px 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(243, 239, 229, 0.7);
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.lab-module.active .module-status-chip {
  background: rgba(217, 255, 0, 0.15);
  color: var(--acid);
  border-color: rgba(217, 255, 0, 0.3);
}

.module-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.module-phase {
  font: 600 9px/1 'DM Mono', monospace;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.lab-module.active .module-phase {
  color: var(--acid);
}

.lab-module h3 {
  font: 700 13px/1.3 'DM Mono', monospace;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.lab-module h3 span {
  color: rgba(243, 239, 229, 0.75);
  font-weight: 500;
}

.lab-module p {
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0 0 16px;
  color: rgba(243, 239, 229, 0.65);
  transition: color 0.25s ease;
}

.lab-module:hover p,
.lab-module.active p {
  color: rgba(243, 239, 229, 0.88);
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  margin-bottom: 18px;
}

.module-tags span {
  font: 500 9px/1 'DM Mono', monospace;
  padding: 3px 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(243, 239, 229, 0.75);
}

.module-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(243, 239, 229, 0.1);
}

.module-metric {
  font: 600 9.5px/1 'DM Mono', monospace;
  color: rgba(243, 239, 229, 0.5);
  letter-spacing: 0.04em;
}

.lab-module.active .module-metric {
  color: var(--acid);
}

.module-arrow {
  font-style: normal;
  font: 600 12px/1 'DM Mono', monospace;
  color: rgba(243, 239, 229, 0.4);
  transition: transform 0.2s ease, color 0.2s ease;
}

.lab-module:hover .module-arrow,
.lab-module.active .module-arrow {
  transform: translate(2px, -2px);
  color: var(--acid);
}

/* MANIFESTO BAR */
.lab-manifesto-bar {
  padding: 32px clamp(20px, 4vw, 60px);
  background: #050608;
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid rgba(243, 239, 229, 0.12);
}

.manifesto-badge {
  font: 700 10.5px/1 'DM Mono', monospace;
  letter-spacing: 0.1em;
  background: rgba(243, 58, 47, 0.12);
  border: 1px solid rgba(243, 58, 47, 0.35);
  color: var(--red);
  padding: 8px 14px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.manifesto-quote {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(243, 239, 229, 0.72);
  margin: 0;
  font-style: italic;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1100px) {
  .lab-stage-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .lab-dock {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lab-module:nth-child(2) {
    border-right: 0;
  }
  
  .lab-module:nth-child(3),
  .lab-module:nth-child(4) {
    border-top: 1px solid rgba(243, 239, 229, .15);
  }
  
  .lab-module:last-child {
    grid-column: span 2;
    border-top: 1px solid rgba(243, 239, 229, .15);
    border-right: 0;
  }
  
  .lab-manifesto-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .lab-stage {
    padding: 50px 16px 30px;
    min-height: auto;
  }
  
  .lab-header h2 {
    font-size: 14vw;
  }
  
  .terminal-telemetry {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .lab-dock {
    grid-template-columns: 1fr;
  }
  
  .lab-module {
    min-height: auto;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(243, 239, 229, .15);
  }
  
  .lab-module:last-child {
    grid-column: span 1;
    border-bottom: 0;
  }
  
  .lab-module:hover {
    transform: none;
  }
}
@media(prefers-reduced-motion:reduce) {
body.hero-preload .launch-visual,
body.hero-preload .launch h1,
body.hero-preload .launch-copy p,
body.hero-preload .launch-copy>div>.eyebrow,
body.hero-preload .copy-foot,
body.hero-preload .launch-visual img,
body.hero-preload .poster-stamps,
body.hero-preload .product-views {
opacity: 1
}
.hero-enter * {
animation: none !important
}
}
/* Section-specific entrance system: one timing engine, several visual gestures. */
.enter {
--enter-delay: 0ms;
opacity: 0;
transition: opacity .85s var(--ease) var(--enter-delay), transform 1s var(--ease) var(--enter-delay), clip-path 1.1s var(--ease) var(--enter-delay), filter .9s var(--ease) var(--enter-delay);
will-change: opacity, transform, clip-path, filter
}
.enter-left {
transform: translate3d(-90px, 35px, 0) rotate(-5deg);
filter: blur(5px)
}
.enter-right {
transform: translate3d(100px, -25px, 0) rotate(5deg);
filter: blur(5px)
}
.enter-up {
transform: translate3d(0, 85px, 0) rotate(2deg);
filter: blur(4px)
}
.enter-down {
transform: translate3d(0, -70px, 0) rotate(-2deg);
filter: blur(4px)
}
.enter-scale {
transform: scale(.72) rotate(-7deg);
filter: blur(7px)
}
.enter-clip {
opacity: 1;
clip-path: inset(0 100% 0 0)
}
.enter-clip-reverse {
opacity: 1;
clip-path: inset(0 0 0 100%)
}
.enter-line {
opacity: 1;
transform: scaleX(0);
transform-origin: right
}
.enter.active {
opacity: 1;
transform: none;
clip-path: inset(0);
filter: none
}
.lab-module.enter.active:hover {
transform: translateY(-12px)
}
.final-cta.enter.active:hover {
transform: rotate(7deg) scale(1.08)
}
/* Display type needs real cap-height breathing room; the tighter values above visually crop glyphs. */
.launch h1 {
line-height: .79;
padding-top: .035em
}
.slide-title {
line-height: .75
}
.transit-commerce h2 {
line-height: .76;
padding-top: .035em
}
.lab-header h2 {
font-size: clamp(76px, 10vw, 158px);
line-height: .77;
padding-top: .04em;
overflow: visible
}
.index-head h2 {
line-height: .79;
padding-top: .035em
}
.final-left h2 {
font-size: clamp(82px, 13vw, 210px);
line-height: .73;
padding-top: .05em;
overflow: visible
}
.slide-one {
background: #c9d7e7;
color: #13243c
}
.slide-one .back-type {
color: var(--blue)
}
.slide-one .slide-title {
-webkit-text-stroke-color: #13243c
}
.slide-one .cutout {
height: 91%;
right: 9%;
bottom: 4%;
filter: drop-shadow(24px 28px 0 rgba(19, 36, 60, .17))
}
/* The hero image switcher is product UI, not an image-review utility. */
.product-views {
right: 24px;
top: auto;
bottom: 24px;
transform: none;
display: flex;
align-items: stretch;
gap: 0;
border: 1px solid var(--ink);
background: rgba(243, 239, 229, .93);
color: var(--ink);
backdrop-filter: blur(12px)
}
.product-views:before {
content: 'VIEW / SELECT';
display: grid;
place-items: center;
padding: 0 13px;
border-right: 1px solid var(--ink);
font: 500 8px/1 'DM Mono', monospace;
letter-spacing: .06em;
white-space: nowrap
}
.product-views button {
width: 88px;
min-height: 48px;
border: 0;
border-right: 1px solid var(--ink);
background: transparent;
color: var(--ink);
padding: 9px 10px;
gap: 8px;
align-items: center
}
.product-views button:last-child {
border-right: 0
}
.product-views button b {
opacity: .48
}
.product-views button:hover,
.product-views button.active {
background: var(--ink);
color: var(--paper);
transform: none
}
.product-views button span {
position: relative
}
@keyframes heroViewsEnter {
from {
opacity: 0;
transform: translate(7vw, 5vh) rotate(5deg)
}
to {
opacity: 1;
transform: none
}
}
.final-cta {
width: 224px;
overflow: visible;
font-size: 14px;
line-height: 1.16;
letter-spacing: -.025em;
grid-template-rows: 1fr auto;
padding: 58px 24px 42px;
isolation: isolate
}
.final-cta.enter.active {
transition: background-color .12s ease, color .12s ease, transform .16s var(--ease), border-color .12s ease
}
.final-cta:before {
content: '';
position: absolute;
inset: -14px;
border: 1px dashed rgba(243, 239, 229, .72);
border-radius: 50%;
animation: queueOrbit 12s linear infinite;
pointer-events: none
}
.final-cta:after {
content: '';
position: absolute;
width: 9px;
height: 9px;
border-radius: 50%;
background: var(--red);
top: -17px;
left: 50%;
box-shadow: 0 0 0 5px rgba(242, 54, 46, .18);
pointer-events: none
}
.final-cta span {
font-weight: 600
}
.final-cta b {
font: 400 26px/1 Arial, sans-serif;
transition: transform .14s var(--ease)
}
.final-cta:hover b {
transform: translate(8px, -8px) rotate(45deg)
}
@keyframes queueOrbit {
to {
transform: rotate(360deg)
}
}
@media(max-width:850px) {
.product-views {
right: 10px;
bottom: 10px
}
.product-views:before {
display: none
}
.product-views button {
width: 52px
}
.final-cta {
width: 190px;
font-size: 12px
}
}
