/* ==========================================================================
   SHIFTLINE — Direct-Open Premium Logistics Design System
   Color Palette derived directly from Native Blender 5.2 Routing Sculpture
   ========================================================================== */

:root {
  --bg-deep: #07090b;
  --bg-surface: #0e1217;
  --bg-surface-elevated: #151a22;
  --bg-card: rgba(18, 23, 31, 0.85);
  --bg-card-hover: rgba(26, 33, 44, 0.95);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-focus: rgba(255, 94, 30, 0.6);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-amber: #ff5e1e;
  --accent-amber-glow: rgba(255, 94, 30, 0.35);
  --accent-amber-subtle: rgba(255, 94, 30, 0.12);
  --accent-amber-bright: #ff7838;
  
  --aluminum-titanium: #8b99a8;
  --steel-dark: #202732;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', 'JetBrains Mono', ui-monospace, monospace;
  
  --container-max: 1320px;
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-deep);
}

/* Backdrop & Ambient Stage Lighting */
.stage-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.25;
}

.glow-top {
  top: -200px;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(100, 140, 180, 0.25) 0%, transparent 70%);
}

.glow-amber {
  top: 250px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-amber-glow) 0%, transparent 70%);
  opacity: 0.22;
}

.stage-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

/* Header & Brand */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 11, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 0;
}

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

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-symbol {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface-elevated);
  border-radius: 6px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.symbol-rail {
  width: 18px;
  height: 2px;
  background: var(--aluminum-titanium);
  border-radius: 1px;
}

.symbol-node {
  width: 8px;
  height: 8px;
  background: var(--accent-amber);
  border-radius: 2px;
  position: absolute;
  box-shadow: 0 0 8px var(--accent-amber);
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--aluminum-titanium);
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: space-around;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-smooth);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-medium);
  padding: 24px;
  z-index: 99;
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
}

.mobile-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.82rem;
}

.btn-primary {
  background: var(--accent-amber);
  color: #ffffff;
  border-color: var(--accent-amber);
  box-shadow: 0 4px 16px rgba(255, 94, 30, 0.28);
}

.btn-primary:hover {
  background: var(--accent-amber-bright);
  border-color: var(--accent-amber-bright);
  box-shadow: 0 6px 22px rgba(255, 94, 30, 0.42);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background: #1c232e;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
  background: rgba(255, 255, 255, 0.04);
}

.btn-full {
  width: 100%;
}

.btn-block {
  width: 100%;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: var(--transition-smooth);
}

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

/* Corridor Telemetry Bar */
.corridor-telemetry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px 20px;
  margin-top: 24px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.telemetry-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.telemetry-label {
  color: var(--text-muted);
}

.telemetry-val {
  color: var(--text-primary);
  font-weight: 700;
}

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

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

/* Hero Section */
.hero-section {
  padding-bottom: 72px;
}

.hero-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-amber);
  background: var(--accent-amber-subtle);
  border: 1px solid rgba(255, 94, 30, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-amber);
  border-radius: 50%;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.text-accent {
  color: var(--accent-amber);
  background: linear-gradient(135deg, #ff7838, #ff4500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}

/* Hero Path Selector CTA Cards */
.hero-cta-cluster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.cta-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.cta-freelancer {
  border-top: 3px solid var(--accent-amber);
}

.cta-company {
  border-top: 3px solid var(--aluminum-titanium);
}

.cta-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.role-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent-amber-subtle);
  color: var(--accent-amber);
  padding: 2px 8px;
  border-radius: 4px;
}

.pill-neutral {
  background: rgba(255, 255, 255, 0.06);
  color: var(--aluminum-titanium);
}

.flow-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.cta-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.cta-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Hero Native 3D Visual Unit Frame */
.hero-visual-unit {
  position: relative;
  width: 100%;
}

.sculpture-frame {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  padding: 12px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
}

.frame-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--accent-amber);
  pointer-events: none;
  z-index: 10;
}

.top-left { top: 6px; left: 6px; border-top: 2px solid; border-left: 2px solid; }
.top-right { top: 6px; right: 6px; border-top: 2px solid; border-right: 2px solid; }
.bottom-left { bottom: 6px; left: 6px; border-bottom: 2px solid; border-left: 2px solid; }
.bottom-right { bottom: 6px; right: 6px; border-bottom: 2px solid; border-right: 2px solid; }

.sculpture-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--aluminum-titanium);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 8px;
}

.sculpture-img-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #080A0C;
}

.hero-render-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-unit:hover .hero-render-img {
  transform: scale(1.015);
}

.sculpture-overlay-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.overlay-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  cursor: default;
}

.node-1 { top: 32%; left: 54%; }
.node-2 { top: 48%; left: 24%; }
.node-3 { top: 66%; left: 65%; }

