/* ==========================================================================
   AI-CINEMATIC TECHNOLOGY PORTFOLIO — CORE DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. CUSTOM PROPERTIES & TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --canvas: #050608;
  --panel: #0A0B0D;
  --panel-elevated: #101114;
  --panel-glass: rgba(10, 11, 13, 0.72);
  --panel-glass-border: rgba(255, 255, 255, 0.08);
  
  --text-primary: #F3EEE8;
  --text-secondary: #8C8C8C;
  --text-tertiary: #5D5F63;
  --text-inverse: #050608;
  
  --accent: #E8792F;
  --accent-deep: #A84720;
  --accent-glow: rgba(232, 121, 47, 0.22);
  --accent-subtle: rgba(232, 121, 47, 0.08);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-visible: rgba(255, 255, 255, 0.14);
  --border-active: rgba(232, 121, 47, 0.4);

  /* Typography Matrix */
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Fluid Spacing & Layout */
  --container-max: 1440px;
  --container-pad: clamp(1.25rem, 4vw, 4rem);
  --section-gap: clamp(2.5rem, 5vw, 4.5rem);

  /* Transitions & Timing */
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --duration-fast: 0.24s;
  --duration-medium: 0.48s;
  --duration-slow: 0.8s;
}

/* --------------------------------------------------------------------------
   02. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  overflow-x: clip;
  width: 100%;
  min-height: 100vh;
}

body {
  line-height: 1.6;
  background-color: var(--canvas);
  position: relative;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 2rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 2px;
  transition: top 0.2s var(--ease-cinematic);
}
.skip-link:focus {
  top: 1.5rem;
}

/* --------------------------------------------------------------------------
   03. TYPOGRAPHY MATRIX
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.font-mono, .mono-tag, .section-label, .sys-coord {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

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

/* --------------------------------------------------------------------------
   04. ATMOSPHERIC BACKGROUND SYSTEM
   -------------------------------------------------------------------------- */
.bg-ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 50% -10%, rgba(232, 121, 47, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 80% 60%, rgba(168, 71, 32, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 20% 90%, rgba(255, 255, 255, 0.015) 0%, transparent 40%);
}

.bg-noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   05. THE SYSTEM GRID — SIGNATURE VISUAL LANGUAGE
   -------------------------------------------------------------------------- */
.sys-crosshair {
  position: relative;
}
.sys-crosshair::before,
.sys-crosshair::after {
  content: '';
  position: absolute;
  background: var(--border-visible);
  pointer-events: none;
}
.sys-crosshair::before {
  width: 9px;
  height: 1px;
  top: 50%;
  left: -4px;
}
.sys-crosshair::after {
  width: 1px;
  height: 9px;
  left: 50%;
  top: -4px;
}

.sys-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 2px;
}
.sys-tag.accented {
  border-color: rgba(232, 121, 47, 0.25);
  color: var(--accent);
  background: var(--accent-subtle);
}
.sys-tag-dot {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.section-kicker .kicker-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}
.section-kicker .kicker-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-kicker .kicker-line {
  flex-grow: 1;
  max-width: 60px;
  height: 1px;
  background: var(--border-visible);
}

/* --------------------------------------------------------------------------
   06. GLOBAL HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  background-color: rgba(5, 6, 8, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--duration-medium) ease, backdrop-filter var(--duration-medium) ease, border-color var(--duration-medium) ease, padding var(--duration-medium) ease;
}

.site-header .nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.site-header.scrolled {
  background-color: rgba(5, 6, 8, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  padding: 0.85rem 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 135px;
  object-fit: contain;
  display: block;
  transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease;
}
.brand-mark:hover .brand-logo-img {
  opacity: 0.9;
  transform: translateY(-1px);
}

.hero-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-logo-mark {
  height: 24px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.9;
}

.contact-logo-mark {
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-brand-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 0.85rem;
}
.footer-logo-img {
  height: 54px;
  width: auto;
  max-width: 185px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
  transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease;
}
.footer-brand-link:hover .footer-logo-img {
  opacity: 0.92;
  transform: translateY(-2px);
}
.footer-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.14em;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: width var(--duration-fast) var(--ease-cinematic);
}
.nav-link:hover {
  color: var(--text-primary);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link.active {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-visible);
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-cinematic);
  position: relative;
  overflow: hidden;
}
.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
  z-index: 0;
}
.btn-cta:hover {
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 16px var(--accent-glow);
}
.btn-cta:hover::before {
  opacity: 0.15;
}
.btn-cta span,
.btn-cta svg {
  position: relative;
  z-index: 1;
}
.btn-cta svg {
  transition: transform var(--duration-fast) var(--ease-cinematic);
}
.btn-cta:hover svg {
  transform: translateX(3px);
}

.mobile-nav-cta {
  display: none;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10001;
  padding: 0;
  position: relative;
}
.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background-color 0.3s ease;
}
.mobile-nav-toggle:hover span {
  background: var(--accent);
}
.mobile-nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--accent);
}
.mobile-nav-toggle.active span:nth-child(2) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--accent);
}

@media (max-width: 768px) {
  .mobile-nav-cta {
    display: inline-flex;
  }
  .primary-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 6, 10, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
  }
  .primary-nav.mobile-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .primary-nav .nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--text-secondary);
    padding: 0.65rem 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
  }
  .primary-nav .nav-link:hover,
  .primary-nav .nav-link.active {
    color: var(--accent);
    transform: scale(1.05);
  }
}

/* --------------------------------------------------------------------------
   07. HERO SECTION — CINEMATIC CANVAS SCRUB EXPERIENCE
   -------------------------------------------------------------------------- */
.hero-stage {
  position: relative;
  width: 100%;
  height: 450vh; /* Long scroll distance for cinematic pacing */
  z-index: 10;
}

.hero-sticky-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--canvas);
}

/* Canvas element */
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  filter: blur(6px) brightness(1.15) contrast(1.06);
  transform: scale(1.03);
  
  will-change: transform, filter;
}

/* Static Fallback Poster */
.hero-fallback-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  filter: blur(6px) brightness(1.15) contrast(1.06);
  transform: scale(1.03);
  transition: opacity 0.5s ease;
}

/* 4-Layer Legibility Scrim System */
.hero-scrim-global {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(5, 6, 8, 0.15) 0%, rgba(5, 6, 8, 0.4) 60%, rgba(5, 6, 8, 0.88) 100%),
              linear-gradient(to bottom, rgba(5,6,8,0.4) 0%, transparent 22%, transparent 72%, rgba(5,6,8,0.98) 100%);
}

/* Subtle Binary Data Atmosphere Layer */
.hero-binary-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  filter: blur(1px);
  opacity: 0.85;
}

@media (max-width: 768px) {
  .hero-binary-layer {
    opacity: 0.45;
    filter: blur(1.5px);
  }
}

/* Hero Typography Choreography Bands */
.hero-content-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--container-pad);
}

.hero-copy-band {
  position: absolute;
  width: 100%;
  max-width: 1150px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
}

.hero-band-01 {
  position: relative;
  /* 5% - 15% */
}
.hero-band-01::before {
  content: '';
  position: absolute;
  inset: -3.5rem -4rem;
  background: radial-gradient(ellipse at center, rgba(5, 6, 8, 0.6) 0%, rgba(5, 6, 8, 0.25) 55%, transparent 78%);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

.hero-main-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 6.5vw, 5.8rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85), 0 0 70px rgba(0, 0, 0, 0.95);
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.hero-main-title span {
  display: block;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
  max-width: 100%;
}

.hero-band-02 {
  /* 25% - 40% */
}
.hero-band-02 h2 {
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  font-weight: 700;
  color: var(--text-primary);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85);
}
.hero-band-02 p {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-top: 1rem;
}

