/* Fonts loaded via <link> in HTML for non-blocking render */

:root {
  --bg-dark: #040406;
  --bg-card: rgba(10, 10, 12, 0.85);
  
  --color-graphite-900: #040406;
  --color-graphite-800: #0b0b0d;
  --color-graphite-700: #121215;
  
  --color-steel-900: #121215;
  --color-steel-800: #1d1d21;
  --color-steel-700: #29292f;
  --color-steel-500: #7a7a85;
  --color-steel-300: #84848e;
  
  --color-white: #f4f4f6;
  --color-white-muted: #9e9ea7;
  --color-white-dim: #8a8a95;
  
  --color-blue-accent: #0066cc;
  --color-blue-glow: rgba(0, 102, 204, 0.22);
  --color-blue-glow-hover: rgba(0, 102, 204, 0.38);
  
  --color-green-status: #10b981;
  --color-green-glow: rgba(16, 185, 129, 0.25);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-editorial: 'Outfit', var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;
  
  --border-hairline: 1px solid var(--color-steel-800);

  /* Unified Motion Language Tokens */
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 0.25s;
  --duration-medium: 0.4s;
  --duration-slow: 0.75s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== Accessibility Utilities ===== */

/* Visually hidden but accessible to screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip to main content link */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--color-blue-accent);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 0;
  outline: none;
}

/* Global focus-visible styles */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-blue-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

body {
  background-color: var(--bg-dark);
  color: var(--color-white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Noise overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.025;
  z-index: 9998;
  pointer-events: none;
  contain: strict;
  will-change: background-position;
  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");
}

/* Vignette overlay */
.vignette-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  contain: strict;
  background: radial-gradient(circle at center, transparent 10%, rgba(4, 4, 6, 0.96) 100%);
}

.page-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Base layout for Hero */
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7.5rem 2rem 0 2rem;
  min-height: 100vh;
  position: relative;
  z-index: 10;
  justify-content: space-between;
}

/* Minimal Header Navigation */
header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1200px;
  width: 100%;
  padding: 2.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  box-sizing: border-box;
  transition: padding var(--duration-medium) var(--ease-premium), background-color var(--duration-medium) var(--ease-premium), border-bottom var(--duration-medium) var(--ease-premium), backdrop-filter var(--duration-medium) var(--ease-premium);
}

header.scrolled {
  padding: 1.25rem 2rem;
  background-color: rgba(4, 4, 6, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

@supports not (backdrop-filter: blur(12px)) {
  header.scrolled {
    background-color: rgba(4, 4, 6, 0.95);
  }
}

.logo {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: filter var(--duration-fast) var(--ease-premium);
  cursor: pointer;
}

.logo:hover {
  filter: brightness(1.2);
}
.logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.footer-logo .logo-img {
  height: 32px;
}

nav {
  display: flex;
  gap: 2.5rem;
}

nav a {
  font-size: 0.76rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white-dim);
  opacity: 0.85;
  text-decoration: none;
  position: relative;
  transition: opacity var(--duration-fast) var(--ease-premium), color var(--duration-fast) var(--ease-premium);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-blue-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-fast) var(--ease-premium);
}

nav a:hover,
nav a.active {
  opacity: 1;
  color: var(--color-white);
}

nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
}

/* Mobile Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 25;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-white-muted);
  transition: all var(--duration-fast) var(--ease-premium);
}

/* Mobile Drawer Overlay & Layout */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background-color: var(--bg-dark);
  border-left: var(--border-hairline);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  transition: right var(--duration-medium) var(--ease-premium);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.9);
  box-sizing: border-box;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-medium) var(--ease-premium);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
}

.drawer-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-white-dim);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color var(--duration-fast) var(--ease-premium);
}

.drawer-close:hover {
  color: var(--color-white);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.drawer-nav a {
  font-family: var(--font-editorial);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-white-muted);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color var(--duration-fast) var(--ease-premium);
  width: fit-content;
}

.drawer-nav a:hover {
  color: var(--color-white);
}

.drawer-nav a.drawer-cta {
  font-family: 'IBM Plex Mono', var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  border: 1px solid var(--color-steel-700);
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  margin-top: 1.5rem;
  text-align: center;
  width: 100%;
}

.drawer-nav a.drawer-cta:hover {
  border-color: var(--color-blue-accent);
  background: rgba(0, 102, 204, 0.05);
}

/* Hero Content Styling */
.hero-content {
  text-align: center;
  margin-top: 0;
  margin-bottom: 6rem;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 15;
}

/* Structured System Header Badge */
.system-header-panel {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  width: 100%;
  max-width: 320px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.2rem 0;
}

.sys-code {
  color: var(--color-white);
  font-weight: 500;
}

.sys-line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--color-steel-800);
}

.sys-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-white-muted);
}

