/* ==========================================================
   OVERCLOCK 2027 — RETRO-FUTURISTIC TIME BUREAU DESIGN SYSTEM
   FCRIT × IEEE Student Branch
   Aesthetic: 1970s Bureau meets Hardware Timekeeping.
   CRT monitors, analog clocks, pneumatic tubes, case files,
   rubber stamps, reel-to-reel spools, and 555 timers.
========================================================== */

:root {
  /* ==========================================================
     PALETTE (TVA-authentic, warm and aged, not neon)
  ========================================================== */
  --bg-deep:        #14110D;   /* page background (warm charcoal-brown, replaces pure black) */
  --bg-surface:     #1C1813;   /* cards, panels, modals */
  --bg-raised:      #26201A;   /* hover states, inner boxes, inputs */
  --paper:          #EADFC4;   /* TVA cream: main headings, key text */
  --paper-muted:    #B9AD92;   /* body/paragraph text */
  --paper-dim:      #928872;   /* Raised from #7C735F for WCAG 4.5:1 compliance across all backgrounds */   /* captions, footnotes, tiny labels */
  --tva-orange:     #E8872B;   /* PRIMARY accent: CTAs, active nav item, key numbers/dates */
  --tva-orange-hot: #FF9F45;   /* hover/active state of orange only */
  --brass:          #B8923A;   /* default borders, dividers, frames, corner brackets */
  --crt-teal:       #3FB5A0;   /* system/terminal info: coordinates, status text, status pips, "SYSTEM STATUS", data readouts, scanline-type details */
  --brick:          #C4452D;   /* warnings, LOGGED stamps, closing/alert tags */
  --sage:           #7E9A5B;   /* success states: FREE, CONFIRMED, APPROVED */

  /* TVA Palette RGB Channels for opacity compositions */
  --bg-deep-rgb:        20, 17, 13;
  --bg-surface-rgb:     28, 24, 19;
  --bg-raised-rgb:      38, 32, 26;
  --paper-rgb:          234, 223, 196;
  --paper-muted-rgb:    185, 173, 146;
  --paper-dim-rgb:      146, 136, 114;
  --tva-orange-rgb:     232, 135, 43;
  --tva-orange-hot-rgb: 255, 159, 69;
  --brass-rgb:          184, 146, 58;
  --crt-teal-rgb:       63, 181, 160;
  --brick-rgb:          196, 69, 45;
  --sage-rgb:           126, 154, 91;

  /* Aliased System Colors for Compatibility */
  --bg-primary: var(--bg-deep);
  --bg-secondary: var(--bg-surface);
  --bg-tertiary: var(--bg-raised);
  --bg-panel: rgba(28, 24, 19, 0.88);
  --bg-panel-solid: var(--bg-surface);

  --text-main: var(--paper);
  --text-muted: var(--paper-muted);
  --text-dim: var(--paper-dim);

  --border-brass: var(--brass);
  --border-subtle: rgba(184, 146, 58, 0.35);
  --border-dim: rgba(184, 146, 58, 0.2);

  --amber-primary: var(--tva-orange);
  --amber-bright: var(--tva-orange-hot);
  --amber-glow: rgba(232, 135, 43, 0.28);
  --mustard-secondary: var(--brass);
  --olive-tone: var(--brass);

  /* System glows & Phosphors */
  --green-phosphor: var(--sage);
  --green-glow: rgba(126, 154, 91, 0.28);
  --cyan-phosphor: var(--crt-teal);
  --cyan-glow: rgba(63, 181, 160, 0.28);
  --violet-phosphor: #9B78D6;
  --violet-glow: rgba(155, 120, 214, 0.25);

  /* Paper & Stamps */
  --paper-cream: var(--paper);
  --paper-shadow: rgba(0, 0, 0, 0.55);
  --ink-charcoal: var(--bg-deep);
  --stamp-red: var(--brick);
  --stamp-amber: var(--brass);
  --stamp-green: var(--sage);

  /* Typography */
  --font-display: 'Bebas Neue', 'Oswald', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-typewriter: 'Special Elite', 'Courier Prime', monospace;

  /* Dimensions & Spacing */
  --header-height: 72px;
  --container-max: 1380px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================
   RESET & GLOBAL BASE
========================================================== */
*, *::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-main);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Custom Clock-Hand Cursor for Desktop */
@media (pointer: fine) {
  body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="3" fill="%23E8872B"/><line x1="12" y1="12" x2="12" y2="3" stroke="%23EADFC4" stroke-width="2" stroke-linecap="round"/><line x1="12" y1="12" x2="19" y2="12" stroke="%23E8892B" stroke-width="1.5" stroke-linecap="round"/></svg>') 12 12, auto;
  }
  a, button, input, select, textarea, .interactive-click {
    cursor: pointer;
  }
}

/* ==========================================================
   PERSISTENT BACKGROUND & FILM GRAIN OVERLAY
========================================================== */
.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  background: #14110D url('images/ezgif-frame-001.jpg') center center / cover no-repeat;
}

/* CRT Scanline & Grain Texture Layer */
.crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(rgba(18, 16, 12, 0) 50%, rgba(0, 0, 0, 0.22) 50%),
              radial-gradient(ellipse at center, rgba(0,0,0,0) 65%, rgba(10, 8, 6, 0.6) 100%);
  background-size: 100% 4px, 100% 100%;
  opacity: 0.5;
}

/* ==========================================================
   BOOTLOADER OVERLAY
========================================================== */
.boot-overlay {
  position: fixed;
  inset: 0;
  background-color: #14110D;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.boot-overlay.hidden,
.skip-boot #boot-overlay,
.skip-boot #tva-temporal-intro {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

.boot-terminal-card {
  width: 90%;
  max-width: 520px;
  background: #1C1813;
  border: 2px solid var(--amber-primary);
  border-radius: var(--radius-md);
  box-shadow: 0 0 35px rgba(184, 146, 58, 0.25);
  padding: 24px;
  font-family: var(--font-mono);
  position: relative;
  overflow: hidden;
}

.boot-header {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.boot-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.boot-dot.amber { background: var(--amber-primary); }
.boot-dot.mustard { background: var(--mustard-secondary); }
.boot-dot.green { background: var(--green-phosphor); }

.boot-title {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--amber-bright);
  font-weight: 600;
}

.boot-mascot-container {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  background: rgba(239, 230, 210, 0.04);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.tick-mascot-svg {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(184, 146, 58, 0.3));
}

.mascot-speech-bubble {
  font-family: var(--font-typewriter);
  font-size: 0.95rem;
  color: var(--paper-cream);
  line-height: 1.3;
}

.boot-log {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.boot-line {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.3;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.boot-line.active {
  opacity: 1;
  color: var(--amber-bright);
}

.boot-line.highlight {
  color: var(--green-phosphor);
}

.boot-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(239, 230, 210, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.boot-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--amber-primary), var(--mustard-secondary));
  transition: width 0.08s linear;
}

.boot-skip-hint {
  font-size: 0.72rem;
  text-align: right;
  color: var(--text-dim);
}

/* ==========================================================
   SIGNATURE ELEMENT — TVA CORNER TEMPORAL CLOCK NAVIGATOR
   Precision circular chronograph instrument anchored to upper-right corner.
   Approximately 1/4 visible; inner markers rotate with scroll.
   Clicking opens the TVA Temporal Sector Directory.
========================================================== */
.corner-clock-navigator {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 600;
  pointer-events: none;
  user-select: none;
}

/* Clickable Quarter-Circle Trigger Instrument */
.corner-dial-trigger {
  position: absolute;
  top: -75px;
  right: -75px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
  background-color: #1C1813;
  background: radial-gradient(circle at 100% 0%, #26201A 0%, #1C1813 70%, #14110D 100%);
  border: 1.5px solid rgba(184, 146, 58, 0.55);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.85),
              inset 0 0 14px rgba(0, 0, 0, 0.95);
  padding: 0;
  margin: 0;
  outline: none;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.corner-dial-trigger:hover {
  border-color: rgba(232, 137, 43, 0.85);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.95),
              inset 0 0 16px rgba(184, 146, 58, 0.12);
  transform: scale(1.02);
}

.corner-dial-trigger:focus-visible {
  outline: 2px solid var(--amber-bright);
  outline-offset: 3px;
  border-color: var(--amber-bright);
}

.corner-dial-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Precision SVG Outer Rings & Radial Tick Marks (Solid Opaque Fill) */
.corner-dial-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dial-svg-base-plate {
  fill: #1C1813;
}

.dial-svg-ring.outer {
  fill: #1C1813;
  stroke: rgba(184, 146, 58, 0.45);
  stroke-width: 1.2;
}

.dial-svg-ring.mid-dashed {
  fill: none;
  stroke: rgba(184, 146, 58, 0.22);
  stroke-width: 0.9;
  stroke-dasharray: 2 4;
}

.dial-svg-ring.track {
  fill: #1B1510;
  stroke: rgba(184, 146, 58, 0.18);
  stroke-width: 1;
}

.dial-svg-ring.inner-solid {
  fill: #26201A;
  stroke: rgba(184, 146, 58, 0.24);
  stroke-width: 0.8;
}

.dial-svg-ring.core {
  fill: #14110D;
  stroke: rgba(184, 146, 58, 0.4);
  stroke-width: 1;
}

.dial-ticks-group .tick.major {
  stroke: rgba(184, 146, 58, 0.55);
  stroke-width: 1.2;
  stroke-linecap: round;
}

.dial-ticks-group .tick.minor {
  stroke: rgba(184, 146, 58, 0.22);
  stroke-width: 0.8;
}

/* Precision Clock Hand / Pointer (Originates at Center Pivot, Points at Active Section Marker) */
.corner-dial-pointer {
  position: absolute;
  bottom: 50%;
  left: 50%;
  margin-left: -1px;
  width: 2px;
  height: 52px;
  transform-origin: 50% 100%;
  pointer-events: none;
  z-index: 8;
  transform: rotate(190deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.corner-dial-pointer .pointer-needle {
  width: 1.5px;
  height: 46px;
  background: linear-gradient(to top, rgba(184, 146, 58, 0.3) 0%, #E8872B 45%, var(--paper) 100%);
  box-shadow: 0 0 6px rgba(232, 135, 43, 0.65);
  margin: 0 auto;
  border-radius: 1px 1px 0 0;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.corner-dial-pointer .pointer-tip {
  width: 0;
  height: 0;
  border-left: 2.5px solid transparent;
  border-right: 2.5px solid transparent;
  border-bottom: 6px solid var(--paper);
  filter: drop-shadow(0 0 4px #E8872B);
  margin: -1px auto 0;
}

/* Rotor carrying the 11 section markers */
.corner-markers-rotor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform-origin: center center;
}

.corner-rotor-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%) rotate(var(--base-angle)) translateY(-58px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.corner-rotor-marker .marker-pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #B8923A; /* Subdued bronze for inactive markers */
  border: 1px solid rgba(184, 146, 58, 0.5);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

/* Active Section Dot Subtle Breathing Effect (2.4s gentle cycle) */
@keyframes activeMarkerBreathe {
  0%, 100% {
    background: #E8872B;
    border-color: var(--paper);
    box-shadow: 0 0 6px rgba(232, 137, 43, 0.6);
    transform: scale(1.22);
  }
  50% {
    background: var(--paper);
    border-color: var(--paper);
    box-shadow: 0 0 12px rgba(232, 135, 43, 0.9), 0 0 18px rgba(232, 137, 43, 0.45);
    transform: scale(1.38);
  }
}

.corner-rotor-marker.active .marker-pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--paper);
  animation: activeMarkerBreathe 2.4s ease-in-out infinite;
}

/* Center Pivot Jewel at Corner Vertex */
.corner-dial-pivot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
}

.corner-dial-pivot .pivot-bezel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border-brass);
  background: radial-gradient(circle, #3d2714 0%, #1C1813 100%);
}

.corner-dial-pivot .pivot-jewel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 6px var(--amber-bright);
}

/* Subtle Alignment Indicator Ray pointing diagonally into the viewport */
.corner-dial-ray {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 88px;
  background: linear-gradient(180deg, rgba(232, 137, 43, 0.6) 0%, transparent 100%);
  transform-origin: top center;
  transform: rotate(225deg);
  pointer-events: none;
  opacity: 0.55;
}

/* Dial Hover & Focus Refinements: Brighten strokes, increase contrast & glow */
.corner-dial-trigger:hover .dial-svg-ring.outer,
.corner-dial-trigger:focus-visible .dial-svg-ring.outer {
  stroke: rgba(232, 135, 43, 0.85);
  filter: drop-shadow(0 0 6px rgba(232, 135, 43, 0.4));
}

.corner-dial-trigger:hover .dial-svg-ring.mid-dashed,
.corner-dial-trigger:focus-visible .dial-svg-ring.mid-dashed {
  stroke: rgba(232, 135, 43, 0.45);
}

.corner-dial-trigger:hover .dial-svg-ring.track,
.corner-dial-trigger:focus-visible .dial-svg-ring.track {
  stroke: rgba(232, 135, 43, 0.35);
}

.corner-dial-trigger:hover .dial-ticks-group .tick.major,
.corner-dial-trigger:focus-visible .dial-ticks-group .tick.major {
  stroke: var(--paper);
}

.corner-dial-trigger:hover .pointer-needle,
.corner-dial-trigger:focus-visible .pointer-needle {
  background: linear-gradient(to top, rgba(232, 135, 43, 0.5) 0%, var(--paper) 45%, var(--paper) 100%);
  box-shadow: 0 0 10px rgba(232, 135, 43, 0.85);
}

.corner-dial-trigger:hover .pointer-tip,
.corner-dial-trigger:focus-visible .pointer-tip {
  border-bottom-color: var(--paper);
  filter: drop-shadow(0 0 6px var(--paper));
}

/* ==========================================================
   EXPANDED TVA TEMPORAL SECTOR DIRECTORY (CONNECTED GOLDEN LINE & BOXED ENTRIES)
   Precise, individually boxed navigation entries connected by a continuous golden spine.
========================================================== */
.corner-temporal-menu {
  position: fixed;
  top: 76px;
  right: 18px;
  width: 310px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  pointer-events: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 650;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s;
  scrollbar-width: thin;
  scrollbar-color: rgba(184, 146, 58, 0.35) transparent;
}

.corner-temporal-menu::-webkit-scrollbar {
  width: 4px;
}

.corner-temporal-menu::-webkit-scrollbar-track {
  background: transparent;
}

.corner-temporal-menu::-webkit-scrollbar-thumb {
  background: rgba(184, 146, 58, 0.35);
  border-radius: 2px;
}

.corner-temporal-menu.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}

.temporal-directory-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.corner-temporal-menu .menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 12px;
  margin-bottom: 8px;
  background: #1C1813;
  border: 1px solid rgba(184, 146, 58, 0.28);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.corner-temporal-menu .menu-header-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.corner-temporal-menu .menu-lamp.live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crt-teal);
  box-shadow: 0 0 8px var(--crt-teal);
}

.corner-temporal-menu .menu-header-title {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--crt-teal);
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}

.corner-temporal-menu .menu-close-btn {
  background: transparent;
  border: 1px solid rgba(184, 146, 58, 0.35);
  border-radius: 4px;
  color: var(--paper-cream);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.18s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.corner-temporal-menu .menu-close-btn:hover {
  border-color: var(--amber-bright);
  color: var(--amber-bright);
  background: rgba(184, 146, 58, 0.15);
}

/* Connected Golden Spine Container */
.temporal-spine-container {
  position: relative;
  padding: 2px 0 6px 0;
}

/* Thin continuous vertical golden line running down the left side */
.temporal-golden-spine-line {
  position: absolute;
  left: 15px;
  top: 18px;
  bottom: 18px;
  width: 1.5px;
  background: linear-gradient(
    to bottom,
    rgba(184, 146, 58, 0.2) 0%,
    rgba(184, 146, 58, 0.65) 8%,
    rgba(184, 146, 58, 0.65) 92%,
    rgba(184, 146, 58, 0.2) 100%
  );
  box-shadow: 0 0 5px rgba(184, 146, 58, 0.35);
  pointer-events: none;
  z-index: 1;
}

.temporal-sectors-spine-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.temporal-spine-item {
  margin: 0;
  padding: 0;
}

/* Navigation Row linking Node + Box */
.corner-temporal-menu .sector-link {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

/* Small circular node positioned directly on the vertical golden spine */
.nav-spine-node {
  position: relative;
  width: 11px;
  height: 11px;
  margin-left: 10px;
  margin-right: 12px;
  border-radius: 50%;
  background: #1C1813;
  border: 1.5px solid rgba(184, 146, 58, 0.5);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-spine-node .node-pip {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #B8923A; /* Muted bronze for inactive nodes */
  transition: all 0.2s ease;
}

/* Individual Rectangular Section Box */
.corner-temporal-menu .sector-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1C1813; /* Dark, opaque charcoal-brown */
  border: 1px solid rgba(184, 146, 58, 0.28); /* Thin amber/muted copper border */
  border-radius: 4px;
  padding: 7px 12px;
  min-height: 36px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.corner-temporal-menu .sector-code {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--mustard-secondary);
  width: 20px;
  flex-shrink: 0;
  letter-spacing: 0.06em;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.corner-temporal-menu .sector-name {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: #EADFC4; /* Aged-ivory text */
  flex: 1;
  letter-spacing: 0.03em;
  line-height: 1.25;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

/* Hover State (Subtle, controlled illumination) */
.corner-temporal-menu .sector-link:hover .nav-spine-node {
  border-color: var(--paper);
  background: #2e1d10;
  box-shadow: 0 0 8px rgba(184, 146, 58, 0.4);
  transform: scale(1.15);
}

.corner-temporal-menu .sector-link:hover .node-pip {
  background: var(--paper);
}

.corner-temporal-menu .sector-link:hover .sector-box {
  background: #1a120d;
  border-color: rgba(232, 135, 43, 0.6);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.75), 0 0 8px rgba(232, 135, 43, 0.15);
}

.corner-temporal-menu .sector-link:hover .sector-code {
  color: var(--paper);
  text-shadow: 0 0 6px rgba(232, 135, 43, 0.4);
}

.corner-temporal-menu .sector-link:hover .sector-name {
  color: #FFFFFF;
}

/* Active Section State (Prominent amber accent, controlled glow) */
.corner-temporal-menu .sector-link.active .nav-spine-node {
  border-color: var(--paper);
  background: var(--amber-bright);
  box-shadow: 0 0 10px rgba(232, 135, 43, 0.9), 0 0 16px rgba(232, 137, 43, 0.5);
  transform: scale(1.22);
}

.corner-temporal-menu .sector-link.active .node-pip {
  background: #FFFFFF;
}

.corner-temporal-menu .sector-link.active .sector-box {
  background: #1f150f;
  border-color: rgba(232, 135, 43, 0.85);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.8), 0 0 10px rgba(232, 135, 43, 0.22);
}

.corner-temporal-menu .sector-link.active .sector-code {
  color: var(--amber-bright);
  font-weight: 800;
  text-shadow: 0 0 6px rgba(232, 135, 43, 0.6);
}

.corner-temporal-menu .sector-link.active .sector-name {
  color: #FFFFFF;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(232, 135, 43, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .corner-dial-pointer {
    transition: none !important;
  }
  .corner-rotor-marker.active .marker-pip {
    animation: none !important;
    background: #E8872B;
    border-color: var(--paper);
    box-shadow: 0 0 8px rgba(232, 137, 43, 0.7);
    transform: scale(1.25);
  }
}

/* Nav Actions Group & Replay Intro Button */
.nav-actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: clamp(68px, 5.5vw, 84px);
}

.nav-actions-group .nav-timeline-status {
  margin-right: 0;
}

/* Nav Timeline Status (top bar - displays ONLY the active section name) */
.nav-timeline-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--paper-cream);
  background: rgba(28, 24, 19, 0.85);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(184, 146, 58, 0.25);
  user-select: none;
}

.nav-status-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 6px var(--amber-bright);
  animation: pulsePip 1.5s infinite;
  flex-shrink: 0;
}

.nav-status-sec {
  color: var(--paper-cream);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.15s ease;
}

@keyframes pulsePip {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}


/* ==========================================================
   NAVBAR — BRASS BUREAU NAMEPLATE
========================================================== */
.bureau-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 500;
  background: rgba(28, 24, 19, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border-brass);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 clamp(16px, 1.8vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
}

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

.brand-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--mustard-secondary);
  border-right: 1px solid var(--border-subtle);
  padding-right: 14px;
  white-space: nowrap;
}

.brand-badge .fcrit-tag {
  font-weight: 700;
  color: var(--paper-cream);
}

.brand-badge .ieee-tag {
  color: var(--amber-bright);
}

.brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.08em;
  color: var(--amber-bright);
  line-height: 1;
  text-shadow: 0 0 10px rgba(184, 146, 58, 0.25);
}

.nav-links-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-item-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  white-space: nowrap;
}

.nav-item-link:hover,
.nav-item-link.active {
  color: var(--amber-bright);
}

.nav-indicator-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber-primary);
  opacity: 0;
  transition: opacity 0.2s ease;
  box-shadow: 0 0 6px var(--amber-primary);
}

.nav-item-link.active .nav-indicator-dot {
  opacity: 1;
}

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

.audio-toggle-btn {
  background: #26201A;
  border: 1px solid var(--border-brass);
  color: var(--mustard-secondary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.audio-toggle-btn:hover {
  background: #332314;
  color: var(--amber-bright);
  box-shadow: 0 0 10px rgba(232, 137, 43, 0.3);
}

.btn-bureau-brass {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(180deg, var(--brass) 0%, #8c6a20 100%);
  color: #14110D;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--tva-orange, #E8872B);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-bureau-brass:hover {
  background: linear-gradient(180deg, var(--tva-orange-hot, #FF9F45) 0%, #B8923A 100%);
  box-shadow: 0 0 15px rgba(232, 137, 43, 0.6);
  transform: translateY(-1px);
}

.btn-bureau-secondary {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(239, 230, 210, 0.06);
  color: var(--paper-cream);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-brass);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-bureau-secondary:hover {
  background: rgba(239, 230, 210, 0.12);
  border-color: var(--amber-bright);
  color: var(--amber-bright);
}

.mobile-menu-toggle {
  display: none;
  background: #26201A;
  border: 1px solid var(--border-brass);
  color: var(--amber-bright);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
  flex-shrink: 0;
}

.mobile-menu-toggle:hover {
  background: #332314;
  box-shadow: 0 0 10px rgba(232, 137, 43, 0.3);
}

.mobile-menu-toggle.active .hamburger-icon {
  display: none !important;
}

.mobile-menu-toggle.active .close-icon {
  display: block !important;
}

/* ==========================================================
   MOBILE NAVIGATION DRAWER (TVA RETRO BUREAU THEME)
========================================================== */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.mobile-nav-drawer.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 11, 8, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 86vw);
  height: 100%;
  background: #19120c;
  border-left: 2px solid var(--border-brass);
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px 20px;
  z-index: 2;
}

.mobile-nav-drawer.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.mobile-nav-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--amber-bright);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-tva-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 8px var(--amber-bright);
  animation: pulseRunner 2s infinite ease-in-out;
}

.mobile-nav-close-btn {
  background: transparent;
  border: 1px solid var(--border-brass);
  color: var(--paper-cream);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-nav-close-btn:hover {
  background: rgba(184, 146, 58, 0.12);
  border-color: var(--amber-bright);
  color: var(--amber-bright);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(239, 230, 210, 0.03);
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--paper-cream);
  font-family: var(--font-typewriter);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  min-height: 44px;
}

.mobile-nav-link .nav-sec-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--mustard-secondary);
  border-right: 1px solid var(--border-subtle);
  padding-right: 8px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(63, 181, 160, 0.08);
  border-color: var(--amber-bright);
  color: var(--amber-bright);
}

.mobile-nav-footer {
  margin-top: auto;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-status {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.equipment-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}

/* ==========================================================
   CONTENT LAYOUT & SECTION STAMP SYSTEM
========================================================== */
.main-bureau-content {
  position: relative;
  z-index: 10;
  padding-top: var(--header-height);
}

.bureau-section {
  position: relative;
  padding: 90px clamp(20px, 4vw, 40px);
  max-width: var(--container-max);
  margin: 0 auto;
  transition: opacity 0.4s ease, border-color 0.4s ease;
}

@media (max-width: 768px) {
  .bureau-section {
    padding: 60px 20px;
  }
}

/* Rubber Stamp Styling */
.section-rubber-stamp {
  position: absolute;
  top: 40px;
  right: 30px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.12em;
  padding: 4px 16px;
  border: 3px dashed var(--stamp-red);
  color: var(--stamp-red);
  border-radius: 6px;
  transform: rotate(-6deg);
  opacity: 0.35;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  user-select: none;
  text-shadow: 0 0 4px rgba(200, 67, 47, 0.2);
}

.bureau-section.stamped .section-rubber-stamp {
  opacity: 0.95;
  border-color: var(--stamp-amber);
  color: var(--stamp-amber);
  transform: rotate(-8deg) scale(1.05);
  box-shadow: 0 0 14px rgba(184, 146, 58, 0.25);
}

.bureau-section.stamped-high .section-rubber-stamp {
  border-color: var(--green-phosphor);
  color: var(--green-phosphor);
}

/* Section Header Structure */
.section-header-wrap {
  margin-bottom: 48px;
}

.bureau-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crt-teal);
  background: rgba(63, 181, 160, 0.08);
  border: 1px solid rgba(63, 181, 160, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.bureau-tag.amber {
  color: var(--crt-teal);
  border-color: rgba(63, 181, 160, 0.35);
  background: rgba(63, 181, 160, 0.1);
}

.section-main-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--paper);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-subtext {
  font-family: var(--font-typewriter);
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
}

/* ==========================================================
   1. HERO SECTION
========================================================== */
.hero-bureau-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 40px;
}

.hero-clock-backdrop {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 85vw);
  height: min(560px, 85vw);
  border-radius: 50%;
  border: 4px solid rgba(184, 146, 58, 0.15);
  box-shadow: inset 0 0 40px rgba(184, 146, 58, 0.12);
  pointer-events: none;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clock-face-dial {
  width: 90%;
  height: 90%;
  position: relative;
}

.clock-hand-hour, .clock-hand-min, .clock-hand-sec {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  border-radius: 4px;
}

.clock-hand-hour {
  width: 4px;
  height: 28%;
  background: var(--paper-cream);
  margin-left: -2px;
  transform: rotate(45deg);
}

.clock-hand-min {
  width: 3px;
  height: 40%;
  background: var(--mustard-secondary);
  margin-left: -1.5px;
  transform: rotate(190deg);
}

.clock-hand-sec {
  width: 2px;
  height: 46%;
  background: var(--amber-bright);
  margin-left: -1px;
  box-shadow: 0 0 8px var(--amber-bright);
}

.hero-title-container {
  margin-bottom: 20px;
}

.split-flap-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  margin: 14px 0;
}

.flap-word {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flap-char-box {
  background: #1e1710;
  border: 2px solid var(--border-brass);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8.5vw, 6.2rem);
  line-height: 0.9;
  color: var(--amber-bright);
  text-shadow: 0 0 12px rgba(184, 146, 58, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.flap-char-box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.4);
}

.hero-year-tag {
  position: relative;
  top: clamp(4px, 0.55vw, 6px);
  font-family: var(--font-display, 'Bebas Neue', 'Barlow Condensed', sans-serif);
  font-size: clamp(2.8rem, 7.5vw, 5.4rem);
  font-weight: 800;
  color: var(--paper-cream, #EADFC4);
  line-height: 0.9;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85), 0 0 14px rgba(234, 223, 196, 0.22);
  display: inline-flex;
  align-items: center;
  align-self: center;
  user-select: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(16px);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1) 0.36s, opacity 0.38s ease 0.36s;
  will-change: transform, opacity;
}

