/* ==========================================================================
   CERBRX DESIGN SYSTEM — LUXURY EDITORIAL LIGHT THEME
   Awwwards / Apple-Inspired Minimalist Innovation Aesthetic
   ========================================================================== */

:root {
  /* Alabaster & Warm Ivory Canvas */
  --bg-primary: #fcfcfb;
  --bg-secondary: #f6f6f4;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-card-hover: #fafafa;
  --bg-tag: rgba(0, 0, 0, 0.04);
  --bg-tag-hover: rgba(0, 0, 0, 0.08);

  /* Deep Obsidian & Neutral Slate Typography */
  --text-primary: #0a0b0e;
  --text-secondary: #4b5262;
  --text-muted: #6b7280;
  --text-dim: #9ca3af;
  --text-on-dark: #ffffff;

  /* Subtle Luxury Accents */
  --accent-electric: #0052ff;
  --accent-electric-soft: rgba(0, 82, 255, 0.08);
  --accent-electric-glow: rgba(0, 82, 255, 0.2);
  
  --accent-indigo: #4f46e5;
  --accent-indigo-soft: rgba(79, 70, 229, 0.08);

  /* Triad Discipline Signatures */
  --tech-accent: #0052ff;
  --tech-soft: rgba(0, 82, 255, 0.07);
  --design-accent: #db2777;
  --design-soft: rgba(219, 39, 119, 0.07);
  --biz-accent: #d97706;
  --biz-soft: rgba(217, 119, 6, 0.07);

  /* Hairline Borders & Shadows */
  --border-hairline: rgba(0, 0, 0, 0.07);
  --border-subtle: #e5e7eb;
  --border-focus: rgba(0, 82, 255, 0.4);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 30px -10px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.08);

  /* Typography Stacks */
  --font-display: 'Space Grotesk', 'Syne', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spatial Scale */
  --container-max: 1260px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body.light-luxury-theme {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Minimalist Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

::selection {
  background: var(--text-primary);
  color: var(--bg-surface);
}

/* Background Generative Canvas */
#neuralCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Monospace Code Pill */
.mono-code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--bg-tag);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
}

/* ==========================================================================
   BUTTONS & TACTILE COMPONENTS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-smooth);
  border: none;
  outline: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-primary-pill {
  background: var(--text-primary);
  color: var(--bg-surface);
  box-shadow: 0 4px 14px rgba(10, 11, 14, 0.15);
}
.btn-primary-pill:hover {
  background: #1f232e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 11, 14, 0.22);
  color: #fff;
}

.btn-outline-pill {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-sm);
}
.btn-outline-pill:hover {
  background: var(--bg-surface);
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-block {
  width: 100%;
}

/* Floating Quick Controls */
.floating-controls {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 99;
}
.control-pill {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-secondary);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-full);
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}
.control-pill:hover {
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.control-pill.active {
  color: var(--accent-electric);
  border-color: var(--accent-electric);
  background: #ffffff;
}

#backToTop.icon-only {
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
  align-self: flex-end;
  display: none;
}
#backToTop.icon-only.visible {
  display: flex;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================= */

.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(252, 252, 251, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-hairline);
  transition: all var(--transition-smooth);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand-signature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.brand-monogram {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition-fast);
}
.brand-signature:hover .brand-monogram {
  transform: rotate(-6deg) scale(1.05);
}
.monogram-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}
.monogram-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-electric);
}

.brand-label {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  line-height: 1.1;
}
.brand-descriptor {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}
.nav-idx {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-electric);
}
.nav-item:hover {
  color: var(--text-primary);
}

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.mobile-toggle .bar {
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  padding-top: 135px;
  padding-bottom: 70px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.hero-editorial-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.editorial-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.status-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}
.editorial-coordinates {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.editorial-coordinates .sep {
  opacity: 0.3;
}

.hero-typography-block {
  max-width: 1080px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}
.emphasis-word {
  color: var(--accent-electric);
  position: relative;
}
.hero-editorial-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.68;
  max-width: 780px;
}
.hero-editorial-sub strong {
  color: var(--text-primary);
}

.hero-triad-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.triad-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  font-size: 0.82rem;
  box-shadow: var(--shadow-sm);
}
.triad-pill .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.tech-pill .pill-dot { background: var(--tech-accent); }
.design-pill .pill-dot { background: var(--design-accent); }
.biz-pill .pill-dot { background: var(--biz-accent); }
.pill-cat {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--text-dim);
}
.pill-names {
  color: var(--text-primary);
  font-weight: 600;
}