.hero-band-03 {
  /* 50% - 65% */
}
.hero-band-03 h2 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}
.hero-band-03 .hero-sub-pills {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.hero-band-04 {
  /* 75% - 90% */
}
.hero-band-04 h2 {
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.95);
}
.hero-band-04 .scroll-down-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
}
.scroll-down-hint svg {
  animation: pulseDown 2s infinite ease-in-out;
}
@keyframes pulseDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* Hero Vertical Progress Indicator */
.hero-progress-timeline {
  position: absolute;
  right: clamp(1rem, 2.5vw, 2.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.timeline-track {
  width: 1px;
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.timeline-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transition: height 0.05s linear;
}
.timeline-label {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--text-tertiary);
  transform: rotate(180deg);
}

/* System HUD Overlay (Fine Coordinates) */
.hero-hud-tl, .hero-hud-tr, .hero-hud-bl, .hero-hud-br {
  position: absolute;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  pointer-events: none;
}
.hero-hud-tl { top: clamp(5rem, 9vh, 7rem); left: var(--container-pad); }
.hero-hud-tr { top: clamp(5rem, 9vh, 7rem); right: var(--container-pad); }
.hero-hud-bl { bottom: 2rem; left: var(--container-pad); }
.hero-hud-br { bottom: 2rem; right: var(--container-pad); }

/* --------------------------------------------------------------------------
   08. MAIN WRAPPER & SECTIONS LAYOUT
   -------------------------------------------------------------------------- */
#main {
  position: relative;
  z-index: 20;
  background-color: var(--canvas);
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
}

.portfolio-section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  position: relative;
  border-top: 1px solid var(--border-subtle);
  scroll-margin-top: 80px;
}

.section-header-editorial {
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
}
.section-headline {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  max-width: 24ch;
  margin-top: 0.5rem;
}
.section-subhead {
  max-width: 58ch;
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
}

/* --------------------------------------------------------------------------
   09. SECTION 01: PRODUCTS (PHYSICAL & DIMENSIONAL 3D PERSPECTIVE)
   -------------------------------------------------------------------------- */
.products-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.product-item {
  position: relative;
  perspective: 1400px;
}

/* Product 01 & 03: Image Left / Editorial Right */
.product-aura,
.product-tesseract {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}

/* Product 02: Editorial Left / Image Right */
.product-synapse {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}

.product-visual-stage {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-media-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: #050608;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.15);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.product-item:hover .product-media-frame {
  border-color: rgba(232, 121, 47, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 25px rgba(232, 121, 47, 0.12);
}

.product-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.03) brightness(0.98);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}
.product-item:hover .product-hero-image {
  transform: scale(1.02);
  filter: contrast(1.05) brightness(1.02);
}

.product-image-hud {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 3;
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-primary);
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.product-item:hover .product-image-hud {
  border-color: rgba(232, 121, 47, 0.4);
  background: rgba(5, 6, 8, 0.92);
}

/* Technical System Relationship Connector */
.product-system-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
  opacity: 0.75;
}
.connector-line {
  height: 1px;
  flex: 1;
  max-width: 160px;
  background: linear-gradient(90deg, transparent, rgba(232, 121, 47, 0.45), transparent);
}
.connector-tag {
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.connector-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* Product Info Editorial Column */
.product-editorial {
  display: flex;
  flex-direction: column;
}
.product-meta-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.product-name {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.product-desc {
  max-width: 48ch;
  margin-bottom: 2rem;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  color: var(--text-secondary);
}

.product-triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}
.triad-col .triad-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 0.4rem;
}
.triad-col .triad-value {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.4;
}

.btn-product-action {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  transition: gap var(--duration-fast) ease, color var(--duration-fast) ease;
}
.btn-product-action:hover {
  color: #fff;
  gap: 1.1rem;
}

/* --------------------------------------------------------------------------
   10. SECTION 02: THE REAL-WORLD PROBLEM (EDITORIAL TEARDOWN)
   -------------------------------------------------------------------------- */
.problems-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-card {
  background: var(--panel);
  border: 1px solid var(--border-subtle);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 2px;
  position: relative;
  transition: border-color var(--duration-fast) ease, transform var(--duration-medium) var(--ease-cinematic);
}
.problem-card:hover {
  border-color: var(--border-visible);
  transform: translateY(-4px);
}
.problem-card .problem-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}
.problem-card .problem-title {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.problem-flow-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}
.problem-flow-steps::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 6px;
  width: 1px;
  background: var(--border-subtle);
}

.flow-step {
  position: relative;
  padding-left: 1.75rem;
}
.flow-step-dot {
  position: absolute;
  left: 3px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-tertiary);
}
.flow-step.opportunity .flow-step-dot {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.flow-step .step-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 0.2rem;
}
.flow-step.opportunity .step-label {
  color: var(--accent);
}
.flow-step .step-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11. SECTION 03: CASE STUDIES (CINEMATIC INVESTIGATIONS)
   -------------------------------------------------------------------------- */
.case-study-showcase {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.case-study-hero-card {
  background: var(--panel);
  border: 1px solid var(--border-visible);
  border-radius: 4px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.case-study-hero-card:hover {
  border-color: rgba(232, 121, 47, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 20px rgba(232, 121, 47, 0.08);
}

.case-study-visual {
  position: relative;
  background: #020305;
  border-right: 1px solid var(--border-subtle);
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.case-study-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to right, rgba(2, 3, 5, 0.25) 0%, transparent 15%, transparent 85%, rgba(2, 3, 5, 0.45) 100%),
              linear-gradient(to bottom, rgba(2, 3, 5, 0.2) 0%, transparent 15%, transparent 85%, rgba(2, 3, 5, 0.4) 100%);
}

.case-study-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: contrast(1.02) brightness(0.98);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}
.case-study-hero-card:hover .case-study-image {
  transform: scale(1.015);
  filter: contrast(1.05) brightness(1.02);
}

.case-study-content {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.case-study-header {
  margin-bottom: 1.5rem;
}
.case-study-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}
.case-study-title {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.case-investigation-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2rem 0;
}
.investigation-row {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}
.investigation-row .inv-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-tertiary);
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
}
.investigation-row .inv-val {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.case-study-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  width: fit-content;
}
.case-study-detail-btn:hover {
  color: #fff;
}

/* Secondary Case Study Grid */
.case-studies-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.sub-case-card {
  background: var(--panel);
  border: 1px solid var(--border-subtle);
  padding: 1.75rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: all var(--duration-fast) ease;
}
.sub-case-card:hover {
  border-color: rgba(232, 121, 47, 0.3);
  background: var(--panel-elevated);
}
.sub-case-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #050608;
  border: 1px solid var(--border-subtle);
}
.sub-case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.sub-case-card:hover .sub-case-img {
  transform: scale(1.025);
}

/* --------------------------------------------------------------------------
   12. SECTION 04: WHAT'S NEXT (TECHNOLOGY INTELLIGENCE JOURNAL & SIGNAL)
   -------------------------------------------------------------------------- */
.journal-index-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.journal-entry {
  display: grid;
  grid-template-columns: 80px 220px 1fr 180px;
  align-items: baseline;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.8rem, 3.5vw, 2.6rem) 0;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: background-color 0.4s var(--ease-cinematic), padding 0.4s var(--ease-cinematic), border-color 0.4s ease;
  position: relative;
  outline: none;
}

/* Subtle Left Accent Rail on Active */
.journal-entry::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-cinematic);
  border-radius: 2px;
}

.journal-entry:hover,
.journal-entry.is-signal-active {
  padding-left: clamp(0.75rem, 1.5vw, 1.25rem);
  padding-right: clamp(0.75rem, 1.5vw, 1.25rem);
  background: rgba(255, 255, 255, 0.015);
  border-bottom-color: rgba(232, 121, 47, 0.22);
}

.journal-entry:hover::before,
.journal-entry.is-signal-active::before {
  opacity: 1;
  transform: scaleY(1);
}

