/* Ridgemont faculty — 70s/80s outrun + VHS. No emoji in markup; icons are CSS/SVG only. */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Share+Tech+Mono&display=swap");

.faculty-vhs {
  --sun-top: #ff6b9d;
  --sun-mid: #ff9f43;
  --sun-bot: #ffd54a;
  --grid: #ff2d6a;
  --chrome: #00e5c8;
  --tape: #1a0a2e;
  font-family: "Share Tech Mono", "Cascadia Code", monospace;
}

.faculty-vhs::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, #12061f 0%, #2d1b4e 35%, #ff6b9d55 55%, #ff9f4344 70%, #1a0a2e 100%);
}

.faculty-vhs::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.12) 2px,
      rgba(0, 0, 0, 0.12) 4px
    );
  animation: vhs-flicker 8s steps(2) infinite;
}

@keyframes vhs-flicker {
  0%, 97% { opacity: 0.35; }
  98% { opacity: 0.55; }
  100% { opacity: 0.35; }
}

.sunset-grid {
  position: relative;
  height: 220px;
  margin: 0 -1.5rem 2rem;
  overflow: hidden;
  border-bottom: 3px solid var(--grid);
}

.sunset-grid .sun {
  position: absolute;
  left: 50%;
  bottom: 48px;
  width: 180px;
  height: 90px;
  margin-left: -90px;
  border-radius: 180px 180px 0 0;
  background: linear-gradient(180deg, var(--sun-top), var(--sun-mid), var(--sun-bot));
  box-shadow: 0 0 60px var(--sun-mid);
}

.sunset-grid .grid-floor {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: 0;
  height: 120px;
  background:
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    linear-gradient(0deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 24px;
  transform: perspective(280px) rotateX(62deg);
  transform-origin: center bottom;
  opacity: 0.55;
}

.faculty-vhs .hero h1 {
  font-family: Orbitron, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 0 12px var(--chrome), 2px 2px 0 var(--grid);
}

.boombox {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(145deg, #2a2a35, #0d0d12);
  border: 2px solid var(--chrome);
  border-radius: 6px;
  margin: 1.5rem 0;
  box-shadow: inset 0 0 20px rgba(0, 229, 200, 0.15);
}

.boombox-speakers {
  display: flex;
  gap: 0.5rem;
}

.boombox-speakers span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #444, #111);
  border: 2px solid #666;
  animation: speaker-pulse 0.8s ease-in-out infinite alternate;
}

.boombox-speakers span:nth-child(2) { animation-delay: 0.2s; }

@keyframes speaker-pulse {
  from { transform: scale(1); box-shadow: 0 0 0 var(--chrome); }
  to { transform: scale(1.06); box-shadow: 0 0 14px var(--chrome); }
}

.boombox-eq {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
}

.boombox-eq i {
  flex: 1;
  max-width: 8px;
  background: linear-gradient(180deg, var(--chrome), var(--grid));
  border-radius: 2px;
  animation: eq-bar 0.5s ease-in-out infinite alternate;
}

.boombox-eq i:nth-child(1) { height: 30%; animation-delay: 0s; }
.boombox-eq i:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.boombox-eq i:nth-child(3) { height: 80%; animation-delay: 0.05s; }
.boombox-eq i:nth-child(4) { height: 45%; animation-delay: 0.15s; }
.boombox-eq i:nth-child(5) { height: 70%; animation-delay: 0.08s; }
.boombox-eq i:nth-child(6) { height: 35%; animation-delay: 0.12s; }
.boombox-eq i:nth-child(7) { height: 90%; animation-delay: 0.03s; }
.boombox-eq i:nth-child(8) { height: 50%; animation-delay: 0.18s; }

@keyframes eq-bar {
  to { transform: scaleY(1.35); opacity: 1; }
}

.faculty-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  background: rgba(26, 10, 46, 0.85);
  border: 1px solid var(--chrome);
  border-left: 4px solid var(--grid);
  border-radius: 4px;
}

.faculty-card .silhouette {
  width: 140px;
  height: 160px;
}

.faculty-card h3 {
  font-family: Orbitron, sans-serif;
  margin: 0 0 0.35rem;
  color: var(--sun-bot);
}

.faculty-card .role {
  color: var(--chrome);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.faculty-card .tagline {
  color: var(--muted);
  font-size: 0.9rem;
}

.video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 720px;
  margin: 1.5rem 0;
  background: #050810;
  border: 2px solid var(--grid);
  overflow: hidden;
}

.video-stage::before {
  content: "REC";
  position: absolute;
  top: 12px;
  left: 12px;
  color: #ff2d6a;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  animation: rec-blink 1.2s step-end infinite;
}

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

.video-stage .scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0, 229, 200, 0.04) 50%);
  background-size: 100% 4px;
  pointer-events: none;
}

.agent-strip {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.agent-strip figure {
  margin: 0;
  text-align: center;
  width: 120px;
}

.agent-strip figcaption {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.playlist-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--chrome);
  color: var(--chrome);
  text-decoration: none;
  font-size: 0.8rem;
}

.playlist-link:hover {
  background: rgba(0, 229, 200, 0.12);
  color: var(--sun-bot);
}

.no-money-banner {
  padding: 0.75rem 1rem;
  background: repeating-linear-gradient(
    -45deg,
    #1a0a2e,
    #1a0a2e 8px,
    #2d1b4e 8px,
    #2d1b4e 16px
  );
  border: 1px dashed var(--sun-bot);
  font-size: 0.85rem;
  color: var(--sun-bot);
}

.faculty-vhs .nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}

.faculty-hero {
  text-align: center;
}

.faculty-hero .crest {
  margin: 0 auto 1rem;
  filter: drop-shadow(0 0 12px var(--chrome));
}

.faculty-card {
  grid-template-columns: 200px 1fr;
}

.faculty-card video.faculty-loop {
  width: 200px;
  height: 280px;
  object-fit: cover;
  border: 2px solid var(--grid);
  background: #050810;
}

.faculty-card .meet-btn {
  margin-right: 0.5rem;
  margin-top: 0.5rem;
}

.ai-booth .booth-frame {
  position: relative;
  max-width: 640px;
  padding: 1rem 1.25rem;
  background: #050810;
  border: 2px solid var(--chrome);
  box-shadow: inset 0 0 24px rgba(0, 229, 200, 0.08);
}

.booth-screen {
  margin: 0;
  min-height: 8rem;
  color: #7fff9a;
  font-size: 0.85rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.booth-cursor {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  color: var(--chrome);
  animation: rec-blink 1s step-end infinite;
}

.atlas-panel {
  padding: 1.25rem;
  border: 1px dashed var(--sun-bot);
  background: rgba(26, 10, 46, 0.7);
}

.atlas-panel .atlas-cta {
  padding: 0.75rem 1rem;
  background: #0a0612;
  border: 1px solid var(--chrome);
  color: var(--chrome);
  font-size: 0.75rem;
  overflow-x: auto;
}

.hero-video-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto 1.5rem;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--accent, #00e5c8);
  overflow: hidden;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
