@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700&family=Space+Grotesk:wght@600;700;800&family=Syne:wght@700;800;900&display=swap');

/* ==========================================================================
   CODELABS MODERN TECHNICAL DESIGN SYSTEM • JMIT RADAUR
   SQUARISH · FROSTED GLASS · UNIFIED CTA · ALL-CAPS HIGHLIGHTS
   ========================================================================== */

:root {
  /* Surfaces */
  --bg-main: #07090e;
  --bg-surface: rgba(13, 17, 25, 0.78);
  --bg-card: rgba(16, 21, 32, 0.74);
  --bg-card-solid: #101520;
  --bg-card-hover: rgba(24, 31, 46, 0.88);
  --bg-dark-accent: #000000;
  
  /* Brand Accent */
  --accent-red: #d7383b;
  --accent-red-bright: #ff3337;
  --accent-red-subtle: rgba(215, 56, 59, 0.14);
  --accent-yellow: #fbbf24;
  --accent-cyan: #38bdf8;
  
  /* Borders */
  --border-dim: 1px solid rgba(255, 255, 255, 0.08);
  --border-bold: 1px solid rgba(255, 255, 255, 0.15);
  --border-card: 1px solid rgba(255, 255, 255, 0.12);
  --border-accent: 2px solid #d7383b;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8492a6;
  --text-dim: #4d5b6e;

  /* Fonts */
  --font-display: 'Syne', 'Space Grotesk', sans-serif;
  --font-sans: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Neobrutalist Hard Offsets */
  --shadow-black: 4px 4px 0px #000000;
  --shadow-black-lg: 6px 6px 0px #000000;
  --shadow-red: 4px 4px 0px var(--accent-red);

  --max-width: 1240px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0px !important;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-main);
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Fixed Background Canvas */
#hypnotic-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Selection & Scrollbar */
::selection { background-color: var(--accent-red); color: #ffffff; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: #283142; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-red); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

.mono { font-family: var(--font-mono); }
.text-accent { color: var(--accent-red-bright); }
.text-yellow { color: var(--accent-yellow); }
.text-muted { color: var(--text-muted); }

/* ==========================================================================
   1. INFINITE SCROLLING ANNOUNCEMENT TICKER
   ========================================================================== */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: #040507;
  border-bottom: 1px solid var(--border-dim);
  height: 28px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 101;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 1.5rem;
}

.ticker-badge {
  background: var(--accent-red);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 5px;
  margin-right: 0.5rem;
  letter-spacing: 0.04em;
}

.ticker-sep {
  color: var(--accent-red-bright);
  margin: 0 0.85rem;
  font-weight: 800;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   2. NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 10, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-bold);
  padding: 0.65rem 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000000;
  padding: 2px;
  box-shadow: 2px 2px 0px var(--accent-red);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 3px;
}

/* Desktop Nav Links */
.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.nav-item-link {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 0.4rem 0.8rem;
  border: 1px solid transparent;
  transition: all 0.12s ease;
}

.nav-item-link:hover {
  color: #ffffff;
  background: var(--bg-card);
  border-color: var(--border-bold);
}

.nav-item-link.active {
  color: #ffffff;
  background: var(--bg-card);
  border: 1px solid var(--accent-red);
  box-shadow: 2px 2px 0px var(--accent-red);
}

/* Minimalist Hamburger Button */
.mobile-toggle {
  display: none;
  background: var(--bg-card);
  color: #ffffff;
  border: 1px solid var(--border-bold);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  box-shadow: 2px 2px 0px #000000;
  user-select: none;
  align-items: center;
  justify-content: center;
}

.mobile-toggle:active {
  transform: translate(1px, 1px);
  box-shadow: 0px 0px 0px #000000;
}

.hamburger-icon {
  width: 20px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Slide-Down Mobile Menu */
.mobile-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(6, 8, 12, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--accent-red);
  padding: 0.85rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.85);
  flex-direction: column;
  gap: 0.45rem;
  z-index: 1000;
}

.mobile-dropdown-menu.active {
  display: flex;
}