.hero-anim-active .hero-year-tag {
  opacity: 1;
  transform: translateY(0);
}

.hero-subhead {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  letter-spacing: 0.1em;
  color: var(--paper-cream);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-tagline {
  font-family: var(--font-typewriter);
  font-size: 1.25rem;
  color: var(--mustard-secondary);
  margin-bottom: 26px;
}

/* ==========================================================
   HERO GRAND PRIZE POOL BANNER (BIG & BOLD)
========================================================== */
.hero-prize-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: linear-gradient(135deg, rgba(32, 26, 20, 0.96) 0%, rgba(20, 16, 12, 0.98) 100%);
  border: 1.5px solid rgba(232, 137, 43, 0.65);
  border-left: 5px solid var(--tva-orange, #E8872B);
  border-radius: var(--radius-md, 8px);
  padding: 16px 24px;
  margin-bottom: 28px;
  max-width: 660px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(232, 137, 43, 0.2), inset 0 0 24px rgba(232, 137, 43, 0.06);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-prize-banner::after {
  content: 'TVA // AUTHORISED BOUNTY';
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: rgba(184, 146, 58, 0.7);
  pointer-events: none;
}

.hero-prize-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mustard-secondary, #B8923A);
  text-transform: uppercase;
}

.prize-sparkle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tva-orange, #E8872B);
  box-shadow: 0 0 10px rgba(232, 137, 43, 0.9);
  animation: prizePipPulse 1.8s infinite ease-in-out;
}

.hero-prize-amount-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1;
}

.hero-prize-currency {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--tva-orange, #E8872B);
  text-shadow: 0 0 14px rgba(232, 137, 43, 0.55);
  line-height: 1;
}

.hero-prize-number {
  font-family: var(--font-display, 'Bebas Neue', 'Barlow Condensed', sans-serif);
  font-size: clamp(3.2rem, 8vw, 5.2rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #FFF3D6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 24px rgba(232, 137, 43, 0.65), 0 0 50px rgba(232, 137, 43, 0.3);
  line-height: 1;
}

.hero-prize-suffix {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--amber-bright, #F2A900);
  text-shadow: 0 0 12px rgba(242, 169, 0, 0.45);
  text-transform: uppercase;
  margin-left: 4px;
}

.hero-prize-subtag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--paper-muted, #B0A28E);
  text-transform: uppercase;
}

.field-value.highlight-prize {
  color: var(--tva-orange, #E8872B) !important;
  font-weight: 800 !important;
  text-shadow: 0 0 12px rgba(232, 137, 43, 0.5);
}

/* Typed Bureau Office Form Strip */
.typed-form-strip {
  background: #1C1813;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  position: relative;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.typed-form-strip::before {
  content: 'FORM OC-77 // INTAKE MANIFEST';
  position: absolute;
  top: -10px;
  left: 18px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  background: #14110D;
  color: var(--mustard-secondary);
  padding: 0 8px;
  border: 1px solid var(--border-subtle);
}

.form-field-unit {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.field-value {
  font-family: var(--font-typewriter);
  font-size: 0.98rem;
  color: var(--paper-cream);
  font-weight: bold;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================
   2. ABOUT — MANILA CASE FILE BRIEFING
========================================================== */
.case-file-dossier {
  background: #26201A;
  border: 2px solid #3d2d1e;
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.case-file-tab {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--mustard-secondary);
  color: #14110D;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 18px;
  border-bottom-left-radius: var(--radius-sm);
  letter-spacing: 0.06em;
}

.case-notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.case-note-card {
  background: var(--paper-cream);
  color: var(--ink-charcoal);
  padding: 24px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  position: relative;
  font-family: var(--font-typewriter);
  transition: box-shadow var(--transition-fast);
}

.case-note-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.paperclip-graphic {
  position: absolute;
  top: -10px;
  left: 20px;
  width: 14px;
  height: 28px;
  border: 2px solid #888;
  border-radius: 8px;
  border-bottom: none;
  background: transparent;
  pointer-events: none;
}

.note-header-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #8c421e;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: bold;
}

.note-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #1C1813;
  margin-bottom: 10px;
}

.note-body {
  font-size: 0.92rem;
  line-height: 1.45;
  color: #383028;
}

/* ==========================================================
   TVA REGISTER NOW CALL TO ACTION & CLOSING DOMAIN BANNER
========================================================== */
.registration-cta-block {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.btn-registration-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #2c1a0e 0%, #1a100a 60%, #26201A 100%);
  color: var(--paper-cream);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1.5px solid var(--border-brass);
  border-radius: var(--radius-sm);
  position: relative;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5),
              inset 0 0 10px rgba(184, 146, 58, 0.12);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  min-height: 48px;
  box-sizing: border-box;
}

.btn-reg-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 8px var(--amber-glow);
  display: inline-block;
}

.btn-reg-text {
  color: var(--paper-cream);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.btn-reg-arrow {
  color: var(--amber-bright);
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

/* Pending / Disabled State */
.btn-registration-cta[disabled],
.btn-registration-cta.is-pending {
  cursor: not-allowed;
  opacity: 0.88;
  border-color: rgba(184, 146, 58, 0.5);
  background: linear-gradient(135deg, #24160d 0%, #150d08 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4),
              inset 0 0 6px rgba(184, 146, 58, 0.08);
}

.btn-registration-cta:not([disabled]):hover {
  border-color: var(--amber-bright);
  background: linear-gradient(135deg, #3a2213 0%, #25160d 100%);
  box-shadow: 0 6px 24px rgba(232, 137, 43, 0.4),
              inset 0 0 14px rgba(255, 179, 71, 0.25);
  transform: translateY(-2px);
}

.btn-registration-cta:not([disabled]):hover .btn-reg-arrow {
  transform: translate(2px, -2px);
}

/* Status bar beneath registration button */
.registration-status-bar {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 8px;
  background: rgba(18, 13, 9, 0.8);
  border: 1px solid rgba(184, 146, 58, 0.22);
  border-radius: 4px;
}

.status-lamp-mini {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-lamp-mini.pending {
  background: var(--amber-bright);
  box-shadow: 0 0 6px var(--amber-glow);
  animation: pendingBlink 2.2s infinite ease-in-out;
}

.status-lamp-mini.live {
  background: var(--green-phosphor);
  box-shadow: 0 0 8px var(--green-phosphor);
}

@keyframes pendingBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.registration-status-text {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber-bright);
  text-transform: uppercase;
}

/* Secondary CTA Card (End of Problem Domains Section) */
.domain-closing-cta-card {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(28, 24, 19, 0.92) 0%, rgba(16, 11, 7, 0.94) 100%);
  border: 1.5px solid var(--border-brass);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65),
              inset 0 0 20px rgba(184, 146, 58, 0.05);
  position: relative;
  overflow: hidden;
}

.domain-closing-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--amber-bright);
  box-shadow: 0 0 12px var(--amber-bright);
}

.domain-cta-content {
  flex: 1;
  max-width: 640px;
}

.domain-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--paper-cream);
  letter-spacing: 0.04em;
  margin: 10px 0 10px;
  line-height: 1.2;
}

.domain-cta-text {
  font-family: var(--font-typewriter);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================
   2.1 OPERATIONAL STATUS PANEL (EVENT BRIEFING)
========================================================== */
.operational-status-panel {
  background: #1C1813;
  border: 2px solid var(--border-brass);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), inset 0 0 20px rgba(184, 146, 58, 0.1);
  margin-top: 28px;
}

.panel-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1f1610;
  border-bottom: 2px solid var(--border-brass);
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.panel-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper-cream);
}

.status-indicator-lamp {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 10px var(--amber-bright);
  animation: lampPulse 2s infinite ease-in-out;
}

@keyframes lampPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.9); }
}

.panel-header-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--crt-teal);
  background: rgba(63, 181, 160, 0.08);
  border: 1px solid rgba(63, 181, 160, 0.3);
  padding: 2px 10px;
  border-radius: 2px;
}

.status-readout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border-dim);
}

.status-cell {
  background: #1C1813;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.status-cell.span-full {
  grid-column: 1 / -1;
  background: #1C1813;
  border-top: 1px solid var(--border-brass);
}

.status-k {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-v {
  font-family: var(--font-typewriter);
  font-size: 1.05rem;
  color: var(--paper-cream);
  font-weight: 700;
}

.status-v.highlight {
  color: var(--amber-bright);
}

.status-v.highlight-amber {
  color: var(--tva-orange, #E8872B);
  letter-spacing: 0.05em;
}

/* ==========================================================
   03. PROBLEM STATEMENTS — SIX DOMAIN SLOTS (3x2 BALANCED GRID)
========================================================== */
.domain-slots-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
  gap: 28px 24px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  align-items: stretch;
  justify-items: stretch;
  box-sizing: border-box;
}

.domain-slots-grid > .domain-slot-card {
  width: 100%;
  height: 100%;
  align-self: stretch;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .domain-slots-grid > .domain-slot-card {
    grid-column: span 2;
  }
}

/* Sibling focus spotlight: gentle dimming so hovered card is prominently clear */
@media (hover: hover) and (pointer: fine) {
  .domain-slots-grid:hover > .domain-slot-card:not(:hover) {
    opacity: 0.82;
    filter: brightness(0.92);
    transition: opacity 0.25s ease, filter 0.25s ease;
  }
}

/* Tablet: 2 columns */
@media (max-width: 991px) and (min-width: 641px) {
  .domain-slots-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
  }
  .domain-slots-grid > .domain-slot-card {
    grid-column: auto !important;
  }
}

/* Mobile: 1 column */
@media (max-width: 640px) {
  .domain-slots-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .domain-slots-grid > .domain-slot-card {
    grid-column: auto !important;
  }
}

.domain-slot-card {
  background: #1C1813;
  border: 2px solid var(--border-dim);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  position: relative;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  z-index: 1;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s ease, opacity 0.25s ease;
}

.domain-slot-card:hover {
  transform: translateY(-8px);
  z-index: 10;
}

/* 6 Distinct Phosphor Accent Systems & Vibrant Illuminated Hover States */
.domain-slot-card.slot-amber { border-color: rgba(214, 138, 46, 0.4); }
.domain-slot-card.slot-amber:hover {
  border-color: #FFA500;
  background: radial-gradient(circle at 50% 0%, rgba(232, 137, 43, 0.24) 0%, rgba(32, 22, 14, 0.99) 60%, #17100a 100%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 28px rgba(232, 137, 43, 0.45);
}

.domain-slot-card.slot-cyan { border-color: rgba(0, 229, 255, 0.35); }
.domain-slot-card.slot-cyan:hover {
  border-color: #00F0FF;
  background: radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.24) 0%, rgba(14, 26, 32, 0.99) 60%, #0a1418 100%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 28px rgba(0, 229, 255, 0.4);
}

.domain-slot-card.slot-emerald { border-color: rgba(0, 230, 118, 0.35); }
.domain-slot-card.slot-emerald:hover {
  border-color: #00FF85;
  background: radial-gradient(circle at 50% 0%, rgba(0, 230, 118, 0.24) 0%, rgba(14, 28, 18, 0.99) 60%, #0a160d 100%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 28px rgba(0, 230, 118, 0.4);
}

.domain-slot-card.slot-violet { border-color: rgba(187, 134, 252, 0.35); }
.domain-slot-card.slot-violet:hover {
  border-color: #D4A5FF;
  background: radial-gradient(circle at 50% 0%, rgba(187, 134, 252, 0.24) 0%, rgba(26, 16, 36, 0.99) 60%, #12091a 100%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 28px rgba(187, 134, 252, 0.4);
}

.domain-slot-card.slot-copper { border-color: rgba(255, 140, 66, 0.35); }
.domain-slot-card.slot-copper:hover {
  border-color: #FFA05C;
  background: radial-gradient(circle at 50% 0%, rgba(255, 140, 66, 0.24) 0%, rgba(32, 19, 12, 0.99) 60%, #180d07 100%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 28px rgba(255, 140, 66, 0.4);
}

.domain-slot-card.slot-ruby { border-color: rgba(255, 75, 110, 0.4); }
.domain-slot-card.slot-ruby:hover {
  border-color: #FF5E80;
  background: radial-gradient(circle at 50% 0%, rgba(255, 75, 110, 0.26) 0%, rgba(34, 14, 20, 0.99) 60%, #190910 100%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 28px rgba(255, 75, 110, 0.45);
}

.domain-slot-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #14110D;
  padding: 10px 14px;
  height: 42px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(184, 146, 58, 0.15);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.domain-slot-card:hover .domain-slot-topbar {
  background: #1c140d;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.slot-badge {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper-cream);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.slot-amber:hover .slot-badge { color: #D68A2E; text-shadow: 0 0 8px rgba(214, 138, 46, 0.6); }
.slot-cyan:hover .slot-badge { color: #38B8CA; text-shadow: 0 0 8px rgba(56, 184, 202, 0.6); }
.slot-emerald:hover .slot-badge { color: #56B870; text-shadow: 0 0 8px rgba(86, 184, 112, 0.6); }
.slot-violet:hover .slot-badge { color: #9B78D6; text-shadow: 0 0 8px rgba(155, 120, 214, 0.6); }
.slot-copper:hover .slot-badge { color: #C67D3A; text-shadow: 0 0 8px rgba(198, 125, 58, 0.6); }
.slot-ruby:hover .slot-badge { color: #C64E5E; text-shadow: 0 0 8px rgba(198, 78, 94, 0.6); }

.slot-freq {
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.domain-slot-card:hover .slot-freq {
  color: #FFFFFF;
}

.domain-screen-display {
  background: #14110D;
  padding: 14px 14px 8px;
  height: 108px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dim);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.92), inset 0 1px 1px rgba(184, 146, 58, 0.15);
  cursor: crosshair;
  transition: border-color 0.2s ease;
}

.domain-slot-card:hover .domain-screen-display {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.screen-reticle-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(184, 146, 58, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(184, 146, 58, 0.055) 1px, transparent 1px);
  background-size: 28px 14px;
  pointer-events: none;
}

.screen-scanlines {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 12, 0) 50%, rgba(0, 0, 0, 0.45) 50%);
  background-size: 100% 3px;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.domain-slot-card:hover .screen-scanlines {
  opacity: 0.25;
}

.screen-crt-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0.7;
}

.domain-slot-card:hover .screen-crt-glow,
.domain-slot-card.scope-probed .screen-crt-glow {
  opacity: 1.0;
}

.slot-amber .screen-crt-glow { background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(214, 138, 46, 0.14) 0%, transparent 80%); }
.slot-cyan .screen-crt-glow { background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(56, 184, 202, 0.14) 0%, transparent 80%); }
.slot-emerald .screen-crt-glow { background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(86, 184, 112, 0.14) 0%, transparent 80%); }
.slot-violet .screen-crt-glow { background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(155, 120, 214, 0.14) 0%, transparent 80%); }
.slot-copper .screen-crt-glow { background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(198, 125, 58, 0.14) 0%, transparent 80%); }
.slot-ruby .screen-crt-glow { background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(198, 78, 94, 0.14) 0%, transparent 80%); }

.screen-waveform-container {
  width: 100%;
  height: 54px;
  position: relative;
}

.domain-scope-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.waveform-svg.fallback-wave {
  display: none;
}

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

.carrier-wave {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  animation: waveScrub 6s linear infinite;
}

@keyframes waveScrub {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 140; }
}