/* Architectural Showcase Panel */
.hero-showcase-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-top: 1rem;
}
.showcase-topbar {
  padding: 1rem 1.6rem;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
}
.showcase-id {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.index-chip {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--text-primary);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.id-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.showcase-clock {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.pulse-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.showcase-viewport {
  height: 380px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #ffffff 0%, #f9f9f8 100%);
  overflow: hidden;
}

.chronograph-rings {
  position: absolute;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 0, 0, 0.08);
}
.outer-ring {
  width: 310px;
  height: 310px;
  animation: spinSlow 50s linear infinite;
}
.middle-ring {
  width: 220px;
  height: 220px;
  border-color: rgba(0, 82, 255, 0.12);
  animation: spinReverse 35s linear infinite;
}
.inner-ring {
  width: 140px;
  height: 140px;
  border-color: rgba(0, 0, 0, 0.06);
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes spinReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.nodes-orbit-plane {
  position: relative;
  width: 300px;
  height: 300px;
}

.central-nexus {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  z-index: 5;
}
.nexus-core {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.nexus-initial {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
}
.nexus-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.cluster-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.65rem 0.35rem 0.35rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 6;
}
.cluster-node:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.2);
}
.node-photo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 1.5px solid #fff;
}
.node-meta {
  display: flex;
  flex-direction: column;
}
.node-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.node-role {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}

/* Orbit Node Positioning */
.node-vaishnav   { top: 5px;   left: 70px; }
.node-adhithtan  { top: 55px;  right: -30px; }
.node-hanna      { bottom: 55px; right: -30px; }
.node-althaf     { bottom: 5px; left: 70px; }
.node-subi       { bottom: 55px; left: -30px; }
.node-devika     { top: 55px;  left: -30px; }

.showcase-footer {
  padding: 0.85rem 1.6rem;
  border-top: 1px solid var(--border-hairline);
  background: var(--bg-secondary);
}
.telemetry-bar {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.telemetry-bar .divider {
  opacity: 0.3;
}

/* Metrics Strip */
.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-hairline);
}
.metric-block {
  display: flex;
  flex-direction: column;
}
.metric-figure {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
}
.metric-figure .symbol {
  font-size: 1.6rem;
  color: var(--accent-electric);
  margin-left: 2px;
}
.metric-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* ==========================================================================
   EDITORIAL SECTION STRUCTURE
   ========================================================================== */

.section-editorial {
  padding: 110px 0;
  position: relative;
}
.section-editorial.alternate-bg {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.editorial-section-header {
  max-width: 820px;
  margin-bottom: 4.5rem;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent-electric);
  margin-bottom: 0.8rem;
}
.eyebrow-index {
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  background: var(--accent-electric-soft);
  border-radius: 4px;
}
.editorial-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.editorial-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   SECTION 01: THE TRIAD ARCHITECTURE
   ========================================================================== */

.triad-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.matrix-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}
.matrix-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 0, 0, 0.15);
}

.matrix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-hairline);
}
.matrix-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}
.matrix-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}
.tech-matrix .matrix-badge { background: var(--tech-soft); color: var(--tech-accent); }
.design-matrix .matrix-badge { background: var(--design-soft); color: var(--design-accent); }
.biz-matrix .matrix-badge { background: var(--biz-soft); color: var(--biz-accent); }

.matrix-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.matrix-fellows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}
.fellow-pill {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.fellow-pill i {
  color: var(--accent-electric);
  font-size: 0.8rem;
}

.matrix-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

.matrix-mandate {
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent-electric);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.8rem;
}
.design-matrix .matrix-mandate { border-left-color: var(--design-accent); }
.biz-matrix .matrix-mandate { border-left-color: var(--biz-accent); }

.mandate-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.35rem;
}
.matrix-mandate p {
  font-size: 0.82rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.matrix-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}
.matrix-stack span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid var(--border-hairline);
}

/* ==========================================================================
   SECTION 02: THE COLLECTIVE DOSSIER
   ========================================================================== */

.segmented-control {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}
.segment-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.segment-btn:hover {
  color: var(--text-primary);
}
.segment-btn.active {
  background: var(--text-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.dossier-portrait-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}
.dossier-portrait-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 0, 0, 0.15);
}

.portrait-frame {
  position: relative;
  height: 280px;
  width: 100%;
  background: #f1f2f4;
  overflow: hidden;
}
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.dossier-portrait-card:hover .portrait-img {
  transform: scale(1.04);
}