/* Intelligence Signal Horizontal Track & SVG/CSS Line */
.journal-signal-track {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}

.journal-signal-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(232, 121, 47, 0.7) 40%, rgba(232, 121, 47, 0.15) 85%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(232, 121, 47, 0.35);
}

.journal-entry.is-signal-active .journal-signal-line,
.journal-entry:hover .journal-signal-line {
  transform: scaleX(1);
}

/* 0/1 Micro Data Trace along the Signal Line */
.journal-data-trace {
  position: absolute;
  bottom: 4px;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.journal-entry.is-signal-active .journal-data-trace,
.journal-entry:hover .journal-data-trace {
  opacity: 0.9;
  animation: dataTraceTraverse 4.5s infinite linear;
}

@keyframes dataTraceTraverse {
  0% { transform: translateX(0); opacity: 0; }
  10% { opacity: 0.9; }
  80% { opacity: 0.9; }
  100% { transform: translateX(min(650px, 80vw)); opacity: 0; }
}

/* Typography States in Quiet vs Active */
.journal-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-tertiary);
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: color 0.35s ease, text-shadow 0.35s ease, transform 0.35s ease;
}

.journal-entry.is-signal-active .journal-num,
.journal-entry:hover .journal-num {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(232, 121, 47, 0.5);
  transform: translateX(2px);
}

.journal-category {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-tertiary);
  letter-spacing: 0.12em;
  transition: color 0.35s ease;
}

.journal-entry.is-signal-active .journal-category,
.journal-entry:hover .journal-category {
  color: var(--text-secondary);
}

.journal-main {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.journal-title {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  color: var(--text-secondary);
  font-weight: 700;
  transition: color 0.35s ease, transform 0.35s ease;
}

.journal-entry.is-signal-active .journal-title,
.journal-entry:hover .journal-title {
  color: #FFFFFF;
  transform: translateX(2px);
}

.journal-abstract {
  font-size: 0.94rem;
  color: var(--text-tertiary);
  max-width: 64ch;
  line-height: 1.65;
  transition: color 0.35s ease;
}

.journal-entry.is-signal-active .journal-abstract,
.journal-entry:hover .journal-abstract {
  color: var(--text-primary);
}

.journal-action {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-tertiary);
  text-align: right;
  letter-spacing: 0.12em;
  transition: color 0.35s ease, transform 0.35s ease;
}

.journal-entry.is-signal-active .journal-action,
.journal-entry:hover .journal-action {
  color: var(--accent);
  transform: translateX(6px);
}

@media (max-width: 1024px) {
  .journal-entry {
    grid-template-columns: 60px 1fr auto;
    gap: 1.5rem;
  }
  .journal-category {
    grid-column: 2 / 3;
    margin-bottom: -0.25rem;
  }
  .journal-main {
    grid-column: 2 / 4;
  }
  .journal-action {
    grid-column: 2 / 4;
    text-align: left;
    margin-top: 0.5rem;
  }
}

@media (max-width: 640px) {
  .journal-entry {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .journal-action {
    margin-top: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journal-signal-line {
    transition: none;
    transform: scaleX(1);
  }
  .journal-data-trace {
    animation: none;
    display: none;
  }
}

/* --------------------------------------------------------------------------
   13. SECTION 05: CINEMATIC STATEMENT (EMOTIONAL INTERMISSION)
   -------------------------------------------------------------------------- */
.cinematic-statement-stage {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: radial-gradient(circle at 50% 50%, rgba(232, 121, 47, 0.03) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.statement-geometry-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.12;
}

.statement-text-monumental {
  font-size: clamp(2.4rem, 5.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: 22ch;
  margin: 0 auto;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.statement-sub {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-top: 2rem;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   14. SECTION 06: SYSTEMS BECOMING INTELLIGENT (CINEMATIC STATE SEQUENCE)
   -------------------------------------------------------------------------- */
.system-sequence-stage {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

/* Visual Panel & Frame Stack */
.system-visual-panel {
  position: relative;
  width: 100%;
}

.system-frame-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #030406;
  border: 1px solid var(--border-visible);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 1px rgba(255, 255, 255, 0.2);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.system-frame-stack:hover {
  border-color: rgba(232, 121, 47, 0.35);
  box-shadow: 0 30px 85px rgba(0, 0, 0, 0.95), 0 0 25px rgba(232, 121, 47, 0.15);
}

.system-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.system-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.system-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.04) brightness(0.98);
}

.system-slide-hud {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem;
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  z-index: 3;
}

/* System Screen Overlay Elements */
.system-screen-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.sys-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: rgba(255, 255, 255, 0.25);
}
.sys-corner-tl { top: 12px; left: 12px; border-top: 1.5px solid; border-left: 1.5px solid; }
.sys-corner-tr { top: 12px; right: 12px; border-top: 1.5px solid; border-right: 1.5px solid; }
.sys-corner-bl { bottom: 12px; left: 12px; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.sys-corner-br { bottom: 12px; right: 12px; border-bottom: 1.5px solid; border-right: 1.5px solid; }

.sys-live-indicator {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  background: rgba(5, 6, 8, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-size: 0.68rem;
  color: var(--text-secondary);
  letter-spacing: 0.12em;
}

.live-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: livePulseAnim 2s infinite ease-in-out;
}

@keyframes livePulseAnim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

/* Control Panel & Topology Diagram */
.system-control-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.system-diagram-wrap {
  background: rgba(10, 11, 13, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.system-topology-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  overflow: visible;
}

.topo-node-group {
  cursor: pointer;
  transition: all 0.3s ease;
}

.topo-node-ring {
  fill: #050608;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1.5px;
  transition: stroke 0.4s ease, fill 0.4s ease, filter 0.4s ease;
}

.topo-node-core {
  fill: rgba(255, 255, 255, 0.3);
  transition: fill 0.4s ease, r 0.4s ease;
}

.topo-node-text {
  font-size: 10px;
  fill: var(--text-tertiary);
  letter-spacing: 0.14em;
  transition: fill 0.3s ease;
}

.topo-node-group.active .topo-node-ring {
  stroke: var(--accent);
  fill: rgba(232, 121, 47, 0.12);
  filter: drop-shadow(0 0 8px rgba(232, 121, 47, 0.45));
}

.topo-node-group.active .topo-node-core {
  fill: var(--accent);
}

.topo-node-group.active .topo-node-text {
  fill: var(--accent);
  font-weight: 700;
}

.topo-active-path {
  stroke: var(--accent);
  stroke-width: 2.5px;
  filter: drop-shadow(0 0 6px rgba(232, 121, 47, 0.4));
  transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.topo-particle {
  transition: cx 0.9s cubic-bezier(0.16, 1, 0.3, 1), cy 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* State Navigation List & Cards */
.system-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.system-state-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.15rem 1.4rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
}

.system-state-card:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--border-visible);
  transform: translateX(3px);
}

.system-state-card.active {
  background: rgba(232, 121, 47, 0.05);
  border-color: rgba(232, 121, 47, 0.35);
  border-left: 3px solid var(--accent);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transform: translateX(4px);
}

.state-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.state-idx {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
}

.system-state-card.active .state-idx {
  color: var(--accent);
  font-weight: 700;
}

.state-status-badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
}

.system-state-card.active .state-status-badge {
  background: rgba(232, 121, 47, 0.15);
  color: var(--accent);
  font-weight: 600;
}

.state-title {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  line-height: 1.25;
}

.state-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.state-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
}

.system-state-card.active .state-progress-track {
  background: rgba(255, 255, 255, 0.05);
}

.state-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

@media (max-width: 1024px) {
  .system-sequence-stage {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .system-frame-stack {
    aspect-ratio: 4 / 3;
  }
  .system-slide-hud {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    top: 0.75rem;
    left: 0.75rem;
  }
  .sys-live-indicator {
    font-size: 0.6rem;
    bottom: 0.75rem;
    right: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   15. SECTION 07: PRODUCT & CASE STUDY ARCHIVE (INDEXED HOVER DRAWER)
   -------------------------------------------------------------------------- */
.archive-indexed-directory {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-row-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-row {
  display: grid;
  grid-template-columns: 80px 1.5fr 1fr 140px 60px;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: all var(--duration-fast) ease;
  position: relative;
}
.archive-row:hover {
  background: rgba(255, 255, 255, 0.02);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-color: var(--border-visible);
}

.archive-row .arch-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}
.archive-row .arch-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}
.archive-row .arch-category {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}
.archive-row .arch-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
}
.archive-row .arch-arrow {
  text-align: right;
  color: var(--text-tertiary);
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
}
.archive-row:hover .arch-arrow {
  color: var(--accent);
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   16. SECTION 08: QUESTIONS WORTH ANSWERING (EDITORIAL FAQ & AEO)
   -------------------------------------------------------------------------- */
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 960px;
  margin-top: 2rem;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  transition: border-color var(--duration-fast) ease, background var(--duration-fast) ease;
}
.faq-item[open] {
  border-color: var(--border-visible);
  background: var(--panel-elevated);
}

.faq-summary {
  padding: 1.5rem 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  user-select: none;
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform var(--duration-fast) ease;
}
.faq-item[open] .faq-summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 2rem 1.75rem 2rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  border-top: 1px solid transparent;
}
.faq-item[open] .faq-content {
  border-top-color: var(--border-subtle);
  padding-top: 1.25rem;
}

/* Hidden Semantic Source for Progressive Enhancement / Screen Readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.case-study-full-source {
  display: none;
}

/* --------------------------------------------------------------------------
   17. SECTION 09: CONTACT (FINAL SCENE)
   -------------------------------------------------------------------------- */
.contact-hero-stage {
  padding: clamp(6rem, 12vw, 12rem) 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact-statement-head {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.contact-supporting-text {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  max-width: 48ch;
  margin-bottom: 2.5rem;
}

.contact-console-card {
  background: var(--panel);
  border: 1px solid var(--border-visible);
  border-radius: 4px;
  padding: 2.5rem;
  position: relative;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-channel-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: all var(--duration-fast) ease;
}
.contact-channel-item:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
  color: #fff;
}

.btn-contact-primary {
  width: 100%;
  padding: 1.2rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 2px;
  transition: all var(--duration-fast) ease;
}
.btn-contact-primary:hover {
  background: #fff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

/* Toast Copy Notification */
.copy-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--panel-elevated);
  border: 1px solid var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10000;
}
.copy-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   17. SECTION 09: FOOTER + AI DISCOVERY STRIP
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 3.5rem 0;
  background: var(--canvas);
  position: relative;
}

/* AI Discovery Strip */
.ai-discovery-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 3.5rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  gap: 2rem;
  flex-wrap: wrap;
}

.ai-strip-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--text-tertiary);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
}
.ai-strip-label .sys-tag-dot {
  width: 5px;
  height: 5px;
}

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