h1 {
  font-family: var(--font-editorial);
  font-size: clamp(2.5rem, 8vw, 4.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  text-shadow: 0 10px 40px rgba(0, 102, 204, 0.15);
}

.subheadline {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-white-muted);
  max-width: 580px;
}

/* 3D Perspective Wrapper - Teaser Frame */
.product-perspective-wrapper {
  position: relative;
  width: 114%;
  max-width: 1180px;
  height: 320px;
  overflow: hidden;
  margin-bottom: 0;
  perspective: 2000px;
  z-index: 10;
}

/* Room Illumination Source (Aligned to Dashboard Geometry) */
.environmental-light {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate3d(50px, 190px, -80px) rotateX(9deg) rotateY(-11deg) rotateZ(-1.5deg) scale(1.05) translate(-50%, -45%);
  width: 130%;
  height: 120%;
  background: 
    radial-gradient(ellipse at center, rgba(0, 102, 204, 0.18) 0%, rgba(0, 102, 204, 0.05) 45%, transparent 70%),
    radial-gradient(circle at center, rgba(0, 102, 204, 0.06) 0%, transparent 60%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  contain: layout style;
}

/* Tactile Industrial Bezel Chassis Frame */
.product-frame {
  position: relative;
  width: 100%;
  border-radius: 12px;
  background: #0f0f12;
  border: 1px solid #232328;
  padding: 8px 8px 0px 8px;
  
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 1px 0 0 rgba(255, 255, 255, 0.08) inset,
    0 30px 100px rgba(0, 0, 0, 0.85),
    0 40px 120px rgba(0, 102, 204, 0.22);
    
  overflow: hidden;
  z-index: 2;
  transform-style: preserve-3d;
}

/* Hero Teaser specific styling (dim, blur, emergence animation) */
#steward-dashboard {
  transform: rotateX(9deg) rotateY(-11deg) rotateZ(-1.5deg) scale(1.05) translate3d(50px, 190px, -80px);
  filter: blur(1.2px) brightness(0.72);
  animation: emerge-teaser 1.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: 
    transform var(--duration-slow) var(--ease-premium), 
    box-shadow var(--duration-slow) var(--ease-premium), 
    border-color var(--duration-slow) var(--ease-premium),
    filter var(--duration-slow) var(--ease-premium);
}

#steward-dashboard:hover {
  border-color: #2e2e36;
  transform: rotateX(7deg) rotateY(-9deg) rotateZ(-1deg) scale(1.05) translate3d(40px, 170px, -60px);
  filter: blur(0.8px) brightness(0.78);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 1.5px 0 0 rgba(255, 255, 255, 0.12) inset,
    0 40px 120px rgba(0, 0, 0, 0.9),
    0 40px 140px rgba(0, 102, 204, 0.3);
}

@keyframes emerge-teaser {
  0% {
    transform: rotateX(15deg) rotateY(-18deg) rotateZ(-3deg) scale(1.05) translate3d(80px, 450px, -200px);
    filter: blur(3px) brightness(0.4);
  }
  100% {
    transform: rotateX(9deg) rotateY(-11deg) rotateZ(-1.5deg) scale(1.05) translate3d(50px, 190px, -80px);
    filter: blur(1.2px) brightness(0.72);
  }
}

/* Bezel Chassis Screws */
.chassis-screw {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #3a3a42 0%, #101012 100%);
  border: 1.5px solid #1a1a1e;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 0.5px 1px rgba(0, 0, 0, 0.6);
  z-index: 10;
}
.chassis-screw::before {
  content: "";
  position: absolute;
  top: 1.5px;
  left: 0.5px;
  width: 3.5px;
  height: 0.5px;
  background: #18181b;
  transform: rotate(45deg);
}
.chassis-screw.top-left { top: 9px; left: 10px; }
.chassis-screw.top-right { top: 9px; right: 10px; }
.chassis-screw.bottom-left { bottom: 9px; left: 10px; }
.chassis-screw.bottom-right { bottom: 9px; right: 10px; }

/* Subtle Screen Reflection Glare */
.screen-glare {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 102, 204, 0.01) 100%);
  pointer-events: none;
  z-index: 5;
  border-radius: 4px 4px 0 0;
}

/* Dashboard Header */
.db-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.35rem;
  background: rgba(10, 10, 12, 0.65);
  border: var(--border-hairline);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.db-glyph {
  font-size: 0.8rem;
  color: var(--color-blue-accent);
  font-weight: 500;
  line-height: 1;
}

.db-title {
  font-family: var(--font-editorial);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: var(--color-white);
}

.db-version {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-white-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}

.db-status-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-white-muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-green-status);
  box-shadow: 0 0 8px var(--color-green-glow);
}

.status-dot.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

/* Dashboard Body Grid */
.db-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 480px;
  border-left: var(--border-hairline);
  border-right: var(--border-hairline);
}

/* Sidebar */
.db-sidebar {
  border-right: var(--border-hairline);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(6, 6, 8, 0.45);
}