.portrait-dept {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}
.aids-dept { background: rgba(0, 82, 255, 0.9); color: #fff; }
.ece-dept  { background: rgba(124, 58, 237, 0.9); color: #fff; }
.biz-dept  { background: rgba(217, 119, 6, 0.9); color: #fff; }

.node-id-tag {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.dossier-details {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dossier-role-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.tech-label { color: var(--tech-accent); }
.design-label { color: var(--design-accent); }
.biz-label { color: var(--biz-accent); }

.dossier-full-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.dossier-dept-info {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.dossier-bio-snippet {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.3rem;
}

.dossier-focus-bar {
  background: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.focus-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.68rem;
  color: var(--text-primary);
}
.focus-text {
  color: var(--text-secondary);
  line-height: 1.45;
}

.dossier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.dossier-tags span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.dossier-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-hairline);
}
.social-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-decoration: none;
  background: var(--bg-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-hairline);
  transition: all var(--transition-fast);
}
.social-link-pill:hover {
  color: var(--design-accent);
  border-color: rgba(219, 39, 119, 0.3);
  background: #fff;
}
.dossier-open-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: gap var(--transition-fast);
}
.dossier-open-btn:hover {
  gap: 0.65rem;
  color: var(--accent-electric);
}

/* ==========================================================================
   SECTION 03: SELECTED WORKS / PROJECTS
   ========================================================================== */

.works-collection {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.work-feature-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}
.work-feature-row.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}
.work-feature-row.reverse .work-media-col {
  order: 2;
}
.work-feature-row.reverse .work-content-col {
  order: 1;
}

.work-feature-row:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 0, 0, 0.12);
}

.work-media-col {
  position: relative;
}
.media-aspect-box {
  position: relative;
  height: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background: #0f1117;
}
.work-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.work-feature-row:hover .work-preview-img {
  transform: scale(1.03);
}

.media-tag-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(10, 11, 14, 0.85);
  color: #fff;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.media-gallery-trigger {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  border: none;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}
.media-gallery-trigger:hover {
  background: var(--text-primary);
  color: #fff;
}

/* Edge Vision HUD Box */
.architectural-preview {
  background: #0a0b0f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.hud-box {
  border: 1.5px dashed #0052ff;
  background: rgba(0, 82, 255, 0.08);
  padding: 1.4rem;
  border-radius: var(--radius-sm);
  width: 100%;
}
.hud-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: bold;
  color: #3b82f6;
  margin-bottom: 0.3rem;
}
.hud-coords {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}
.hud-terminal {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #10b981;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.65rem 0.85rem;
  border-radius: 4px;
}

.work-content-col {
  display: flex;
  flex-direction: column;
}
.work-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.work-index-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-electric);
  font-weight: 700;
}
.work-status-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.work-headline {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.work-narrative {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 1.4rem;
}

.work-specs-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.3rem;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  gap: 1rem;
}
.spec-name {
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.spec-detail {
  color: var(--text-primary);
  text-align: right;
}

.work-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.8rem;
}
.work-tech-tags span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-hairline);
}

.work-action-wrap {
  margin-top: auto;
}

/* ==========================================================================
   SECTION 04: SERVICES & CAPABILITIES
   ========================================================================== */

.services-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4.5rem;
}

.service-editorial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}
.service-editorial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 0, 0, 0.15);
}

.service-index {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-electric);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.service-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}
.service-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.service-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
}
.service-checklist li {
  font-size: 0.82rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.service-checklist li i {
  color: var(--accent-electric);
  font-size: 0.75rem;
}

/* Scope Estimator */
.estimator-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: var(--shadow-md);
}

.estimator-header {
  margin-bottom: 2.2rem;
}
.estimator-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-electric);
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}
.estimator-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}
.estimator-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.estimator-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.estimator-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}
.estimator-selector-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.selector-pill {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.selector-pill:hover {
  background: #edeef0;
  color: var(--text-primary);
}
.selector-pill.active {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.estimator-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.custom-check-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.custom-check-pill input {
  display: none;
}
.custom-check-pill .check-box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--border-hairline);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.custom-check-pill.active {
  border-color: rgba(0, 82, 255, 0.4);
  background: #fff;
  color: var(--text-primary);
}
.custom-check-pill.active .check-box {
  background: var(--accent-electric);
  border-color: var(--accent-electric);
}
.custom-check-pill.active .check-box::after {
  content: '';
  width: 5px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.estimator-summary-strip {
  background: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.8rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.squad-allocation {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-electric);
  margin-bottom: 0.35rem;
}
.sprint-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}
.sprint-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 650px;
}

/* ==========================================================================
   SECTION 05 (now Contact): CONTACT & STUDIO DIRECTORY
   ========================================================================== */

.uplink-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.8rem;
}

.uplink-form-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.editorial-form {
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.form-row-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.input-block {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.input-block label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.input-block input,
.input-block select,
.input-block textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}
.input-block input:focus,
.input-block select:focus,
.input-block textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent-electric);
  box-shadow: 0 0 0 3px var(--accent-electric-soft);
}

.form-status-banner {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.form-status-banner.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10b981;
  color: #065f46;
}
.form-status-banner.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #991b1b;
}