.node-pulse {
  width: 10px;
  height: 10px;
  background: var(--accent-amber);
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px var(--accent-amber);
}

.node-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(14, 18, 23, 0.85);
  border: 1px solid var(--border-medium);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--text-primary);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.sculpture-meta-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 12px 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  margin-top: 8px;
}

/* Disciplines Section */
.disciplines-section {
  padding: 96px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 18, 23, 0.6) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-subtitle-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-amber);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

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

.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.discipline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.discipline-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.featured-discipline {
  border-color: rgba(255, 94, 30, 0.35);
  background: rgba(26, 21, 20, 0.7);
}

.card-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.card-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
  margin-bottom: 20px;
}

.card-icon {
  width: 22px;
  height: 22px;
}

.discipline-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.discipline-detail {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.discipline-specs {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.discipline-specs li {
  font-size: 0.78rem;
  color: var(--aluminum-titanium);
  position: relative;
  padding-left: 14px;
}

.discipline-specs li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-amber);
}

/* Network Section */
.network-section {
  padding: 96px 0;
}

.network-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  padding: 48px;
}

.network-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.network-pillars-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pillar-box {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 24px;
  position: relative;
}

.active-pillar {
  border-color: var(--accent-amber);
  box-shadow: 0 0 24px rgba(255, 94, 30, 0.15);
}

.pillar-stage {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pillar-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.pillar-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  color: var(--aluminum-titanium);
}

.tag-accent {
  background: var(--accent-amber-subtle);
  border-color: rgba(255, 94, 30, 0.4);
  color: var(--accent-amber);
}

.pillar-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 48px;
}

.connector-line {
  width: 100%;
  height: 2px;
  background: var(--border-medium);
}

.connector-pip {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-amber);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-amber);
}

/* Interactive Explorer */
.corridor-explorer-section {
  padding: 40px 0 80px;
}

.explorer-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  padding: 36px;
}

.explorer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.explorer-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 4px;
}

.path-toggle-group {
  display: flex;
  background: var(--bg-deep);
  border: 1px solid var(--border-medium);
  padding: 4px;
  border-radius: 8px;
  gap: 4px;
}

.toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.toggle-btn.active {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.col-heading {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.selector-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pill-btn {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 14px 18px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pill-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.pill-btn.active {
  background: var(--bg-surface-elevated);
  border-color: var(--accent-amber);
  color: var(--text-primary);
  border-left: 4px solid var(--accent-amber);
}

.view-col-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.panel-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-amber);
}

.panel-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--aluminum-titanium);
}

.panel-role-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.panel-role-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.panel-action {
  margin-top: auto;
}

.hidden {
  display: none !important;
}

/* Geography Section */
.geography-section {
  padding: 40px 0 96px;
}

.geo-banner {
  background: linear-gradient(135deg, #10151c 0%, #0a0d11 100%);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  padding: 48px;
  text-align: center;
}

.geo-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--aluminum-titanium);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.geo-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.geo-desc {
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.geo-nodes-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.geo-node-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 16px;
  border-radius: 20px;
  color: var(--text-primary);
}

/* Footer */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-copy-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 12px;
  margin-bottom: 16px;
  max-width: 340px;
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.footer-list a:hover {
  color: var(--accent-amber);
}

.footer-small {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.footer-small.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.copyright-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-content-grid {
    grid-template-columns: 1fr;
  }
  
  .disciplines-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .network-pillars-grid {
    flex-direction: column;
  }
  
  .pillar-connector {
    transform: rotate(90deg);
    margin: 8px 0;
  }
  
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav, .header-actions {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }

  .corridor-telemetry {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 14px;
  }

  .telemetry-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: start;
    gap: 4px 8px;
  }

  .telemetry-item:first-child {
    grid-template-columns: 8px 92px minmax(0, 1fr);
  }

  .telemetry-label,
  .telemetry-val {
    overflow-wrap: anywhere;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-cta-cluster {
    grid-template-columns: 1fr;
  }
  
  .disciplines-grid {
    grid-template-columns: 1fr;
  }
  
  .view-grid {
    grid-template-columns: 1fr;
  }
  
  .explorer-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .hide-mobile {
    display: none;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
  }
}


/* Release-only 320 px reflow: preserve the accepted design while removing
   min-content pressure in the interactive explorer. */
@media (max-width: 340px) {
  .explorer-card { padding: 20px; }
  .path-toggle-group { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .toggle-btn { min-width: 0; white-space: normal; }
  .view-grid, .view-col, .selector-pills, .pill-btn, .view-col-panel {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .pill-btn, .panel-role-title { overflow-wrap: anywhere; }
  .overlay-node { display: none; }
}