.sb-section-title {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white-dim);
  margin-bottom: 0.5rem;
}

.sb-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sb-item {
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

/* CYS Signature Module Details */
.cys-sig-module {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.015);
  border: var(--border-hairline);
  border-radius: 6px;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 1px 3px rgba(0, 0, 0, 0.3);
  padding: 0.85rem 1rem !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.cys-sig-module.active {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--color-steel-700);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 20px rgba(0, 102, 204, 0.05);
}

.sig-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.sig-code {
  color: var(--color-white-dim);
}

.sig-status {
  color: var(--color-white-muted);
  font-weight: 500;
}

.cys-sig-module.active .sig-code {
  color: var(--color-white-muted);
}
.cys-sig-module.active .sig-status {
  color: var(--color-blue-accent);
}

.sig-divider {
  height: 1px;
  background-color: var(--color-steel-800);
  width: 100%;
  margin-bottom: 0.75rem;
}

.cys-sig-module.active .sig-divider {
  background-color: var(--color-steel-700);
}

.sig-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Main Panel */
.db-main {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Metric Row */
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--color-white-dim);
}

.metric-value-container {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.metric-trend {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-green-status);
}

.metric-trend.neutral {
  color: var(--color-white-dim);
}

/* Visualization Panel */
.vis-card {
  flex-grow: 1;
}

.vis-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.vis-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-white);
}

.vis-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--color-white-dim);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-color {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.legend-color.blue { background-color: var(--color-blue-accent); }
.legend-color.steel { background-color: var(--color-steel-500); }

/* SVG Graph */
.graph-container {
  position: relative;
  width: 100%;
  height: 200px;
  flex-grow: 1;
}

.graph-svg {
  width: 100%;
  height: 100%;
}

.graph-path {
  fill: none;
  stroke: var(--color-blue-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.graph-path-bg {
  fill: none;
  stroke: var(--color-steel-700);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 4 4;
}

.grid-line {
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 1;
}

/* Metadata Footer inside/below frame */
.dashboard-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: rgba(10, 10, 12, 0.8);
  border: var(--border-hairline);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-white-dim);
}

.meta-segment {
  display: flex;
  gap: 1.5rem;
}

.meta-cell {
  display: flex;
  gap: 0.5rem;
}

.meta-label {
  color: var(--color-steel-500);
}

/* ACT 2: Sticky Scroll Layout & Polish */
.sticky-scroll-wrapper {
  height: 220vh;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 0;
}

.act-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 10;
  text-align: center;
}

.cue-dot.blue {
  background-color: var(--color-blue-accent);
  box-shadow: 0 0 8px var(--color-blue-glow);
}

.identity-sequence {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5rem;
  width: 100%;
}

.statement {
  font-family: var(--font-editorial);
  font-size: 2.85rem;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--color-white);
  opacity: 0.45;
  transition: opacity var(--duration-medium) var(--ease-premium);
  position: relative;
  display: inline-block;
}

.stmt-1 {
  margin-bottom: 4.25rem;
}

.stmt-2 {
  margin-bottom: 2.75rem;
}

.stmt-3 {
  font-size: 2.85rem;
  font-weight: 300;
  line-height: 1.35;
  max-width: 720px;
}

/* Thin Blinking Caret Indicator */
.statement.active-line::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 2.3rem;
  background-color: var(--color-blue-accent);
  vertical-align: middle;
  margin-left: 0.5rem;
  animation: caret-blink 0.9s step-start infinite;
}

@keyframes caret-blink {
  50% { opacity: 0; }
}

.identity-support {
  margin-top: 5rem;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--color-white);
  opacity: 0.55;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  padding-top: 1.5rem;
  width: 100%;
  max-width: 320px;
}

/* ACT 3: Steward Flagship Exhibition Redesign */
.act-showcase-exhibition {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 15rem auto 6rem auto; /* Spacious vertical margins */
  padding: 0 2rem;
  z-index: 10;
  position: relative;
  box-sizing: border-box;
}

.exhibition-header {
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  max-width: 720px;
}

.exhibition-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--color-white-dim);
  text-transform: uppercase;
}

.exhibition-title {
  font-family: var(--font-editorial);
  font-size: clamp(2.25rem, 7vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--color-white);
  line-height: 1.1;
  text-shadow: 0 10px 40px rgba(0, 102, 204, 0.15);
}

.exhibition-subtitle {
  font-family: var(--font-editorial);
  font-size: 1.45rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--color-white-muted);
}

.exhibition-status {
  font-family: 'IBM Plex Mono', var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--color-white-muted);
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-steel-800);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-top: 0.5rem;
}

/* Perspective layout frame for angled render */
.exhibition-perspective-wrapper {
  position: relative;
  width: 135%;
  max-width: 1340px;
  perspective: 2500px;
  display: flex;
  justify-content: center;
  margin-bottom: 7rem;
  z-index: 10;
}