.mobile-menu-item {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  padding: 0.65rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-item.active, .mobile-menu-item:hover {
  border-color: var(--accent-red);
  background: var(--bg-card-hover);
  color: #ffffff;
}

.mobile-menu-cta {
  margin-top: 0.35rem;
  width: 100%;
  padding: 0.75rem;
  text-align: center;
}

/* ==========================================================================
   3. BUTTONS (UNIFIED BRAND CTA)
   ========================================================================== */
.btn-brutal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.65rem 1.3rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #ffffff;
  background: var(--accent-red);
  color: #ffffff;
  box-shadow: var(--shadow-black);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
  user-select: none;
  text-align: center;
}

.btn-brutal:hover {
  background: var(--accent-red-bright);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #000000;
}

.btn-brutal:active {
  transform: translate(1px, 1px);
  box-shadow: 0px 0px 0px #000000;
}

.btn-brutal.btn-dark {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-bold);
  box-shadow: var(--shadow-black);
}

.btn-brutal.btn-dark:hover {
  background: var(--bg-card-hover);
  border-color: #ffffff;
  box-shadow: 4px 4px 0px var(--accent-red);
}

.btn-sm {
  padding: 0.35rem 0.8rem;
  font-size: 0.72rem;
}

/* ==========================================================================
   4. HERO SECTION (ALL-CAPS HIGHLIGHT HEADLINE)
   ========================================================================== */
.hero {
  padding: 3.25rem 0 2.75rem;
  border-bottom: 1px solid var(--border-dim);
  background: rgba(8, 10, 15, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: stretch;
}

.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border: 1px solid var(--border-bold);
  background: rgba(18, 22, 33, 0.7);
  color: var(--text-secondary);
  text-transform: uppercase;
}

.hero-tag.red {
  background: var(--accent-red-subtle);
  border-color: var(--accent-red);
  color: var(--accent-red-bright);
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
  color: #ffffff;
  word-break: break-word;
  text-transform: uppercase;
}

.hero-heading .highlight-box {
  background: var(--accent-red);
  color: #ffffff;
  padding: 0 6px;
  display: inline-block;
  box-shadow: 3px 3px 0px #000000;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 580px;
}

.hero-desc strong { color: #ffffff; }

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-bold);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-black);
}

.stat-cell {
  padding: 0.7rem 0.85rem;
  border-right: 1px solid var(--border-dim);
}

.stat-cell:last-child { border-right: none; }

.stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.stat-val {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
}

.stat-val.red { color: var(--accent-red-bright); }
.stat-val.yellow { color: var(--accent-yellow); }

/* HERO RIGHT: 3 DOMAIN MATRIX STACK */
.hero-matrix-box {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-bold);
  box-shadow: var(--shadow-black-lg);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
}

.matrix-header {
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 0.65rem;
  margin-bottom: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.matrix-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  text-transform: uppercase;
}

.matrix-card {
  background: rgba(12, 15, 22, 0.8);
  border: 1px solid var(--border-dim);
  padding: 0.85rem;
  margin-bottom: 0.65rem;
  display: block;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.12s ease;
}

.matrix-card:last-child { margin-bottom: 0; }

.matrix-card:hover {
  transform: translate(-2px, -2px);
  border-color: var(--accent-red);
  box-shadow: 4px 4px 0px var(--accent-red);
  background: var(--bg-card-hover);
}

.matrix-card-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-red-bright);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.matrix-card-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.matrix-card-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.45rem;
}

.matrix-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.matrix-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  background: rgba(6, 8, 12, 0.85);
  border: 1px solid var(--border-dim);
  color: var(--text-secondary);
}

/* ==========================================================================
   5. SECTIONS COMMON
   ========================================================================== */
.section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border-dim);
  position: relative;
  z-index: 1;
}

.section.alt-bg {
  background: rgba(8, 10, 15, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.section-head { margin-bottom: 2rem; }

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-red-bright);
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
}

.section-lead {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-top: 0.45rem;
  line-height: 1.55;
}