.ai-platform-btn {
  width: 48px;
  height: 48px;
  background: #08090C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}
.ai-platform-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 121, 47, 0.45);
  background: #0E1015;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 12px rgba(232, 121, 47, 0.15);
}
.ai-platform-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.ai-platform-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Footer Main Grid */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.25fr 2fr;
  gap: 5rem;
  align-items: start;
}

.footer-brand-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 400px;
}

.footer-brand-descriptor {
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.footer-craft-line {
  font-size: 0.74rem;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-emoji-rotator {
  display: inline-block;
  width: 1.4em;
  text-align: center;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  vertical-align: middle;
}

/* Navigation Columns */
.footer-columns-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
}

.footer-column-title {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-nav-list li a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
  display: inline-block;
}
.footer-nav-list li a:hover {
  color: var(--text-primary);
  transform: translateX(2px);
}

/* Bottom Bar */
.footer-bottom-bar {
  margin-top: 4.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   18. CASE STUDY DETAIL MODAL (INDEPENDENT FULL-SCREEN READING SYSTEM)
   -------------------------------------------------------------------------- */
.case-modal-overlay,
.case-study-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overscroll-behavior: contain;
  transition: opacity var(--duration-medium) ease, visibility var(--duration-medium) ease;
  padding: clamp(16px, 3vh, 32px);
}
.case-modal-overlay.active,
.case-study-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.case-modal-container,
.case-study-modal-window {
  background: #050608;
  border: 1px solid rgba(243, 238, 232, 0.12);
  width: 100%;
  max-width: 920px;
  max-height: min(92vh, calc(100dvh - 40px));
  height: auto;
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 1px rgba(255, 255, 255, 0.15);
  transform: translateY(20px);
  transition: transform var(--duration-medium) var(--ease-cinematic);
  overflow: hidden;
}
.case-modal-overlay.active .case-modal-container,
.case-study-modal-backdrop.active .case-study-modal-window {
  transform: translateY(0);
}

/* Fixed/Sticky Top Header */
.modal-top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem clamp(1.5rem, 3.5vw, 2.5rem);
  background: rgba(5, 6, 8, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.modal-close-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}
.modal-close-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* Independent Scrollable Content Area */
.modal-body-scroll,
#caseModalBody {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.5rem, 3.5vw, 2.5rem) clamp(2.5rem, 5vw, 3.5rem);
  scrollbar-width: thin;
  scrollbar-color: rgba(243, 238, 232, 0.25) rgba(255, 255, 255, 0.04);
}
.modal-body-scroll:hover,
#caseModalBody:hover,
.case-study-modal-window:hover,
.case-modal-container:hover {
  scrollbar-color: var(--accent) rgba(255, 255, 255, 0.04);
}

/* Custom HIRAX Thin Scrollbar (WebKit) */
.modal-body-scroll::-webkit-scrollbar,
#caseModalBody::-webkit-scrollbar,
.case-study-modal-window::-webkit-scrollbar,
.case-modal-container::-webkit-scrollbar {
  width: 7px;
}
.modal-body-scroll::-webkit-scrollbar-track,
#caseModalBody::-webkit-scrollbar-track,
.case-study-modal-window::-webkit-scrollbar-track,
.case-modal-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}
.modal-body-scroll::-webkit-scrollbar-thumb,
#caseModalBody::-webkit-scrollbar-thumb,
.case-study-modal-window::-webkit-scrollbar-thumb,
.case-modal-container::-webkit-scrollbar-thumb {
  background: rgba(243, 238, 232, 0.25);
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease;
}
.modal-body-scroll::-webkit-scrollbar-thumb:hover,
#caseModalBody::-webkit-scrollbar-thumb:hover,
.case-study-modal-window::-webkit-scrollbar-thumb:hover,
.case-modal-container::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Content Blocks & Typography Ergonomics */
.modal-section-block {
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}
.modal-section-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.modal-section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}
.modal-section-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.modal-section-block p {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 78ch;
}