.environmental-light-showcase {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  width: 140%;
  height: 130%;
  background: radial-gradient(ellipse at center, rgba(0, 102, 204, 0.22) 0%, rgba(0, 102, 204, 0.05) 45%, transparent 70%);
  filter: blur(55px);
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  contain: layout style;
}

/* Angled static industrial design look */
.exhibition-perspective-wrapper .showcase-frame {
  transform: rotateX(6deg) rotateY(-5deg) rotateZ(-0.5deg) scale(1.08);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 1px 0 0 rgba(255, 255, 255, 0.08) inset,
    0 40px 120px rgba(0, 0, 0, 0.95),
    0 50px 160px rgba(0, 102, 204, 0.24);
  transition: transform var(--duration-medium) var(--ease-premium), box-shadow var(--duration-medium) var(--ease-premium), border-color var(--duration-medium) var(--ease-premium);
}

.exhibition-perspective-wrapper .showcase-frame:hover {
  transform: rotateX(4deg) rotateY(-3deg) rotateZ(-0.3deg) scale(1.09) translateY(-2px);
  border-color: var(--color-steel-600);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 1px 0 0 rgba(255, 255, 255, 0.12) inset,
    0 50px 140px rgba(0, 0, 0, 0.98),
    0 60px 180px rgba(0, 102, 204, 0.35);
}

.showcase-db-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
}

.db-left-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.db-right-column {
  display: flex;
}

/* Kitchen queue status panel */
.kitchen-flow-panel {
  padding: 1rem !important;
}

.kitchen-tickets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-steel-800);
  border-radius: 4px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
}

.ticket-id {
  color: var(--color-white);
  font-weight: 500;
}

.ticket-meta {
  color: var(--color-white-dim);
}

.ticket-status {
  font-size: 0.65rem;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  font-weight: 600;
}

.ticket-status.in-prep {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
}

.ticket-status.ready {
  color: var(--color-green-status);
  background: rgba(16, 185, 129, 0.1);
}

/* Inventory watch status panel */
.inventory-watch-panel {
  padding: 1rem !important;
}

.inventory-alerts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.inventory-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-steel-800);
  border-radius: 4px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
}

.inv-item {
  color: var(--color-white);
}

.inv-qty {
  color: var(--color-white-muted);
}

.inv-status {
  font-size: 0.65rem;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  font-weight: 600;
}

.inv-status.safe {
  color: var(--color-white-dim);
  background: rgba(255, 255, 255, 0.05);
}

/* Exhibition card footer layout */
.exhibition-footer {
  width: 100%;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

/* Engineering Proof Strip */
.exhibition-proof-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin: 3.5rem auto 3.5rem auto;
  border-top: var(--border-hairline);
  border-bottom: var(--border-hairline);
  padding: 1.5rem 0;
  gap: 1.5rem;
  z-index: 15;
  position: relative;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--font-mono);
}

.proof-label {
  font-size: 0.65rem;
  color: var(--color-white-dim);
  letter-spacing: 0.08em;
}

.proof-val {
  font-size: 0.78rem;
  color: var(--color-white-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Philosophy Statement */
.exhibition-philosophy {
  font-family: var(--font-editorial);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-white-muted);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4.5rem auto;
  letter-spacing: -0.01em;
  z-index: 15;
  position: relative;
}

/* Understated text cta link */
.exhibition-cta {
  display: flex;
  justify-content: center;
  width: 100%;
}

.cta-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-white);
  text-decoration: none;
  letter-spacing: 0.02em;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--color-blue-accent);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cta-link:hover {
  color: var(--color-blue-accent);
  border-bottom-color: var(--color-white);
}



.cue-dot.green {
  background-color: var(--color-green-status);
  box-shadow: 0 0 8px var(--color-green-glow);
}

/* ACT 4: Services Section Styling */
.act-services {
  width: 100%;
  max-width: 1200px;
  margin: 10rem auto 14rem auto;
  padding: 0 2rem;
  z-index: 10;
  position: relative;
  box-sizing: border-box;
}

.services-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  width: 100%;
}

.services-left-col {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 6rem;
  height: fit-content;
}

.services-title {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-top: 1rem;
  margin-bottom: 2rem;
  text-shadow: 0 10px 40px rgba(0, 102, 204, 0.1);
  transition: opacity var(--duration-fast) var(--ease-premium), transform var(--duration-fast) var(--ease-premium);
}

.services-title.fade-out {
  opacity: 0;
  transform: translateY(-8px);
}

.services-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-white-muted);
  max-width: 420px;
  transition: opacity var(--duration-fast) var(--ease-premium), transform var(--duration-fast) var(--ease-premium);
}

.services-desc.fade-out {
  opacity: 0;
  transform: translateY(8px);
}

.services-right-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Services Accordion Styling */
.services-accordion {
  display: flex;
  flex-direction: column;
  border-top: var(--border-hairline);
  width: 100%;
}