/* ==========================================================================
   6. DIRECTIVES (WHAT WE DO)
   ========================================================================== */
.directives-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.directive-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-bold);
  box-shadow: var(--shadow-black);
  padding: 1.25rem 1rem;
  transition: all 0.12s ease;
}

.directive-card:hover {
  transform: translate(-2px, -2px);
  border-color: var(--accent-red);
  box-shadow: 4px 4px 0px var(--accent-red);
}

.directive-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent-red-bright);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.directive-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.directive-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   7. TECHNICAL STACK & ECOSYSTEM
   ========================================================================== */
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tech-category-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-bold);
  box-shadow: var(--shadow-black);
  padding: 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
}

.tech-category-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.tech-category-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.tech-category-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

/* ==========================================================================
   8. COMING SOON EVENT MODULE (EVENTS.HTML)
   ========================================================================== */
.coming-soon-block {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-bold);
  box-shadow: var(--shadow-black-lg);
  padding: 3rem 1.75rem;
  text-align: center;
}

.coming-soon-badge {
  background: var(--accent-red-subtle);
  color: var(--accent-red-bright);
  border: 1px solid var(--accent-red);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
}

.coming-soon-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.coming-soon-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: left;
  margin-top: 1.5rem;
}

.pipeline-card {
  background: rgba(6, 8, 12, 0.85);
  border: 1px solid var(--border-bold);
  padding: 1.25rem;
}

.pipeline-stage {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent-yellow);
  margin-bottom: 0.35rem;
}

.pipeline-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.pipeline-info {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   9. STUDENT FAQ ACCORDION
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.faq-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-bold);
  box-shadow: var(--shadow-black);
  padding: 1.25rem 1.15rem;
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.faq-q-mark {
  color: var(--accent-red-bright);
  font-family: var(--font-mono);
  font-weight: 900;
}

.faq-answer {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   10. TIMELINE ROADMAP
   ========================================================================== */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.timeline-step {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-bold);
  box-shadow: var(--shadow-black);
  padding: 1.25rem 1rem;
}

.timeline-date {
  background: var(--accent-red);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  display: inline-block;
  margin-bottom: 0.65rem;
  box-shadow: 2px 2px 0px #000000;
  text-transform: uppercase;
}

.timeline-step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.timeline-step-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   11. CTA BANNER
   ========================================================================== */
.cta-block {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--accent-red);
  box-shadow: var(--shadow-black-lg);
  padding: 2.75rem 1.25rem;
  text-align: center;
  color: #ffffff;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.cta-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 1.35rem;
  line-height: 1.55;
}

/* ==========================================================================
   12. MEMBERS PAGE & AVATARS
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-bold);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-black);
}

.filter-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-chip {
  background: rgba(6, 8, 12, 0.8);
  border: 1px solid var(--border-bold);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition: all 0.1s ease;
}

.filter-chip:hover {
  background: var(--bg-card-hover);
  color: #ffffff;
}

.filter-chip.active {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
}

.search-box-brutal {
  display: flex;
  align-items: center;
  background: rgba(6, 8, 12, 0.8);
  border: 1px solid var(--border-bold);
  padding: 0.35rem 0.65rem;
  gap: 0.4rem;
}

.search-input-field {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #ffffff;
  width: 190px;
}

.members-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.member-pass-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-bold);
  box-shadow: var(--shadow-black);
  display: flex;
  flex-direction: column;
  transition: all 0.12s ease;
}

.member-pass-card:hover {
  transform: translate(-2px, -2px);
  border-color: var(--accent-red);
  box-shadow: 4px 4px 0px var(--accent-red);
}

.member-pass-top {
  background: rgba(6, 8, 12, 0.85);
  border-bottom: 1px solid var(--border-dim);
  padding: 0.5rem 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.member-tier-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border: 1px solid transparent;
}

.badge-mentor {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.badge-exec {
  background: rgba(215, 56, 59, 0.18);
  color: var(--accent-red-bright);
  border-color: var(--accent-red);
}

.badge-lead {
  background: rgba(251, 191, 36, 0.15);
  color: var(--accent-yellow);
  border-color: var(--accent-yellow);
}

.member-pass-profile {
  padding: 1rem;
  border-bottom: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.member-avatar-box {
  width: 50px;
  height: 50px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0px var(--accent-red);
  flex-shrink: 0;
  overflow: hidden;
}

.member-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-pass-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.member-pass-role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-red-bright);
  font-weight: 700;
  margin-top: 2px;
}

.member-dept-text {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.member-pass-body {
  padding: 1rem;
  flex: 1;
}

.member-bio-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.member-pass-foot {
  background: rgba(6, 8, 12, 0.85);
  border-top: 1px solid var(--border-dim);
  padding: 0.55rem 1rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.member-pass-foot a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
}

.member-pass-foot a:hover { color: #ffffff; }

/* ==========================================================================
   13. DOMAINS DEEP DIVE
   ========================================================================== */