.amber-wave { stroke: #D68A2E; stroke-dasharray: 6 3; }
.cyan-wave { stroke: #38B8CA; stroke-dasharray: 8 4; }
.emerald-wave { stroke: #56B870; stroke-dasharray: 7 3; }
.violet-wave { stroke: #9B78D6; stroke-dasharray: 6 4; }
.copper-wave { stroke: #C67D3A; stroke-dasharray: 8 3; }
.ruby-wave { stroke: #C64E5E; stroke-dasharray: 7 4; }

.slot-channel-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-align: right;
  margin-top: 5px;
  transition: color 0.18s ease, text-shadow 0.18s ease;
  position: relative;
  z-index: 2;
}

.slot-channel-tag.telemetry-active {
  font-weight: 700;
}

.slot-amber .slot-channel-tag.telemetry-active {
  color: var(--paper);
  text-shadow: 0 0 7px rgba(255, 157, 59, 0.65);
}

.slot-cyan .slot-channel-tag.telemetry-active {
  color: #E0FFFF;
  text-shadow: 0 0 7px rgba(0, 229, 255, 0.65);
}

.slot-emerald .slot-channel-tag.telemetry-active {
  color: #E8F5E9;
  text-shadow: 0 0 7px rgba(0, 230, 118, 0.65);
}

.slot-violet .slot-channel-tag.telemetry-active {
  color: #F3E5F5;
  text-shadow: 0 0 7px rgba(187, 134, 252, 0.65);
}

.slot-copper .slot-channel-tag.telemetry-active {
  color: #FFE0B2;
  text-shadow: 0 0 7px rgba(255, 140, 66, 0.65);
}

.slot-ruby .slot-channel-tag.telemetry-active {
  color: #FFCDD2;
  text-shadow: 0 0 7px rgba(255, 75, 110, 0.65);
}

.slot-content-chamber {
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 14px;
  box-sizing: border-box;
}

.slot-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: 0.04em;
  color: var(--mustard-secondary);
  background: rgba(184, 146, 58, 0.08);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(184, 146, 58, 0.25);
  min-height: 32px;
  height: 32px;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.domain-slot-card:hover .slot-status-indicator {
  background: rgba(184, 146, 58, 0.15);
  border-color: rgba(184, 146, 58, 0.5);
  color: #FFE8BF;
}

.status-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot-pulse.amber { background: var(--amber-bright); box-shadow: 0 0 6px var(--amber-bright); }
.status-dot-pulse.cyan { background: #38B8CA; box-shadow: 0 0 6px #38B8CA; }
.status-dot-pulse.emerald { background: #56B870; box-shadow: 0 0 6px #56B870; }
.status-dot-pulse.violet { background: #9B78D6; box-shadow: 0 0 6px #9B78D6; }
.status-dot-pulse.copper { background: #C67D3A; box-shadow: 0 0 6px #C67D3A; }
.status-dot-pulse.ruby { background: #C64E5E; box-shadow: 0 0 6px #C64E5E; }

/* Real Domain Slot Typography & Component Styles — Identical Harmonized Sizing */
.slot-title {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 1.48rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
  text-transform: uppercase;
  min-height: 3.85rem;
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: color 0.2s ease, text-shadow 0.2s ease, letter-spacing 0.2s ease;
}

.domain-slot-card:hover .slot-title {
  color: #ffffff;
  letter-spacing: 0.04em;
}
.slot-amber:hover .slot-title { text-shadow: 0 0 18px rgba(255, 157, 59, 0.85), 0 0 3px #ffffff; }
.slot-cyan:hover .slot-title { text-shadow: 0 0 18px rgba(0, 229, 255, 0.85), 0 0 3px #ffffff; }
.slot-emerald:hover .slot-title { text-shadow: 0 0 18px rgba(0, 230, 118, 0.85), 0 0 3px #ffffff; }
.slot-violet:hover .slot-title { text-shadow: 0 0 18px rgba(187, 134, 252, 0.85), 0 0 3px #ffffff; }
.slot-copper:hover .slot-title { text-shadow: 0 0 18px rgba(255, 140, 66, 0.85), 0 0 3px #ffffff; }
.slot-ruby:hover .slot-title { text-shadow: 0 0 18px rgba(255, 75, 110, 0.85), 0 0 3px #ffffff; }

.slot-desc {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.84rem;
  line-height: 1.52;
  color: rgba(230, 215, 195, 0.88);
  margin: 0;
  min-height: 6.85rem;
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.domain-slot-card:hover .slot-desc {
  color: #ffffff;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

.slot-subtopics-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
  min-height: 114px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.subtopics-label,
.audience-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--amber-bright);
  margin: 0;
  flex-shrink: 0;
  transition: filter 0.2s ease, letter-spacing 0.2s ease;
}

.domain-slot-card:hover .subtopics-label,
.domain-slot-card:hover .audience-label {
  filter: brightness(1.3);
  letter-spacing: 0.14em;
}

.slot-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 86px;
  align-content: flex-start;
  box-sizing: border-box;
}

.slot-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.69rem;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(184, 146, 58, 0.22);
  border-radius: var(--radius-sm);
  color: rgba(239, 230, 210, 0.85);
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.domain-slot-card:hover .slot-tag {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.slot-amber:hover .slot-tag { border-color: rgba(232, 137, 43, 0.65); color: #FFE8D0; }
.slot-cyan:hover .slot-tag { border-color: rgba(0, 229, 255, 0.65); color: #E0FFFF; }
.slot-emerald:hover .slot-tag { border-color: rgba(0, 230, 118, 0.65); color: #E8F5E9; }
.slot-violet:hover .slot-tag { border-color: rgba(187, 134, 252, 0.65); color: #F3E5F5; }
.slot-copper:hover .slot-tag { border-color: rgba(255, 140, 66, 0.65); color: #FFE8D0; }
.slot-ruby:hover .slot-tag { border-color: rgba(255, 75, 110, 0.65); color: #FFCDD2; }

.slot-audience-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.80rem;
  color: rgba(220, 200, 180, 0.82);
  line-height: 1.4;
  min-height: 68px;
  box-sizing: border-box;
  justify-content: flex-start;
  flex-shrink: 0;
}

.audience-text {
  color: rgba(220, 205, 190, 0.9);
  transition: color 0.2s ease;
}

.domain-slot-card:hover .audience-text {
  color: #ffffff;
  font-weight: 500;
}

.slot-teaser-box {
  background: rgba(28, 24, 19, 0.75);
  border: 1px solid rgba(184, 146, 58, 0.22);
  border-left: 3px solid var(--amber-bright);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-style: italic;
  font-size: 0.78rem;
  color: #ffd080;
  line-height: 1.44;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 80px;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.domain-slot-card:hover .slot-teaser-box {
  background: rgba(28, 24, 19, 0.96);
  border-color: rgba(184, 146, 58, 0.5);
  color: #FFF2D6;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.slot-teaser-box .teaser-icon {
  font-style: normal;
  color: var(--amber-bright);
  font-size: 0.85rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.slot-teaser-box .teaser-text {
  flex-grow: 1;
}

/* ==========================================================
   PROBLEM STATEMENTS RELEASED ANNOUNCEMENT & DOSSIER ACTIONS
========================================================== */
.domain-release-kicker-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(38, 28, 18, 0.96) 0%, rgba(22, 16, 10, 0.98) 100%);
  border: 1.5px solid rgba(232, 137, 43, 0.75);
  border-left: 5px solid var(--tva-orange, #E8872B);
  border-radius: var(--radius-sm, 6px);
  padding: 10px 18px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 16px rgba(232, 137, 43, 0.22);
  flex-wrap: wrap;
  max-width: 900px;
}

.release-spark-pip {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tva-orange, #E8872B);
  box-shadow: 0 0 12px rgba(232, 137, 43, 0.95);
  animation: prizePipPulse 1.8s infinite ease-in-out;
  flex-shrink: 0;
}

.release-kicker-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--mustard-secondary, #B8923A);
  text-transform: uppercase;
}

.release-kicker-strong {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #FFF3D6;
  text-shadow: 0 0 10px rgba(232, 137, 43, 0.6);
  text-transform: uppercase;
}

.release-kicker-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--paper-muted, #B0A28E);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Domain Card Dossier Action Box */
.slot-dossier-actions {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(184, 146, 58, 0.28);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.dossier-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.dossier-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dossier-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: prizePipPulse 2s infinite ease-in-out;
  flex-shrink: 0;
}

.slot-amber .dossier-dot { background: #E8872B; box-shadow: 0 0 8px #E8872B; }
.slot-amber .dossier-status-badge { color: #E8872B; }

.slot-cyan .dossier-dot { background: #00F0FF; box-shadow: 0 0 8px #00F0FF; }
.slot-cyan .dossier-status-badge { color: #00F0FF; }

.slot-emerald .dossier-dot { background: #00FF85; box-shadow: 0 0 8px #00FF85; }
.slot-emerald .dossier-status-badge { color: #00FF85; }

.slot-violet .dossier-dot { background: #D4A5FF; box-shadow: 0 0 8px #D4A5FF; }
.slot-violet .dossier-status-badge { color: #D4A5FF; }

.slot-copper .dossier-dot { background: #FFA05C; box-shadow: 0 0 8px #FFA05C; }
.slot-copper .dossier-status-badge { color: #FFA05C; }

.slot-ruby .dossier-dot { background: #FF5E80; box-shadow: 0 0 8px #FF5E80; }
.slot-ruby .dossier-status-badge { color: #FF5E80; }

.dossier-view-link {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mustard-secondary, #B8923A);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.dossier-view-link .view-link-arrow {
  font-size: 0.74rem;
  transition: transform 0.2s ease;
}

.dossier-view-link:hover {
  color: #FFF2D6;
  background: rgba(184, 146, 58, 0.16);
  text-shadow: 0 0 8px rgba(255, 242, 214, 0.4);
}

.dossier-view-link:hover .view-link-arrow {
  transform: translate(2px, -2px);
}

/* Big Attractive Problem Statement Download Button (matches user design exactly) */
.btn-domain-download-pdf {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  min-height: 48px;
  background: linear-gradient(180deg, #B48E36 0%, #A27E2D 50%, #906E24 100%);
  border: 2px solid #E8872A;
  border-radius: 6px;
  color: #15110C;
  font-family: var(--font-mono, 'IBM Plex Mono', 'Space Mono', monospace);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(232, 135, 42, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-domain-download-pdf .btn-dl-symbol {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  display: inline-block;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-domain-download-pdf .btn-dl-text {
  line-height: 1;
}

.btn-domain-download-pdf:hover {
  background: linear-gradient(180deg, #D5A73F 0%, #BC9337 50%, #9E7725 100%);
  border-color: #FFA533;
  color: #0A0805;
  box-shadow: 0 0 24px rgba(232, 135, 42, 0.6), 0 6px 18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.btn-domain-download-pdf:hover .btn-dl-symbol {
  transform: translateY(2px);
}

.btn-domain-download-pdf:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(232, 135, 42, 0.4);
}

.slot-action-area {
  margin-top: auto;
  padding-top: 12px;
  box-sizing: border-box;
}

.slot-pending-btn {
  width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(184, 146, 58, 0.3);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono, monospace);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.domain-slot-card:hover .slot-pending-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 16px rgba(184, 146, 58, 0.3);
}

/* Phase 7 Problem Statement Template Styles */
.problem-statement-dossier {
  background: #1a130c;
  border: 2px solid var(--border-brass);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 20px;
}

.ps-meta-row {
  display: flex;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  margin-bottom: 8px;
}

.ps-id-tag {
  color: var(--amber-bright);
  font-weight: bold;
}

.ps-domain-tag {
  color: var(--mustard-secondary);
}

.ps-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--paper-cream);
  margin-bottom: 20px;
}

.ps-subhead {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--amber-bright);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.ps-content {
  font-family: var(--font-typewriter);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.ps-list {
  font-family: var(--font-typewriter);
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 20px;
  margin-bottom: 16px;
}

/* ==========================================================
   04. RESULTS — SHORTLISTED TEAMS (TELETYPE CHAMBER)
========================================================== */
.results-dossier-chamber {
  background: #150f0a;
  border: 2px solid var(--border-brass);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65);
}

.dossier-teletype-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1f1610;
  border-bottom: 2px solid var(--border-brass);
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.teletype-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper-cream);
  font-weight: bold;
}

.teletype-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tva-orange, #E8872B);
  box-shadow: 0 0 10px var(--tva-orange, #E8872B);
}

.teletype-code {
  color: var(--text-dim);
}

.results-status-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border-dim);
}

.status-data-column {
  background: #1C1813;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.status-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.status-date-val {
  font-family: var(--font-typewriter);
  font-size: 1.3rem;
  color: var(--amber-bright);
  font-weight: bold;
}

.status-state-val {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--paper-cream);
  letter-spacing: 0.05em;
}

.results-notice-body {
  padding: 24px 28px;
  background: #1C1813;
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  position: relative;
  overflow: hidden;
}

.notice-stamp-graphic {
  position: absolute;
  right: 20px;
  top: 15px;
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(196, 69, 45, 0.15);
  transform: rotate(-8deg);
  border: 3px dashed rgba(196, 69, 45, 0.25);
  padding: 6px 18px;
  border-radius: 4px;
  pointer-events: none;
}

.notice-paragraph {
  font-family: var(--font-typewriter);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
  max-width: 860px;
}

.results-roster-chamber {
  padding: 32px 28px;
  background: #110d08;
}

.roster-standby-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-dim);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
}

/* ==========================================================
   05. OVERCLOCK – TVA TEMPAD TEMPORAL NAVIGATION SYSTEM
   Marvel Loki / TVA / TemPad-Inspired Aesthetic:
   - Horizontal serpentine winding path (Row 1: 01->02->03, Row 2: 04<-05<-06)
   - Miniature futuristic holographic TemPad checkpoints with concentric rings,
     radial chronometric indicators, scanlines, and central glowing cores
   - Dynamic path surge illumination connecting active checkpoints
   - Transmitted holographic TemPad dossiers with viewport overflow protection
========================================================== */

:root {
  --tva-charcoal: #101612;
  --tva-olive: #28372B;
  --tva-amber: #E99527;
  --tva-gold: #F2B64B;
  --tva-cream: #F2E9D8;
  --tva-muted-grey: #A6A090;
  --tva-teal: #35B8A6;
  --tva-glow-amber: rgba(233, 149, 39, 0.45);
  --tva-glow-gold: rgba(242, 182, 75, 0.4);
}

/* Master Timeline Section & Container */
#timeline.bureau-section {
  position: relative;
  overflow: visible;
  padding-bottom: 80px;
}

.tva-temporal-timeline {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 32px auto 0;
  padding: 0 16px;
  box-sizing: border-box;
}

/* --- TemPad Telemetry Status Header Bar --- */
.tva-timeline-telemetry-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(16, 22, 18, 0.90);
  border: 1px solid rgba(233, 149, 39, 0.4);
  border-radius: 6px;
  padding: 10px 18px;
  margin-bottom: 30px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6), inset 0 0 14px rgba(233, 149, 39, 0.1);
}

.telemetry-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.telemetry-status .telemetry-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tva-teal);
  box-shadow: 0 0 8px var(--tva-teal);
  animation: telemetryPulse 2.5s infinite ease-in-out;
}

@keyframes telemetryPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

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

.telemetry-value {
  color: var(--tva-gold);
  font-weight: 600;
}

.telemetry-hint {
  color: var(--tva-cream);
  font-size: 0.72rem;
}

.telemetry-hint .telemetry-key {
  color: var(--tva-teal);
  font-weight: 600;
}

/* --- Serpentine Timeline Desktop Wrapper --- */
.tva-serpentine-wrapper {
  position: relative;
  width: 100%;
  min-height: 660px;
  height: 660px;
  margin: 0 auto;
}

/* Continuous SVG Golden Energy Path Canvas */
.tva-serpentine-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

/* Faint Base Guide Track */
.tva-serpentine-base-path {
  stroke: rgba(233, 149, 39, 0.22);
  stroke-width: 2.4;
  stroke-dasharray: 6 5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 3px rgba(233, 149, 39, 0.2));
}

/* Active Golden Energy Path */
.tva-serpentine-active-path {
  stroke: url(#tvaGoldEnergyGradient);
  stroke-width: 3.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(242, 182, 75, 0.65)) drop-shadow(0 0 14px rgba(233, 149, 39, 0.45));
  stroke-dasharray: 3200;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.35s ease-out;
}

/* Individual Surge Segments Connecting Selected TemPads */
.tva-tempad-segment {
  fill: none;
  stroke: url(#tvaSurgeEnergyGradient);
  stroke-width: 4.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px #F2B64B) drop-shadow(0 0 16px rgba(233, 149, 39, 0.6));
  opacity: 0;
  transition: opacity 0.4s ease, stroke-width 0.4s ease;
}

.tva-tempad-segment.is-surge {
  opacity: 1;
  animation: segmentSurgeGlow 2s infinite ease-in-out alternate;
}

@keyframes segmentSurgeGlow {
  0% { filter: drop-shadow(0 0 6px #F2B64B) drop-shadow(0 0 12px rgba(233, 149, 39, 0.5)); }
  100% { filter: drop-shadow(0 0 12px #FFFFFF) drop-shadow(0 0 24px #E99527); }
}

/* Flow Direction Chevrons along Path */
.tva-flow-arrow {
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.tva-temporal-timeline:hover .tva-flow-arrow {
  opacity: 1;
}

/* Traveling Golden Energy Sparks */
.tva-particle-spark {
  transform-origin: center;
  opacity: 0.95;
}

.tva-particle-spark.spark-primary {
  fill: var(--tva-gold);
}

.tva-particle-spark.spark-secondary {
  fill: var(--tva-amber);
}

/* --- TVA TemPad Milestone Checkpoint Nodes --- */
.tva-milestone-node {
  position: absolute;
  z-index: 10;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tva-milestone-node:hover,
.tva-milestone-node:focus-within,
.tva-milestone-node.is-active {
  z-index: 120;
}

/* Revealed entrance state */
.tva-milestone-node.is-revealed,
.tva-temporal-timeline.timeline-active .tva-milestone-node {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Staggered node placements (matched to SVG trajectory baseline: Y=185px / 28% and Y=485px / 73.5%) */
.node-pos-1 { left: 11.67%; top: 28%; transition-delay: 0.1s; }
.node-pos-2 { left: 50%; top: 28%; transition-delay: 0.25s; }
.node-pos-3 { left: 88.33%; top: 28%; transition-delay: 0.4s; }
.node-pos-4 { left: 88.33%; top: 73.5%; transition-delay: 0.55s; }
.node-pos-5 { left: 50%; top: 73.5%; transition-delay: 0.7s; }
.node-pos-6 { left: 11.67%; top: 73.5%; transition-delay: 0.85s; }

/* Focus outline for accessibility */
.tva-milestone-node:focus-visible .tva-tempad-device {
  box-shadow: 0 0 0 3px var(--tva-teal), 0 0 24px var(--tva-amber);
}

/* ==========================================================
   MINIATURE FUTURISTIC HOLOGRAPHIC TEMPAD INTERFACE
========================================================== */
.tva-tempad-device {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2),
              box-shadow 0.4s ease;
  user-select: none;
}

/* Metallic TemPad Chassis Outer Bezel */
.tempad-chassis-bezel {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle, #251E17 60%, #15110D 100%);
  border: 1.8px solid rgba(242, 182, 75, 0.65);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.9),
              inset 0 0 8px rgba(0, 0, 0, 0.95),
              0 0 12px rgba(233, 149, 39, 0.25);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Bezel Micro Screws */
.tempad-screw {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #B8923A;
  box-shadow: inset 0.5px 0.5px 1px #000;
}
.screw-tl { top: 4px; left: 5px; }
.screw-tr { top: 4px; right: 5px; }
.screw-bl { bottom: 4px; left: 5px; }
.screw-br { bottom: 4px; right: 5px; }

/* Mini Technical Brand Label */
.tempad-label-brand {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.50rem;
  font-weight: 700;
  color: var(--tva-teal);
  letter-spacing: 0.08em;
  background: rgba(16, 22, 18, 0.95);
  padding: 1px 4px;
  border: 1px solid rgba(53, 184, 166, 0.35);
  border-radius: 2px;
  white-space: nowrap;
}

/* Mini Status LED */
.tempad-status-dot {
  position: absolute;
  bottom: -2px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tva-amber);
  box-shadow: 0 0 6px var(--tva-amber);
}

/* Holographic Projection Ambient Field */
.tempad-holo-field {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 182, 75, 0.32) 0%, rgba(233, 149, 39, 0.12) 50%, transparent 72%);
  opacity: 0.75;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

/* 12 Fine Radial Indicators around Circumference */
.tempad-radial-ticks {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
}

.radial-tick {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.2px;
  height: 4px;
  background: rgba(242, 182, 75, 0.65);
  border-radius: 1px;
  transform-origin: center center;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, height 0.25s ease;
}

/* Position 12 Ticks at 30 degree increments (radius = 24px for 58px chassis) */
.tick-1  { transform: translate(-50%, -50%) rotate(0deg) translateY(-24px); }
.tick-2  { transform: translate(-50%, -50%) rotate(30deg) translateY(-24px); }
.tick-3  { transform: translate(-50%, -50%) rotate(60deg) translateY(-24px); }
.tick-4  { transform: translate(-50%, -50%) rotate(90deg) translateY(-24px); }
.tick-5  { transform: translate(-50%, -50%) rotate(120deg) translateY(-24px); }
.tick-6  { transform: translate(-50%, -50%) rotate(150deg) translateY(-24px); }
.tick-7  { transform: translate(-50%, -50%) rotate(180deg) translateY(-24px); }
.tick-8  { transform: translate(-50%, -50%) rotate(210deg) translateY(-24px); }
.tick-9  { transform: translate(-50%, -50%) rotate(240deg) translateY(-24px); }
.tick-10 { transform: translate(-50%, -50%) rotate(270deg) translateY(-24px); }
.tick-11 { transform: translate(-50%, -50%) rotate(300deg) translateY(-24px); }
.tick-12 { transform: translate(-50%, -50%) rotate(330deg) translateY(-24px); }

/* Rotating Outer Concentric Ring */
.tempad-ring-outer {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1.2px dashed rgba(242, 182, 75, 0.75);
  animation: portalSpinClockwise 28s linear infinite;
  box-shadow: 0 0 8px rgba(233, 149, 39, 0.3);
  z-index: 2;
}

/* Counter-Rotating Middle Concentric Reticle Ring */
.tempad-ring-middle {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 1.1px solid rgba(233, 149, 39, 0.65);
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: portalSpinCounter 16s linear infinite;
  z-index: 2;
}

/* Inner Holographic Display Dial with CRT Scanlines */
.tempad-dial-inner {
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: radial-gradient(circle, #1A261E 0%, #101612 100%);
  border: 1.1px solid rgba(242, 182, 75, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 3;
}

.tempad-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.45) 2px,
    rgba(0, 0, 0, 0.45) 4px
  );
  pointer-events: none;
  opacity: 0.6;
}

/* Prominent Central Milestone Number */
.tempad-milestone-digit {
  font-family: 'Barlow Condensed', 'Bebas Neue', var(--font-mono);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--tva-cream);
  letter-spacing: 0.05em;
  text-shadow: 0 0 6px var(--tva-gold);
  z-index: 4;
  transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

/* Small Central Glowing Orange Core (Singularity Pulse) */
.tempad-energy-core {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFFFFF 0%, var(--tva-gold) 40%, var(--tva-amber) 100%);
  box-shadow: 0 0 8px #FFFFFF, 0 0 14px var(--tva-amber);
  animation: singularityPulse 3s ease-in-out infinite alternate;
  z-index: 5;
  pointer-events: none;
  opacity: 0.85;
}

/* Device Reference Tag Stamp (Hidden on compact TemPad to avoid cluttering connector stems) */
.tempad-id-stamp {
  display: none;
}

/* ==========================================================
   TEMPAD HOVER & ACTIVE INTERACTION STATES
========================================================== */

/* Hover State */
.tva-milestone-node:hover .tva-tempad-device,
.tva-milestone-node.is-active .tva-tempad-device {
  transform: scale(1.15);
}

.tva-milestone-node:hover .tempad-holo-field,
.tva-milestone-node.is-active .tempad-holo-field {
  opacity: 1;
  transform: scale(1.35);
  background: radial-gradient(circle, rgba(242, 182, 75, 0.48) 0%, rgba(233, 149, 39, 0.28) 50%, transparent 75%);
}

.tva-milestone-node:hover .tempad-chassis-bezel,
.tva-milestone-node.is-active .tempad-chassis-bezel {
  border-color: var(--tva-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.95),
              0 0 20px rgba(242, 182, 75, 0.55),
              inset 0 0 12px rgba(233, 149, 39, 0.35);
}

/* Outer rings rotate faster on hover */
.tva-milestone-node:hover .tempad-ring-outer,
.tva-milestone-node.is-active .tempad-ring-outer {
  border-color: var(--tva-gold);
  animation-duration: 9s;
  box-shadow: 0 0 14px rgba(242, 182, 75, 0.7);
}

.tva-milestone-node:hover .tempad-ring-middle,
.tva-milestone-node.is-active .tempad-ring-middle {
  border-color: var(--tva-gold);
  animation-duration: 5s;
}

/* Sequential illumination of radial indicators on hover */
.tva-milestone-node:hover .radial-tick,
.tva-milestone-node.is-active .radial-tick {
  background: #FFFFFF;
  box-shadow: 0 0 8px var(--tva-gold), 0 0 14px var(--tva-amber);
  height: 6px;
}
.tva-milestone-node:hover .tick-1  { transition-delay: 0.02s; }
.tva-milestone-node:hover .tick-2  { transition-delay: 0.05s; }
.tva-milestone-node:hover .tick-3  { transition-delay: 0.08s; }
.tva-milestone-node:hover .tick-4  { transition-delay: 0.11s; }
.tva-milestone-node:hover .tick-5  { transition-delay: 0.14s; }
.tva-milestone-node:hover .tick-6  { transition-delay: 0.17s; }
.tva-milestone-node:hover .tick-7  { transition-delay: 0.20s; }
.tva-milestone-node:hover .tick-8  { transition-delay: 0.23s; }
.tva-milestone-node:hover .tick-9  { transition-delay: 0.26s; }
.tva-milestone-node:hover .tick-10 { transition-delay: 0.29s; }
.tva-milestone-node:hover .tick-11 { transition-delay: 0.32s; }
.tva-milestone-node:hover .tick-12 { transition-delay: 0.35s; }

/* Brighter central core & prominent digit */
.tva-milestone-node:hover .tempad-energy-core,
.tva-milestone-node.is-active .tempad-energy-core {
  transform: scale(1.35);
  box-shadow: 0 0 16px #FFFFFF, 0 0 28px var(--tva-gold), 0 0 40px var(--tva-amber);
}

.tva-milestone-node:hover .tempad-milestone-digit,
.tva-milestone-node.is-active .tempad-milestone-digit {
  color: #FFFFFF;
  transform: scale(1.15);
  text-shadow: 0 0 10px #FFFFFF, 0 0 16px var(--tva-gold);
}

/* ==========================================================
   CHECKPOINT 06: CULMINATION FINAL CONVERGENCE TEMPAD
========================================================== */
.tempad-convergence {
  width: 68px;
  height: 68px;
}

.chassis-convergence {
  border-color: var(--tva-gold);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.95),
              0 0 24px rgba(242, 182, 75, 0.6),
              inset 0 0 14px rgba(233, 149, 39, 0.4);
}

.halo-convergence {
  inset: -18px;
  background: radial-gradient(circle, rgba(242, 182, 75, 0.55) 0%, rgba(233, 149, 39, 0.3) 50%, transparent 75%);
}

.tempad-radiance-ring {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.2px dotted rgba(242, 182, 75, 0.65);
  animation: portalSpinClockwise 32s linear infinite;
  pointer-events: none;
}

.ring-outer-convergence {
  inset: 5px;
  border-color: var(--tva-gold);
  border-width: 1.6px;
}

.ring-middle-convergence {
  inset: 11px;
  border-color: var(--tva-amber);
}

.dial-convergence {
  inset: 16px;
  background: radial-gradient(circle, #2E251A 0%, #101612 100%);
}

.singularity-convergence {
  width: 10px;
  height: 10px;
  box-shadow: 0 0 16px #FFFFFF, 0 0 28px var(--tva-gold), 0 0 45px var(--tva-amber);
}

.stamp-gold {
  color: var(--tva-gold);
  font-weight: 800;
  text-shadow: 0 0 8px var(--tva-gold);
}

.dot-convergence {
  background: var(--tva-gold);
  box-shadow: 0 0 8px var(--tva-gold);
}

/* Animations */
@keyframes portalSpinClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes portalSpinCounter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes singularityPulse {
  0% { transform: scale(0.9); opacity: 0.85; }
  100% { transform: scale(1.15); opacity: 1; }
}

/* ==========================================================
   PERSISTENT PRIMARY READABLE INFORMATION LABEL (OPEN HOLOGRAPHIC HUD)
========================================================== */
.milestone-primary-badge {
  position: absolute;
  width: 275px;
  max-width: 295px;
  background: radial-gradient(ellipse at center, rgba(16, 22, 18, 0.78) 0%, rgba(10, 14, 11, 0.52) 85%, rgba(6, 8, 7, 0.25) 100%);
  border-left: none;
  border-right: none;
  border-top: 1px solid rgba(242, 182, 75, 0.35);
  border-bottom: 1px solid rgba(242, 182, 75, 0.35);
  border-radius: 4px;
  padding: 13px 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(233, 149, 39, 0.12);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1),
              border-color 0.28s ease,
              box-shadow 0.28s ease,
              background 0.28s ease;
  z-index: 5;
  pointer-events: auto;
}

/* Open Sci-Fi HUD Corner Brackets */
.milestone-primary-badge::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 12px;
  height: 8px;
  border-top: 2px solid var(--tva-gold);
  border-left: 2px solid var(--tva-gold);
  pointer-events: none;
  opacity: 0.9;
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.milestone-primary-badge::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 12px;
  height: 8px;
  border-bottom: 2px solid var(--tva-gold);
  border-right: 2px solid var(--tva-gold);
  pointer-events: none;
  opacity: 0.9;
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

/* Placement Alternating: Above vs Below TemPad */
.label-pos-top .milestone-primary-badge {
  bottom: calc(100% + 24px);
  left: 50%;
  transform: translateX(-50%);
  border-bottom: 2px solid var(--tva-gold);
}

.label-pos-bottom .milestone-primary-badge {
  top: calc(100% + 24px);
  left: 50%;
  transform: translateX(-50%);
  border-top: 2px solid var(--tva-gold);
}

/* Connecting Stem Line between TemPad and Primary Badge */
.badge-stem-connector {
  position: absolute;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--tva-gold), rgba(233, 149, 39, 0.4));
  box-shadow: 0 0 8px rgba(242, 182, 75, 0.5);
  pointer-events: none;
}

.label-pos-top .badge-stem-connector {
  top: 100%;
  height: 24px;
  transform: translateX(-50%);
}

.label-pos-bottom .badge-stem-connector {
  bottom: 100%;
  height: 24px;
  transform: translateX(-50%);
}

/* Luminous connector pip touching the TemPad bezel */
.badge-stem-connector::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tva-gold);
  box-shadow: 0 0 8px var(--tva-gold);
  left: 50%;
  transform: translateX(-50%);
}

.label-pos-top .badge-stem-connector::after {
  bottom: -2px;
}

.label-pos-bottom .badge-stem-connector::after {
  top: -2px;
}

/* Label Internal Typography */
.badge-chrono-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.chrono-code {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--tva-teal);
  letter-spacing: 0.12em;
  white-space: nowrap;
  flex-shrink: 0;
  text-shadow: 0 0 6px rgba(78, 205, 196, 0.4);
}

.chrono-code.highlight {
  color: var(--tva-gold);
  text-shadow: 0 0 8px rgba(242, 182, 75, 0.6);
}

.status-stamp {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(233, 149, 39, 0.15);
  border: 1px solid rgba(242, 182, 75, 0.38);
  color: var(--tva-gold);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.status-stamp.stamp-gold {
  background: rgba(242, 182, 75, 0.24);
  border-color: var(--tva-gold);
  color: #FFF;
  text-shadow: 0 0 6px var(--tva-gold);
}

.badge-date-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}

.badge-date-row .date-svg {
  flex-shrink: 0;
  stroke: var(--tva-gold);
  filter: drop-shadow(0 0 4px rgba(242, 182, 75, 0.5));
}

.badge-date {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--tva-gold);
  text-shadow: 0 0 8px rgba(242, 182, 75, 0.4);
}

/* Milestone Event Title - Clean, bold, borderless */
.milestone-primary-badge .badge-title {
  font-family: 'Barlow Condensed', 'Bebas Neue', var(--font-display);
  font-size: 1.15rem !important;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25;
  color: #FFF !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.badge-convergence .badge-title {
  color: #FFF !important;
  text-shadow: 0 0 12px rgba(242, 182, 75, 0.6), 0 2px 8px rgba(0, 0, 0, 0.95);
}

/* Hover highlights on primary badge */
.tva-milestone-node:hover .milestone-primary-badge,
.tva-milestone-node.is-active .milestone-primary-badge {
  background: radial-gradient(ellipse at center, rgba(22, 28, 24, 0.88) 0%, rgba(14, 18, 14, 0.68) 85%, rgba(8, 10, 8, 0.35) 100%);
  border-color: var(--tva-gold);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.9), 0 0 28px rgba(242, 182, 75, 0.35);
  transform: translateX(-50%) scale(1.02);
}

.tva-milestone-node:hover .milestone-primary-badge::before,
.tva-milestone-node:hover .milestone-primary-badge::after,
.tva-milestone-node.is-active .milestone-primary-badge::before,
.tva-milestone-node.is-active .milestone-primary-badge::after {
  width: 18px;
  height: 12px;
  border-color: #FFF;
  box-shadow: 0 0 10px var(--tva-gold);
}

/* ==========================================================
   FLOATING HOLOGRAPHIC TVA TEMPAD DOSSIER
========================================================== */
.tva-classified-dossier {
  position: absolute;
  width: 320px;
  max-width: 90vw;
  background: rgba(14, 19, 16, 0.95);
  border: 1px solid var(--tva-amber);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.92), 0 0 24px rgba(233, 149, 39, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 130;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.28s cubic-bezier(0.2, 0.9, 0.3, 1),
              transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1),
              visibility 0.28s ease;
  overflow: hidden;
}

/* Reveal Dossier when Node is Hovered, Focused, Active, or Mouse is inside Dossier */
.tva-milestone-node:hover .tva-classified-dossier,
.tva-milestone-node:focus-within .tva-classified-dossier,
.tva-milestone-node.is-active .tva-classified-dossier,
.tva-classified-dossier:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Row 1 dossiers open DOWN into the 300px central void */
.label-pos-top .tva-classified-dossier {
  top: calc(100% + 20px);
}

/* Row 2 dossiers open UP into the 300px central void */
.label-pos-bottom .tva-classified-dossier {
  bottom: calc(100% + 20px);
}

.dossier-align-right {
  left: -10px;
  transform-origin: top left;
}

.dossier-align-center {
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.96);
  transform-origin: center;
}
.tva-milestone-node:hover .dossier-align-center,
.tva-milestone-node.is-active .dossier-align-center {
  transform: translateX(-50%) translateY(0) scale(1);
}

.dossier-align-left {
  right: -10px;
  left: auto;
  transform-origin: top right;
}

/* Scanner Laser Line */
.dossier-scanner-bar {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--tva-teal) 50%, transparent 100%);
  animation: dossierScanner 3s ease-in-out infinite alternate;
}

.scanner-gold {
  background: linear-gradient(90deg, transparent 0%, var(--tva-gold) 50%, transparent 100%);
}

@keyframes dossierScanner {
  0% { transform: translateX(-30%); opacity: 0.6; }
  100% { transform: translateX(30%); opacity: 1; }
}

/* Dossier Header */
.dossier-header {
  padding: 12px 16px 10px;
  background: rgba(40, 55, 43, 0.45);
  border-bottom: 1px solid rgba(233, 149, 39, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.dossier-id-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--tva-teal);
  letter-spacing: 0.08em;
  display: block;
}

.dossier-status-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  padding: 2px 6px;
  background: rgba(233, 149, 39, 0.2);
  color: var(--tva-amber);
  border: 1px solid rgba(233, 149, 39, 0.45);
  border-radius: 3px;
  font-weight: 600;
  margin-top: 4px;
}

.pill-gold {
  background: rgba(242, 182, 75, 0.25);
  color: var(--tva-gold);
  border-color: var(--tva-gold);
}

.dossier-clearance {
  font-family: var(--font-mono);
  font-size: 0.60rem;
  color: var(--tva-muted-grey);
  letter-spacing: 0.08em;
  border: 1px dashed rgba(166, 160, 144, 0.4);
  padding: 2px 6px;
  border-radius: 2px;
}

/* Dossier Body */
.dossier-body {
  padding: 16px;
}

.dossier-date-banner {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tva-amber);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.banner-gold {
  color: var(--tva-gold);
}

.dossier-event-title {
  font-family: 'Barlow Condensed', 'Bebas Neue', var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--tva-cream);
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.dossier-description {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.55;
  color: #D6D0C2;
  margin: 0 0 14px;
}

/* Additional Details Directives List */
.dossier-directives {
  background: rgba(40, 55, 43, 0.35);
  border: 1px solid rgba(233, 149, 39, 0.2);
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.directives-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--tva-teal);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.directives-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.directives-list li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--tva-cream);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.directive-marker {
  color: var(--tva-gold);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Fee structure memo */
.dossier-fee-memo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: rgba(233, 149, 39, 0.08);
  border-left: 2px solid var(--tva-amber);
  border-radius: 0 4px 4px 0;
  margin-bottom: 10px;
}

.fee-memo-item {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  color: var(--tva-cream);
  display: flex;
  align-items: center;
  gap: 6px;
}

.fee-tier {
  font-weight: 700;
  color: var(--tva-gold);
}

.fee-val {
  color: var(--tva-amber);
  font-weight: 600;
}

.fee-val.fee-free {
  color: #3BD8A8;
}

.fee-note {
  color: var(--tva-muted-grey);
  font-size: 0.65rem;
}

/* Dossier Footer */
.dossier-footer {
  padding: 8px 16px;
  background: rgba(16, 22, 18, 0.8);
  border-top: 1px dashed rgba(233, 149, 39, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.60rem;
  color: var(--tva-muted-grey);
  letter-spacing: 0.06em;
}

.dossier-chrono-ref {
  color: var(--tva-teal);
  font-weight: 600;
}

/* ==========================================================
   TVA TELEMETRY CHAMBER (DOCKED DOSSIER ARCHIVE)
========================================================== */
.tva-telemetry-chamber {
  margin-top: 40px;
  background: #101612;
  border: 1px solid var(--tva-amber);
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75), inset 0 0 20px rgba(233, 149, 39, 0.08);
  position: relative;
}

.chamber-terminal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(233, 149, 39, 0.25);
  margin-bottom: 16px;
}

.chamber-led {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tva-amber);
  box-shadow: 0 0 10px var(--tva-amber);
}

.chamber-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--tva-cream);
  flex-grow: 1;
}

.chamber-coords {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--tva-teal);
  letter-spacing: 0.08em;
}

.chamber-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.chamber-status-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  background: rgba(233, 149, 39, 0.15);
  border: 1px solid var(--tva-amber);
  color: var(--tva-amber);
  border-radius: 3px;
  margin-bottom: 8px;
}

.chamber-heading {
  font-family: 'Barlow Condensed', 'Bebas Neue', var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--tva-cream);
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.chamber-date {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tva-amber);
  margin-bottom: 10px;
}

.chamber-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: #D6D0C2;
  margin: 0;
}

.chamber-protocols-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tva-teal);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.chamber-protocols-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chamber-protocols-list li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--tva-cream);
  padding-left: 16px;
  position: relative;
}