/* Mobile Modal Layout (100dvh Full Screen Reader) */
@media (max-width: 768px) {
  .case-modal-overlay,
  .case-study-modal-backdrop {
    padding: 0;
  }
  .case-modal-container,
  .case-study-modal-window {
    max-width: 100%;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: none;
  }
  .modal-top-bar {
    padding: 1rem 1.25rem;
  }
  .modal-body-scroll,
  #caseModalBody {
    padding: 1.5rem 1.25rem 3rem;
  }
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .brand-logo-img {
    height: 34px;
    max-width: 120px;
  }
  
  .product-aura,
  .product-synapse,
  .product-tesseract {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .problems-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .case-study-hero-card {
    grid-template-columns: 1fr;
  }
  .case-study-visual {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    min-height: 360px;
    aspect-ratio: 16 / 10;
  }
  
  .journal-entry {
    grid-template-columns: 60px 1fr 100px;
  }
  .journal-category {
    display: none;
  }
  
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .footer-brand-column {
    max-width: 100%;
  }
  .footer-columns-group {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .case-study-visual {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }

  .product-aura,
  .product-synapse,
  .product-tesseract {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-media-frame {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }
  .product-image-hud {
    bottom: 0.75rem;
    left: 0.75rem;
    font-size: 0.62rem;
    padding: 0.3rem 0.65rem;
  }
  .product-system-connector {
    margin: 1.5rem 0;
  }

  .brand-logo-img {
    height: 28px;
    max-width: 95px;
  }
  .nav-actions {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  
  .hero-hud-tl, .hero-hud-tr, .hero-hud-bl, .hero-hud-br {
    display: none;
  }

  .hero-content-layer {
    padding: 0 1rem;
  }
  .hero-copy-band {
    padding: 0 0.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-main-title {
    font-size: clamp(1.5rem, 7.2vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: 0.01em;
  }
  .hero-supporting-text {
    font-size: 0.9rem !important;
    line-height: 1.55;
    padding: 0 0.5rem;
    margin-top: 1rem !important;
  }
  .hero-band-01::before {
    inset: -1.5rem -1rem;
  }
  .hero-band-02 h2 {
    font-size: clamp(1.35rem, 5.8vw, 2.2rem) !important;
    line-height: 1.15;
  }
  .hero-band-03 h2 {
    font-size: clamp(1.4rem, 6.2vw, 2.4rem) !important;
    line-height: 1.15;
  }
  .hero-band-04 h2 {
    font-size: clamp(1.5rem, 6.8vw, 2.6rem) !important;
    line-height: 1.15;
  }
  
  .problems-editorial-grid,
  .case-studies-subgrid {
    grid-template-columns: 1fr;
  }
  
  .archive-row {
    grid-template-columns: 50px 1fr 40px;
  }
  .archive-row .arch-category,
  .archive-row .arch-status {
    display: none;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .product-triad {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ai-discovery-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding-bottom: 2.5rem;
    margin-bottom: 3rem;
  }
  .ai-platform-btn {
    width: 44px;
    height: 44px;
  }

  .footer-columns-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-main-title {
    font-size: clamp(1.4rem, 7.6vw, 1.95rem);
    letter-spacing: 0;
    line-height: 1.15;
  }
  .hero-supporting-text {
    font-size: 0.85rem !important;
    line-height: 1.5;
  }
  .footer-columns-group {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }
}

/* --------------------------------------------------------------------------
   20. CASE STUDY ARCHIVE PAGE STYLES (UNIFIED LAYOUT SYSTEM)
   -------------------------------------------------------------------------- */
.case-archive-page {
  background-color: var(--canvas);
}

.case-archive-page main {
  padding-top: clamp(80px, 11vh, 110px);
  position: relative;
  z-index: 2;
}

/* Compact Editorial Hero (45-55vh) */
.archive-hero-section {
  padding-top: clamp(2.5rem, 5vh, 4rem);
  padding-bottom: clamp(2.5rem, 4vh, 3.5rem);
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}
.archive-hero-content {
  max-width: 1050px;
}
.archive-hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  line-height: 0.98;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 1.25rem 0 1.5rem 0;
}
.archive-hero-lead {
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 60ch;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.archive-hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}
.archive-badge {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  letter-spacing: 0.12em;
}

/* Archive Controls: Filters & Quick Jump Directory */
.archive-controls-section {
  padding-top: 2.5rem;
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  background: var(--canvas);
  border-bottom: 1px solid var(--border-subtle);
}
.archive-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-label {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  letter-spacing: 0.14em;
  margin-right: 0.5rem;
}
.filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.95rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-visible);
  background: rgba(255, 255, 255, 0.05);
}
.filter-btn.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-subtle);
  box-shadow: 0 0 12px rgba(232, 121, 47, 0.15);
}
.filter-count {
  font-size: 0.65rem;
  opacity: 0.7;
}

.archive-quick-index {
  background: rgba(10, 11, 13, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1.5rem;
}
.index-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}
.index-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem 1rem;
}
.index-item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid transparent;
  transition: all var(--duration-fast) ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.index-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(232, 121, 47, 0.3);
  transform: translateX(2px);
}
.index-item .idx-num {
  color: var(--accent);
  font-weight: 600;
}

/* Archive Case Studies Stack (Controlled Editorial Rhythm) */
.archive-list-section {
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(5rem, 8vw, 7.5rem) 0;
  position: relative;
}
.archive-items-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 6vw, 5.5rem);
}
.archive-case-row {
  display: grid;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  position: relative;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.archive-case-row.is-hidden {
  display: none !important;
}
.archive-case-row.layout-image-text {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}
.archive-case-row.layout-text-image {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.case-editorial-col {
  display: flex;
  flex-direction: column;
}
.case-index-pill {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.12em;
}
.case-row-title {
  font-size: clamp(1.6rem, 2.2vw, 2.3rem);
  line-height: 1.18;
  margin: 0.85rem 0 1rem 0;
}
.case-row-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* Media Containers & Engineered Placeholders */
.case-media-col {
  position: relative;
  transform-style: preserve-3d;
  perspective: 1200px;
}
.case-study-media-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: #050608;
  border: 1px solid var(--border-visible);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8);
  position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.archive-case-row:hover .case-study-media-frame {
  border-color: rgba(232, 121, 47, 0.35);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.9), 0 0 20px rgba(232, 121, 47, 0.1);
}
.case-study-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: contrast(1.02) brightness(0.98);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}
.archive-case-row:hover .case-study-hero-img {
  transform: scale(1.015);
  filter: contrast(1.05) brightness(1.02);
}

/* Engineered Placeholder Canvas */
.case-study-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: #050608;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ph-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.ph-grid-lines::after {
  content: '01001000 01001001 01010010 01000001 01011000 00101111 01000001 01010010 01000011 01001000 01001001 01010110 01000101';
  position: absolute;
  top: 15%;
  left: 10%;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: 0.3em;
  word-break: break-all;
  max-width: 80%;
  line-height: 2;
  pointer-events: none;
}
.ph-corner-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  pointer-events: none;
}
.ph-corner-tag.top-left { top: 1rem; left: 1rem; }
.ph-corner-tag.bottom-right { bottom: 1rem; right: 1rem; }

.ph-center-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 11, 13, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 2rem;
  border-radius: 4px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s ease;
}
.archive-case-row:hover .ph-center-badge {
  border-color: rgba(232, 121, 47, 0.4);
}
.ph-symbol {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.ph-id {
  font-size: 0.72rem;
  color: var(--text-primary);
  letter-spacing: 0.14em;
}
.ph-status {
  font-size: 0.62rem;
  color: var(--text-tertiary);
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.case-study-media-hud {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 3;
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-primary);
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  pointer-events: none;
}

/* Vertical Relationship Connector Line */
.archive-connector-line {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 32px;
  margin: -1.75rem 0;
}
.archive-connector-line::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
}
.archive-connector-line .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  z-index: 2;
}