.accordion-item {
  border-bottom: var(--border-hairline);
  width: 100%;
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0.5rem;
  color: var(--color-white-dim);
  font-family: var(--font-editorial);
  font-size: 1.5rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-premium), transform var(--duration-fast) var(--ease-premium);
}

.accordion-header:hover {
  color: var(--color-white);
  transform: translateY(-2px);
}

.accordion-item.active .accordion-header {
  color: var(--color-white);
}

.accordion-header-title {
  letter-spacing: -0.02em;
}

.accordion-icon {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--color-blue-accent);
  transition: transform var(--duration-fast) var(--ease-premium);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--color-white);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--duration-medium) var(--ease-premium), opacity var(--duration-medium) var(--ease-premium);
  box-sizing: border-box;
}

.accordion-item.active .accordion-content {
  opacity: 1;
}

.accordion-inner {
  padding: 2rem 0.5rem 2rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.accordion-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'IBM Plex Mono', var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-white-muted);
  background: transparent;
  border: 1px solid var(--color-steel-800);
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--duration-fast) var(--ease-premium), border-color var(--duration-fast) var(--ease-premium), background var(--duration-fast) var(--ease-premium);
  width: fit-content;
}

.accordion-cta:hover {
  color: var(--color-white);
  border-color: var(--color-blue-accent);
  background: rgba(0, 102, 204, 0.05);
}

.cta-arrow {
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease-premium);
}

.accordion-cta:hover .cta-arrow {
  transform: translateX(4px);
}

.preview-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-white-muted);
  font-weight: 300;
}

.preview-divider {
  height: 1px;
  background-color: var(--color-steel-800);
  width: 100%;
}

.preview-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.preview-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-white-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preview-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.preview-list li {
  font-size: 0.9rem;
  color: var(--color-white);
  position: relative;
  padding-left: 0;
  line-height: 1.4;
  font-weight: 400;
}

.preview-icon {
  color: var(--color-blue-accent);
  margin-right: 0.5rem;
  font-family: 'IBM Plex Mono', var(--font-mono);
  font-size: 0.85rem;
  display: inline-block;
}

.preview-why {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-white-muted);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.preview-cta-container {
  margin-top: 0.5rem;
}

/* ACT 5: Selected Work Styling */
.act-selected-work {
  width: 100%;
  max-width: 1200px;
  margin: 10rem auto 14rem auto;
  padding: 0 2rem;
  z-index: 10;
  position: relative;
  box-sizing: border-box;
}

.work-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  width: 100%;
}

.work-left-col {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 6rem;
  height: fit-content;
}

.work-title {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-top: 1rem;
  margin-bottom: 2rem;
  text-shadow: 0 10px 40px rgba(0, 102, 204, 0.1);
}

.work-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-white-muted);
  max-width: 420px;
}

.work-right-col {
  display: flex;
  flex-direction: column;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  width: 100%;
  position: relative;
  padding-left: 2.5rem;
}

.project-list::before {
  content: "";
  position: absolute;
  top: 4.25rem; /* Center of card 1 heading */
  bottom: 4.25rem; /* Center of card 2 heading */
  left: 0.75rem;
  width: 1px;
  background-color: var(--color-steel-800);
}

.project-card {
  background: var(--bg-card);
  border: var(--border-hairline);
  border-radius: 8px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all var(--duration-medium) var(--ease-premium);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 4px 20px rgba(0, 0, 0, 0.5);
  position: relative;
}

.project-timeline-dot {
  position: absolute;
  left: -1.95rem; /* Aligns dot perfectly centered on the connector line */
  top: 3.1rem; /* Aligns dot vertically with the card title */
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-steel-800);
  border: 1px solid var(--color-steel-700);
  z-index: 10;
  transition: all var(--duration-fast) var(--ease-premium);
}

.project-card.featured .project-timeline-dot {
  background-color: var(--color-blue-accent);
  border-color: var(--color-blue-accent);
  box-shadow: 0 0 6px var(--color-blue-glow);
}

.project-card:hover .project-timeline-dot {
  background-color: var(--color-blue-accent);
  border-color: var(--color-blue-accent);
  box-shadow: 0 0 8px var(--color-blue-glow);
}

.project-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(0, 102, 204, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--duration-medium) var(--ease-premium);
  pointer-events: none;
  border-radius: 8px;
}

.project-card:hover {
  border-color: var(--color-steel-700);
  transform: translateY(-2px);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 15px 40px rgba(0, 0, 0, 0.75),
    0 0 30px rgba(0, 102, 204, 0.08);
}

.project-card:hover::after {
  opacity: 1;
}

/* Featured Card Dominance */
.project-card.featured {
  padding: 3.5rem 2.5rem;
  border-color: var(--color-steel-700);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 8px 30px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(0, 102, 204, 0.05);
  transition: transform var(--duration-fast) var(--ease-premium), border-color var(--duration-fast) var(--ease-premium), box-shadow var(--duration-fast) var(--ease-premium);
}