.chamber-protocols-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--tva-gold);
}

/* --- Tablet Adaptations (992px to 769px) --- */
@media (max-width: 992px) {
  .tva-serpentine-wrapper {
    height: 560px;
    min-height: 560px;
  }
  
  .milestone-primary-badge {
    width: 220px;
    padding: 10px 12px;
  }

  .milestone-primary-badge .badge-title {
    font-size: 0.98rem !important;
  }

  .badge-date {
    font-size: 0.78rem;
  }

  .tva-classified-dossier {
    width: 280px;
  }

  .chamber-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --- Responsive Mobile Layout (<= 768px) --- */
@media (max-width: 768px) {
  .tva-temporal-timeline {
    padding: 0 6px;
  }

  .tva-timeline-telemetry-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 12px;
  }

  /* Switch serpentine track into vertical temporal flow */
  .tva-serpentine-wrapper {
    height: auto;
    min-height: unset;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 24px 0 24px 34px;
    position: relative;
  }

  /* Hide horizontal desktop SVG; show vertical golden line on left */
  .tva-serpentine-svg {
    display: none;
  }

  .tva-serpentine-wrapper::before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 14px;
    width: 3px;
    background: linear-gradient(to bottom, var(--tva-gold) 0%, var(--tva-amber) 50%, var(--tva-gold) 100%);
    box-shadow: 0 0 10px rgba(242, 182, 75, 0.5);
    border-radius: 2px;
  }

  /* Stack nodes vertically */
  .tva-milestone-node {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100%;
    align-items: flex-start;
    opacity: 1 !important;
  }

  /* Position circular TemPad at the left on the vertical spine */
  .tva-milestone-node .tva-tempad-device {
    position: absolute;
    left: -36px;
    top: 8px;
    width: 44px;
    height: 44px;
    z-index: 5;
  }

  .tempad-holo-field {
    inset: -6px;
  }

  .tempad-id-stamp,
  .tempad-label-brand {
    display: none;
  }

  .tempad-dial-inner {
    inset: 10px;
  }

  .tempad-milestone-digit {
    font-size: 0.85rem;
  }

  .tempad-energy-core {
    width: 6px;
    height: 6px;
  }

  .badge-stem-connector {
    display: none !important;
  }

  /* Primary badge sits as a readable card to the right of the TemPad */
  .milestone-primary-badge {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid rgba(242, 182, 75, 0.28) !important;
    border-left: 3px solid var(--tva-gold) !important;
    border-radius: 6px !important;
    background: rgba(16, 22, 18, 0.88) !important;
  }

  .milestone-primary-badge .badge-title {
    font-size: 1.15rem !important;
  }

  /* Floating Dossier on Mobile becomes inline expandable or opens on tap */
  .tva-classified-dossier {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    margin-top: 10px;
    display: none;
  }

  .tva-milestone-node.is-active .tva-classified-dossier,
  .tva-milestone-node:hover .tva-classified-dossier {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .tva-telemetry-chamber {
    margin-top: 24px;
    padding: 16px;
  }

  .chamber-heading {
    font-size: 1.3rem;
  }
}

/* Reduced Motion Preference Support */
@media (prefers-reduced-motion: reduce) {
  .tempad-ring-outer,
  .tempad-ring-middle,
  .tempad-radiance-ring,
  .dossier-scanner-bar,
  .telemetry-status .telemetry-dot,
  .tempad-energy-core {
    animation: none !important;
  }

  .tva-milestone-node {
    opacity: 1 !important;
    transform: translate(-50%, -50%) !important;
    transition: none !important;
  }

  .tva-particle-spark {
    display: none !important;
  }
}

/* ==========================================================
   06. REGISTRATION TERMINAL CARD
========================================================== */
.registration-terminal-card {
  background: #1C1813;
  border: 2px solid var(--border-brass);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65);
}

.terminal-card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #26201A;
  border-bottom: 2px solid var(--border-brass);
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.topbar-badge {
  color: var(--crt-teal);
  font-weight: bold;
  letter-spacing: 0.08em;
}

.topbar-status {
  color: var(--crt-teal);
  background: rgba(63, 181, 160, 0.08);
  border: 1px solid var(--amber-bright);
  padding: 2px 10px;
  border-radius: 2px;
}

.registration-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 36px 32px;
}

.reg-milestone-panel {
  display: flex;
  flex-direction: column;
}

.reg-k-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.reg-date-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--amber-bright);
  line-height: 1.1;
  margin-bottom: 16px;
}

.reg-helper-note {
  font-family: var(--font-typewriter);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.fee-calculation-box {
  background: #1C1813;
  border: 1.5px solid var(--border-brass);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.35);
}

.fee-box-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--paper-cream);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px dashed var(--border-dim);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.fee-amount-display {
  display: flex;
  align-items: baseline;
  padding: 4px 0 0;
}

.fee-amount-val {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 700;
  color: var(--amber-bright);
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-shadow: 0 0 14px rgba(184, 146, 58, 0.25);
}

.fee-row {
  display: none;
}

.fee-calc-formula,
.fee-transparency-memo {
  display: none;
}

/* ==========================================================
   07. ACCOMMODATION CONTAINER & STAT CARDS
========================================================== */
.accommodation-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.accommodation-notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.quarters-stat-card {
  background: #1C1813;
  border: 2px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition-smooth), transform var(--transition-smooth);
}

.quarters-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-brass);
}

.quarters-stat-card.highlight-card {
  border-color: var(--amber-bright);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 14px rgba(184, 146, 58, 0.15);
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  background: rgba(184, 146, 58, 0.08);
  border: 1px solid rgba(184, 146, 58, 0.28);
  color: var(--amber-bright);
  margin-bottom: 14px;
  transition: all 0.2s ease;
}

.quarters-stat-card:hover .stat-icon {
  border-color: var(--amber-bright);
  background: rgba(184, 146, 58, 0.16);
  box-shadow: 0 0 10px rgba(184, 146, 58, 0.25);
}

.quarters-stat-card.highlight-card .stat-icon {
  background: rgba(184, 146, 58, 0.12);
  border-color: var(--amber-bright);
  box-shadow: 0 0 10px rgba(184, 146, 58, 0.25);
}

.stat-svg {
  display: block;
}

.contact-link-icon,
.maps-icon,
.crew-phone-icon,
.standby-icon,
.date-icon,
.tva-feedback-icon,
.tva-lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
}
.contact-sub-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-open-maps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stat-heading {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  color: var(--paper-cream);
}

.stat-body {
  font-family: var(--font-typewriter);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.accommodation-details-panel {
  background: #14110D;
  border: 1.5px solid var(--border-brass);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
}

.panel-section-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--amber-bright);
  letter-spacing: 0.08em;
  border-bottom: 1px dashed var(--border-dim);
  padding-bottom: 8px;
  margin-bottom: 18px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.spec-unit {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-unit.span-two {
  grid-column: 1 / -1;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.spec-val-pending {
  font-family: var(--font-typewriter);
  font-size: 0.9rem;
  color: var(--paper-cream);
}

/* ==========================================================
   08. JUDGING AND RECOGNITION
========================================================== */
.judging-protocol-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.judging-bench-notice {
  background: #1a130c;
  border: 1.5px solid var(--border-brass);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.bench-notice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.bench-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--amber-bright);
  font-weight: bold;
  letter-spacing: 0.08em;
}

.bench-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--mustard-secondary);
  background: rgba(184, 146, 58, 0.12);
  padding: 2px 8px;
  border-radius: 2px;
}

.bench-note {
  font-family: var(--font-typewriter);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.evaluation-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.pillar-card {
  background: #17100b;
  border: 1.5px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition-smooth), transform var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--amber-bright);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--amber-bright);
  letter-spacing: 0.08em;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--paper-cream);
  line-height: 1.15;
}

.pillar-desc {
  font-family: var(--font-typewriter);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.recognition-standby-panel {
  background: #120d08;
  border: 1px dashed var(--border-brass);
  border-radius: var(--radius-sm);
  padding: 22px 28px;
  text-align: center;
}

.rec-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--amber-bright);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.rec-sub {
  font-family: var(--font-typewriter);
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================
   11. CONTACT & VENUE
========================================================== */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.contact-dossier-card {
  background: #1C1813;
  border: 2px solid var(--border-brass);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform var(--transition-smooth);
}

.contact-dossier-card:hover {
  transform: translateY(-3px);
}

.contact-card-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--amber-bright);
  letter-spacing: 0.08em;
}

.contact-card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--paper-cream);
  line-height: 1.2;
}

.contact-card-body {
  font-family: var(--font-typewriter);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex-grow: 1;
}

.contact-action-link {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border-dim);
}

.contact-sub-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--mustard-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-sub-link:hover {
  color: var(--amber-bright);
  text-decoration: underline;
}

/* ==========================================================
   8. SPONSORS — AUTHORIZED PARTNERS (PINBOARD CLEARANCE CARDS)
========================================================== */
.sponsors-pinboard-deck {
  background: #1C1813;
  border: 2px solid var(--border-brass);
  border-radius: var(--radius-md);
  padding: 44px 32px 36px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: visible;
}

.pinboard-cork-mesh {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(184, 146, 58, 0.08) 1px, transparent 0);
  background-size: 16px 16px;
  pointer-events: none;
}

.sponsors-tier-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  z-index: 2;
  margin-bottom: 36px;
  width: 100%;
  align-items: center;
}

.tier-section-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.tier-divider-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--mustard-secondary);
  text-transform: uppercase;
  background: #14110D;
  padding: 4px 16px;
  border: 1px dashed var(--border-subtle);
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Base Authorization Card */
.auth-clearance-card {
  background: var(--paper-cream);
  color: var(--ink-charcoal);
  border-radius: var(--radius-sm);
  padding: 22px 18px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: var(--font-typewriter);
  text-decoration: none;
  transition: box-shadow var(--transition-smooth), transform 0.25s ease;
  opacity: 0;
  box-sizing: border-box;
  overflow: visible;
}

.bureau-section.stamped .auth-clearance-card {
  opacity: 1;
}

.auth-clearance-card:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.card-pushpin-head {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--stamp-red);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 4;
}

.card-auth-number {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #7C735F;
  margin-bottom: 10px;
}

/* Logo Box */
.card-logo-container {
  width: 100%;
  height: 70px;
  background: #dfd4be;
  border: 1.5px dashed #B9AD92;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter var(--transition-smooth), opacity var(--transition-smooth);
}

.auth-clearance-card:hover .card-logo-container {
  filter: grayscale(0%);
  opacity: 1;
  border-color: var(--amber-primary);
}

.card-logo-container.has-logo {
  background: #FFFFFF;
  border: 1px solid rgba(185, 173, 146, 0.5);
  filter: none !important;
  opacity: 1 !important;
  padding: 6px 12px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

.auth-clearance-card:hover .card-logo-container.has-logo {
  border-color: var(--amber-primary, #FFB020);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.card-sponsor-subtitle {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #7C735F;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-logo-placeholder-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.15em;
  color: #7C735F;
}

.card-sponsor-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.1;
  color: #1a140f;
  margin-bottom: 6px;
}

/* Card Clearance Footer Strip: Separates Badge and Approved Stamp to Prevent Overlaps */
.card-clearance-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding-top: 10px;
  gap: 8px;
  border-top: 1px dashed rgba(168, 154, 132, 0.35);
  box-sizing: border-box;
}

.card-tier-stamp {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.card-tier-stamp.badge-bronze {
  background: rgba(184, 146, 58, 0.12);
  border: 1.5px solid var(--stamp-amber);
  color: #9c4d08;
}

.badge-gold {
  background: rgba(184, 146, 58, 0.15);
  border: 1.5px solid var(--mustard-secondary);
  color: #7a5c10;
}

.badge-silver {
  background: rgba(120, 110, 100, 0.15);
  border: 1.5px solid #887a6a;
  color: #7C735F;
}

/* Approved Watermark Stamp */
.card-approved-stamp {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--sage);
  border: 1.5px dashed var(--sage);
  padding: 1px 6px;
  transform: rotate(-6deg);
  opacity: 0.9;
  pointer-events: none;
  white-space: nowrap;
  line-height: 1.1;
  background: rgba(126, 154, 91, 0.08);
}

/* Tier Sizes & Symmetrical Pyramid Alignment */

/* 1. Title Partner (1 Large Centered Card) */
.tier-title-container {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.tier-title-card {
  width: 100%;
  padding: 24px 22px 18px;
}

.tier-title-card .card-logo-container {
  height: 84px;
}

.tier-title-card .card-sponsor-name {
  font-size: 1.75rem;
}

/* 2. Gold Partners (2 Medium Centered Cards) */
.tier-gold-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 340px));
  gap: 24px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  justify-content: center;
}

.tier-gold-card {
  padding: 22px 18px 16px;
}

.tier-gold-card .card-logo-container {
  height: 72px;
}

.tier-gold-card .card-sponsor-name {
  font-size: 1.45rem;
}

/* 3. Silver Partners (3 Balanced Centered Cards) */
.tier-silver-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(210px, 270px));
  gap: 20px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  justify-content: center;
}

.tier-silver-card {
  padding: 20px 16px 14px;
}

.tier-silver-card .card-logo-container {
  height: 62px;
}

.tier-silver-card .card-sponsor-name {
  font-size: 1.25rem;
}

/* Partnership Requisition Call to Action */
.partnership-requisition-panel {
  background: #1C1813;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.partnership-notice-text {
  font-family: var(--font-typewriter);
  color: var(--text-muted);
  max-width: 580px;
}

.notice-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--amber-bright);
  margin-bottom: 4px;
  font-weight: bold;
}

.partnership-actions-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================
   9. FAQ — MANILA CASE FILES ACCORDION
========================================================== */
.case-files-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-folder-unit {
  background: #1C1813;
  border: 1px solid var(--border-brass);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-fast);
}

.case-folder-unit.open {
  border-color: var(--amber-bright);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.folder-tab-bar {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #26201A;
  user-select: none;
}

.folder-case-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--amber-bright);
  margin-right: 12px;
}

.folder-query-title {
  font-family: var(--font-typewriter);
  font-size: 1.05rem;
  color: var(--paper-cream);
  font-weight: bold;
}

.folder-content-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #16100b;
}

.case-folder-unit.open .folder-content-drawer {
  max-height: 300px;
}

.folder-drawer-inner {
  padding: 20px 24px;
  font-family: var(--font-typewriter);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px dashed var(--border-subtle);
  position: relative;
}

.answered-stamp-badge {
  position: absolute;
  right: 24px;
  top: 18px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--green-phosphor);
  border: 2px dashed var(--green-phosphor);
  padding: 2px 10px;
  transform: rotate(-5deg);
  opacity: 0.8;
}

/* ==========================================================
   FINAL TRANSMISSION // OVERCLOCK 2027 (REDESIGNED FOOTER)
   Functional architecture adapted from reference, rendered in TVA aesthetic.
========================================================== */
.tva-event-footer {
  background: radial-gradient(ellipse at 50% 0%, #1C1813 0%, #0a0705 100%);
  border-top: 3px solid var(--border-brass);
  padding: 80px 0 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

.footer-inner-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px 36px;
  box-sizing: border-box;
}

.footer-transmission-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
}

.footer-main-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.08em;
  color: var(--paper);
  margin: 12px 0 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.footer-lead-text {
  font-family: var(--font-typewriter);
  font-size: 0.95rem;
  color: var(--paper-muted);
  line-height: 1.55;
  margin: 0 auto;
}

/* Simplified 2-Pillar Footer Grid: Venue/Map & Crew */
.footer-control-grid,
.footer-simplified-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

@media (max-width: 820px) {
  .footer-control-grid,
  .footer-simplified-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer-panel {
  background: rgba(28, 24, 19, 0.88);
  border: 1px solid rgba(184, 146, 58, 0.28);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6),
              inset 0 0 12px rgba(184, 146, 58, 0.03);
  transition: border-color 0.25s ease;
}

.footer-panel:hover {
  border-color: rgba(232, 137, 43, 0.45);
}

.panel-header-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--crt-teal);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(184, 146, 58, 0.2);
}

.panel-lamp {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crt-teal);
  box-shadow: 0 0 6px var(--crt-teal);
}

/* Panel 1: Venue & Map */
.footer-map-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.map-viewport-frame {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid rgba(184, 146, 58, 0.35);
  background: #0d0906;
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.8);
}

.footer-map-embed {
  width: 100%;
  height: 100%;
  border: none;
  filter: contrast(1.08) brightness(0.85) saturate(0.8);
  transition: filter 0.3s ease;
}

.footer-map-embed:hover {
  filter: contrast(1) brightness(1) saturate(1);
}

.venue-info-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.venue-name {
  font-family: var(--font-mono);
  font-size: 0.90rem;
  font-weight: 700;
  color: var(--paper-cream);
}

.venue-address {
  font-family: var(--font-typewriter);
  font-size: 0.80rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.btn-open-maps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184, 146, 58, 0.12);
  color: var(--amber-bright);
  border: 1px solid var(--amber-bright);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.btn-open-maps:hover {
  background: var(--amber-bright);
  color: #120e0a;
  box-shadow: 0 0 12px rgba(232, 137, 43, 0.6);
}

/* Panel 2: The Crew / Event Heads */
.crew-intro-note {
  font-family: var(--font-typewriter);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.footer-contact-list,
.crew-roster-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-card,
.crew-roster-card {
  background: #1C1813;
  border: 1px solid rgba(184, 146, 58, 0.22);
  border-left: 3px solid var(--border-brass, #B8923A);
  border-radius: var(--radius-sm, 3px);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-contact-card:hover,
.crew-roster-card:hover {
  border-color: rgba(232, 137, 43, 0.5);
  background: #1C1813;
  transform: translateX(2px);
}

.footer-contact-name {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: var(--paper-cream, #EADFC4);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
  padding: 6px 12px;
  background: rgba(224, 138, 46, 0.08);
  border: 1px solid rgba(184, 146, 58, 0.3);
  border-radius: var(--radius-sm, 3px);
  transition: all 0.2s ease;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.footer-contact-phone:hover,
.footer-contact-phone:focus-visible {
  color: #FFFFFF;
  background: rgba(224, 138, 46, 0.24);
  border-color: var(--tva-orange-hot, #FF9F45);
  box-shadow: 0 0 10px rgba(232, 135, 43, 0.35);
  outline: none;
}

.footer-contact-phone .contact-phone-icon {
  display: flex;
  align-items: center;
  color: var(--mustard-secondary, #B8923A);
}

.crew-role {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--mustard-secondary, #B8923A);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.crew-name {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--paper-cream, #EADFC4);
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .crew-roster-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 12px;
  }

  .crew-role {
    font-size: 0.68rem;
    letter-spacing: 0.07em;
  }

  .crew-name {
    font-size: 0.92rem;
    font-weight: 600;
  }
}

/* Single Footer Action: BACK TO START ↑ & DEVELOPERS → */
.footer-action-bar-single {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 16px 0 32px;
  flex-wrap: wrap;
}

.btn-footer-developers {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1.5px solid rgba(184, 146, 58, 0.45);
  border-radius: var(--radius-sm);
  padding: 11px 28px;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
  transition: all 0.22s ease;
  cursor: pointer;
}

.btn-footer-developers:hover {
  background: rgba(232, 137, 43, 0.18);
  border-color: var(--amber-bright);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.85),
              0 0 14px rgba(232, 135, 43, 0.45);
  transform: translateY(-2px);
}

.btn-footer-developers .btn-bts-arrow {
  font-size: 1.05rem;
  color: var(--amber-bright);
  transition: transform 0.2s ease;
}

.btn-footer-developers:hover .btn-bts-arrow {
  transform: translateX(3px);
  color: #FFFFFF;
}

.footer-dev-textlink {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: var(--paper-muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.18s ease;
  cursor: pointer;
}

.footer-dev-textlink:hover {
  color: var(--tva-orange);
  text-decoration: underline;
}

.btn-back-to-start {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1.5px solid rgba(184, 146, 58, 0.45);
  border-radius: var(--radius-sm);
  padding: 11px 28px;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
  transition: all 0.22s ease;
  cursor: pointer;
}

.btn-back-to-start:hover {
  background: rgba(232, 137, 43, 0.18);
  border-color: var(--amber-bright);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.85),
              0 0 14px rgba(232, 135, 43, 0.45);
  transform: translateY(-2px);
}

.btn-back-to-start .btn-bts-arrow {
  font-size: 1.05rem;
  color: var(--amber-bright);
  transition: transform 0.2s ease;
}

.btn-back-to-start:hover .btn-bts-arrow {
  transform: translateY(-3px);
  color: #FFFFFF;
}

/* Status Pip Pulse Indicator */
.status-pip-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crt-teal);
  box-shadow: 0 0 7px var(--crt-teal);
  display: inline-block;
  flex-shrink: 0;
  animation: statusPipPulse 2.4s ease-in-out infinite;
}

@keyframes statusPipPulse {
  0%, 100% {
    opacity: 0.85;
    box-shadow: 0 0 6px var(--crt-teal);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 12px var(--crt-teal), 0 0 4px #FFFFFF;
  }
}

/* Accessible Screen-Reader Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================
   FOOTER EVENT-ENDING CONTINUOUS MARQUEE (MOVING RIGHT)
   Unified ticker tape displaying brand, organisers, Unstop,
   Developers recognition, copyright, and live system status.
========================================================== */
.footer-marquee-strip {
  width: 100%;
  overflow: hidden;
  background: var(--bg-deep, #0F0B08);
  border-top: 1px solid rgba(184, 146, 58, 0.25);
  border-bottom: 1px solid rgba(184, 146, 58, 0.12);
  padding: 13px 0;
  position: relative;
  box-sizing: border-box;
  user-select: none;
}

.footer-marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: footerMarqueeScrollRight 38s linear infinite;
  will-change: transform;
}

@keyframes footerMarqueeScrollRight {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.footer-marquee-strip:hover .footer-marquee-track {
  animation-play-state: paused;
}

.footer-marquee-sequence {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.f-m-item {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.f-m-item.brand {
  color: var(--crt-teal);
  font-weight: 800;
  text-shadow: 0 0 10px rgba(63, 181, 160, 0.35);
}

.f-m-item.org {
  color: var(--paper-cream);
  font-weight: 600;
  opacity: 0.92;
}

.f-m-item.copyright {
  color: var(--text-dim, #7C735F);
  font-weight: 500;
  letter-spacing: 0.07em;
}

.f-m-item.status {
  color: var(--crt-teal);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.f-m-sep {
  display: inline-block;
  padding: 0 18px;
  color: rgba(184, 146, 58, 0.45);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
}

/* Unstop Registration Badge in Marquee */
.f-m-unstop-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: rgba(22, 17, 13, 0.95);
  border: 1px solid rgba(184, 146, 58, 0.42);
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
  vertical-align: middle;
}

.f-m-unstop-badge:hover,
.f-m-unstop-badge:focus-visible {
  background: rgba(232, 135, 43, 0.18);
  border-color: var(--tva-orange);
  box-shadow: 0 0 12px rgba(232, 135, 43, 0.35);
  outline: none;
}

.f-m-unstop-img {
  height: 14px;
  width: auto;
  object-fit: contain;
  display: block;
}

.f-m-unstop-text {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper-cream, #EADFC4);
  text-transform: uppercase;
}

.f-m-unstop-badge:hover .f-m-unstop-text {
  color: #FFFFFF;
}

/* Developers Trigger Button in Marquee */
.f-m-dev-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  background: rgba(20, 15, 11, 0.85);
  border: 1px solid rgba(184, 146, 58, 0.38);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--paper-cream, #EADFC4);
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.f-m-dev-trigger:hover,
.f-m-dev-trigger:focus-visible {
  background: rgba(232, 135, 43, 0.22);
  border-color: var(--tva-orange);
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(232, 135, 43, 0.35);
  outline: none;
}

.f-m-dev-glyph {
  color: var(--brass, #B8923A);
  font-size: 0.76rem;
  transition: color 0.2s ease;
}

.f-m-dev-trigger:hover .f-m-dev-glyph {
  color: var(--tva-orange);
}

/* System Status Wrap */
.f-m-status-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* Reduced Motion: Stop continuous movement and show single stationary line */
@media (prefers-reduced-motion: reduce) {
  .footer-marquee-track {
    animation: none;
    transform: none;
    width: 100%;
    justify-content: center;
  }
  .footer-marquee-sequence:not(:first-child) {
    display: none;
  }
}

@media (max-width: 640px) {
  .footer-marquee-strip {
    padding: 9px 0;
  }
  .f-m-item {
    font-size: 0.70rem;
    letter-spacing: 0.09em;
  }
  .f-m-sep {
    padding: 0 14px;
  }
}


/* ==========================================================
   MISS MINUTES OVERLAY (ANIMATED RETRO TIME BUREAU MASCOT)
   Conceals the background Gemini AI watermark with genuine alpha
========================================================== */
.miss-minutes-overlay {
  position: fixed;
  z-index: 150;
  pointer-events: auto;
  cursor: pointer;
  transform: translate(-50%, -50%);
  will-change: transform, left, top, width, height;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Retro warm bureau drop-shadow */
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  /* Initial fallback for 16:9 desktop before JS calibration */
  left: 90.59vw;
  top: 83.26vh;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: transparent;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease;
  outline: none;
}

.miss-minutes-overlay:focus-visible {
  outline: 2px solid var(--amber-bright);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .miss-minutes-overlay:hover {
    filter: drop-shadow(0 6px 18px var(--amber-glow)) drop-shadow(0 0 14px rgba(232, 137, 43, 0.45));
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.miss-minutes-speech {
  position: absolute;
  bottom: calc(100% - 2px);
  right: 50%;
  background: #1C150F;
  border: 1.5px solid var(--border-brass);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-family: 'IBM Plex Mono', 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--amber-bright);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.75);
  z-index: 155;
}

.miss-minutes-speech::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 20px;
  border-width: 5px 5px 0 5px;
  border-style: solid;
  border-color: var(--border-brass) transparent transparent transparent;
}

@media (hover: hover) and (pointer: fine) {
  .miss-minutes-overlay:hover .miss-minutes-speech,
  .miss-minutes-overlay:focus-visible .miss-minutes-speech {
    opacity: 1;
    transform: translateY(0);
  }
}

.miss-minutes-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
}

.miss-minutes-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
  pointer-events: none;
  background: transparent;
  border: none;
  outline: none;
}

.miss-minutes-video.is-playing {
  display: block;
}

/* ==========================================================
   TVA TEMPORAL INSPECTION TERMINAL (MINI-GAME MODAL)
   Refined TVA Typography & Interface Design System
========================================================== */

/* TVA Scoped Tokens */
:root {
  --tva-font-mono: 'IBM Plex Mono', 'JetBrains Mono', monospace;
  --tva-font-display: 'Barlow Condensed', 'Bebas Neue', 'Oswald', sans-serif;
  --tva-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --tva-font-typewriter: 'Special Elite', 'Courier Prime', monospace;
}

.tva-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 920;
  background: rgba(14, 10, 7, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.tva-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tva-modal-window {
  position: relative;
  width: 100%;
  max-width: 530px;
  max-height: min(90vh, 720px);
  background: #1C1813;
  border: 1.5px solid var(--border-brass);
  border-radius: var(--radius-md);
  box-shadow: 0 0 35px rgba(184, 146, 58, 0.2), 0 25px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--paper-cream);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tva-modal-backdrop.open .tva-modal-window {
  transform: translateY(0) scale(1);
}

/* Subtle CRT scanlines */
.tva-crt-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.35) 50%);
  background-size: 100% 4px;
  z-index: 5;
  opacity: 0.32;
}

/* ==========================================================
   A. TERMINAL HEADER & NOTIFICATIONS
========================================================== */
.tva-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #1C1813;
  border-bottom: 1.5px solid var(--border-brass);
  z-index: 10;
  position: relative;
  gap: 12px;
}

.tva-header-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tva-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 8px var(--amber-bright);
  flex-shrink: 0;
  animation: tvaPulse 2s infinite ease-in-out;
}

@keyframes tvaPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.tva-header-title {
  font-family: var(--tva-font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tva-header-slash {
  color: var(--amber-bright);
  font-weight: 500;
  margin: 0 0.15em;
  opacity: 0.9;
}

.tva-header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.tva-progress-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(63, 181, 160, 0.08);
  border: 1px solid var(--border-subtle);
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  font-family: var(--tva-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-bright);
}

.tva-progress-pips {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tva-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.tva-pip.active {
  background: var(--amber-bright);
  box-shadow: 0 0 6px var(--amber-bright);
}

.tva-pip.completed {
  background: var(--green-phosphor);
  box-shadow: 0 0 6px var(--green-phosphor);
}

.tva-close-btn {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.tva-close-btn:hover {
  color: var(--paper-cream);
  border-color: var(--border-subtle);
  background: rgba(239, 230, 210, 0.08);
}

.tva-close-btn:focus-visible {
  outline: 2px solid var(--amber-bright);
  outline-offset: 2px;
}

/* TVA Terminal Live Notification Broadcast */
.tva-terminal-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: #1C1813;
  border-bottom: 1px solid rgba(184, 146, 58, 0.25);
  font-family: var(--tva-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-cream);
  z-index: 9;
  position: relative;
  min-height: 34px;
  line-height: 1.4;
  transition: background 0.2s ease;
}

.tva-terminal-notice:empty {
  display: none;
}

.tva-terminal-notice::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 8px var(--amber-bright);
  flex-shrink: 0;
  animation: tvaPulse 2s infinite ease-in-out;
}

/* ==========================================================
   MODAL BODY & VIEW CONTAINER
========================================================== */
.tva-modal-body {
  padding: 22px 20px;
  overflow-y: auto;
  max-height: calc(90vh - 100px);
  z-index: 6;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
}

.tva-modal-body::-webkit-scrollbar {
  width: 5px;
}
.tva-modal-body::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 3px;
}

/* ==========================================================
   B. MAIN MISSION TITLES & C. STATUS METADATA
========================================================== */
.tva-view-meta {
  font-family: var(--tva-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-bright);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tva-meta-slash {
  color: var(--border-brass);
  font-weight: 400;
}

.tva-view-heading {
  font-family: var(--tva-font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.12;
  color: var(--paper-cream);
  text-transform: uppercase;
  margin: 0 0 10px 0;
  text-rendering: optimizeLegibility;
}

.tva-heading-separator {
  color: var(--amber-bright);
  font-family: var(--tva-font-mono);
  font-weight: 500;
  font-size: 0.72em;
  vertical-align: middle;
  margin: 0 0.15em;
  opacity: 0.9;
}

/* ==========================================================
   D. BODY TEXT & PUZZLE INSTRUCTIONS
========================================================== */
.tva-instructions {
  font-family: var(--tva-font-body);
  font-size: 0.95rem;
  color: #EADFC4;
  line-height: 1.55;
  margin: 0 0 18px 0;
  font-weight: 400;
}

/* Intro Mascot Box */
.tva-intro-mascot-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(18, 13, 9, 0.75);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 18px;
}

.tva-mascot-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--border-brass);
  background: #1C1813;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.9), 0 0 10px rgba(184, 146, 58, 0.2);
}