/* Minimal Closing Statement */
.archive-closing-statement {
  padding: clamp(5rem, 8vw, 8rem) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at center, rgba(232, 121, 47, 0.03) 0%, transparent 70%);
  text-align: center;
}
.statement-editorial-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.statement-headline {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.statement-subtext {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

/* Responsive Rules for Archive Page */
@media (max-width: 1200px) {
  .index-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .index-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .archive-case-row.layout-image-text,
  .archive-case-row.layout-text-image {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .archive-case-row.layout-text-image .case-media-col {
    order: -1;
  }
  .archive-controls-section {
    position: static;
  }
}

@media (max-width: 640px) {
  .index-grid {
    grid-template-columns: 1fr;
  }
  .archive-filter-bar {
    gap: 0.5rem;
  }
  .filter-btn {
    font-size: 0.68rem;
    padding: 0.4rem 0.75rem;
  }
  .archive-hero-title {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }
  .ph-center-badge {
    padding: 1rem 1.25rem;
  }
  .ph-id {
    font-size: 0.65rem;
  }
}

/* --------------------------------------------------------------------------
   21. ACCESSIBILITY & PREFERS-REDUCED-MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-stage {
    height: auto !important;
  }
  .hero-sticky-viewport {
    position: relative !important;
    height: 100vh !important;
  }
  .hero-copy-band {
    opacity: 1 !important;
    transform: none !important;
    position: relative !important;
    margin-bottom: 2rem;
  }
  .hero-content-layer {
    position: relative !important;
    padding-top: 8rem;
  }
  .hero-progress-timeline {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   22. DEDICATED CASE STUDY ARTICLE SYSTEM (EDITORIAL / RESEARCH ARCHITECTURE)
   -------------------------------------------------------------------------- */
.case-study-article-page {
  background-color: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
}

/* Reading Progress Indicator */
.article-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 10001;
}
.article-reading-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
}

/* Breadcrumb Strip */
.article-breadcrumb-nav {
  padding-top: clamp(80px, 11vh, 105px);
  padding-bottom: 1.5rem;
}
.article-breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.article-breadcrumb-list a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}
.article-breadcrumb-list a:hover {
  color: var(--accent);
}
.article-breadcrumb-separator {
  color: var(--border-visible);
  user-select: none;
}
.article-breadcrumb-current {
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
}

/* Article Hero Block */
.article-hero-block {
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.article-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
}
.article-hero-title {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  max-width: 1050px;
}
.article-hero-lead {
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 850px;
  margin-bottom: 2.25rem;
}

/* Article Meta Specs Bar */
.article-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--border-visible);
  border-radius: 6px;
  margin-bottom: 2.5rem;
}
.article-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.article-spec-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.article-spec-value {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 500;
}
.article-spec-value.status-badge {
  color: var(--accent);
}

/* Wide Hero Cinematic Visual */
.article-hero-media-wrapper {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.article-hero-media-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: 1px solid var(--border-visible);
  overflow: hidden;
  background: #050608;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}
.article-hero-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-media-hud {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
}

/* Two-Column Reading Architecture */
.article-main-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

/* Sticky TOC Sidebar (Desktop) */
.article-toc-sidebar {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 1rem;
  border-right: 1px solid var(--border-subtle);
}
.toc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}
.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.toc-link {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.4;
  transition: all var(--duration-fast) ease;
  padding: 0.25rem 0;
}
.toc-link:hover,
.toc-link.active {
  color: var(--accent);
  transform: translateX(4px);
}
.toc-num {
  color: var(--text-muted);
  font-size: 0.68rem;
  opacity: 0.7;
}
.toc-link.active .toc-num {
  color: var(--accent);
  opacity: 1;
}

/* Mobile Quick TOC Navigation */
.article-mobile-toc {
  display: none;
  background: var(--panel);
  border: 1px solid var(--border-visible);
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 2.5rem;
}
.article-mobile-toc summary {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.article-mobile-toc .toc-list {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* Main Editorial Body */
.article-content-body {
  max-width: 820px;
}
.article-section-block {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border-subtle);
  scroll-margin-top: 110px;
}
.article-section-block:last-of-type {
  border-bottom: none;
}
.article-section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
  display: block;
}
.article-section-title {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.article-section-block p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  max-width: 75ch;
}
.article-section-block p:last-child {
  margin-bottom: 0;
}
.article-section-block ul,
.article-section-block ol {
  margin: 1.25rem 0 1.5rem 1.25rem;
  color: var(--text-secondary);
}
.article-section-block li {
  margin-bottom: 0.75rem;
  line-height: 1.65;
  font-size: 1rem;
}

/* Technical Callout Boxes */
.technical-callout {
  background: rgba(232, 121, 47, 0.04);
  border-left: 2px solid var(--accent);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0 6px 6px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}
.callout-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.technical-callout p {
  font-size: 0.95rem !important;
  color: var(--text-primary) !important;
  line-height: 1.6 !important;
  margin-bottom: 0 !important;
}

/* System Flow & Architecture Diagram Container */
.system-diagram-container {
  background: #050608;
  border: 1px solid var(--border-visible);
  border-radius: 6px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin: 2rem 0;
  position: relative;
  overflow-x: auto;
}
.diagram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}
.diagram-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}
.diagram-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.diagram-canvas {
  width: 100%;
  min-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Component Breakdown Cards */
.component-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}
.component-card {
  background: var(--panel);
  border: 1px solid var(--border-visible);
  border-radius: 6px;
  padding: 1.25rem;
}
.component-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}
.component-name {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}
.component-desc {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  color: var(--text-secondary) !important;
  margin-bottom: 0 !important;
}

/* Previous / Next Sequential Navigation */
.article-nav-strip {
  border-top: 1px solid var(--border-visible);
  border-bottom: 1px solid var(--border-visible);
  padding: 2.25rem 0;
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
}
.article-nav-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.article-nav-prev,
.article-nav-next {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  transition: all var(--duration-fast) ease;
}
.article-nav-next {
  text-align: right;
  align-items: flex-end;
}
.nav-direction-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.nav-target-title {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--duration-fast) ease;
  max-width: 320px;
}
.article-nav-prev:hover .nav-target-title,
.article-nav-next:hover .nav-target-title {
  color: var(--accent);
}
.article-nav-back-all {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--border-visible);
  border-radius: 4px;
  background: var(--panel);
  transition: all var(--duration-fast) ease;
  white-space: nowrap;
}
.article-nav-back-all:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* Related Investigations Grid */
.related-investigations-block {
  padding-bottom: clamp(4rem, 7vw, 6rem);
}
.related-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}
.related-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  display: block;
}
.related-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--text-primary);
}
.related-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.related-case-card {
  background: var(--panel);
  border: 1px solid var(--border-visible);
  border-radius: 6px;
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--duration-medium) ease;
}
.related-case-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.related-card-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.related-card-title {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 1.25rem;
}
.related-card-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--duration-fast) ease;
}
.related-case-card:hover .related-card-cta {
  color: var(--accent);
}

/* Responsive Rules for Case Study Article */
@media (max-width: 1024px) {
  .article-main-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .article-toc-sidebar {
    display: none;
  }
  .article-mobile-toc {
    display: block;
  }
  .article-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .related-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .article-nav-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
  }
  .article-nav-next {
    text-align: center;
    align-items: center;
  }
  .article-nav-prev {
    align-items: center;
  }
  .nav-target-title {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .article-specs-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .article-hero-media-frame {
    aspect-ratio: 16 / 10;
  }
}

/* --------------------------------------------------------------------------
   23. PRODUCT & ARTICLE ENHANCED RESPONSIVE GRID & ISOLATION SYSTEM
   -------------------------------------------------------------------------- */
.product-detail-page,
.case-study-article-page {
  background-color: var(--canvas, #050608);
  color: var(--text-primary, #f3eee8);
  min-height: 100vh;
}

.article-hero-stage {
  padding-top: clamp(1rem, 2vw, 2.5rem);
  position: relative;
  z-index: 2;
}

.article-hero-header {
  max-width: 1100px;
}

.article-meta-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.article-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.article-hero-subtitle {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 820px;
}

.article-meta-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  padding: 1.25rem 1.75rem;
  background: var(--panel, #0a0b0d);
  border: 1px solid var(--border-visible, rgba(255, 255, 255, 0.14));
  border-radius: 8px;
  margin-top: 2rem;
}

.article-meta-cell {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.meta-cell-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
}

.meta-cell-value {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

.article-hero-visual-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-visible, rgba(255, 255, 255, 0.14));
  background: #050608;
  position: relative;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85);
  margin-top: 2.5rem;
}