.project-card.featured::after {
  background: radial-gradient(circle at 80% 20%, rgba(0, 102, 204, 0.12) 0%, transparent 60%);
  opacity: 0.7;
}

.project-card.featured:hover {
  border-color: var(--color-steel-500);
  transform: translateY(-2px);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 20px 50px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 102, 204, 0.15);
}

.project-card.featured:hover::after {
  opacity: 1;
}

.project-badge {
  font-family: 'IBM Plex Mono', var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-blue-accent);
  background: rgba(0, 102, 204, 0.1);
  border: 1px solid rgba(0, 102, 204, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-left: auto;
  align-self: center;
}

.project-divider {
  height: 1px;
  background-color: var(--color-steel-800);
  width: 100%;
  margin-top: 0.5rem;
}

.project-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'IBM Plex Mono', var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-white-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-top: 0.25rem;
}

.footer-meta-cell {
  display: flex;
  align-items: center;
}

.project-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.project-num {
  font-family: 'IBM Plex Mono', var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-blue-accent);
}

.project-title {
  font-family: var(--font-editorial);
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.project-meta-row {
  display: flex;
  gap: 3.5rem;
  border-top: var(--border-hairline);
  border-bottom: var(--border-hairline);
  padding: 0.9rem 0;
}

.project-meta-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  font-family: 'IBM Plex Mono', var(--font-mono);
  letter-spacing: 0.05em;
}

.project-meta-item .meta-label {
  color: var(--color-white-dim);
  font-size: 0.58rem;
}

.project-meta-item .meta-val {
  color: var(--color-white-muted);
  font-weight: 500;
  font-size: 0.72rem;
}

.project-meta-item .meta-val.highlight-green {
  color: var(--color-green-status);
}

.project-meta-item .meta-val.highlight-blue {
  color: var(--color-blue-accent);
}

.project-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-white-muted);
  font-weight: 300;
}

.project-cta-row {
  margin-top: 0.5rem;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'IBM Plex Mono', var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-white-muted);
  background: transparent;
  border: 1px solid var(--color-steel-800);
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all var(--duration-fast) var(--ease-premium);
  width: fit-content;
}

.project-cta:not(.disabled):hover {
  color: var(--color-white);
  border-color: var(--color-blue-accent);
  background: rgba(0, 102, 204, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.project-cta:not(.disabled):active {
  transform: translateY(-2px) scale(0.98);
}

.project-cta:not(.disabled):hover .cta-arrow {
  transform: translateX(4px);
}

.project-cta.disabled {
  color: var(--color-steel-500);
  cursor: not-allowed;
  border-style: dashed;
  border-color: var(--color-steel-800);
}

/* ACT 6: Final Call to Action Section */
.act-contact-cta {
  width: 100%;
  max-width: 800px;
  margin: 12rem auto;
  padding: 0 2rem;
  z-index: 10;
  position: relative;
  box-sizing: border-box;
}

.contact-cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.center-badge {
  max-width: 320px;
  justify-content: center;
  margin-bottom: 2rem;
}

.contact-cta-title {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  text-shadow: 0 10px 40px rgba(0, 102, 204, 0.15);
}

.contact-cta-desc {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-white-muted);
  max-width: 540px;
  margin-bottom: 3.5rem;
}

.contact-cta-button-container {
  margin-bottom: 3.5rem;
}

.contact-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'IBM Plex Mono', var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-white);
  background: rgba(0, 102, 204, 0.04);
  border: 1px solid var(--color-steel-600);
  padding: 1.05rem 2.5rem;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform var(--duration-fast) var(--ease-premium), border-color var(--duration-fast) var(--ease-premium), background-color var(--duration-fast) var(--ease-premium), box-shadow var(--duration-fast) var(--ease-premium);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 4px 12px rgba(0, 0, 0, 0.4);
}

.contact-cta-btn:hover {
  border-color: var(--color-blue-accent);
  background: rgba(0, 102, 204, 0.1);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 12px 30px rgba(0, 0, 0, 0.5),
    0 0 35px rgba(0, 102, 204, 0.3);
  transform: translateY(-2px);
}

.contact-cta-btn:active {
  transform: translateY(-2px) scale(0.98);
}

.contact-cta-btn .cta-arrow {
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease-premium);
}

.contact-cta-btn:hover .cta-arrow {
  transform: translateX(5px);
}

.contact-metadata-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  border-top: var(--border-hairline);
  padding-top: 2rem;
  width: 100%;
  max-width: 600px;
}

.contact-metadata-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'IBM Plex Mono', var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.contact-metadata-item .meta-label {
  color: var(--color-white-dim);
}

.contact-metadata-item .meta-val {
  color: var(--color-white-muted);
  font-weight: 500;
}