.tva-intro-mascot-video {
  width: 110%;
  height: 110%;
  object-fit: cover;
  pointer-events: none;
}

.tva-intro-quote-card {
  flex: 1;
}

.tva-intro-quote {
  font-family: var(--tva-font-body);
  font-size: 0.92rem;
  color: var(--paper-cream);
  line-height: 1.5;
  margin: 0 0 8px 0;
  font-weight: 400;
}

.tva-intro-signature {
  font-family: var(--tva-font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--mustard-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Status Readout Bar */
.tva-status-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1C1813;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-family: var(--tva-font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

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

.tva-readout-val {
  color: var(--amber-bright);
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* ==========================================================
   E. BUTTONS (STANDARDIZED & ACCESSIBLE)
========================================================== */
.tva-action-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tva-primary-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 13px 24px;
  background: linear-gradient(180deg, #E8872B 0%, #C46E18 100%);
  border: 1.5px solid #FFBE70;
  border-radius: var(--radius-sm);
  color: #14110D;
  font-family: var(--tva-font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.tva-primary-btn:hover {
  filter: brightness(1.12);
  box-shadow: 0 0 20px rgba(232, 137, 43, 0.45), 0 4px 14px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

.tva-primary-btn:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.tva-primary-btn:focus-visible {
  outline: 2px solid var(--amber-bright);
  outline-offset: 3px;
}

.tva-secondary-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 24, 19, 0.7);
  border: 1.5px solid var(--border-brass);
  color: var(--paper-cream);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--tva-font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tva-secondary-btn:hover {
  border-color: var(--amber-bright);
  color: #FFF;
  background: rgba(63, 181, 160, 0.08);
  box-shadow: 0 0 12px rgba(232, 137, 43, 0.25);
  transform: translateY(-1px);
}

.tva-secondary-btn:active {
  transform: translateY(0);
}

.tva-secondary-btn:focus-visible {
  outline: 2px solid var(--amber-bright);
  outline-offset: 3px;
}

.tva-text-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28, 24, 19, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--tva-font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tva-text-action-btn:hover {
  color: var(--amber-bright);
  border-color: var(--border-brass);
  background: rgba(232, 137, 43, 0.1);
  box-shadow: 0 0 10px rgba(232, 137, 43, 0.2);
}

.tva-text-action-btn:focus-visible {
  outline: 2px solid var(--amber-bright);
  outline-offset: 2px;
}

.tva-view-subtext {
  text-align: center;
  font-family: var(--tva-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 14px;
}

/* ==========================================================
   FEEDBACK BANNER (STATUS & VALIDATION)
========================================================== */
.tva-feedback-banner {
  margin-top: 16px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  background: rgba(18, 14, 10, 0.95);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--tva-font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
  transition: all 0.25s ease;
}

.tva-feedback-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
  line-height: 1;
}

.tva-feedback-text {
  flex: 1;
}

.tva-feedback-banner.status-success {
  border-color: var(--green-phosphor);
  color: var(--green-phosphor);
  background: rgba(124, 255, 155, 0.09);
  box-shadow: 0 0 16px rgba(124, 255, 155, 0.22);
}

.tva-feedback-banner.status-error {
  border-color: #C8432F;
  color: #FF8F80;
  background: rgba(200, 67, 47, 0.1);
  box-shadow: 0 0 12px rgba(200, 67, 47, 0.18);
}

.tva-feedback-banner.status-warning,
.tva-feedback-banner.status-active {
  border-color: var(--amber-bright);
  color: var(--amber-bright);
  background: rgba(232, 137, 43, 0.1);
  box-shadow: 0 0 14px rgba(232, 137, 43, 0.2);
}

/* ==========================================================
   MISSION 1: SPOT THE ANOMALY
========================================================== */
.tva-timelines-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tva-timeline-card {
  width: 100%;
  background: #14110D;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 11px 15px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.tva-timeline-card:hover {
  border-color: var(--border-brass);
  background: #19140E;
}

.tva-timeline-card:focus-visible {
  outline: 2px solid var(--amber-bright);
  outline-offset: 2px;
}

.tva-timeline-card.correct {
  border-color: var(--green-phosphor);
  background: rgba(124, 255, 155, 0.07);
  box-shadow: 0 0 16px rgba(124, 255, 155, 0.25);
}

.tva-timeline-card.incorrect {
  border-color: var(--stamp-red);
  background: rgba(200, 67, 47, 0.08);
  animation: tvaShake 0.4s ease;
}

@keyframes tvaShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

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

.tva-branch-tag {
  font-family: var(--tva-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--paper-cream);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tva-branch-status {
  font-family: var(--tva-font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tva-branch-status.anomaly-flag {
  color: var(--amber-bright);
}

.tva-timeline-svg-wrap {
  width: 100%;
}

.tva-timeline-svg {
  width: 100%;
  height: 52px;
  display: block;
}

.tva-tl-line {
  stroke: var(--border-brass);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.tva-tl-line-anomaly {
  stroke: var(--brick);
  stroke-width: 2.5;
  stroke-dasharray: 4 2;
  fill: none;
}

.tva-tl-node {
  fill: #1C150F;
  stroke: var(--amber-bright);
  stroke-width: 2.5;
}

.tva-tl-node-anomaly {
  fill: #C8432F;
  stroke: var(--brick);
  stroke-width: 2;
}

.tva-tl-label {
  fill: var(--text-dim);
  font-family: var(--tva-font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.tva-tl-label-err {
  fill: var(--brick);
  font-family: var(--tva-font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ==========================================================
   MISSION 2: CRACK ACCESS CODE
========================================================== */
.tva-classified-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1C1813;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-family: var(--tva-font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mustard-secondary);
  transition: all 0.25s ease;
}

.tva-classified-badge.unlocked {
  border-color: var(--green-phosphor);
  color: var(--green-phosphor);
  background: rgba(124, 255, 155, 0.08);
  box-shadow: 0 0 12px rgba(124, 255, 155, 0.2);
}

.tva-lock-icon {
  font-size: 1rem;
  line-height: 1;
}

.tva-lock-status {
  flex: 1;
}

.tva-code-sequence-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1C1813;
  border: 1.5px solid var(--border-brass);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.tva-seq-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #1A140E;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  min-width: 56px;
}

.tva-seq-item .tva-sym {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--amber-bright);
}

.tva-seq-item .tva-sym-name {
  font-family: var(--tva-font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tva-seq-item.tva-seq-mystery {
  border-color: var(--amber-bright);
  background: rgba(184, 146, 58, 0.12);
  box-shadow: 0 0 10px rgba(232, 137, 43, 0.25);
}

.tva-seq-item.tva-seq-mystery .tva-sym {
  color: var(--paper-cream);
  font-weight: bold;
}

.tva-seq-arrow {
  color: var(--border-brass);
  font-size: 1.1rem;
}

.tva-clue-text {
  font-family: var(--tva-font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.tva-symbols-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tva-symbol-btn {
  background: #14110D;
  border: 1.5px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.tva-symbol-btn:hover {
  border-color: var(--border-brass);
  background: #19140E;
}

.tva-symbol-btn:focus-visible {
  outline: 2px solid var(--amber-bright);
  outline-offset: 2px;
}

.tva-symbol-btn.correct {
  border-color: var(--green-phosphor);
  background: rgba(124, 255, 155, 0.08);
  box-shadow: 0 0 16px rgba(124, 255, 155, 0.25);
}

.tva-symbol-btn.incorrect {
  border-color: var(--stamp-red);
  background: rgba(200, 67, 47, 0.08);
  animation: tvaShake 0.4s ease;
}

.tva-symbol-icon {
  font-size: 1.6rem;
  color: var(--amber-bright);
  line-height: 1;
}

.tva-symbol-label {
  font-family: var(--tva-font-mono);
  font-size: 0.76rem;
  color: var(--paper-cream);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================
   MISSION 3: STABILISE THE TIMELINE
========================================================== */
.tva-m3-sequence-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1C1813;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: var(--tva-font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-bright);
  margin-bottom: 20px;
}

.tva-m3-status-pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 6px var(--amber-bright);
  flex-shrink: 0;
}

.tva-nodes-circuit-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 8px;
  margin-bottom: 14px;
}

.tva-circuit-wire {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50%;
  height: 3px;
  background: var(--border-dim);
  z-index: 1;
  transform: translateY(-50%);
}

.tva-circuit-node {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #14110D;
  border: 2px solid var(--border-brass);
  color: var(--paper-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.tva-circuit-node:hover {
  border-color: var(--amber-bright);
  transform: scale(1.08);
}

.tva-circuit-node:focus-visible {
  outline: 2px solid var(--amber-bright);
  outline-offset: 3px;
}

.tva-node-inner {
  font-family: var(--tva-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.tva-node-tag {
  font-family: var(--tva-font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: absolute;
  top: calc(100% + 5px);
  white-space: nowrap;
}

/* Mission 3 Animations */
.tva-circuit-node.pulse-active {
  background: var(--amber-primary);
  border-color: #FFF;
  color: #14110D;
  box-shadow: 0 0 20px var(--amber-bright), 0 0 40px var(--amber-glow);
  transform: scale(1.15);
}

.tva-circuit-node.user-active {
  background: var(--green-phosphor);
  border-color: #FFF;
  color: #14110D;
  box-shadow: 0 0 16px var(--green-phosphor);
  transform: scale(1.1);
}

.tva-circuit-node.user-error {
  background: var(--stamp-red);
  border-color: #FFF;
  color: #FFF;
  box-shadow: 0 0 16px var(--stamp-red);
  animation: tvaShake 0.4s ease;
}

.tva-circuit-node.harmonic-success {
  background: var(--amber-bright);
  border-color: #FFF;
  color: #14110D;
  box-shadow: 0 0 24px var(--amber-bright), 0 0 40px var(--amber-glow);
  animation: tvaHarmonic 1.5s infinite alternate ease-in-out;
}

@keyframes tvaHarmonic {
  from { transform: scale(1.08); filter: brightness(1); }
  to { transform: scale(1.14); filter: brightness(1.3); }
}

.tva-m3-actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

/* ==========================================================
   COMPLETION VIEW: TVA INSPECTION REPORT
========================================================== */
.tva-complete-report-box {
  background: #1C1813;
  border: 1.5px solid var(--border-brass);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-family: var(--tva-font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tva-report-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tva-report-divider {
  height: 1px;
  background: var(--border-dim);
  margin: 4px 0;
}

.tva-rep-k {
  color: var(--text-muted);
}

.tva-rep-v {
  color: var(--paper-cream);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.tva-rep-v.highlight-green {
  color: var(--green-phosphor);
  text-shadow: 0 0 8px rgba(124, 255, 155, 0.35);
}

.tva-rep-v.highlight-amber {
  color: var(--amber-bright);
  text-shadow: 0 0 8px rgba(255, 157, 59, 0.35);
}

.tva-complete-actions {
  margin-top: 18px;
}

/* ==========================================================
   RESPONSIVE TYPOGRAPHY & LAYOUT ADJUSTMENTS
========================================================== */
@media (max-width: 480px) {
  .tva-modal-window {
    max-width: 100%;
    border-radius: var(--radius-sm);
  }

  .tva-modal-header {
    padding: 10px 14px;
    gap: 8px;
  }

  .tva-header-title {
    font-size: 0.72rem;
  }

  .tva-modal-body {
    padding: 18px 14px;
  }

  .tva-terminal-notice {
    padding: 7px 14px;
    font-size: 0.68rem;
  }

  .tva-view-heading {
    font-size: 1.75rem;
    margin-bottom: 8px;
  }

  .tva-view-meta {
    font-size: 0.68rem;
  }

  .tva-instructions {
    font-size: 0.88rem;
    margin-bottom: 14px;
  }

  .tva-primary-btn {
    padding: 12px 18px;
    font-size: 0.84rem;
  }

  .tva-secondary-btn {
    padding: 11px 16px;
    font-size: 0.8rem;
  }

  .tva-nodes-circuit-container {
    padding: 16px 2px;
  }

  .tva-circuit-node {
    width: 48px;
    height: 48px;
  }

  .tva-node-inner {
    font-size: 1.15rem;
  }

  .tva-code-sequence-box {
    gap: 6px;
    padding: 12px 8px;
  }

  .tva-seq-item {
    padding: 6px 8px;
    min-width: 46px;
  }
}

@media (max-width: 374px) {
  .tva-modal-header {
    padding: 8px 10px;
    gap: 6px;
  }

  .tva-header-title {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .tva-progress-badge {
    padding: 3px 6px;
    font-size: 0.66rem;
  }

  .tva-view-heading {
    font-size: 1.5rem;
  }

  .tva-circuit-node {
    width: 42px;
    height: 42px;
  }

  .tva-node-inner {
    font-size: 1rem;
  }

  .tva-node-tag {
    font-size: 0.52rem;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tva-status-dot,
  .tva-timeline-card.incorrect,
  .tva-symbol-btn.incorrect,
  .tva-circuit-node.user-error,
  .tva-circuit-node.harmonic-success {
    animation: none !important;
  }
  .tva-modal-backdrop,
  .tva-modal-window {
    transition: none !important;
  }
}

/* ==========================================================
   MODAL — OPEN A CASE FILE FORM
========================================================== */
.bureau-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 11, 8, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bureau-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.bureau-modal-card {
  width: 90%;
  max-width: 520px;
  background: #1C1813;
  border: 2px solid var(--border-brass);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  font-family: var(--font-typewriter);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.modal-form-group label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--mustard-secondary);
}

.modal-input {
  background: #120e0a;
  border: 1px solid var(--border-subtle);
  color: var(--paper-cream);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-typewriter);
}

.modal-input:focus {
  outline: none;
  border-color: var(--amber-bright);
}

/* ==========================================================
   RESPONSIVE DESIGN SYSTEM — COMPREHENSIVE BREAKPOINTS
   - Tablets & Small Desktops (768px - 1023px)
   - Large Phones & Phablets (481px - 767px)
   - Standard Mobile Phones (375px - 480px)
   - Small Mobile Phones (320px - 374px)
   - Touch & Reduced Motion Overrides
========================================================== */

/* ----------------------------------------------------------
   1. TABLETS & SMALL LAPTOPS (768px to 1023px)
---------------------------------------------------------- */
@media (max-width: 1023px) {
  .nav-container {
    padding: 0 20px 0 54px;
  }
  
  .nav-links-menu {
    gap: 12px;
  }
  
  .nav-item-link {
    font-size: 0.74rem;
    gap: 4px;
  }
  
  .nav-desktop-cta {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
  
  .brand-wordmark {
    font-size: 1.65rem;
  }

  .bureau-section {
    padding-left: 56px;
    padding-right: 24px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .footer-inner-container {
    padding-left: 48px;
  }

  .crt-monitors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .film-strip-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .tier-gold-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 600px;
  }

  .tier-silver-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 740px;
  }

  .cabinet-tabs-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

/* ----------------------------------------------------------
   INTERMEDIATE BREAKPOINT: SWITCH TO MOBILE NAV (<= 900px)
---------------------------------------------------------- */
@media (max-width: 900px) {
  /* Temporal clock navigator compact state */
  .nav-actions {
    margin-right: 64px;
  }
  .corner-dial-trigger {
    top: -65px;
    right: -65px;
    width: 140px;
    height: 140px;
  }
  .corner-dial-pointer {
    height: 44px;
  }
  .corner-dial-pointer .pointer-needle {
    height: 38px;
  }
  .corner-rotor-marker {
    transform: translate(-50%, -50%) rotate(var(--base-angle)) translateY(-48px);
  }
  .corner-temporal-menu {
    top: 68px;
    right: 12px;
    width: min(300px, calc(100vw - 24px));
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .nav-desktop-cta {
    display: none !important;
  }
  .nav-container {
    padding: 0 18px !important;
  }
  .bureau-section {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ----------------------------------------------------------
   2. UNIFIED RESPONSIVE SYSTEM: TABLETS & MOBILE (<= 768px)
---------------------------------------------------------- */
@media (max-width: 768px) {
  /* Layout Gutters & Padding */
  .bureau-section {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 56px;
    padding-bottom: 56px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .footer-inner-container {
    padding-left: 0;
    padding-right: 0;
  }

  /* Header & Navigation */
  .bureau-navbar {
    height: 62px;
  }

  .main-bureau-content {
    padding-top: 62px;
  }

  .nav-container {
    padding: 0 18px;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-links-menu,
  .nav-desktop-cta,
  .nav-timeline-status {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    width: 38px;
    height: 38px;
  }

  .brand-wordmark {
    font-size: 1.45rem;
    letter-spacing: 0.04em;
  }

  .brand-badge {
    padding-right: 8px;
    gap: 5px;
    font-size: 0.70rem;
  }

  .nav-actions {
    margin-right: 56px;
  }

  /* Compact Temporal Clock Dial */
  .corner-dial-trigger {
    top: -50px;
    right: -50px;
    width: 105px;
    height: 105px;
  }

  .corner-dial-pointer {
    height: 34px;
  }

  .corner-dial-pointer .pointer-needle {
    height: 28px;
  }

  .corner-rotor-marker {
    transform: translate(-50%, -50%) rotate(var(--base-angle)) translateY(-36px);
  }

  /* Expanded Temporal Directory */
  .corner-temporal-menu {
    top: 66px;
    right: 10px;
    width: calc(100vw - 20px);
    max-width: 310px;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }

  .corner-temporal-menu .sector-box {
    min-height: 40px;
    padding: 8px 10px;
  }

  /* Section Typography & Header */
  .section-header-wrap {
    margin-bottom: 28px;
    width: 100%;
  }

  .section-main-heading {
    font-size: clamp(1.8rem, 6.5vw, 2.3rem);
    line-height: 1.12;
    letter-spacing: 0.03em;
    word-break: break-word;
    margin-bottom: 10px;
  }

  .section-subtext {
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 100%;
    color: var(--text-muted);
  }

  .bureau-tag {
    font-size: 0.70rem;
    padding: 3px 8px;
    letter-spacing: 0.06em;
    max-width: 100%;
    word-break: break-word;
    white-space: normal;
  }

  /* Section Rubber Stamps */
  .section-rubber-stamp {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.85rem;
    padding: 2px 8px;
    border-width: 1.5px;
    border-radius: 4px;
    transform: rotate(3deg);
    opacity: 0.85;
  }

  /* Hero Section Adaptations */
  .hero-bureau-section {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 44px;
    width: 100%;
  }

  .hero-content-wrap {
    width: 100%;
    max-width: 100%;
  }

  .hero-title-container {
    width: 100%;
  }

  .hero-bureau-section .section-rubber-stamp {
    top: -8px;
    right: 0;
    font-size: 0.80rem;
    padding: 2px 7px;
    transform: rotate(4deg);
  }

  .split-flap-title {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: clamp(4px, 1.2vw, 10px);
    margin: 12px 0;
  }

  .flap-word {
    display: flex;
    align-items: center;
    gap: clamp(1px, 0.6vw, 3px);
  }

  .flap-word-main {
    flex: 1 1 auto;
    min-width: 0;
  }

  .flap-char-box {
    flex: 1 1 0;
    min-width: 0;
    padding: clamp(4px, 1.2vw, 8px) 0;
    font-size: clamp(1.4rem, 5.5vw, 2.2rem);
    text-align: center;
    border-width: 1.5px;
    border-radius: 3px;
    box-sizing: border-box;
  }

  .hero-year-tag {
    position: relative;
    top: clamp(2px, 0.4vw, 4px);
    font-family: var(--font-display, 'Bebas Neue', 'Barlow Condensed', sans-serif);
    font-size: clamp(1.4rem, 5.5vw, 2.3rem);
    font-weight: 800;
    color: var(--paper-cream, #EADFC4);
    line-height: 0.9;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex: 0 0 auto;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 10px rgba(234, 223, 196, 0.2);
    margin-left: clamp(4px, 1.2vw, 10px);
  }

  .hero-subhead {
    font-size: clamp(0.95rem, 3.4vw, 1.2rem);
    letter-spacing: 0.06em;
    line-height: 1.3;
    margin-bottom: 6px;
  }

  .hero-tagline {
    font-size: clamp(0.92rem, 3vw, 1.05rem);
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--mustard-secondary);
  }

  .hero-clock-backdrop {
    width: min(280px, 75vw);
    height: min(280px, 75vw);
  }

  .typed-form-strip {
    grid-template-columns: 1fr;
    padding: 14px 14px;
    gap: 10px;
    margin-bottom: 18px;
    width: 100%;
    box-sizing: border-box;
    background: rgba(28, 24, 19, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .form-field-unit {
    gap: 2px;
  }

  .field-label {
    font-size: 0.66rem;
  }

  .field-value {
    font-size: 0.88rem;
  }

  .hero-cta-group {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .hero-cta-group .btn-bureau-secondary {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    padding: 10px 16px;
    box-sizing: border-box;
  }

  .hero-registration-pill {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    font-size: 0.72rem !important;
    padding: 8px 12px !important;
    margin-top: 12px !important;
  }

  /* About / Event Briefing */
  .case-file-dossier {
    padding: 22px 16px;
    width: 100%;
    box-sizing: border-box;
    border-radius: var(--radius-sm);
  }

  .case-file-tab {
    font-size: 0.68rem;
    padding: 3px 10px;
  }

  .case-notes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
  }

  .case-note-card {
    padding: 12px 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .note-title {
    font-size: 0.90rem;
    margin-bottom: 4px;
    line-height: 1.25;
  }

  .note-body {
    font-size: 0.74rem;
    line-height: 1.38;
  }

  /* Problem Statements */
  .domain-slots-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }

  .domain-slots-grid > .domain-slot-card {
    grid-column: auto !important;
    width: 100%;
    box-sizing: border-box;
    min-height: auto;
  }

  .domain-slot-topbar {
    padding: 8px 12px;
    font-size: 0.70rem;
  }

  .domain-screen-display {
    padding: 8px 10px;
  }

  .waveform-svg {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .slot-content-chamber {
    padding: 14px 12px;
  }

  .slot-pending-btn {
    min-height: 44px;
    width: 100%;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Selection Status / Results */
  .results-status-banner {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .results-notice-body {
    padding: 16px 14px;
  }

  .results-dossier-chamber {
    width: 100%;
  }

  .roster-standby-message {
    padding: 14px 14px;
    font-size: 0.86rem;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Registration Guidelines & Minimal Fee */
  .registration-content-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .reg-milestone-panel {
    width: 100%;
  }

  .reg-k-label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .reg-date-headline {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    line-height: 1.1;
    margin-bottom: 8px;
  }

  .fee-calculation-box {
    padding: 20px 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .fee-box-title {
    font-size: 0.78rem;
    padding-bottom: 8px;
    margin-bottom: 12px;
  }

  .fee-amount-val {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  /* Accommodation */
  .accommodation-notes-grid,
  .accommodation-two-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
  }

  .quarters-stat-card {
    padding: 12px 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .stat-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
  }

  .stat-heading {
    font-size: 0.76rem;
    margin-bottom: 4px;
    line-height: 1.25;
  }

  .stat-body {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .accommodation-details-panel {
    padding: 18px 14px;
    width: 100%;
    margin-top: 16px;
    box-sizing: border-box;
  }

  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Judging & Recognition */
  .evaluation-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
  }

  .pillar-card {
    padding: 12px 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .pillar-title {
    font-size: 0.88rem;
  }

  .pillar-desc {
    font-size: 0.72rem;
    line-height: 1.38;
  }

  /* Sponsors & Partners (2-Column Mobile Format) */
  .sponsors-pinboard-deck {
    padding: 20px 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .tier-title-container {
    max-width: 210px;
  }

  .tier-gold-grid,
  .tier-silver-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
  }

  .auth-clearance-card,
  .tier-title-card,
  .tier-gold-card,
  .tier-silver-card {
    padding: 12px 8px 10px;
  }

  .card-pushpin-head {
    width: 10px;
    height: 10px;
    top: -6px;
  }

  .card-auth-number {
    font-size: 0.52rem;
    margin-bottom: 5px;
  }

  .card-logo-container,
  .tier-title-card .card-logo-container,
  .tier-gold-card .card-logo-container,
  .tier-silver-card .card-logo-container {
    height: 44px;
    margin-bottom: 6px;
  }

  .card-sponsor-name,
  .tier-title-card .card-sponsor-name,
  .tier-gold-card .card-sponsor-name,
  .tier-silver-card .card-sponsor-name {
    font-size: 0.95rem;
    margin-bottom: 5px;
  }

  .card-clearance-footer {
    padding-top: 5px;
    gap: 4px;
  }

  .card-tier-stamp {
    font-size: 0.48rem;
    padding: 2px 4px;
  }

  .card-approved-stamp {
    font-size: 0.65rem;
    padding: 1px 3px;
  }

  .partnership-requisition-panel {
    padding: 18px 14px;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

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

  .partnership-actions-wrap .btn-bureau-brass {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  /* FAQ Accordion */
  .case-files-accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .folder-tab-bar {
    min-height: 46px;
    padding: 12px 14px;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
  }

  .folder-query-title {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .folder-drawer-inner {
    padding: 14px 14px;
    font-size: 0.84rem;
    line-height: 1.5;
  }

  /* Contact & Venue */
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
  }

  .contact-dossier-card {
    padding: 16px 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-sub-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
  }

  /* Footer, Map, and Crew */
  .filing-cabinet-footer {
    padding: 40px 16px 24px;
    width: 100%;
    box-sizing: border-box;
  }

  .footer-control-grid,
  .footer-simplified-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }

  .footer-panel {
    padding: 18px 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .map-viewport-frame {
    height: 180px;
    width: 100%;
  }

  .btn-open-maps {
    min-height: 44px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .crew-roster-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .crew-roster-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .crew-role {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .crew-name {
    font-size: 0.90rem;
    font-weight: 600;
  }

  .crew-phone {
    width: 100%;
    justify-content: flex-start;
  }

  .crew-phone-link {
    min-height: 40px;
    font-size: 0.82rem;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    word-break: break-all;
  }

  .footer-action-bar-single {
    padding: 20px 0;
    width: 100%;
  }

  .btn-back-to-start {
    min-height: 46px;
    width: 100%;
    max-width: 260px;
    justify-content: center;
    margin: 0 auto;
    display: flex;
  }

  .footer-bottom-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding-top: 16px;
    font-size: 0.72rem;
    width: 100%;
  }

  /* Floating Miss Minutes */
  .miss-minutes-overlay {
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    z-index: 120 !important;
  }

  .miss-minutes-speech {
    display: none !important;
  }

  /* Modal Dialogs */
  .bureau-modal-card,
  .tva-modal-card {
    padding: 20px 14px;
    width: min(94vw, 540px);
    max-height: 90vh;
    box-sizing: border-box;
  }
}

/* ----------------------------------------------------------
   3. STANDARD MOBILE PHONES (361px to 480px)
---------------------------------------------------------- */
@media (max-width: 480px) {
  .bureau-section {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .nav-container {
    padding: 0 16px;
  }

  .nav-actions {
    margin-right: 48px;
  }

  .corner-dial-trigger {
    top: -46px;
    right: -46px;
    width: 96px;
    height: 96px;
  }

  .corner-dial-pointer {
    height: 30px;
  }

  .corner-dial-pointer .pointer-needle {
    height: 24px;
  }

  .corner-rotor-marker {
    transform: translate(-50%, -50%) rotate(var(--base-angle)) translateY(-32px);
  }

  .corner-temporal-menu {
    top: 64px;
    right: 8px;
    width: calc(100vw - 16px);
    max-width: 310px;
  }

  .section-main-heading {
    font-size: clamp(1.6rem, 6.2vw, 2.05rem);
  }

  .section-subtext {
    font-size: 0.90rem;
    line-height: 1.5;
  }
}

/* ----------------------------------------------------------
   4. COMPACT MOBILE PHONES (320px to 360px)
---------------------------------------------------------- */
@media (max-width: 360px) {
  .bureau-section {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .bureau-navbar {
    height: 58px;
  }

  .main-bureau-content {
    padding-top: 58px;
  }

  .nav-container {
    padding: 0 12px;
  }

  .brand-wordmark {
    font-size: 1.25rem;
    letter-spacing: 0.03em;
  }

  .brand-badge {
    font-size: 0.62rem;
    padding-right: 6px;
    gap: 3px;
  }

  .mobile-menu-toggle {
    width: 34px;
    height: 34px;
  }

  .nav-actions {
    margin-right: 42px;
  }

  .corner-dial-trigger {
    top: -43px;
    right: -43px;
    width: 86px;
    height: 86px;
  }

  .corner-dial-pointer {
    height: 26px;
  }

  .corner-dial-pointer .pointer-needle {
    height: 20px;
  }

  .corner-rotor-marker {
    transform: translate(-50%, -50%) rotate(var(--base-angle)) translateY(-28px);
  }

  .corner-temporal-menu {
    top: 60px;
    right: 6px;
    width: calc(100vw - 12px);
    max-width: 295px;
  }

  .section-main-heading {
    font-size: clamp(1.4rem, 6vw, 1.75rem);
  }

  .section-subtext {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .bureau-tag {
    font-size: 0.64rem;
    padding: 2px 6px;
  }

  .flap-char-box {
    font-size: 1.22rem;
    padding: 3px 0;
    min-width: 18px;
  }

  .hero-year-tag {
    font-size: 1.22rem;
  }

  .hero-subhead {
    font-size: 0.88rem;
  }

  .hero-tagline {
    font-size: 0.86rem;
  }

  .case-file-dossier,
  .typed-form-strip,
  .fee-calculation-box,
  .accommodation-details-panel,
  .footer-panel {
    padding: 14px 10px;
  }

  .stat-heading {
    font-size: 0.82rem;
  }

  .stat-body {
    font-size: 0.80rem;
  }

  .boot-terminal-card {
    padding: 16px 12px;
  }

  .boot-title {
    font-size: 0.74rem;
  }
}

/* ==========================================================
   TVA INVESTIGATION ARCHIVE — SCROLL-TRIGGERED ANIMATIONS & INTERACTIONS
   Mechanical, cinematic, intentional micro-interactions for foreground UI
========================================================== */

/* ----------------------------------------------------------
   0. BUTTON MICRO-INTERACTIONS & AMBER SCANLINE
---------------------------------------------------------- */
.btn-bureau-brass,
.btn-bureau-secondary {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.22s ease,
              color 0.22s ease;
}

.btn-bureau-brass::after,
.btn-bureau-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: skewX(-24deg);
  pointer-events: none;
  transition: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-bureau-brass:hover {
    transform: translateY(-3px);
    border-color: #FFC06A;
    box-shadow: 0 6px 20px rgba(232, 137, 43, 0.55), 0 0 14px var(--amber-glow);
  }

  .btn-bureau-brass:hover::after,
  .btn-bureau-secondary:hover::after {
    left: 170%;
    transition: left 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .btn-bureau-secondary:hover {
    transform: translateY(-3px);
    border-color: var(--amber-bright);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55), 0 0 14px rgba(232, 137, 43, 0.35);
  }
}

/* ----------------------------------------------------------
   1. HERO SECTION — OVERCLOCK 2027 TIMELINE INITIAL REVEAL
---------------------------------------------------------- */
.split-flap-title {
  position: relative;
  overflow: visible;
}

.split-flap-title::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -15%;
  width: 130%;
  height: 120%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 157, 59, 0) 30%, rgba(255, 190, 90, 0.75) 50%, rgba(255, 157, 59, 0) 70%, transparent 100%);
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-anim-active .split-flap-title::after {
  animation: amber-title-sweep 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0.38s forwards;
}

@keyframes amber-title-sweep {
  0% { opacity: 0; transform: translateX(-100%); }
  25% { opacity: 0.95; }
  75% { opacity: 0.95; }
  100% { opacity: 0; transform: translateX(100%); }
}

.split-flap-title .flap-char-box {
  opacity: 0;
  transform: translateY(22px) rotateX(40deg);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.38s ease;
  will-change: transform, opacity;
}

.hero-anim-active .split-flap-title .flap-char-box {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.hero-anim-active .split-flap-title .flap-word-main .flap-char-box:nth-child(1),
.hero-anim-active .split-flap-title .flap-char-box:nth-child(1) { transition-delay: 0.04s; }
.hero-anim-active .split-flap-title .flap-word-main .flap-char-box:nth-child(2),
.hero-anim-active .split-flap-title .flap-char-box:nth-child(2) { transition-delay: 0.08s; }
.hero-anim-active .split-flap-title .flap-word-main .flap-char-box:nth-child(3),
.hero-anim-active .split-flap-title .flap-char-box:nth-child(3) { transition-delay: 0.12s; }
.hero-anim-active .split-flap-title .flap-word-main .flap-char-box:nth-child(4),
.hero-anim-active .split-flap-title .flap-char-box:nth-child(4) { transition-delay: 0.16s; }
.hero-anim-active .split-flap-title .flap-word-main .flap-char-box:nth-child(5),
.hero-anim-active .split-flap-title .flap-char-box:nth-child(5) { transition-delay: 0.20s; }
.hero-anim-active .split-flap-title .flap-word-main .flap-char-box:nth-child(6),
.hero-anim-active .split-flap-title .flap-char-box:nth-child(6) { transition-delay: 0.24s; }
.hero-anim-active .split-flap-title .flap-word-main .flap-char-box:nth-child(7),
.hero-anim-active .split-flap-title .flap-char-box:nth-child(7) { transition-delay: 0.28s; }
.hero-anim-active .split-flap-title .flap-word-main .flap-char-box:nth-child(8),
.hero-anim-active .split-flap-title .flap-char-box:nth-child(8) { transition-delay: 0.32s; }
.hero-anim-active .split-flap-title .flap-word-main .flap-char-box:nth-child(9),
.hero-anim-active .split-flap-title .flap-char-box:nth-child(9) { transition-delay: 0.36s; }


.hero-subhead,
.hero-tagline {
  opacity: 0;
  transform: translateY(16px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.26s, opacity 0.45s ease 0.26s;
}

.hero-anim-active .hero-subhead,
.hero-anim-active .hero-tagline {
  opacity: 1;
  transform: translateY(0);
}

.hero-bureau-section .section-rubber-stamp {
  opacity: 0;
  transform: scale(1.4) translateY(-16px) rotate(-14deg);
}

.hero-anim-active .hero-bureau-section .section-rubber-stamp,
.hero-bureau-section.hero-anim-active .section-rubber-stamp {
  animation: hero-stamp-impact 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.35s forwards;
}

@keyframes hero-stamp-impact {
  0% {
    opacity: 0;
    transform: scale(1.4) translateY(-16px) rotate(-14deg);
  }
  65% {
    opacity: 1;
    transform: scale(0.96) translateY(2px) rotate(-5deg);
    box-shadow: 0 0 22px rgba(232, 137, 43, 0.7);
    border-color: var(--amber-bright);
    color: var(--amber-bright);
  }
  100% {
    opacity: 0.95;
    transform: scale(1) translateY(0) rotate(-6deg);
    box-shadow: 0 0 12px rgba(232, 137, 43, 0.3);
    border-color: var(--amber-bright);
    color: var(--amber-bright);
  }
}

.hero-prize-banner {
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.52s cubic-bezier(0.16, 1, 0.3, 1) 0.34s, opacity 0.48s ease 0.34s;
}

.hero-anim-active .hero-prize-banner {
  opacity: 1;
  transform: translateY(0);
}

.typed-form-strip {
  opacity: 0;
  transform: translateY(22px);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.42s, opacity 0.5s ease 0.42s;
}

.hero-anim-active .typed-form-strip {
  opacity: 1;
  transform: translateY(0);
}

.typed-form-strip .form-field-unit {
  opacity: 0;
  transform: translateY(8px);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.hero-anim-active .typed-form-strip .form-field-unit:nth-child(1) { transition-delay: 0.52s; opacity: 1; transform: translateY(0); }
.hero-anim-active .typed-form-strip .form-field-unit:nth-child(2) { transition-delay: 0.62s; opacity: 1; transform: translateY(0); }
.hero-anim-active .typed-form-strip .form-field-unit:nth-child(3) { transition-delay: 0.72s; opacity: 1; transform: translateY(0); }
.hero-anim-active .typed-form-strip .form-field-unit:nth-child(4) { transition-delay: 0.82s; opacity: 1; transform: translateY(0); }
.hero-anim-active .typed-form-strip .form-field-unit:nth-child(5) { transition-delay: 0.92s; opacity: 1; transform: translateY(0); }

.hero-cta-group > * {
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.42s ease;
}

.hero-anim-active .hero-cta-group > :nth-child(1) { transition-delay: 0.68s; opacity: 1; transform: translateY(0); }
.hero-anim-active .hero-cta-group > :nth-child(2) { transition-delay: 0.80s; opacity: 1; transform: translateY(0); }

/* ----------------------------------------------------------
   COMMON SECTION HEADER REVEAL
---------------------------------------------------------- */
.section-header-wrap {
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  will-change: transform, opacity;
}

.bureau-section.revealed .section-header-wrap,
.section-header-wrap.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Rubber Stamp Stamping Impact for all sections */
.bureau-section.stamped .section-rubber-stamp {
  animation: section-stamp-hit 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes section-stamp-hit {
  0% { transform: scale(1.4) translateY(-14px) rotate(-12deg); opacity: 0; }
  60% { transform: scale(0.96) translateY(2px) rotate(-7deg); opacity: 1; box-shadow: 0 0 18px rgba(232, 137, 43, 0.6); }
  100% { transform: scale(1.05) rotate(-8deg); opacity: 0.95; }
}

/* ----------------------------------------------------------
   3D PERSPECTIVE STAGES & SPATIAL CONTAINERS
---------------------------------------------------------- */
.case-file-dossier {
  overflow: visible !important;
}

.case-notes-grid,
.crt-monitors-grid,
.film-strip-track,
.overclock-crucible-chamber,
.equipment-table-wrap,
.sponsors-tier-wrapper,
.case-files-accordion,
.filing-drawer-box {
  perspective: 1200px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
}

/* GPU-Accelerated Foreground 3D Entities */
.case-note-card,
.crt-monitor-card,
.film-frame-card,
.overclock-crucible-chamber,
.equipment-table tbody tr,
.auth-clearance-card,
.case-folder-unit,
.cabinet-tabs-grid .cabinet-index-tab,
.center-timeline-complete-card {
  will-change: transform, box-shadow, border-color;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  opacity: 1;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

/* ==========================================================
   SCROLL-DRIVEN RESPONSIVE CARD SLIDE & SWIVEL SYSTEM (DESKTOP + MOBILE)
   Tactile, smooth entrance animations with alternating 3D swivel
========================================================== */
.bureau-perspective-stage,
.case-notes-grid,
.domain-slots-grid,
.timeline-milestones-list,
.downloads-resource-grid,
.accommodation-notes-grid,
.evaluation-pillars-grid,
.case-files-accordion,
.sponsors-tier-wrapper,
.footer-contact-grid {
  perspective: 1400px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
}

/* Progressive enhancement: Apply scroll entrance & reverse animations to every card, box and panel */
.bureau-scroll-fx-active .case-note-card,
.bureau-scroll-fx-active .domain-slot-card,
.bureau-scroll-fx-active .domain-closing-cta-card,
.bureau-scroll-fx-active .highlight-card,
.bureau-scroll-fx-active .winner-intel-card,
.bureau-scroll-fx-active .results-dossier-chamber,
.bureau-scroll-fx-active .timeline-milestone-item .milestone-card-box,
.bureau-scroll-fx-active .download-resource-card,
.bureau-scroll-fx-active .registration-terminal-card,
.bureau-scroll-fx-active .rules-dossier-card,
.bureau-scroll-fx-active .round-1-subcard,
.bureau-scroll-fx-active .round-2-subcard,
.bureau-scroll-fx-active .rules-round-subcard,
.bureau-scroll-fx-active .round-one-notice-panel,
.bureau-scroll-fx-active .ppt-free-notice-panel,
.bureau-scroll-fx-active .reg-milestone-panel,
.bureau-scroll-fx-active .quarters-stat-card,
.bureau-scroll-fx-active .accommodation-details-panel,
.bureau-scroll-fx-active .pillar-card,
.bureau-scroll-fx-active .recognition-standby-panel,
.bureau-scroll-fx-active .auth-clearance-card,
.bureau-scroll-fx-active .partnership-requisition-panel,
.bureau-scroll-fx-active .case-folder-unit,
.bureau-scroll-fx-active .developer-card,
.bureau-scroll-fx-active .contact-dossier-card,
.bureau-scroll-fx-active .footer-contact-card,
.bureau-scroll-fx-active .footer-map-card,
.bureau-scroll-fx-active .venue-info-box,
.bureau-scroll-fx-active .footer-venue-panel,
.bureau-scroll-fx-active .bureau-scroll-card {
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  opacity: 0;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

/* Odd cards: Glide in with subtle negative 3D Y-yaw and Z-tilt */
.bureau-scroll-fx-active .case-note-card:nth-child(odd),
.bureau-scroll-fx-active .domain-slot-card:nth-child(odd),
.bureau-scroll-fx-active .timeline-milestone-item:nth-child(odd) .milestone-card-box,
.bureau-scroll-fx-active .download-resource-card:nth-child(odd),
.bureau-scroll-fx-active .quarters-stat-card:nth-child(odd),
.bureau-scroll-fx-active .pillar-card:nth-child(odd),
.bureau-scroll-fx-active .auth-clearance-card:nth-child(odd),
.bureau-scroll-fx-active .case-folder-unit:nth-child(odd),
.bureau-scroll-fx-active .developer-card:nth-child(odd),
.bureau-scroll-fx-active .bureau-scroll-card:nth-child(odd) {
  transform: translate3d(-24px, 28px, 0) rotateY(-5deg) rotateZ(-0.8deg) scale(0.98);
}

/* Even cards: Glide in with subtle positive 3D Y-yaw and Z-tilt */
.bureau-scroll-fx-active .case-note-card:nth-child(even),
.bureau-scroll-fx-active .domain-slot-card:nth-child(even),
.bureau-scroll-fx-active .timeline-milestone-item:nth-child(even) .milestone-card-box,
.bureau-scroll-fx-active .download-resource-card:nth-child(even),
.bureau-scroll-fx-active .quarters-stat-card:nth-child(even),
.bureau-scroll-fx-active .pillar-card:nth-child(even),
.bureau-scroll-fx-active .auth-clearance-card:nth-child(even),
.bureau-scroll-fx-active .case-folder-unit:nth-child(even),
.bureau-scroll-fx-active .developer-card:nth-child(even),
.bureau-scroll-fx-active .bureau-scroll-card:nth-child(even) {
  transform: translate3d(24px, 28px, 0) rotateY(5deg) rotateZ(0.8deg) scale(0.98);
}

/* Wide / Standalone panels & boxes: Glide smoothly upward from bottom */
.bureau-scroll-fx-active .domain-closing-cta-card,
.bureau-scroll-fx-active .highlight-card,
.bureau-scroll-fx-active .winner-intel-card,
.bureau-scroll-fx-active .results-dossier-chamber,
.bureau-scroll-fx-active .registration-terminal-card,
.bureau-scroll-fx-active .rules-dossier-card,
.bureau-scroll-fx-active .round-1-subcard,
.bureau-scroll-fx-active .round-2-subcard,
.bureau-scroll-fx-active .rules-round-subcard,
.bureau-scroll-fx-active .round-one-notice-panel,
.bureau-scroll-fx-active .ppt-free-notice-panel,
.bureau-scroll-fx-active .reg-milestone-panel,
.bureau-scroll-fx-active .accommodation-details-panel,
.bureau-scroll-fx-active .recognition-standby-panel,
.bureau-scroll-fx-active .partnership-requisition-panel,
.bureau-scroll-fx-active .contact-dossier-card,
.bureau-scroll-fx-active .footer-contact-card,
.bureau-scroll-fx-active .footer-map-card,
.bureau-scroll-fx-active .venue-info-box,
.bureau-scroll-fx-active .footer-venue-panel {
  transform: translate3d(0, 32px, 0) scale(0.985);
}

/* Stagger delays across children for natural cascading cascade waves */
.bureau-scroll-fx-active .case-note-card:nth-child(1),
.bureau-scroll-fx-active .domain-slot-card:nth-child(1),
.bureau-scroll-fx-active .download-resource-card:nth-child(1),
.bureau-scroll-fx-active .quarters-stat-card:nth-child(1),
.bureau-scroll-fx-active .pillar-card:nth-child(1),
.bureau-scroll-fx-active .auth-clearance-card:nth-child(1),
.bureau-scroll-fx-active .developer-card:nth-child(1),
.bureau-scroll-fx-active .case-folder-unit:nth-child(1) {
  transition-delay: 0.04s;
}

.bureau-scroll-fx-active .case-note-card:nth-child(2),
.bureau-scroll-fx-active .domain-slot-card:nth-child(2),
.bureau-scroll-fx-active .download-resource-card:nth-child(2),
.bureau-scroll-fx-active .quarters-stat-card:nth-child(2),
.bureau-scroll-fx-active .pillar-card:nth-child(2),
.bureau-scroll-fx-active .auth-clearance-card:nth-child(2),
.bureau-scroll-fx-active .developer-card:nth-child(2),
.bureau-scroll-fx-active .case-folder-unit:nth-child(2) {
  transition-delay: 0.12s;
}

.bureau-scroll-fx-active .case-note-card:nth-child(3),
.bureau-scroll-fx-active .domain-slot-card:nth-child(3),
.bureau-scroll-fx-active .download-resource-card:nth-child(3),
.bureau-scroll-fx-active .quarters-stat-card:nth-child(3),
.bureau-scroll-fx-active .pillar-card:nth-child(3),
.bureau-scroll-fx-active .auth-clearance-card:nth-child(3),
.bureau-scroll-fx-active .case-folder-unit:nth-child(3) {
  transition-delay: 0.20s;
}

.bureau-scroll-fx-active .case-note-card:nth-child(4),
.bureau-scroll-fx-active .domain-slot-card:nth-child(4),
.bureau-scroll-fx-active .quarters-stat-card:nth-child(4),
.bureau-scroll-fx-active .pillar-card:nth-child(4),
.bureau-scroll-fx-active .auth-clearance-card:nth-child(4),
.bureau-scroll-fx-active .case-folder-unit:nth-child(4) {
  transition-delay: 0.28s;
}

.bureau-scroll-fx-active .domain-slot-card:nth-child(5),
.bureau-scroll-fx-active .pillar-card:nth-child(5),
.bureau-scroll-fx-active .case-folder-unit:nth-child(5) {
  transition-delay: 0.36s;
}

.bureau-scroll-fx-active .domain-slot-card:nth-child(6),
.bureau-scroll-fx-active .case-folder-unit:nth-child(6) {
  transition-delay: 0.44s;
}

/* REVEALED STATE: Return to resting alignment smoothly with full opacity */
.bureau-scroll-fx-active .case-note-card.is-scroll-revealed,
.bureau-scroll-fx-active .domain-slot-card.is-scroll-revealed,
.bureau-scroll-fx-active .domain-closing-cta-card.is-scroll-revealed,
.bureau-scroll-fx-active .highlight-card.is-scroll-revealed,
.bureau-scroll-fx-active .winner-intel-card.is-scroll-revealed,
.bureau-scroll-fx-active .results-dossier-chamber.is-scroll-revealed,
.bureau-scroll-fx-active .timeline-milestone-item .milestone-card-box.is-scroll-revealed,
.bureau-scroll-fx-active .download-resource-card.is-scroll-revealed,
.bureau-scroll-fx-active .registration-terminal-card.is-scroll-revealed,
.bureau-scroll-fx-active .rules-dossier-card.is-scroll-revealed,
.bureau-scroll-fx-active .round-1-subcard.is-scroll-revealed,
.bureau-scroll-fx-active .round-2-subcard.is-scroll-revealed,
.bureau-scroll-fx-active .rules-round-subcard.is-scroll-revealed,
.bureau-scroll-fx-active .round-one-notice-panel.is-scroll-revealed,
.bureau-scroll-fx-active .ppt-free-notice-panel.is-scroll-revealed,
.bureau-scroll-fx-active .reg-milestone-panel.is-scroll-revealed,
.bureau-scroll-fx-active .quarters-stat-card.is-scroll-revealed,
.bureau-scroll-fx-active .accommodation-details-panel.is-scroll-revealed,
.bureau-scroll-fx-active .pillar-card.is-scroll-revealed,
.bureau-scroll-fx-active .recognition-standby-panel.is-scroll-revealed,
.bureau-scroll-fx-active .auth-clearance-card.is-scroll-revealed,
.bureau-scroll-fx-active .partnership-requisition-panel.is-scroll-revealed,
.bureau-scroll-fx-active .case-folder-unit.is-scroll-revealed,
.bureau-scroll-fx-active .developer-card.is-scroll-revealed,
.bureau-scroll-fx-active .contact-dossier-card.is-scroll-revealed,
.bureau-scroll-fx-active .footer-contact-card.is-scroll-revealed,
.bureau-scroll-fx-active .footer-map-card.is-scroll-revealed,
.bureau-scroll-fx-active .venue-info-box.is-scroll-revealed,
.bureau-scroll-fx-active .footer-venue-panel.is-scroll-revealed,
.bureau-scroll-fx-active .bureau-scroll-card.is-scroll-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1) !important;
}

/* Post-reveal hover interaction (Desktop pointer only) */
@media (hover: hover) and (pointer: fine) {
  .bureau-scroll-fx-active .case-note-card.is-scroll-revealed:hover {
    transform: translate3d(0, -6px, 0) rotate(0deg) scale(1.01) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6) !important;
  }

  .bureau-scroll-fx-active .domain-slot-card.is-scroll-revealed:hover {
    transform: translate3d(0, -6px, 0) rotate(0deg) scale(1.015) !important;
  }

  .bureau-scroll-fx-active .download-resource-card.is-scroll-revealed:hover {
    transform: translate3d(0, -5px, 0) scale(1.01) !important;
  }

  .bureau-scroll-fx-active .quarters-stat-card.is-scroll-revealed:hover {
    transform: translate3d(0, -5px, 0) scale(1.01) !important;
  }

  .bureau-scroll-fx-active .pillar-card.is-scroll-revealed:hover {
    transform: translate3d(0, -5px, 0) scale(1.01) !important;
  }

  .bureau-scroll-fx-active .developer-card.is-scroll-revealed:hover {
    transform: translate3d(0, -5px, 0) scale(1.01) !important;
  }
}

/* Mobile & Touch Screen calibration: tighter offset for compact phone screens */
@media screen and (max-width: 768px) {
  .bureau-scroll-fx-active .case-note-card:nth-child(odd),
  .bureau-scroll-fx-active .domain-slot-card:nth-child(odd),
  .bureau-scroll-fx-active .timeline-milestone-item:nth-child(odd) .milestone-card-box,
  .bureau-scroll-fx-active .download-resource-card:nth-child(odd),
  .bureau-scroll-fx-active .quarters-stat-card:nth-child(odd),
  .bureau-scroll-fx-active .pillar-card:nth-child(odd),
  .bureau-scroll-fx-active .auth-clearance-card:nth-child(odd),
  .bureau-scroll-fx-active .case-folder-unit:nth-child(odd),
  .bureau-scroll-fx-active .developer-card:nth-child(odd),
  .bureau-scroll-fx-active .bureau-scroll-card:nth-child(odd),
  .bureau-scroll-fx-active .case-note-card:nth-child(even),
  .bureau-scroll-fx-active .domain-slot-card:nth-child(even),
  .bureau-scroll-fx-active .timeline-milestone-item:nth-child(even) .milestone-card-box,
  .bureau-scroll-fx-active .download-resource-card:nth-child(even),
  .bureau-scroll-fx-active .quarters-stat-card:nth-child(even),
  .bureau-scroll-fx-active .pillar-card:nth-child(even),
  .bureau-scroll-fx-active .auth-clearance-card:nth-child(even),
  .bureau-scroll-fx-active .case-folder-unit:nth-child(even),
  .bureau-scroll-fx-active .developer-card:nth-child(even),
  .bureau-scroll-fx-active .bureau-scroll-card:nth-child(even) {
    transform: translate3d(0, 24px, 0) scale(0.985);
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .bureau-scroll-fx-active .case-note-card,
  .bureau-scroll-fx-active .domain-slot-card,
  .bureau-scroll-fx-active .domain-closing-cta-card,
  .bureau-scroll-fx-active .highlight-card,
  .bureau-scroll-fx-active .winner-intel-card,
  .bureau-scroll-fx-active .results-dossier-chamber,
  .bureau-scroll-fx-active .timeline-milestone-item .milestone-card-box,
  .bureau-scroll-fx-active .download-resource-card,
  .bureau-scroll-fx-active .registration-terminal-card,
  .bureau-scroll-fx-active .rules-dossier-card,
  .bureau-scroll-fx-active .round-1-subcard,
  .bureau-scroll-fx-active .round-2-subcard,
  .bureau-scroll-fx-active .rules-round-subcard,
  .bureau-scroll-fx-active .round-one-notice-panel,
  .bureau-scroll-fx-active .ppt-free-notice-panel,
  .bureau-scroll-fx-active .reg-milestone-panel,
  .bureau-scroll-fx-active .quarters-stat-card,
  .bureau-scroll-fx-active .accommodation-details-panel,
  .bureau-scroll-fx-active .pillar-card,
  .bureau-scroll-fx-active .recognition-standby-panel,
  .bureau-scroll-fx-active .auth-clearance-card,
  .bureau-scroll-fx-active .partnership-requisition-panel,
  .bureau-scroll-fx-active .case-folder-unit,
  .bureau-scroll-fx-active .developer-card,
  .bureau-scroll-fx-active .contact-dossier-card,
  .bureau-scroll-fx-active .footer-contact-card,
  .bureau-scroll-fx-active .footer-map-card,
  .bureau-scroll-fx-active .venue-info-box,
  .bureau-scroll-fx-active .footer-venue-panel,
  .bureau-scroll-fx-active .bureau-scroll-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ----------------------------------------------------------
   2. ABOUT / BRIEFING SECTION — CLASSIFIED DOSSIER CARDS
---------------------------------------------------------- */
.case-notes-grid .case-note-card {
  position: relative;
  overflow: hidden;
}

/* Paperclip graphic settling */
.case-note-card .paperclip-graphic {
  transition: transform 0.3s ease;
}

/* Fine scanning beam effect across memo surface on hover */
.case-note-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 5%, rgba(184, 146, 58, 0.6) 50%, transparent 95%);
  box-shadow: 0 0 10px rgba(184, 146, 58, 0.45);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

@media (hover: hover) and (pointer: fine) {
  .case-note-card:hover::before {
    opacity: 1;
    animation: dossier-scan-beam 1.4s ease-in-out infinite;
  }
}

@keyframes dossier-scan-beam {
  0% { top: -2px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ----------------------------------------------------------
   3. BRANCHES SECTION — FOUR CRT DOMAIN CARDS
---------------------------------------------------------- */
.crt-monitors-grid .crt-monitor-card {
  position: relative;
  overflow: hidden;
}

.crt-dial {
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, background 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .crt-monitor-card:hover .crt-dial {
    transform: rotate(45deg);
    box-shadow: 0 0 10px var(--amber-glow);
  }

  .crt-monitor-card.green:hover .crt-dial { box-shadow: 0 0 12px var(--green-glow); }
  .crt-monitor-card.cyan:hover .crt-dial { box-shadow: 0 0 12px var(--cyan-glow); }
  .crt-monitor-card.violet:hover .crt-dial { box-shadow: 0 0 12px var(--violet-glow); }
  .crt-monitor-card.amber:hover .crt-dial { box-shadow: 0 0 12px var(--amber-glow); }
}

/* ----------------------------------------------------------
   4. TIMELINE SECTION — TEMPORAL TRANSITION
---------------------------------------------------------- */
.spool-graphic {
  transform-origin: center;
  transition: transform 0.05s linear;
}

/* ----------------------------------------------------------
   5. 24H COUNTDOWN SECTION — MECHANICAL CLOCK
---------------------------------------------------------- */
.countdown-announcement-pill {
  transition: opacity 0.3s ease;
}

.stage-dial-pill {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .stage-dial-pill:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--amber-bright);
    box-shadow: 0 0 16px rgba(232, 137, 43, 0.5);
    color: var(--tva-orange, #E8872B);
  }
}

/* ----------------------------------------------------------
   6. LABS / EQUIPMENT REQUISITION FORM
---------------------------------------------------------- */
.requisition-paper-sheet {
  position: relative;
  overflow: hidden;
}

.equipment-table tbody tr {
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.equipment-table tbody tr:hover {
  background: var(--bg-raised);
}

.status-badge-tbc {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* ----------------------------------------------------------
   7. SPONSORS SECTION — OFFICIAL ARCHIVE REVEAL
---------------------------------------------------------- */
.tier-divider-label {
  transition: opacity 0.3s ease;
}

.auth-clearance-card {
  position: relative;
  overflow: visible;
}

.auth-clearance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 5%, rgba(184, 146, 58, 0.7) 50%, transparent 95%);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

.auth-clearance-card.scan-active::before {
  opacity: 1;
  animation: card-amber-scan 0.8s ease-out forwards;
}

@keyframes card-amber-scan {
  0% { top: 0; opacity: 0; }
  25% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@media (hover: hover) and (pointer: fine) {
  .auth-clearance-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 18px var(--amber-glow);
    border-color: var(--amber-bright);
  }
}

/* ----------------------------------------------------------
   8. FAQ SECTION — CASE FILE ACCORDIONS
---------------------------------------------------------- */
.folder-action-toggle {
  transition: transform 0.25s ease, color 0.25s ease;
  display: inline-block;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 14px;
}

.case-folder-unit.open .folder-action-toggle {
  transform: scale(1.05);
  color: var(--amber-bright);
}

.folder-content-drawer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease;
}

.case-folder-unit.open .folder-content-drawer {
  max-height: 320px;
  opacity: 1;
}

.case-folder-unit.open {
  border-color: var(--amber-bright);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(184, 146, 58, 0.2);
}

/* ----------------------------------------------------------
   9. FOOTER / SOCIAL PIN BOARD — FINAL ARCHIVE STAMP
---------------------------------------------------------- */
.cabinet-tabs-grid .cabinet-index-tab {
  position: relative;
  overflow: hidden;
}

.cabinet-index-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--amber-bright);
  transition: left 0.4s ease;
}

.cabinet-index-tab:hover::after {
  left: 0;
}

.center-timeline-complete-card {
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  animation: dashed-border-glow 2.5s ease-in-out infinite alternate;
}

@keyframes dashed-border-glow {
  0% { border-color: rgba(232, 137, 43, 0.4); box-shadow: inset 0 0 10px rgba(232, 137, 43, 0.05); }
  100% { border-color: rgba(255, 157, 59, 0.85); box-shadow: inset 0 0 20px rgba(232, 137, 43, 0.15); }
}

/* ----------------------------------------------------------
   5. TOUCH-FRIENDLY & REDUCED MOTION INTERACTION RULES
---------------------------------------------------------- */
@media (hover: none) and (pointer: coarse) {
  /* Comfortable 44px minimum tap targets */
  .btn-bureau-brass,
  .btn-bureau-secondary,
  .cabinet-index-tab,
  .mobile-menu-toggle,
  .audio-toggle-btn,
  .modal-close-btn,
  .mobile-nav-close-btn,
  .folder-tab-bar {
    min-height: 44px;
    touch-action: manipulation;
  }

  /* Suppress desktop-only hover transform jitter on touch tap */
  .crt-monitor-card:hover,
  .auth-clearance-card:hover,
  .case-note-card:hover,
  .btn-bureau-brass:hover,
  .btn-bureau-secondary:hover {
    transform: none !important;
  }
}

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

  .spool-graphic {
    animation: none !important;
  }

  .split-flap-title .flap-char-box,
  .hero-year-tag,
  .hero-subhead,
  .hero-tagline,
  .hero-prize-banner,
  .typed-form-strip,
  .typed-form-strip .form-field-unit,
  .hero-cta-group > *,
  .hero-bureau-section .section-rubber-stamp,
  .section-header-wrap,
  .case-notes-grid .case-note-card,
  .crt-monitors-grid .crt-monitor-card,
  .film-strip-track .film-frame-card,
  .overclock-crucible-chamber,
  .countdown-announcement-pill,
  .floor-rules-panel,
  .requisition-paper-sheet,
  .equipment-table tbody tr,
  .tier-divider-label,
  .auth-clearance-card,
  .case-folder-unit,
  .cabinet-tabs-grid .cabinet-index-tab,
  .center-timeline-complete-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}


@media (prefers-reduced-motion: reduce) {
  .corner-markers-rotor {
    transition: none !important;
  }
  .corner-temporal-menu {
    transition: none !important;
  }
    .status-lamp-mini.pending {
    animation: none !important;
  }
}

/* ==========================================================================
   OVERCLOCK 2027 — NEW MODULES & UPDATED COMPONENTS (styles.css)
   EESA · ISLE · IEEE Student Branch, FCRIT
   ========================================================================== */

/* 1. Header Unstop Element (Only the Official Dark-Blue Wordmark, Transparent Background) */
.header-unstop-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 4px 6px;
  text-decoration: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  pointer-events: auto !important;
  position: relative;
  z-index: 600;
  user-select: none;
  border-radius: 4px;
}

.header-unstop-link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.header-unstop-link:focus-visible {
  outline: 2px solid var(--amber-bright);
  outline-offset: 2px;
}

.header-unstop-link:active {
  transform: translateY(1px);
}

.header-unstop-wordmark {
  height: 24px;
  width: auto;
  max-width: 95px;
  object-fit: contain;
  display: block;
}

/* Minimal Audio Toggle Icon Button (TVA Brass/Amber styling) */
.nav-audio-btn {
  background: rgba(28, 24, 19, 0.88);
  border: 1px solid rgba(184, 146, 58, 0.38);
  border-radius: 4px;
  color: var(--paper);
  width: 36px;
  height: 36px;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto !important;
  position: relative;
  z-index: 600;
  user-select: none;
  flex-shrink: 0;
}

.nav-audio-btn:hover {
  background: rgba(45, 33, 22, 0.96);
  border-color: var(--paper-dim);
  color: var(--paper-dim);
  box-shadow: 0 0 10px rgba(232, 137, 43, 0.38);
  transform: translateY(-1px);
}

.nav-audio-btn:focus-visible {
  outline: 2px solid var(--tva-orange, #E8872B);
  outline-offset: 2px;
}

.nav-audio-btn:active {
  transform: translateY(1px);
}

.nav-audio-btn.muted {
  background: rgba(28, 24, 19, 0.75);
  border-color: rgba(184, 146, 58, 0.22);
  color: rgba(184, 146, 58, 0.55);
}

.nav-audio-btn.muted:hover {
  background: rgba(36, 26, 18, 0.92);
  border-color: rgba(184, 146, 58, 0.5);
  color: var(--tva-orange, #E8872B);
}

.nav-audio-btn .audio-toggle-svg {
  width: 17px;
  height: 17px;
  display: block;
}

/* 2. Hero Organiser Info & Compact Logo Strip */
.organiser-field-unit .field-value {
  color: var(--amber-bright);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.organiser-logos-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 18px 0 24px;
  padding: 12px 18px;
  background: rgba(28, 24, 19, 0.72);
  border: 1px solid rgba(184, 146, 58, 0.3);
  border-radius: var(--radius-sm);
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

.organiser-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.organiser-logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border-brass);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.organiser-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.organiser-logo-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--paper-cream);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Hero CTA Button — Vibrant Highlighted TVA Orange */
.hero-register-cta,
.hero-register-cta.is-pending,
.mm-modal-register-btn,
.mm-modal-register-btn.is-pending {
  background: linear-gradient(180deg, #FFA544 0%, #E8872B 55%, #C76814 100%) !important;
  color: #100C08 !important;
  border: 1.5px solid #FFBE7A !important;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius-sm, 4px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(232, 135, 43, 0.45),
              0 0 12px rgba(255, 159, 69, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease,
              border-color 0.2s ease;
  animation: orange-cta-beacon 3.2s ease-in-out infinite;
  will-change: transform, box-shadow;
}

/* High-contrast crisp dark typography on bright orange */
.hero-register-cta span,
.hero-register-cta.is-pending span,
.mm-modal-register-btn span,
.mm-modal-register-btn.is-pending span {
  color: #100C08 !important;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
  letter-spacing: 0.09em;
}

.hero-register-cta .btn-cta-arrow,
.hero-register-cta.is-pending .btn-cta-arrow,
.mm-modal-register-btn .btn-cta-arrow,
.mm-modal-register-btn.is-pending .btn-cta-arrow {
  color: #100C08 !important;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
  display: inline-block;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scanline light sweep across the orange button */
.hero-register-cta::after,
.mm-modal-register-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  transform: skewX(-24deg);
  pointer-events: none;
  transition: none;
}

/* Hover Animation — Luminous Glow & Arrow Flight */
.hero-register-cta:hover,
.hero-register-cta.is-pending:hover,
.mm-modal-register-btn:hover,
.mm-modal-register-btn.is-pending:hover {
  background: linear-gradient(180deg, #FFB66D 0%, #FF9534 52%, #D87016 100%) !important;
  border-color: #FFE0B2 !important;
  color: #0A0704 !important;
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 8px 28px rgba(232, 135, 43, 0.72),
              0 0 22px rgba(255, 174, 66, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  animation: none;
}

.hero-register-cta:hover .btn-cta-arrow,
.hero-register-cta.is-pending:hover .btn-cta-arrow,
.mm-modal-register-btn:hover .btn-cta-arrow,
.mm-modal-register-btn.is-pending:hover .btn-cta-arrow {
  transform: translate(3px, -3px) scale(1.18);
  color: #0A0704 !important;
}

.hero-register-cta:hover::after,
.mm-modal-register-btn:hover::after {
  left: 170%;
  transition: left 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Click / Active Animation — Mechanical Press Feedback */
.hero-register-cta:active,
.hero-register-cta.is-pending:active,
.mm-modal-register-btn:active,
.mm-modal-register-btn.is-pending:active {
  transform: translateY(1px) scale(0.975) !important;
  background: linear-gradient(180deg, #E0781D 0%, #B8590D 100%) !important;
  border-color: #FF9F45 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7),
              0 0 12px rgba(232, 135, 43, 0.4),
              inset 0 3px 6px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.hero-register-cta:active .btn-cta-arrow,
.hero-register-cta.is-pending:active .btn-cta-arrow,
.mm-modal-register-btn:active .btn-cta-arrow,
.mm-modal-register-btn.is-pending:active .btn-cta-arrow {
  transform: translate(1px, -1px) scale(0.95);
}

/* Ambient Beacon Pulse */
@keyframes orange-cta-beacon {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(232, 135, 43, 0.45),
                0 0 10px rgba(255, 159, 69, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: #FFBE7A;
  }
  50% {
    box-shadow: 0 6px 26px rgba(232, 135, 43, 0.65),
                0 0 20px rgba(255, 159, 69, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.55);
    border-color: #FFDFBA;
  }
}

/* 3. The Organising Clubs Section */
.organising-clubs-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px dashed rgba(184, 146, 58, 0.25);
  width: 100%;
}

.subsection-header-wrap {
  margin-bottom: 24px;
}

.subsection-main-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: 0.04em;
  color: var(--paper);
  margin: 6px 0 8px;
  text-transform: uppercase;
}

.subsection-subtext {
  font-family: var(--font-typewriter);
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 720px;
}

/* Organising Clubs Section Grid */
.organising-clubs-section {
  width: 100%;
  margin-top: 36px;
}

.clubs-cards-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1060px;
  margin: 40px auto 0;
  box-sizing: border-box;
  padding: 18px 8px;
}

/* TVA ID Card Component (Scoped to Organising Clubs) */
.tva-club-card {
  --tva-w: 252px;
  --tva-ink: #0F0B08;
  --tva-copper: #A85F37;
  width: var(--tva-w);
  aspect-ratio: 340 / 540;
  perspective: 1400px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  outline: none;
  border-radius: 18px;
  position: relative;
  display: block;
  flex-shrink: 0;
  will-change: transform;
}

.tva-club-card:focus-visible {
  outline: 2px solid #BD7546;
  outline-offset: 5px;
  border-radius: 16px;
}

/* Card Inner: 3D flip wrapper — INITIALLY BACKWARDS */
.tva-club-card .tva-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.95s cubic-bezier(0.25, 1, 0.33, 1);
  transform: rotateY(180deg); /* Starts facing backwards */
}

/* Reverse cascade delays when scrolling back up (reverting to backwards) */
.tva-club-card:nth-child(1) .tva-card__inner {
  transition-delay: 0.18s;
}
.tva-club-card:nth-child(2) .tva-card__inner {
  transition-delay: 0.09s;
}
.tva-club-card:nth-child(3) .tva-card__inner {
  transition-delay: 0s;
}

/* As user scrolls into view: TURN FORWARD */
.tva-club-card.is-forward .tva-card__inner {
  transform: rotateY(0deg);
}

/* Forward cascade delays when turning forward */
.tva-club-card:nth-child(1).is-forward .tva-card__inner {
  transition-delay: 0s;
}
.tva-club-card:nth-child(2).is-forward .tva-card__inner {
  transition-delay: 0.12s;
}
.tva-club-card:nth-child(3).is-forward .tva-card__inner {
  transition-delay: 0.24s;
}

/* Manual click / keyboard flip toggle (overrides scroll orientation for inspection) */
.tva-club-card.is-forward.is-flipped .tva-card__inner,
.tva-club-card.is-forward.is-user-flipped .tva-card__inner {
  transform: rotateY(180deg);
  transition-delay: 0s !important;
}

.tva-club-card:not(.is-forward).is-flipped .tva-card__inner,
.tva-club-card:not(.is-forward).is-user-flipped .tva-card__inner {
  transform: rotateY(0deg);
  transition-delay: 0s !important;
}

.tva-club-card .tva-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 5.9% / 3.7%;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 2px 0 rgba(189, 117, 70, 0.12) inset;
  transition: box-shadow 0.3s ease, transform 0.25s ease;
}

.tva-club-card:hover .tva-card__face {
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.75), 0 0 16px rgba(168, 95, 55, 0.25);
}

.tva-club-card .tva-card__back {
  transform: rotateY(180deg);
}

.tva-club-card .tva-card__face svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Photo / Logo Slot: fits tightly around the 172x172 square logo window */
.tva-photo {
  position: absolute;
  left: 24.706%;
  top: 46.667%;
  width: 50.588%;
  height: 31.852%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  box-sizing: border-box;
  pointer-events: none;
}

.tva-photo .tva-club-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tva-club-card:hover .tva-club-logo {
  transform: scale(1.04);
}

/* Back Face Content Overlay */
.tva-card__back-content {
  position: absolute;
  inset: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  pointer-events: none;
  box-sizing: border-box;
}

.tva-back-top-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--crt-teal);
  text-transform: uppercase;
}

.tva-back-pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--crt-teal);
  box-shadow: 0 0 5px var(--crt-teal);
}

.tva-back-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 8px;
  background: rgba(15, 11, 8, 0.86);
  border: 1px solid rgba(168, 95, 55, 0.45);
  border-radius: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.75);
}

.tva-back-category {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.tva-back-heading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--paper);
  margin: 0 0 2px;
  line-height: 1;
}

.tva-back-divider {
  width: 28px;
  height: 2px;
  background: #A85F37;
  margin: 4px 0 6px;
}

.tva-back-fullname {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--paper);
  margin-bottom: 4px;
  line-height: 1.25;
}

.tva-back-description {
  font-family: var(--font-typewriter);
  font-size: 0.68rem;
  color: var(--paper-muted);
  line-height: 1.4;
  margin: 0;
}

.tva-back-headline {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: var(--amber-warm, #E5A96A);
  text-transform: uppercase;
  margin: 4px 0 0;
  text-align: center;
}

.tva-back-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  width: 100%;
  border-top: 1px dashed rgba(168, 95, 55, 0.4);
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
}

.tva-back-affiliation {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.tva-flip-prompt {
  color: #BD7546;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* Ambient Buoyant 3D Floating Animation */
@keyframes tvaCardFloat1 {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg);
  }
  50% {
    transform: translateY(-9px) rotateX(1.8deg);
  }
}

@keyframes tvaCardFloat2 {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg);
  }
  50% {
    transform: translateY(-13px) rotateX(-1.5deg);
  }
}

@keyframes tvaCardFloat3 {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg);
  }
  50% {
    transform: translateY(-8px) rotateX(1.6deg);
  }
}

.tva-club-card.is-floating {
  will-change: transform;
}

.tva-club-card:nth-child(1).is-floating {
  animation: tvaCardFloat1 4.8s ease-in-out infinite;
}

.tva-club-card:nth-child(2).is-floating {
  animation: tvaCardFloat2 5.4s ease-in-out infinite 0.5s;
}

.tva-club-card:nth-child(3).is-floating {
  animation: tvaCardFloat3 5.0s ease-in-out infinite 1.0s;
}

/* Pause float on hover for tactile precision and lift */
.tva-club-card:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .tva-club-card .tva-card__inner {
    transition: transform 0.01s ease !important;
    transform: rotateY(0deg) !important;
  }
  .tva-club-card,
  .tva-club-card.is-floating {
    animation: none !important;
    transform: none !important;
  }
}

/* 4. Round 1 PPT Free Submission Notice */
.round-one-notice-panel {
  background: var(--bg-surface);
  border: 1.5px solid rgba(184, 146, 58, 0.45);
  border-left: 5px solid var(--sage);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.notice-indicator-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.notice-badge {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--crt-teal);
  background: rgba(63, 181, 160, 0.08);
  border: 1px solid rgba(63, 181, 160, 0.3);
  padding: 2px 8px;
  border-radius: 2px;
}

.notice-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--paper-muted);
}

.notice-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  letter-spacing: 0.04em;
  color: var(--paper);
  margin: 0 0 6px;
}

.notice-body {
  font-family: var(--font-typewriter);
  font-size: 0.95rem;
  color: var(--paper-cream);
  line-height: 1.5;
  margin: 0;
}

/* 5. Downloads Section */
.downloads-bureau-section {
  position: relative;
}

.downloads-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 1080px) {
  .downloads-resource-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.download-resource-card {
  background: #1C1813;
  border: 1.5px solid var(--border-brass);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: var(--transition-fast);
}

.download-resource-card:hover {
  border-color: var(--amber-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(232, 137, 43, 0.2);
}

.download-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(184, 146, 58, 0.25);
  padding-bottom: 10px;
}

.doc-format-badge {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mustard-secondary);
}

.doc-status-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 2px;
}

.doc-status-pill.pending {
  background: rgba(184, 146, 58, 0.12);
  border: 1px solid rgba(184, 146, 58, 0.35);
  color: var(--brass);
}

.doc-status-pill.ready {
  background: rgba(124, 255, 155, 0.15);
  border: 1px solid var(--sage, #7E9A5B);
  color: var(--sage, #7E9A5B);
}

.download-card-title {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper-cream);
  margin: 0 0 8px;
}

.download-card-desc {
  font-family: var(--font-typewriter);
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0;
}

.download-card-action {
  margin-top: auto;
  padding-top: 14px;
}

.btn-download-resource {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  box-sizing: border-box;
  transition: var(--transition-fast);
}

.btn-download-resource.is-pending {
  background: #26201A;
  border: 1px solid rgba(184, 146, 58, 0.4);
  color: var(--amber-dim);
  cursor: pointer;
}

.btn-download-resource.is-pending:hover {
  background: #2f2115;
  border-color: var(--amber-bright);
  color: var(--amber-bright);
}

.btn-download-resource.is-ready {
  background: linear-gradient(180deg, var(--brass) 0%, #8c6a20 100%);
  color: #14110D;
  border: 1px solid var(--tva-orange, #E8872B);
}

.btn-download-resource.is-ready:hover {
  background: linear-gradient(180deg, var(--tva-orange-hot, #FF9F45) 0%, #B8923A 100%);
  box-shadow: 0 0 14px rgba(232, 137, 43, 0.6);
}

/* 6. Simplified Accommodation (2 cards layout) */
.accommodation-two-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* 7. Miss Minutes Centred Registration Modal */
.mm-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 8, 6, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.mm-modal-backdrop.is-open {
  display: flex;
}

body.modal-blurred-open main,
body.modal-blurred-open header,
body.modal-blurred-open footer,
body.modal-blurred-open aside {
  filter: blur(4px);
  transition: filter 0.25s ease;
  pointer-events: none;
}

.mm-modal-card {
  position: relative;
  background: radial-gradient(circle at 50% 20%, #26201A 0%, #17110c 70%, #110d0a 100%);
  border: 2px solid var(--amber-bright);
  border-radius: var(--radius-md);
  padding: 34px 28px 30px;
  width: 100%;
  max-width: 440px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(184, 146, 58, 0.15);
  animation: mmModalEnter 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes mmModalEnter {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.mm-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: #26201A;
  border: 1px solid var(--border-brass);
  color: var(--paper-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.mm-modal-close:hover {
  background: #332314;
  color: var(--amber-bright);
  border-color: var(--amber-bright);
}

.mm-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber-bright);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mm-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 6px var(--amber-bright);
}

.mm-modal-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.6rem);
  letter-spacing: 0.06em;
  color: var(--paper-cream);
  margin: 0 0 16px;
  text-transform: uppercase;
  line-height: 1;
}

.mm-character-stage {
  width: 190px;
  height: 190px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mm-modal-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.mm-modal-img-fallback {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
}

.mm-modal-dialogue {
  font-family: var(--font-typewriter);
  font-size: 0.90rem;
  color: var(--paper-cream);
  line-height: 1.5;
  margin: 0 0 22px;
  padding: 0 8px;
}

.mm-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.mm-modal-register-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding: 13px 20px;
  letter-spacing: 0.08em;
}

.mm-status-note {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: 0.08em;
  color: var(--mustard-secondary);
  text-transform: uppercase;
}

/* 8. Footer Travel Section */
.footer-travel-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed rgba(184, 146, 58, 0.25);
}

.travel-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.travel-lamp {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 8px var(--amber-bright);
}

.travel-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber-bright);
  text-transform: uppercase;
}

/* Shared Auto Card */
.shared-auto-card {
  background: #26201A;
  border: 1.5px solid var(--amber-bright);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.auto-fare-badge {
  background: rgba(184, 146, 58, 0.12);
  border: 1px solid var(--amber-bright);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auto-fare-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--paper-cream);
  text-transform: uppercase;
}

.auto-fare-val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--amber-bright);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.auto-card-heading {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper-cream);
  margin: 0 0 4px;
  text-transform: uppercase;
}

.auto-card-body {
  font-family: var(--font-typewriter);
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.45;
  margin: 0;
}

/* Rail Directions Grid */
.rail-directions-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.rail-route-card {
  background: #1C1813;
  border: 1px solid var(--border-brass);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: var(--transition-fast);
}

.rail-route-card:hover {
  border-color: rgba(184, 146, 58, 0.5);
}

.route-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(184, 146, 58, 0.2);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.route-origin {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper-cream);
}

.route-line-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--crt-teal);
  background: rgba(63, 181, 160, 0.08);
  border: 1px solid rgba(63, 181, 160, 0.3);
  padding: 1px 6px;
  border-radius: 2px;
}

.route-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.route-instruction {
  font-family: var(--font-typewriter);
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.route-instruction strong {
  font-family: var(--font-mono);
  color: var(--paper-cream);
  font-weight: 600;
}

.route-footer {
  display: flex;
  justify-content: flex-end;
}

.route-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--amber-bright);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.route-link:hover {
  color: var(--tva-orange-hot, #FF9F45);
  text-decoration: underline;
}

/* Last Mile Card */
.station-to-venue-card {
  background: #14110D;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.stv-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper-cream);
  margin-bottom: 4px;
}

.stv-desc {
  font-family: var(--font-typewriter);
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin: 0;
}

/* 9. Footer Unstop Platform Link */
.bottom-bar-unstop {
  display: flex;
  align-items: center;
}

.footer-unstop-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28, 24, 19, 0.75);
  border: 1px solid rgba(184, 146, 58, 0.3);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-unstop-link:hover {
  background: rgba(36, 26, 17, 0.9);
  border-color: var(--amber-bright);
}

.unstop-footer-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--amber-bright);
  text-transform: uppercase;
}

.footer-unstop-logo {
  height: 16px;
  width: auto;
  max-width: 55px;
  object-fit: contain;
  display: block;
}

/* 10. Bureau Toast Notice */
.bureau-toast-notice {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #26201A;
  border: 1.5px solid var(--amber-bright);
  color: var(--paper-cream);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(184, 146, 58, 0.2);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: 90vw;
  text-align: center;
}

.bureau-toast-notice.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* 11. Contact Dossier Clubs Strip */
.contact-card-clubs-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 12px;
  flex-wrap: wrap;
}

.contact-club-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(28, 24, 19, 0.9);
  border: 1px solid rgba(184, 146, 58, 0.35);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--paper-cream);
  letter-spacing: 0.04em;
}

.contact-club-img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  object-fit: contain;
  display: block;
}

/* 12. 75K Cash Prize Pool Features */
.prize-highlight-val {
  color: var(--tva-orange, #E8872B) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-shadow: 0 0 10px rgba(232, 137, 43, 0.35);
}

.hero-prize-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28, 24, 19, 0.92);
  border: 1px solid rgba(184, 146, 58, 0.45);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tva-orange, #E8872B);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(232, 137, 43, 0.08);
}

.prize-pill-pip {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 8px rgba(184, 146, 58, 0.6);
  animation: prizePipPulse 2s infinite ease-in-out;
}

@keyframes prizePipPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.prize-pool-card-box {
  border-color: rgba(184, 146, 58, 0.45) !important;
  background: rgba(28, 24, 19, 0.95) !important;
  box-shadow: inset 0 0 16px rgba(232, 137, 43, 0.08);
}

.prize-val {
  color: var(--tva-orange, #E8872B) !important;
  text-shadow: 0 0 14px rgba(232, 137, 43, 0.4);
}

.prize-card-sub {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--mustard-secondary, #B8923A);
  letter-spacing: 0.08em;
}

.rec-prize-highlight {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 12px;
  background: rgba(28, 24, 19, 0.92);
  border: 1px solid rgba(184, 146, 58, 0.45);
  border-radius: 6px;
  padding: 8px 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.rec-prize-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: #14110D;
  background: var(--brass);
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.rec-prize-amount {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tva-orange, #E8872B);
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(232, 137, 43, 0.35);
}

/* ==========================================================
   OFFICIAL RULES & REGULATIONS // FORM OC-27 / RR DOSSIER
========================================================== */

/* 1. Registration Directive Callout Banner */
.registration-directive-callout {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(184, 146, 58, 0.08) 0%, rgba(20, 15, 11, 0.95) 100%);
  border: 1.5px solid rgba(184, 146, 58, 0.45);
  border-left: 4px solid var(--brass);
  border-radius: var(--radius-sm, 4px);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.directive-callout-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.directive-callout-body {
  flex: 1;
  min-width: 0;
}

.directive-callout-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--crt-teal);
  margin-bottom: 4px;
}

.directive-callout-title {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper-cream, #EADFC4);
  margin: 0 0 4px;
}

.directive-callout-text {
  font-family: var(--font-typewriter);
  font-size: 0.86rem;
  color: var(--text-dim, #B9AD92);
  margin: 0;
  line-height: 1.45;
}

.directive-callout-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.btn-directive-open,
.btn-directive-dl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-align: center;
  padding: 8px 14px;
  border-radius: var(--radius-sm, 4px);
  cursor: pointer;
  transition: var(--transition-fast, 0.2s ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-directive-open {
  background: var(--tva-orange, #E8872B);
  color: #14110D;
  border: 1px solid var(--tva-orange, #E8872B);
}

.btn-directive-open:hover {
  background: var(--tva-orange-hot, #FF9F45);
  box-shadow: 0 0 12px rgba(232, 137, 43, 0.6);
}

.btn-directive-dl {
  background: rgba(36, 26, 18, 0.8);
  color: var(--paper-cream, #EADFC4);
  border: 1px solid rgba(184, 146, 58, 0.4);
}

.btn-directive-dl:hover {
  border-color: var(--tva-orange, #E8872B);
  color: var(--tva-orange, #E8872B);
  background: #2f2115;
}

/* 2. Download Card Action Dual Buttons */
.download-card-action-dual {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-view-directive-modal {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(36, 26, 18, 0.85);
  border: 1px solid rgba(184, 146, 58, 0.45);
  color: var(--mustard-secondary, #B8923A);
  border-radius: var(--radius-sm, 4px);
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  transition: var(--transition-fast, 0.2s ease);
}

.btn-view-directive-modal:hover {
  background: #26201A;
  border-color: var(--tva-orange, #E8872B);
  color: var(--paper-cream, #EADFC4);
  box-shadow: 0 0 10px rgba(232, 137, 43, 0.35);
}


/* 3. Rules Dossier Modal Container */
.rules-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 6, 0.92);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rules-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.rules-dossier-card {
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  background: #140f0a;
  border: 2px solid var(--border-brass, #B8923A);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(184, 146, 58, 0.15);
  position: relative;
  overflow: hidden;
  animation: rulesCardEnter 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rulesCardEnter {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Modal Top Bar */
.rules-modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #1c140e;
  border-bottom: 1px solid rgba(184, 146, 58, 0.3);
  flex-shrink: 0;
}

.rules-topbar-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mustard-secondary, #B8923A);
}

.rules-division-tag {
  color: var(--crt-teal);
}

.rules-bullet-sep {
  opacity: 0.5;
}

.rules-rev-pill {
  background: rgba(184, 146, 58, 0.2);
  padding: 1px 6px;
  border-radius: 2px;
  color: var(--paper-cream, #EADFC4);
}

.rules-stamp-pill {
  background: rgba(124, 255, 155, 0.15);
  border: 1px solid rgba(124, 255, 155, 0.4);
  color: var(--sage, #7E9A5B);
  padding: 1px 7px;
  border-radius: 2px;
  font-size: 0.62rem;
}

.rules-modal-close-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-dim, #B9AD92);
  font-size: 1.3rem;
  line-height: 1;
  padding: 2px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition-fast, 0.2s ease);
}

.rules-modal-close-btn:hover {
  color: var(--tva-orange, #E8872B);
  border-color: rgba(232, 137, 43, 0.5);
  background: rgba(232, 137, 43, 0.1);
}

/* Dossier Banner */
.rules-dossier-banner {
  padding: 20px 24px 16px;
  background: linear-gradient(180deg, #18110b 0%, #140f0a 100%);
  border-bottom: 1px dashed rgba(184, 146, 58, 0.35);
  flex-shrink: 0;
}

.rules-banner-classification {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--crt-teal);
  margin-bottom: 4px;
}

.rules-dossier-heading {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--paper-cream, #EADFC4);
  margin: 0;
  text-transform: uppercase;
}

.rules-dossier-subhead {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mustard-secondary, #B8923A);
  margin-top: 2px;
}

.rules-banner-meta {
  font-family: var(--font-typewriter);
  font-size: 0.84rem;
  color: var(--text-dim, #B9AD92);
  margin: 6px 0 14px;
}

/* Telemetry Grid */
.rules-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.rules-tele-pill {
  background: #1c140d;
  border: 1px solid rgba(184, 146, 58, 0.3);
  border-radius: 4px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rules-tele-k {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted, #7E7060);
  letter-spacing: 0.06em;
}

.rules-tele-v {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--paper-cream, #EADFC4);
}

.rules-tele-v.tele-free {
  color: var(--sage, #7E9A5B);
}

.rules-tele-v.tele-cost {
  color: var(--brass);
}

/* Scrollable Dossier Body */
.rules-dossier-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  outline: none;
}

.rules-dossier-scroll::-webkit-scrollbar {
  width: 8px;
}

.rules-dossier-scroll::-webkit-scrollbar-track {
  background: #100c08;
}

.rules-dossier-scroll::-webkit-scrollbar-thumb {
  background: rgba(184, 146, 58, 0.5);
  border-radius: 4px;
}

.rules-dossier-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--tva-orange, #E8872B);
}

/* Section Blocks */
.rules-section-block {
  background: #17110b;
  border: 1px solid rgba(184, 146, 58, 0.3);
  border-radius: 4px;
  padding: 16px 18px;
  position: relative;
}

.rules-block-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(184, 146, 58, 0.2);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.rules-block-num {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--crt-teal);
  line-height: 1;
}

.rules-block-title-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rules-block-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--paper-cream, #EADFC4);
  margin: 0;
  letter-spacing: 0.05em;
}

.rules-file-ref {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--mustard-secondary, #B8923A);
  letter-spacing: 0.06em;
}

.rules-block-status-stamp {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 2px;
}

.rules-block-status-stamp.verified {
  background: rgba(126, 154, 91, 0.12);
  border: 1px solid rgba(124, 255, 155, 0.4);
  color: var(--sage);
}

.rules-block-status-stamp.rounds-stamp {
  background: rgba(184, 146, 58, 0.15);
  border: 1px solid rgba(184, 146, 58, 0.45);
  color: var(--mustard-secondary, #B8923A);
}

.rules-block-status-stamp.spec-stamp {
  background: rgba(94, 204, 255, 0.12);
  border: 1px solid rgba(94, 204, 255, 0.4);
  color: #72D7FF;
}

.rules-block-status-stamp.mandatory-stamp {
  background: rgba(196, 69, 45, 0.12);
  border: 1px solid rgba(255, 99, 71, 0.5);
  color: var(--brick);
}

.rules-block-status-stamp.final-stamp {
  background: rgba(196, 69, 45, 0.12);
  border: 1px solid rgba(196, 69, 45, 0.45);
  color: var(--brick);
}

.rules-block-status-stamp.general-stamp {
  background: rgba(181, 164, 139, 0.15);
  border: 1px solid rgba(181, 164, 139, 0.35);
  color: var(--text-dim, #B9AD92);
}

/* Clause List */
.rules-clause-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rules-clause-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-typewriter);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-primary, #EADFC4);
}

.clause-num {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  background: #26201A;
  border: 1px solid rgba(184, 146, 58, 0.3);
  color: var(--crt-teal);
  padding: 1px 6px;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 2px;
}

.clause-text strong {
  color: var(--paper-cream, #EADFC4);
  font-weight: 700;
}

/* Round 1 & Round 2 Subcards */
.rules-round-subcard {
  background: #120e09;
  border: 1px solid rgba(184, 146, 58, 0.25);
  border-radius: 4px;
  padding: 14px 16px;
  margin-top: 12px;
}

.round-1-subcard {
  border-left: 3px solid var(--sage, #7E9A5B);
}

.round-2-subcard {
  border-left: 3px solid var(--brass);
}

.round-subcard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(184, 146, 58, 0.2);
}

.round-subcard-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--paper-cream, #EADFC4);
  letter-spacing: 0.05em;
}

.round-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.round-dot.green {
  background: var(--sage, #7E9A5B);
  box-shadow: 0 0 6px var(--sage, #7E9A5B);
}

.round-dot.amber {
  background: var(--brass);
  box-shadow: 0 0 6px var(--brass);
}

.round-fee-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.round-fee-badge.free .fee-big {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--sage);
}

.round-fee-badge.paid .fee-big {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brass);
}

.round-fee-badge .fee-sub {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-muted, #7E7060);
}

.round-fee-inclusions-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--sage, #7E9A5B);
  background: rgba(124, 255, 155, 0.08);
  border: 1px solid rgba(124, 255, 155, 0.25);
  border-radius: 3px;
  padding: 6px 10px;
  margin-bottom: 12px;
}

/* Final Stabilization Seal */
.rules-timeline-seal {
  background: linear-gradient(135deg, rgba(232, 137, 43, 0.08) 0%, #16100a 100%);
  border: 1px dashed var(--border-brass, #B8923A);
  border-radius: 4px;
  padding: 16px 20px;
  text-align: center;
}

.seal-diamond-symbol {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brass);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.seal-directive-text {
  font-family: var(--font-typewriter);
  font-size: 0.86rem;
  color: var(--paper-cream, #EADFC4);
  margin: 0 0 8px;
  line-height: 1.45;
}

.seal-footnote {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--mustard-secondary, #B8923A);
  letter-spacing: 0.06em;
}

/* Modal Bottom Actions */
.rules-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 24px;
  background: #1C1813;
  border-top: 1px solid rgba(184, 146, 58, 0.3);
  flex-shrink: 0;
}

.btn-dossier-download,
.btn-dossier-tab,
.btn-dossier-close {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast, 0.2s ease);
}

.btn-dossier-download {
  background: linear-gradient(180deg, var(--brass) 0%, #8c6a20 100%);
  color: #14110D;
  border: 1px solid var(--tva-orange, #E8872B);
}

.btn-dossier-download:hover {
  background: linear-gradient(180deg, var(--tva-orange-hot, #FF9F45) 0%, #B8923A 100%);
  box-shadow: 0 0 14px rgba(232, 137, 43, 0.6);
}

.btn-dossier-tab {
  background: #26201A;
  border: 1px solid rgba(184, 146, 58, 0.4);
  color: var(--paper-cream, #EADFC4);
}

.btn-dossier-tab:hover {
  border-color: var(--tva-orange, #E8872B);
  color: var(--tva-orange, #E8872B);
  background: #2e2016;
}

.btn-dossier-close {
  background: transparent;
  border: 1px solid rgba(181, 164, 139, 0.3);
  color: var(--text-dim, #B9AD92);
}

.btn-dossier-close:hover {
  border-color: var(--paper-cream, #EADFC4);
  color: var(--paper-cream, #EADFC4);
}

/* Responsiveness for Dossier Modal */
@media (max-width: 768px) {
  .registration-directive-callout {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .directive-callout-actions {
    width: 100%;
  }
  
  .btn-directive-open,
  .btn-directive-dl {
    width: 100%;
  }

  .rules-telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rules-modal-actions {
    flex-direction: column;
    gap: 8px;
  }

  .btn-dossier-download,
  .btn-dossier-tab,
  .btn-dossier-close {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================
   DOMAIN ACOUSTIC & HAPTIC VIBRATION STYLES (6 DOMAIN SLOTS)
========================================================== */

/* 1. Domain Sonic Telemetry Ribbon */
.domain-sonic-telemetry-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(90deg, rgba(63, 181, 160, 0.08) 0%, rgba(20, 15, 11, 0.95) 100%);
  border: 1px solid rgba(184, 146, 58, 0.35);
  border-left: 4px solid var(--crt-teal);
  border-radius: var(--radius-sm, 4px);
  padding: 10px 18px;
  margin: 0 0 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.sonic-ribbon-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sonic-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--crt-teal);
  box-shadow: 0 0 10px var(--crt-teal);
  animation: sonicDotPulse 1.2s infinite ease-in-out;
}

@keyframes sonicDotPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.sonic-ribbon-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper-cream, #EADFC4);
}

.sonic-ribbon-right {
  font-family: var(--font-typewriter);
  font-size: 0.82rem;
  color: var(--mustard-secondary, #B8923A);
  letter-spacing: 0.02em;
}

/* 2. Topbar Sonic Wave Voice Button */
.slot-sonic-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mustard-secondary, #B8923A);
  background: rgba(30, 22, 14, 0.85);
  border: 1px solid rgba(184, 146, 58, 0.3);
  padding: 3px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  line-height: 1.2;
}

.domain-slot-card:hover .slot-sonic-btn,
.domain-slot-card.scope-probed .slot-sonic-btn,
.domain-slot-card.sonic-active .slot-sonic-btn {
  border-color: var(--crt-teal);
  color: var(--paper-cream, #EADFC4);
  background: rgba(63, 181, 160, 0.15);
  box-shadow: 0 0 10px rgba(63, 181, 160, 0.3);
}

.slot-amber.sonic-active .slot-sonic-btn { border-color: var(--tva-orange, #E8872B); color: var(--tva-orange, #E8872B); box-shadow: 0 0 8px rgba(255, 157, 59, 0.6); }
.slot-cyan.sonic-active .slot-sonic-btn { border-color: #38B8CA; color: #38B8CA; box-shadow: 0 0 8px rgba(0, 229, 255, 0.6); }
.slot-emerald.sonic-active .slot-sonic-btn { border-color: #56B870; color: #56B870; box-shadow: 0 0 8px rgba(0, 230, 118, 0.6); }
.slot-violet.sonic-active .slot-sonic-btn { border-color: #9B78D6; color: #9B78D6; box-shadow: 0 0 8px rgba(187, 134, 252, 0.6); }
.slot-copper.sonic-active .slot-sonic-btn { border-color: #C67D3A; color: #C67D3A; box-shadow: 0 0 8px rgba(255, 140, 66, 0.6); }
.slot-ruby.sonic-active .slot-sonic-btn { border-color: #C64E5E; color: #C64E5E; box-shadow: 0 0 8px rgba(255, 75, 110, 0.6); }

/* Animated Sonic Equalizer Bars */
.sonic-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}

.sonic-bars span {
  width: 2px;
  height: 3px;
  background: currentColor;
  border-radius: 1px;
  transition: height 0.12s ease;
}

.domain-slot-card.sonic-active .sonic-bars span:nth-child(1) {
  animation: sonicEqBar1 0.36s infinite alternate ease-in-out;
}
.domain-slot-card.sonic-active .sonic-bars span:nth-child(2) {
  animation: sonicEqBar2 0.28s infinite alternate ease-in-out 0.08s;
}
.domain-slot-card.sonic-active .sonic-bars span:nth-child(3) {
  animation: sonicEqBar3 0.42s infinite alternate ease-in-out 0.16s;
}

@keyframes sonicEqBar1 { 0% { height: 3px; } 100% { height: 10px; } }
@keyframes sonicEqBar2 { 0% { height: 4px; } 100% { height: 9px; } }
@keyframes sonicEqBar3 { 0% { height: 2px; } 100% { height: 11px; } }

/* 3. CRT Phosphor Micro-Tremor (Visual Vibration Feedback) */
@keyframes scopePhosphorShake {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-0.6px, 0.5px); }
  50% { transform: translate(0.5px, -0.6px); }
  75% { transform: translate(-0.5px, -0.4px); }
  100% { transform: translate(0, 0); }
}

.domain-slot-card.sonic-active .domain-screen-display {
  animation: scopePhosphorShake 0.12s infinite linear;
}

@media (max-width: 768px) {
  .domain-sonic-telemetry-ribbon {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ==========================================================
   13. DEVELOPERS // TECHNICAL TEAM (DEDICATED SECTION)
   Aesthetic: TVA Retro-Futuristic Dossier & Golden Spine Extension
========================================================== */
.developers-section {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, #1C1813 0%, #0a0705 100%);
  border-top: 3px solid var(--border-brass, #B8923A);
  padding: 80px 24px 44px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.85);
  z-index: 10;
}

.developers-container {
  max-width: var(--container-max, 1240px);
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.developers-header-wrap,
.bureau-section.developers-section .section-header-wrap {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px;
  opacity: 1 !important;
  transform: none !important;
}

.developers-main-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: var(--paper);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
  margin: 10px 0 8px;
}

.developers-team-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(28, 24, 19, 0.85);
  border: 1px solid rgba(184, 146, 58, 0.4);
  border-radius: var(--radius-sm, 4px);
  margin-bottom: 12px;
}

.developers-team-badge .dev-badge-pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crt-teal);
  box-shadow: 0 0 8px var(--crt-teal);
}

.developers-team-badge .dev-badge-text {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--crt-teal);
  text-transform: uppercase;
}

.developers-intro {
  font-family: var(--font-typewriter);
  font-size: 0.98rem;
  color: var(--text-muted, #B9AD92);
  line-height: 1.55;
  margin: 0 auto;
}

/* Two Developer Cards Grid */
.developers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 880px;
  margin: 0 auto 36px;
}

.developer-card {
  background: var(--bg-surface);
  border: 1px solid rgba(184, 146, 58, 0.35);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius-md, 8px);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65),
              inset 0 0 16px rgba(184, 146, 58, 0.03);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.developer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 146, 58, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8),
              0 0 18px rgba(232, 137, 43, 0.16);
}

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

.developer-id-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--crt-teal);
  background: rgba(63, 181, 160, 0.08);
  border: 1px solid rgba(63, 181, 160, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-sm, 3px);
  text-transform: uppercase;
}

.developer-sys-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-dim, #7C735F);
  text-transform: uppercase;
}

.developer-name {
  font-family: var(--font-display, var(--font-sans));
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--paper);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0 4px;
  line-height: 1.2;
}

.developer-role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--crt-teal);
  text-transform: uppercase;
  margin: 0 0 16px;
}

.developer-card-divider {
  width: 100%;
  border-top: 1px dashed rgba(184, 146, 58, 0.22);
  margin: 4px 0 16px;
}

.developer-contact-block {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.developer-phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.developer-phone-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-dim, #7C735F);
  text-transform: uppercase;
}

.developer-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm, 4px);
  background: var(--bg-raised);
  border: 1px solid rgba(184, 146, 58, 0.35);
  transition: all 0.2s ease;
  letter-spacing: 0.03em;
  min-height: 38px;
  box-sizing: border-box;
}

.developer-phone-link:hover,
.developer-phone-link:focus-visible {
  color: var(--paper);
  background: rgba(232, 135, 43, 0.16);
  border-color: var(--tva-orange);
  box-shadow: 0 0 12px rgba(232, 135, 43, 0.35);
  outline: none;
}

.developer-phone-link .dev-phone-icon {
  display: flex;
  align-items: center;
  color: var(--mustard-secondary, #B8923A);
}

.developer-action-row {
  width: 100%;
}

.developer-github-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--bg-surface);
  border: 1.5px solid var(--brass);
  border-radius: var(--radius-sm, 4px);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  min-height: 44px;
}

.developer-github-btn:hover,
.developer-github-btn:focus-visible {
  background: rgba(232, 135, 43, 0.16);
  border-color: var(--tva-orange);
  color: var(--paper);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8),
              0 0 14px rgba(232, 135, 43, 0.35);
  transform: translateY(-2px);
  outline: none;
}

.developer-github-btn .dev-gh-icon {
  display: flex;
  align-items: center;
  color: var(--brass);
  transition: color 0.2s ease;
}

.developer-github-btn:hover .dev-gh-icon {
  color: var(--tva-orange);
}

.developer-github-btn .dev-gh-arrow {
  font-size: 0.95rem;
  color: var(--brass);
  transition: transform 0.2s ease;
}

.developer-github-btn:hover .dev-gh-arrow {
  transform: translate(2px, -2px);
  color: var(--tva-orange);
}

.developers-action-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0 24px;
}

.developers-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-top: 1px solid rgba(184, 146, 58, 0.18);
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim, #7C735F);
  flex-wrap: wrap;
  text-align: center;
}

.developers-bottom-bar .dev-bottom-tag {
  color: var(--paper-cream, #EADFC4);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.developers-bottom-bar .dev-bottom-divider {
  color: rgba(184, 146, 58, 0.35);
}

.developers-bottom-bar .dev-bottom-note {
  letter-spacing: 0.04em;
}

/* ==========================================================
   DEVELOPERS RECOGNITION PANEL (MODAL OVERLAY)
   TVA-Inspired Centered Recognition Modal
========================================================== */
body.dev-modal-open {
  overflow: hidden !important;
}

.developers-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.developers-modal-overlay[hidden] {
  display: none !important;
}

.developers-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.dev-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 4, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dev-modal-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(184, 146, 58, 0.5) rgba(20, 14, 10, 0.8);
}

.dev-modal-container::-webkit-scrollbar {
  width: 6px;
}
.dev-modal-container::-webkit-scrollbar-track {
  background: rgba(20, 14, 10, 0.8);
  border-radius: 3px;
}
.dev-modal-container::-webkit-scrollbar-thumb {
  background: rgba(184, 146, 58, 0.5);
  border-radius: 3px;
}
.dev-modal-container::-webkit-scrollbar-thumb:hover {
  background: var(--brass);
}

.developers-modal-overlay.is-active .dev-modal-container {
  transform: scale(1) translateY(0);
}

.dev-modal-surface {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-brass, #B8923A);
  border-radius: var(--radius-md, 6px);
  padding: 30px 28px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(184, 146, 58, 0.2);
  box-sizing: border-box;
}

/* Corner brass bracket accents */
.modal-bracket {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--brass);
  pointer-events: none;
}
.modal-bracket.top-left { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.modal-bracket.top-right { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.modal-bracket.bottom-left { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.modal-bracket.bottom-right { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.dev-modal-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(184, 146, 58, 0.25);
  gap: 12px;
}

.dev-modal-file-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--crt-teal);
  text-transform: uppercase;
}

.dev-modal-file-tag .dev-tag-lamp {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crt-teal);
  box-shadow: 0 0 6px var(--crt-teal);
}

.dev-modal-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  background: rgba(28, 24, 19, 0.85);
  border: 1px solid rgba(184, 146, 58, 0.4);
  border-radius: var(--radius-sm, 3px);
  color: var(--paper-cream, #EADFC4);
  font-family: var(--font-mono);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dev-modal-close-btn:hover,
.dev-modal-close-btn:focus-visible {
  background: rgba(232, 135, 43, 0.25);
  border-color: var(--tva-orange-hot, #FF9F45);
  color: var(--tva-orange-hot, #FF9F45);
  box-shadow: 0 0 12px rgba(232, 135, 43, 0.35);
  outline: none;
}

.dev-modal-header {
  text-align: center;
  margin-bottom: 26px;
}

.dev-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.06em;
  color: var(--paper);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  margin: 0 0 8px;
  line-height: 1.1;
  text-transform: uppercase;
}

.dev-modal-title .dev-title-divider {
  color: var(--brass);
  opacity: 0.65;
}

.dev-modal-intro {
  font-family: var(--font-typewriter);
  font-size: 0.94rem;
  color: var(--text-muted, #B9AD92);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 620px;
}

.dev-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.dev-modal-bottom-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px dashed rgba(184, 146, 58, 0.2);
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: 0.08em;
  color: rgba(184, 146, 58, 0.65);
  text-align: center;
  flex-wrap: wrap;
}



