/* ==========================================================================
   LightSpeed Labs — Projection Mapping Studio Stylesheet
   ========================================================================== */

:root {
  --bg-void: #040811;
  --bg-deep: #070d1b;
  --bg-surface: rgba(11, 20, 38, 0.72);
  --bg-surface-strong: rgba(14, 24, 46, 0.92);

  --cyan: #00e5ff;
  --cyan-soft: #38bdf8;
  --magenta: #e838f5;
  --violet: #8b5cf6;
  --emerald: #22ff88;

  --text-primary: #f1f6ff;
  --text-secondary: #a7b8d4;
  --text-muted: #7083a3;

  --border-subtle: rgba(148, 184, 235, 0.14);
  --border-glow: rgba(0, 229, 255, 0.35);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font-display: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* Ambient Background Layers */
#ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
  opacity: 0.55;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.22;
}

.ambient-glow--cyan {
  width: 560px;
  height: 560px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
}

.ambient-glow--magenta {
  width: 520px;
  height: 520px;
  top: 22%;
  right: -180px;
  background: radial-gradient(circle, var(--magenta) 0%, transparent 70%);
}

/* Layout Utilities */
.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.text-gradient {
  background: linear-gradient(95deg, #e0fbff 0%, var(--cyan) 38%, var(--magenta) 82%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background-color: rgba(4, 8, 17, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border-subtle);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.96rem;
}

.brand-prism {
  width: 30px;
  height: 30px;
  display: inline-flex;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.45));
}

.brand-name-accent {
  color: var(--cyan);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.62rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(232, 56, 245, 0.16));
  border: 1px solid rgba(0, 229, 255, 0.42);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease, border-color 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  border-color: var(--cyan);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.28);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section & One-Shot Logo Activation
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 2.2rem) 0 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Hero Logo Stage */
.hero-logo-stage {
  position: relative;
  width: min(560px, 92vw);
  aspect-ratio: 16 / 9;
  margin-bottom: 1.4rem;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.logo-halo {
  position: absolute;
  inset: 10% 8%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 32% 50%,
    rgba(0, 229, 255, 0.24) 0%,
    rgba(232, 56, 245, 0.16) 42%,
    transparent 74%
  );
  filter: blur(36px);
  z-index: 0;
  opacity: 0;
  animation: haloActivateOnce 2.2s var(--ease-out-expo) 0.15s 1 forwards;
}

.hero-logo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 88% 82% at 50% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 88% 82% at 50% 50%, #000 58%, transparent 100%);
  filter: drop-shadow(0 0 28px rgba(0, 229, 255, 0.22));
  will-change: clip-path, opacity, filter, transform;
}

/* One-shot projection activation when static logo runs canvas intro */
.hero-logo-stage.is-animating-once .hero-logo-img {
  animation: logoRevealOnce 1.85s var(--ease-out-expo) 0.2s 1 both;
}

.hero-logo-stage.is-settled .hero-logo-img {
  animation: none;
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: scale(1);
  filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.2));
}

.logo-intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

@keyframes logoRevealOnce {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: scale(0.965);
    filter: brightness(2.1) contrast(1.25) drop-shadow(0 0 42px rgba(0, 229, 255, 0.75));
  }
  42% {
    opacity: 1;
    clip-path: inset(0 38% 0 0);
    transform: scale(1.015);
    filter: brightness(1.55) contrast(1.15) drop-shadow(0 0 36px rgba(232, 56, 245, 0.55));
  }
  80% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: scale(1.005);
    filter: brightness(1.18) contrast(1.06) drop-shadow(0 0 30px rgba(0, 229, 255, 0.35));
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: scale(1);
    filter: brightness(1) contrast(1) drop-shadow(0 0 24px rgba(0, 229, 255, 0.2));
  }
}

@keyframes haloActivateOnce {
  0% {
    opacity: 0;
    transform: scale(0.75);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.08);
  }
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: rgba(0, 229, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 1.35rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

/* Headline & Subtext */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.1vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 19ch;
  margin-bottom: 1.5rem;
}

.hero-subtext {
  max-width: 760px;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.78;
  color: var(--text-secondary);
  margin-bottom: 2.35rem;
}

/* Hero Buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #030712;
  background: linear-gradient(100deg, #7df4ff 0%, var(--cyan) 42%, #d966ff 100%);
  box-shadow: 0 10px 34px rgba(0, 229, 255, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  overflow: hidden;
  transition: transform 0.28s var(--ease-out-expo), box-shadow 0.28s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease-out-expo);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(0, 229, 255, 0.44), 0 0 28px rgba(232, 56, 245, 0.28);
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-primary--sm {
  padding: 0.85rem 1.65rem;
  font-size: 0.95rem;
}

.btn-arrow {
  width: 19px;
  height: 19px;
  transition: transform 0.28s var(--ease-out-expo);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.98rem 1.7rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  background: rgba(11, 20, 38, 0.55);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s var(--ease-out-expo);
}

.btn-secondary:hover {
  border-color: rgba(0, 229, 255, 0.45);
  background: rgba(0, 229, 255, 0.08);
  transform: translateY(-2px);
}

/* Hero Technical Strip */
.hero-specs {
  width: 100%;
  max-width: 860px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 1.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex: 1;
}

.spec-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.spec-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.spec-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

/* Scroll Cue */
.scroll-cue {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-cue-line {
  width: 2px;
  height: 28px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  opacity: 0.7;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.9;
  }
}

/* ==========================================================================
   Generic Section Styling
   ========================================================================== */
.section {
  padding: 6.2rem 0;
  position: relative;
}