.contact-metadata-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-steel-800);
}

/* SYSTEM FOOTER STYLING */
.system-footer {
  width: 100%;
  border-top: var(--border-hairline);
  padding: 4rem 0 2.5rem 0;
  margin-top: 4rem;
  background: var(--bg-dark);
  box-sizing: border-box;
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
}

.footer-divider {
  height: 1px;
  background-color: var(--color-steel-900);
  opacity: 0.5;
  width: 100%;
  margin: 2.25rem 0;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
}

.footer-logo {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.footer-tagline {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-white-muted);
}

.footer-emotional-ending {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--color-white-dim);
  line-height: 1.4;
}

.footer-navigation-col {
  display: flex;
  flex-direction: column;
}

.footer-nav-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-vertical a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-white-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--duration-fast) var(--ease-premium), transform var(--duration-fast) var(--ease-premium);
  display: inline-block;
  width: fit-content;
}

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

.footer-nav-vertical a.nav-cta {
  color: var(--color-white);
  font-weight: 500;
}

.footer-sys-meta {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.65;
}

.footer-sys-meta .meta-cell {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: 'IBM Plex Mono', var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.footer-sys-meta .meta-label {
  color: var(--color-white-dim);
}

.footer-sys-meta .meta-val {
  color: var(--color-white-muted);
  font-weight: 500;
}

.footer-sys-meta .meta-val.highlight-green {
  color: var(--color-green-status);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'IBM Plex Mono', var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-white-dim);
  letter-spacing: 0.02em;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-built-info {
  color: var(--color-white-dim);
}

.footer-terminal-status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 3.5rem;
  opacity: 0.18;
  font-family: 'IBM Plex Mono', var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--color-white-dim);
  animation: terminal-slow-pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.terminal-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-green-status);
  box-shadow: 0 0 6px var(--color-green-glow);
}

@keyframes terminal-slow-pulse {
  0%, 100% {
    opacity: 0.12;
  }
  50% {
    opacity: 0.24;
  }
}

/* ==================================================== */
/* PHASE 3 — MICRO-INTERACTIONS & VISUAL POLISH */
/* ==================================================== */

/* Scroll Reveal State (GPU-friendly) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease-premium), transform var(--duration-slow) var(--ease-premium);
}
.scroll-reveal:not(.revealed) {
  will-change: opacity, transform;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Background Slow Drift Noise */
@keyframes noise-drift {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 1.5% 1%; }
}
.noise-overlay {
  animation: noise-drift 24s linear infinite;
}

/* Operational LED soft blinking */
@keyframes led-soft-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.cue-dot {
  animation: led-soft-blink 3s ease-in-out infinite;
}

/* Dashboard Graph drawing — scoped to showcase only to avoid conflict with JS hero graph */
#showcase-section .graph-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transform-origin: bottom center;
}
#showcase-section.revealed .graph-path {
  animation: graph-draw 4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes graph-draw {
  0% { stroke-dashoffset: 1000; }
  100% { stroke-dashoffset: 0; }
}

/* Breathing Ambient Glow */
@keyframes glow-breathe {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.72; }
}
.environmental-light {
  animation: glow-breathe 6s ease-in-out infinite;
}
.environmental-light-showcase {
  animation: glow-breathe 8s ease-in-out infinite;
}

/* ==================================================== */
/* PHASE 2 — RESPONSIVE BREAKPOINTS CONSOLIDATION */
/* ==================================================== */

/* Laptop & Tablet Breakpoint (max-width: 1023px) */
@media (max-width: 1023px) {
  header {
    padding: 1.5rem 2rem;
  }
  header.scrolled {
    padding: 1rem 2rem;
  }

  nav {
    gap: 1.5rem;
  }
  
  .act-services,
  .act-selected-work,
  .act-showcase-exhibition {
    margin-top: 8rem;
    margin-bottom: 11rem;
  }

  .act-contact-cta {
    margin-top: 10rem;
    margin-bottom: 10rem;
  }

  .exhibition-perspective-wrapper {
    margin-bottom: 5rem;
  }
  
  .services-container,
  .work-container {
    gap: 2.5rem;
  }
}