.domain-spec-block {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-bold);
  box-shadow: var(--shadow-black);
  margin-bottom: 2.25rem;
}

.domain-spec-top {
  background: rgba(6, 8, 12, 0.85);
  border-bottom: 1px solid var(--border-dim);
  padding: 0.85rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.domain-spec-body { padding: 1.25rem 1.15rem; }

.spec-columns {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.75rem;
}

.spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.spec-item {
  background: rgba(6, 8, 12, 0.75);
  border: 1px solid var(--border-dim);
  padding: 0.65rem 0.8rem;
  display: flex;
  gap: 0.6rem;
  font-size: 0.82rem;
}

.spec-item-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-red-bright);
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.footer {
  background: rgba(4, 5, 8, 0.96);
  border-top: 1px solid var(--border-bold);
  padding: 3rem 0 1.75rem;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-head {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  transition: all 0.12s ease;
}

.footer-nav-list a:hover {
  color: var(--accent-red-bright);
}

.footer-bottom-line {
  border-top: 1px solid var(--border-dim);
  padding-top: 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ==========================================================================
   15. MOBILE RESPONSIVE ENGINE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .tech-stack-grid { grid-template-columns: 1fr; }
  .pipeline-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .directives-grid { grid-template-columns: 1fr 1fr; }
  .timeline-grid { grid-template-columns: 1fr; }
  .spec-columns { grid-template-columns: 1fr; }
  .footer-main-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links-wrap {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .navbar {
    padding: 0.45rem 0;
  }
  .brand-logo-img {
    height: 30px;
  }
  .brand-name {
    font-size: 1.08rem;
  }
  .brand-sub {
    font-size: 0.54rem;
    letter-spacing: 0.03em;
  }
  .brand-link {
    gap: 0.5rem;
  }
  .ticker-wrap {
    height: 25px;
  }
  .ticker-track {
    font-size: 0.65rem;
  }
  .hero {
    padding: 1.75rem 0 1.5rem;
  }
  .hero-heading {
    font-size: 1.65rem;
    line-height: 1.12;
  }
  .hero-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.15rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.55rem;
  }
  .hero-cta-group .btn-brutal {
    width: 100%;
    padding: 0.7rem;
    font-size: 0.78rem;
  }
  .hero-stats-strip {
    grid-template-columns: 1fr 1fr;
  }
  .stat-cell {
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid var(--border-dim);
  }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3) { border-bottom: none; }
  .stat-cell:nth-child(4) { border-bottom: none; border-right: none; }
  .stat-val { font-size: 0.82rem; }
  .stat-lbl { font-size: 0.56rem; }
  .directives-grid { grid-template-columns: 1fr; }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem;
  }
  .filter-btn-group {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .filter-chip {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
  }
  .search-box-brutal { width: 100%; }
  .search-input-field { width: 100%; font-size: 0.75rem; }
  .cta-block { padding: 1.85rem 0.85rem; }
  .cta-block .btn-brutal { width: 100%; }
  .footer-main-grid { grid-template-columns: 1fr; gap: 1.35rem; }
}