.section--tinted {
  background: linear-gradient(180deg, rgba(10, 19, 38, 0.38) 0%, rgba(7, 13, 27, 0.75) 50%, rgba(10, 19, 38, 0.32) 100%);
  border-top: 1px solid rgba(148, 184, 235, 0.08);
  border-bottom: 1px solid rgba(148, 184, 235, 0.08);
}

.section-header {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.95rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.04rem;
  color: var(--text-secondary);
  line-height: 1.72;
}

/* ==========================================================================
   Capabilities Grid (#mogelijkheden)
   ========================================================================== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.capability-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.35s ease, box-shadow 0.35s ease;
}

.capability-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.42);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45), 0 0 36px rgba(0, 229, 255, 0.12);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #070f20;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out-expo);
}

.capability-card:hover .card-media img {
  transform: scale(1.06);
}

.card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 17, 0.08) 0%, rgba(4, 8, 17, 0.72) 100%);
}

.card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.32rem 0.78rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  background: rgba(4, 8, 17, 0.78);
  border: 1px solid rgba(0, 229, 255, 0.35);
  backdrop-filter: blur(8px);
}

.card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 600;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.68;
}

.card-features {
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-subtle);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.card-features li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.88rem;
  color: #cfe0fa;
}

.card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.65);
}

/* ==========================================================================
   Interactive Projection Mapping Lab (#demo)
   ========================================================================== */
.lab-shell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.25);
  background: var(--bg-surface-strong);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.55), 0 0 42px rgba(0, 229, 255, 0.08);
}

.lab-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(5, 10, 22, 0.85);
}

.lab-control-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.lab-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.lab-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.lab-pill {
  padding: 0.48rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s ease;
}

.lab-pill:hover {
  color: var(--text-primary);
  border-color: rgba(0, 229, 255, 0.35);
}

.lab-pill.is-active {
  color: #040811;
  font-weight: 600;
  border-color: transparent;
  background: linear-gradient(95deg, var(--cyan), #a855f7);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.32);
}

.lab-stage {
  position: relative;
  width: 100%;
  height: clamp(320px, 48vw, 470px);
  background: radial-gradient(circle at 50% 45%, #0c1730 0%, #040811 78%);
  cursor: crosshair;
  overflow: hidden;
}

.lab-stage.is-video-active,
.lab-stage.is-image-active {
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 660px;
  background: #040811;
  cursor: default;
}

#mapping-lab-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.lab-stage.is-video-active #mapping-lab-canvas,
.lab-stage.is-image-active #mapping-lab-canvas {
  opacity: 0;
  pointer-events: none;
}

.lab-image,
.lab-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #040811;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.lab-image {
  object-fit: cover;
  object-position: center 45%;
}

.lab-video {
  object-fit: contain;
}

.lab-stage.is-image-active .lab-image.is-active,
.lab-stage.is-video-active .lab-video.is-active {
  opacity: 1;
  pointer-events: auto;
}

.lab-hud {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.78rem;
  border-radius: 8px;
  background: rgba(4, 8, 17, 0.72);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  pointer-events: none;
  backdrop-filter: blur(8px);
  transition: opacity 0.25s ease;
}

.lab-stage.is-video-active .lab-hud--br {
  opacity: 0;
}

.lab-hud--tl {
  top: 1rem;
  left: 1rem;
}

.lab-hud--br {
  bottom: 1rem;
  right: 1rem;
}

.hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* ==========================================================================
   Process Grid (#proces)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.process-step {
  position: relative;
  padding: 1.85rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 56, 245, 0.38);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: 1rem;
  background: linear-gradient(120deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.step-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   About Section (#over-ons)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-content .btn-primary {
  margin-top: 0.75rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.pillar-card:hover {
  border-color: rgba(0, 229, 255, 0.36);
  transform: translateX(4px);
}

.pillar-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  border: 1px solid var(--border-subtle);
}

.pillar-icon--cyan {
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.25);
}

.pillar-icon--magenta {
  color: var(--magenta);
  background: rgba(232, 56, 245, 0.08);
  border-color: rgba(232, 56, 245, 0.25);
}

.pillar-icon--green {
  color: var(--emerald);
  background: rgba(34, 255, 136, 0.08);
  border-color: rgba(34, 255, 136, 0.25);
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Contact Section (#contact)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-lead {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.72;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(0, 229, 255, 0.45);
}

.detail-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.detail-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}

a.detail-value:hover {
  color: var(--cyan);
}

.contact-form {
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 500;
  color: #cbd9f0;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: rgba(4, 8, 17, 0.72);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.14);
}

.form-field textarea {
  resize: vertical;
  min-height: 112px;
}

.btn-submit {
  width: 100%;
  margin-top: 0.35rem;
}

.form-feedback {
  min-height: 1.4em;
  font-size: 0.9rem;
  text-align: center;
}

.form-feedback.is-success {
  color: var(--emerald);
}

.form-feedback.is-error {
  color: #fb7185;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.8rem 0;
  background: rgba(3, 6, 14, 0.85);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.footer-copy {
  width: 100%;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(148, 184, 235, 0.08);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Scroll Reveal Animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

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

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(4, 8, 17, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out-expo), opacity 0.3s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 0.7rem 0.4rem;
    font-size: 1.05rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

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

  .hero-specs {
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.25rem;
  }

  .spec-divider {
    width: 60%;
    height: 1px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(1180px, calc(100% - 1.6rem));
  }

  .section {
    padding: 4.5rem 0;
  }

  .process-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.45rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .lab-hud--br {
    display: none;
  }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .logo-halo,
  .hero-logo-stage.is-animating-once .hero-logo-img,
  .scroll-cue-line {
    animation: none !important;
  }

  .logo-halo {
    opacity: 0.5;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