/* Mobile Breakpoint (max-width: 767px) */
@media (max-width: 767px) {
  header {
    padding: 1rem 1.5rem;
  }
  header.scrolled {
    padding: 0.8rem 1.5rem;
  }

  .mobile-menu-toggle {
    display: flex;
    padding: 12px 6px;
    margin-top: -12px;
    margin-bottom: -12px;
    box-sizing: content-box;
  }

  .hero-container {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
  }

  .hero-content {
    margin-top: 0;
    margin-bottom: 3.25rem;
  }

  nav#main-nav {
    display: none;
  }

  .act-services,
  .act-selected-work,
  .act-showcase-exhibition {
    margin-top: 6rem;
    margin-bottom: 8rem;
    padding: 0 1.5rem;
  }

  .act-contact-cta {
    margin-top: 8rem;
    margin-bottom: 8rem;
    padding: 0 1.5rem;
  }
  
  .product-perspective-wrapper {
    width: 91%;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    min-height: 200px;
    margin-bottom: 0;
    perspective: none;
  }

  .exhibition-perspective-wrapper {
    width: 100%;
    height: auto;
    min-height: 200px;
    margin-bottom: 0;
    perspective: none;
  }
  
  .product-frame, 
  .showcase-frame {
    transform: none !important;
    padding: 0;
    border: none;
    box-shadow: none;
  }

  /* Increase background glow atmosphere on mobile */
  .environmental-light {
    transform: translate(-50%, -50%) scale(1.4);
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    opacity: 0.9;
  }

  #steward-dashboard:hover {
    transform: none !important;
    box-shadow: none;
  }
  
  .chassis-screw {
    display: none;
  }

  .db-body {
    grid-template-columns: 1fr;
  }

  .db-sidebar {
    display: none;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }
  
  .subheadline {
    font-size: 0.95rem;
  }

  .statement, .stmt-3 {
    font-size: clamp(1.65rem, 5vw, 2.25rem);
  }

  .stmt-1, .stmt-2 {
    margin-bottom: 2.5rem;
  }
  
  .identity-support {
    margin-top: 3rem;
  }

  .showcase-db-grid {
    grid-template-columns: 1fr;
  }

  .exhibition-proof-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem;
    margin: 2.5rem auto;
  }

  .exhibition-philosophy {
    font-size: 1.05rem;
    padding: 0 0.5rem;
    margin-bottom: 3rem;
  }

  .services-container {
    grid-template-columns: 1fr;
  }

  .services-left-col {
    position: static;
    height: auto;
  }

  .preview-list {
    grid-template-columns: 1fr;
  }
  
  .work-container {
    grid-template-columns: 1fr;
  }
  
  .work-left-col {
    position: static;
    height: auto;
  }

  .project-list {
    gap: 2.5rem;
    padding-left: 1.75rem;
  }
  
  .project-list::before {
    left: 0.35rem;
    top: 3.25rem;
    bottom: 3.25rem;
  }
  
  .project-timeline-dot {
    left: -1.55rem;
    top: 2.35rem;
  }
  
  .project-card {
    padding: 1.75rem;
  }
  
  .project-meta-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .contact-cta-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .contact-metadata-row {
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 1.5rem;
  }

  .contact-metadata-divider {
    display: none;
  }

  .system-footer {
    padding: 3rem 0 2rem 0;
  }
  
  .footer-top-row {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-sys-meta {
    flex-direction: column;
    gap: 1.25rem;
  }
  
  .footer-nav-vertical {
    gap: 0.85rem;
  }
  
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .footer-terminal-status {
    margin-top: 2.5rem;
  }
}

/* Small Mobile Breakpoint (max-width: 389px) */
@media (max-width: 389px) {
  h1, 
  .exhibition-title, 
  .services-title, 
  .work-title, 
  .contact-cta-title {
    font-size: 1.75rem !important;
  }
  
  .logo-img {
    height: 20px;
  }

  .project-card {
    padding: 1.25rem;
  }

  .project-title {
    font-size: 1.65rem;
  }

  .contact-cta-btn {
    font-size: 0.78rem;
    padding: 1rem 1.5rem;
  }
}

/* ==================================================== */
/* ACCESSIBILITY — REDUCED MOTION SUPPORT               */
/* ==================================================== */

@media (prefers-reduced-motion: reduce) {
  /* Disable all CSS animations */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Keep scroll-reveal sections visible immediately */
  .scroll-reveal {
    opacity: 1;
    transform: none;
  }

  /* Disable the teaser emergence animation */
  #steward-dashboard {
    animation: none;
  }

  /* Disable hover transforms that cause motion */
  #steward-dashboard:hover {
    transform: rotateX(9deg) rotateY(-11deg) rotateZ(-1.5deg) scale(1.05) translate3d(50px, 190px, -80px);
  }

  .exhibition-perspective-wrapper .showcase-frame:hover {
    transform: rotateX(6deg) rotateY(-5deg) rotateZ(-0.5deg) scale(1.08);
  }

  /* Disable breathing glows */
  .environmental-light,
  .environmental-light-showcase {
    animation: none;
    opacity: 0.8;
  }

  /* Disable blinking effects */
  .cue-dot {
    animation: none;
    opacity: 1;
  }

  .status-dot.pulse {
    animation: none;
  }

  .statement.active-line::after {
    animation: none;
    opacity: 1;
  }

  /* Disable the noise drift */
  .noise-overlay {
    animation: none;
  }

  /* Disable footer terminal pulse */
  .footer-terminal-status {
    animation: none;
    opacity: 0.18;
  }

  /* Keep skip link functional */
  .skip-to-content {
    transition: none;
  }
}