/* Uplink Directory Panel */
.uplink-directory-panel {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.direct-address-box,
.member-directory-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.box-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-electric);
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.box-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.email-clip-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}
.email-clip-pill:hover {
  background: #fff;
  border-color: var(--accent-electric);
  box-shadow: var(--shadow-sm);
}
.clip-btn {
  background: transparent;
  border: none;
  color: var(--accent-electric);
  cursor: pointer;
}
.clip-notification {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #10b981;
  margin-top: 0.5rem;
}
.clip-notification.show {
  display: block;
}

.directory-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.directory-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.directory-row:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateX(4px);
}
.dir-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 1px solid #fff;
}
.dir-meta {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.dir-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}
.dir-handle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-electric);
}
.directory-row i {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.editorial-footer {
  border-top: 1px solid var(--border-hairline);
  background: var(--bg-surface);
  padding: 80px 0 40px;
}
.footer-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}
.footer-signature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.signature-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}
.footer-manifesto {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 340px;
  margin-bottom: 1.25rem;
}
.footer-inbox-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-electric);
  text-decoration: none;
}
.footer-inbox-link:hover {
  text-decoration: underline;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.nav-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.footer-nav-col a,
.footer-nav-col span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-nav-col a:hover {
  color: var(--text-primary);
}

.footer-sub-bar {
  padding-top: 2rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.live-status-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

/* ==========================================================================
   MODAL DIALOGS & LIGHTBOX
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 14, 0.6);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}
.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}
.modal-backdrop.active .modal-card {
  transform: translateY(0);
}
.project-modal-card {
  max-width: 920px;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: var(--text-secondary);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
}
.modal-close-btn:hover {
  background: var(--text-primary);
  color: #fff;
}

.modal-inner-content {
  padding: 2.8rem;
}

/* Dossier Modal Interior */
.dossier-modal-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.dossier-top {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--border-hairline);
}
.dossier-avatar-box {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}
.dossier-avatar {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: var(--shadow-md);
}
.dossier-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.dossier-role-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-electric);
  margin-bottom: 0.25rem;
}
.dossier-dept {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.dossier-quote-block {
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent-electric);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  font-style: italic;
  color: var(--text-primary);
  display: flex;
  gap: 0.75rem;
}
.dossier-quote-block i {
  color: var(--accent-electric);
  font-size: 1.1rem;
}
.dossier-sec-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-electric);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.dossier-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.68;
}
.dossier-focus-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.5;
}
.dossier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.dossier-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}
.dossier-list li i {
  color: var(--accent-electric);
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

/* Project Modal Interior */
.project-modal-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.proj-modal-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
}
.proj-modal-main-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  background: #0f1117;
}
.proj-thumb-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-top: 0.8rem;
}
.proj-thumb-item {
  width: 100px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
  opacity: 0.6;
  transition: all var(--transition-fast);
}
.proj-thumb-item:hover, .proj-thumb-item.active {
  opacity: 1;
}
.proj-thumb-item img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
}
.proj-thumb-item.active img {
  border-color: var(--accent-electric);
}
.proj-thumb-item span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.proj-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

/* Lightbox Modal */
.lightbox-container {
  position: relative;
  max-width: 1080px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}
.lightbox-caption {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #fff;
  margin-top: 1rem;
  text-align: center;
  background: rgba(10, 11, 14, 0.85);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1100px) {
  .hero-headline {
    font-size: 3.2rem;
  }
  .triad-matrix,
  .dossier-grid,
  .services-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .work-feature-row,
  .work-feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .work-feature-row.reverse .work-media-col { order: 1; }
  .work-feature-row.reverse .work-content-col { order: 2; }
}

@media (max-width: 868px) {
  .hero-headline {
    font-size: 2.6rem;
  }
  .hero-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .uplink-grid {
    grid-template-columns: 1fr;
  }
  .estimator-form-grid {
    grid-template-columns: 1fr;
  }
  .estimator-summary-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  /* Mobile Navigation Drawer */
  .mobile-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    background: rgba(252, 252, 251, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    gap: 1.8rem;
    transform: translateY(-150%);
    transition: transform var(--transition-smooth);
    border-bottom: 1px solid var(--border-hairline);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.mobile-open {
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .hero-headline {
    font-size: 2.2rem;
  }
  .triad-matrix,
  .dossier-grid,
  .services-editorial-grid {
    grid-template-columns: 1fr;
  }
  .estimator-check-grid {
    grid-template-columns: 1fr;
  }
  .form-row-dual {
    grid-template-columns: 1fr;
  }
  .footer-layout {
    grid-template-columns: 1fr;
  }
  .footer-sub-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .segmented-control {
    flex-direction: column;
    width: 100%;
    border-radius: var(--radius-md);
  }
  .segment-btn {
    width: 100%;
    text-align: center;
  }
}