.article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-visual-hud {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 6, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.article-layout-container {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  position: relative;
  clear: both;
}

.article-toc-sidebar {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  z-index: 10;
  display: block;
}

.article-toc-box {
  background: var(--panel, #0a0b0d);
  border: 1px solid var(--border-visible, rgba(255, 255, 255, 0.14));
  border-radius: 8px;
  padding: 1.5rem;
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toc-link {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-tertiary);
  text-decoration: none;
  line-height: 1.4;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  position: relative;
}

.toc-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(4px);
}

.toc-link.active {
  color: var(--accent) !important;
  font-weight: 700;
  background: rgba(232, 121, 47, 0.08);
  border-left: 2px solid var(--accent);
  transform: translateX(4px);
  box-shadow: 0 0 15px rgba(232, 121, 47, 0.12);
}

.toc-link.active span {
  color: var(--accent) !important;
}

.article-content-body {
  min-width: 0;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-section {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  scroll-margin-top: 110px;
  position: relative;
  display: block;
}

.article-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section-number-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.article-section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.article-lead-p {
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.article-section p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.article-callout-box {
  background: rgba(232, 121, 47, 0.04);
  border-left: 3px solid var(--accent);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.callout-icon {
  color: var(--accent);
  font-size: 1.1rem;
}

.callout-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .article-layout-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .article-toc-sidebar {
    position: relative;
    top: 0;
    max-height: none;
    border-right: none;
  }
  .article-meta-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .article-meta-strip {
    grid-template-columns: 1fr;
  }
  .article-visual-hud {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* =============================================================================
   24. SEQUENTIAL ARTICLE & PRODUCT NAVIGATION
   ============================================================================= */
.article-sequential-nav,
.case-sequential-nav {
  margin: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
}

.seq-nav-link {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 260px;
  max-width: 420px;
}

.seq-nav-link:hover {
  background: rgba(232, 121, 47, 0.05);
  border-color: rgba(232, 121, 47, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.seq-nav-link.seq-prev {
  text-align: left;
}

.seq-nav-link.seq-next {
  text-align: right;
  margin-left: auto;
}

.seq-direction {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.seq-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .article-sequential-nav,
  .case-sequential-nav {
    flex-direction: column;
    gap: 1.25rem;
  }
  .seq-nav-link {
    min-width: 100%;
    text-align: left !important;
  }
}

/* =============================================================================
   25. GLOBAL SITE FOOTER & AI DISCOVERY STRIP
   ============================================================================= */
.site-footer {
  background: #060709;
  border-top: 1px solid var(--border-visible);
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(2rem, 4vw, 3rem);
  margin-top: clamp(4rem, 8vw, 8rem);
  position: relative;
  z-index: 10;
}

/* AI Discovery Strip */
.ai-discovery-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--border-subtle);
}

.ai-strip-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

.ai-platform-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.ai-platform-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ai-platform-btn:hover {
  background: rgba(232, 121, 47, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 121, 47, 0.2);
}

/* Footer Main Grid */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(3rem, 6vw, 6rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.footer-brand-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand-link {
  display: inline-block;
  margin-bottom: 0.25rem;
}

.footer-logo-img {
  width: 140px;
  height: auto;
  display: block;
}

.footer-brand-descriptor {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.footer-brand-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 38ch;
}

.footer-craft-line {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
}

.footer-emoji-rotator {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Footer Nav Columns */
.footer-columns-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
}

.footer-column-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-primary);
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-nav-list a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-nav-list a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  min-width: 190px;
  justify-content: flex-start;
}

.footer-status-text {
  display: inline-block;
  white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.footer-status-text.is-changing {
  opacity: 0;
  transform: translateY(4px);
}

@media (max-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .footer-columns-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .ai-discovery-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .footer-columns-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.85rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .footer-nav-column {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 1.1rem 0.9rem;
  }
  .footer-column-title {
    font-size: 0.72rem;
    margin-bottom: 0.85rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
  .footer-column-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
  }
  .footer-nav-list {
    gap: 0.65rem;
  }
  .footer-nav-list a {
    font-size: 0.82rem;
    color: var(--text-secondary);
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* ==========================================================================
   19. SECTION 09: CINEMATIC DIRECT TRANSMISSION (CONTACT STAGE)
   ========================================================================== */
.contact-hero-stage {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 8.5rem) 0;
  background: radial-gradient(circle at 85% 35%, rgba(232, 121, 47, 0.045) 0%, transparent 55%),
              linear-gradient(180deg, #020408 0%, #05070c 100%);
  border-top: 1px solid var(--border-subtle);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}

.contact-statement-head {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 1rem 0 1.25rem 0;
  font-weight: 700;
}

.contact-supporting-text {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 2rem;
}

.contact-actions-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.btn-transmission-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.95rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(232, 121, 47, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-transmission-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: 0.5s ease;
}

.btn-transmission-primary:hover {
  background: #ff8c3a;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232, 121, 47, 0.4);
}

.btn-transmission-primary:hover::before {
  left: 100%;
}

.contact-spec-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-spec-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-tertiary);
  letter-spacing: 0.12em;
}

.contact-spec-val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Transmission Console Card */
.transmission-console-stage {
  position: relative;
  background: rgba(8, 11, 16, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(232, 121, 47, 0.08);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.transmission-console-stage:hover {
  border-color: rgba(232, 121, 47, 0.35);
  box-shadow: 0 32px 80px -12px rgba(0, 0, 0, 0.95), 0 0 32px rgba(232, 121, 47, 0.12);
}

/* Visual Media Frame with contact.png */
.transmission-visual-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020408;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.transmission-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.08) brightness(0.92);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.transmission-console-stage:hover .transmission-hero-img {
  transform: scale(1.03);
  filter: contrast(1.12) brightness(1.02);
}

.transmission-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 4, 8, 0.2) 0%, rgba(2, 4, 8, 0.4) 50%, rgba(8, 11, 16, 0.95) 100%),
              radial-gradient(circle at 50% 50%, transparent 35%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

.transmission-hud-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #fff;
  z-index: 2;
}

.transmission-hud-badge .sys-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.transmission-body {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.transmission-channels-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.transmission-channel-row {
  display: grid;
  grid-template-columns: 85px 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  transition: all 0.25s ease;
}

.transmission-channel-row:hover {
  background: rgba(232, 121, 47, 0.06);
  border-color: rgba(232, 121, 47, 0.4);
  transform: translateX(3px);
}

.transmission-channel-row .channel-type {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-tertiary);
  letter-spacing: 0.12em;
}

.transmission-channel-row .channel-target {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.transmission-channel-row:hover .channel-target {
  color: #fff;
}

.transmission-channel-row .channel-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.2s ease;
}

.transmission-channel-row:hover .channel-badge {
  transform: translateX(2px);
  color: #fff;
}

.transmission-data-pulse-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
}

.transmission-data-pulse-bar .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: signalPulse 2s infinite ease-in-out;
}

@keyframes signalPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 12px var(--accent); }
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .transmission-channel-row {
    grid-template-columns: 75px 1fr auto;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
  }
}

/* ==========================================================================
   20. HIRAX CUSTOM CURSOR & TOUCH INTERACTION SYSTEM
   ========================================================================== */

/* Hide native cursor when custom cursor is active */
body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor [role="button"],
body.has-custom-cursor input[type="submit"],
body.has-custom-cursor input[type="button"] {
  cursor: none !important;
}

/* Always preserve native text selection and I-beam cursor for inputs */
body.has-custom-cursor input:not([type="submit"]):not([type="button"]),
body.has-custom-cursor textarea,
body.has-custom-cursor select,
body.has-custom-cursor [contenteditable="true"] {
  cursor: text !important;
}

/* Master Cursor Container */
.hirax-cursor-system {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none !important;
  z-index: 999999;
  will-change: transform;
  transform: translate3d(-100px, -100px, 0);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hirax-cursor-system.is-active {
  opacity: 1;
}

.hirax-cursor-system.is-hidden {
  opacity: 0 !important;
}

/* 0. HIRAX Precision Arrow Pointer (Dark Obsidian body, crisp silver border, orange signal tip) */
.cursor-pointer-arrow {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 22px;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease;
  transform-origin: 1px 1px;
  z-index: 2;
}

.cursor-pointer-arrow path {
  fill: #06090e;
  stroke: #f1f5f9;
  stroke-width: 1.25px;
  transition: stroke 0.2s ease, fill 0.2s ease;
}

.cursor-pointer-arrow circle {
  fill: var(--accent);
  filter: drop-shadow(0 0 4px var(--accent));
  transition: fill 0.2s ease;
}

/* 1. Center Core Dot (Tiny Orange Point: 3-4px) */
.cursor-core-dot {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 4px rgba(232, 121, 47, 0.4);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}

/* 2. Thin Circular Signal Ring (Default: 24px) */
.cursor-ring {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(232, 121, 47, 0.3);
  box-sizing: border-box;
  pointer-events: none;
  transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              top 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              left 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease,
              background-color 0.28s ease,
              box-shadow 0.28s ease;
}

/* 3. Technical Crosshair (14-16px, silver/graphite lines) */
.cursor-crosshair {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 16px;
  height: 16px;
  pointer-events: none;
  opacity: 0.45;
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.cursor-crosshair .crosshair-ch-h {
  position: absolute;
  top: 7.5px;
  left: 0;
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.7) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.7) 100%);
}

.cursor-crosshair .crosshair-ch-v {
  position: absolute;
  top: 0;
  left: 7.5px;
  width: 1px;
  height: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.7) 100%);
}

/* Subtle H+π Micro-Notches on corners */
.cursor-crosshair .crosshair-notch-tl {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 3px;
  height: 3px;
  border-top: 1px solid rgba(232, 121, 47, 0.5);
  border-left: 1px solid rgba(232, 121, 47, 0.5);
}

.cursor-crosshair .crosshair-notch-br {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 3px;
  height: 3px;
  border-bottom: 1px solid rgba(232, 121, 47, 0.5);
  border-right: 1px solid rgba(232, 121, 47, 0.5);
}

/* 4. Binary Telemetry Data Trace (0/1 micro detail) */
.cursor-binary-trace {
  position: absolute;
  top: -14px;
  right: -16px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  opacity: 0;
  pointer-events: none;
  transform: translateY(2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* 5. Micro Monospace Context Label (e.g. VIEW →, OPEN CASE, EXPLORE) */
.cursor-label-badge {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 0.2rem 0.5rem;
  background: rgba(4, 6, 10, 0.88);
  border: 1px solid rgba(232, 121, 47, 0.35);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- STATES --- */

/* Interactive Hover State (Links, Buttons, Nav, Rows) */
.hirax-cursor-system.is-hovering .cursor-pointer-arrow {
  transform: scale(1.12) rotate(-4deg);
}

.hirax-cursor-system.is-hovering .cursor-pointer-arrow path {
  stroke: var(--accent);
  fill: #0b0f17;
}

.hirax-cursor-system.is-hovering .cursor-pointer-arrow circle {
  fill: #ff9d54;
}

.hirax-cursor-system.is-hovering .cursor-ring {
  top: -18px;
  left: -18px;
  width: 36px;
  height: 36px;
  border-color: rgba(232, 121, 47, 0.55);
  background-color: rgba(232, 121, 47, 0.04);
}

.hirax-cursor-system.is-hovering .cursor-core-dot {
  transform: scale(1.2);
  background-color: #ff8c3a;
  box-shadow: 0 0 8px rgba(232, 121, 47, 0.8);
}

.hirax-cursor-system.is-hovering .cursor-crosshair {
  opacity: 0.7;
}

.hirax-cursor-system.is-hovering .cursor-binary-trace {
  opacity: 0.75;
  transform: translateY(0);
}

/* CTA State (START A CONVERSATION, Main Action buttons) */
.hirax-cursor-system.is-cta .cursor-pointer-arrow {
  transform: scale(1.22) rotate(-6deg);
  filter: drop-shadow(0 2px 12px rgba(232, 121, 47, 0.5));
}

.hirax-cursor-system.is-cta .cursor-ring {
  top: -21px;
  left: -21px;
  width: 42px;
  height: 42px;
  border-color: rgba(232, 121, 47, 0.8);
  background-color: rgba(232, 121, 47, 0.08);
  box-shadow: 0 0 12px rgba(232, 121, 47, 0.2);
}

.hirax-cursor-system.is-cta .cursor-core-dot {
  transform: scale(1.35);
  box-shadow: 0 0 10px rgba(232, 121, 47, 0.95);
}

.hirax-cursor-system.is-cta .cursor-crosshair {
  opacity: 0.9;
  transform: scale(1.15);
}

/* Labeled State (Images, Case Studies, Draggable) */
.hirax-cursor-system.is-labeled .cursor-label-badge {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Drag State */
.hirax-cursor-system.is-dragging .cursor-ring {
  top: -22px;
  left: -22px;
  width: 44px;
  height: 44px;
  border-style: dashed;
  border-color: var(--accent);
}

/* Click Transient Pulse */
.cursor-click-pulse {
  position: fixed;
  pointer-events: none !important;
  z-index: 999998;
  border-radius: 50%;
  border: 1px solid var(--accent);
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  animation: cursorPulseAnim 0.42s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Binary Click Rain / Shower Effect */
.hirax-binary-rain-drop {
  position: fixed;
  pointer-events: none !important;
  z-index: 999997;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(11px, 1.3vw, 14px);
  letter-spacing: 0.05em;
  user-select: none;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  animation: binaryRainFall 0.65s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hirax-binary-rain-drop.color-orange {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(232, 121, 47, 0.85);
}

.hirax-binary-rain-drop.color-silver {
  color: #f1f5f9;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}

.hirax-binary-rain-drop.color-amber {
  color: #ff9d54;
  text-shadow: 0 0 8px rgba(255, 157, 84, 0.9);
}

@keyframes binaryRainFall {
  0% {
    opacity: 0.95;
    transform: translate3d(var(--drift-x, 0px), 0px, 0) scale(1.1);
  }
  50% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(var(--drift-x, 0px) * 1.4), var(--drop-y, 50px), 0) scale(0.8);
  }
}

@keyframes cursorPulseAnim {
  0% {
    width: 6px;
    height: 6px;
    opacity: 0.9;
    box-shadow: 0 0 8px var(--accent);
  }
  100% {
    width: 46px;
    height: 46px;
    opacity: 0;
    box-shadow: 0 0 18px transparent;
  }
}

/* Mobile & Touch Tap Signal */
.hirax-touch-layer {
  position: fixed;
  inset: 0;
  pointer-events: none !important;
  z-index: 999999;
  overflow: hidden;
}

.touch-signal-pulse {
  position: absolute;
  pointer-events: none !important;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: touchSignalAnim 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.touch-signal-pulse::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: touchSignalRingAnim 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes touchSignalAnim {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.95;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0;
  }
}

@keyframes touchSignalRingAnim {
  0% {
    width: 8px;
    height: 8px;
    opacity: 0.8;
  }
  100% {
    width: 42px;
    height: 42px;
    opacity: 0;
  }
}

/* Reduced Motion Compliance */
@media (prefers-reduced-motion: reduce) {
  .cursor-ring,
  .cursor-core-dot,
  .cursor-crosshair,
  .cursor-label-badge {
    transition: none !important;
  }
  .cursor-click-pulse,
  .touch-signal-pulse,
  .touch-signal-pulse::after {
    animation: none !important;
    display: none !important;
  }
}



