:root {
  --bg: #0a0e1a;
  --surface: #141928;
  --surface-high: #1a1f2f;
  --surface-top: #202537;
  --text: #e2e4f6;
  --muted: #a7aabb;
  --primary: #c1fffe;
  --primary-dim: #00e6e6;
  --secondary: #ff51fa;
  --tertiary: #bf81ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

body {
  background-image:
    radial-gradient(circle at 10% -10%, rgba(193, 255, 254, 0.12), transparent 35%),
    radial-gradient(circle at 90% -30%, rgba(255, 81, 250, 0.1), transparent 40%),
    radial-gradient(circle at 50% 120%, rgba(191, 129, 255, 0.08), transparent 40%);
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.top-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(10, 14, 26, 0.78);
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.4rem;
}

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

.nav-link.active {
  color: #dff6ff;
  background: rgba(34, 55, 86, 0.9);
  border-radius: 999px;
}

.mobile-links {
  display: none;
  gap: 0.6rem;
  padding: 0 0 0.9rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  color: #062629;
}

.btn-secondary {
  color: var(--text);
  background: rgba(32, 37, 55, 0.65);
}

.hero {
  padding: 4.2rem 0 2.4rem;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1.2rem;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--secondary);
  margin-bottom: 0;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.6vw, 4.3rem);
  margin: 0;
  line-height: 0.95;
}

.hero .home-hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1;
  margin-top: 0.375em;
  margin-bottom: 0.375em;
}

.hero .home-hero-title span {
  display: block;
}

.hero .home-hero-title span + span {
  margin-top: 0.375em;
}

.hero .home-hero-title .hero-word {
  display: block;
  transition: color 180ms ease;
  cursor: pointer;
}

.hero .home-hero-title .hero-word.is-hovering {
  will-change: transform, color;
}

.hero .tech-hero-title {
  line-height: 1;
  margin-top: 0.1875em;
  margin-bottom: 0.1875em;
}

.hero .tech-hero-title span {
  display: block;
}

.hero .tech-hero-title span + span {
  margin-top: 0.1875em;
}

.tech-hero-media {
  min-height: 380px;
  height: 380px;
}

.hero p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 62ch;
}

.hero-media {
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(193, 255, 254, 0.08);
  background:
    radial-gradient(circle at top left, rgba(193, 255, 254, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 81, 250, 0.18), transparent 34%),
    rgba(20, 25, 40, 0.72);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.featured-video-section {
  padding-top: 0.2rem;
}

.featured-video-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  background:
    radial-gradient(circle at top left, rgba(193, 255, 254, 0.14), transparent 35%),
    radial-gradient(circle at bottom right, rgba(255, 81, 250, 0.14), transparent 40%),
    rgba(20, 25, 40, 0.8);
  border: 1px solid rgba(193, 255, 254, 0.08);
  border-radius: 24px;
  padding: 1.2rem;
  overflow: hidden;
}

.featured-video-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.program-buckets-shell {
  display: block;
}

.featured-video-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-video-copy .kicker {
  margin-bottom: 0.4rem;
}

.featured-video-actions {
  margin-top: 1rem;
}

.featured-video-spacer {
  height: 1.25rem;
}

.featured-video-embed {
  min-height: 280px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 14, 26, 0.1), rgba(10, 14, 26, 0.88)),
    radial-gradient(circle at 30% 20%, rgba(193, 255, 254, 0.24), transparent 20%),
    radial-gradient(circle at 70% 30%, rgba(255, 81, 250, 0.18), transparent 24%),
    linear-gradient(135deg, #362113, #120f1c 55%, #08141d);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.featured-video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

.popups-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.popups-title {
  margin: 0.3rem 0 0;
  font-size: clamp(2.3rem, 5.8vw, 4.8rem);
  line-height: 0.95;
}

.popups-controls {
  display: flex;
  gap: 0.7rem;
}

.popups-control {
  appearance: none;
  border: 1px solid rgba(193, 255, 254, 0.12);
  background: rgba(20, 25, 40, 0.82);
  color: var(--text);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.popups-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.2rem;
}

.popups-shell {
  display: block;
}

.popups-carousel::-webkit-scrollbar {
  display: none;
}

.popups-slide {
  scroll-snap-align: start;
  min-height: 360px;
  padding: 1.25rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(193, 255, 254, 0.14), transparent 32%),
    radial-gradient(circle at bottom right, rgba(255, 81, 250, 0.12), transparent 36%),
    rgba(20, 25, 40, 0.84);
  border: 1px solid rgba(193, 255, 254, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.popups-slide h2 {
  margin: 0.2rem 0 0.7rem;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.popups-slide p:last-child {
  margin-bottom: 0;
}

.popups-video-section {
  padding-top: 1.1rem;
}

.popups-video-shell {
  width: min(100vw - 2.5rem, 1400px);
  margin-left: calc(50% - min(100vw - 2.5rem, 1400px) / 2);
  margin-right: calc(50% - min(100vw - 2.5rem, 1400px) / 2);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(193, 255, 254, 0.08);
  background:
    radial-gradient(circle at top left, rgba(193, 255, 254, 0.14), transparent 35%),
    radial-gradient(circle at bottom right, rgba(255, 81, 250, 0.14), transparent 40%),
    rgba(20, 25, 40, 0.82);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.popups-video-shell iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 6.8;
  min-height: 780px;
  border: 0;
}

.about-hero {
  padding: 4.4rem 0 1.8rem;
  max-width: 980px;
}

.about-hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5.6vw, 4.8rem);
  line-height: 0.94;
  max-width: 14ch;
}

.about-subhead {
  margin: 1.1rem 0 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  gap: 1rem;
}

.about-person {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1rem;
  align-items: stretch;
  padding: 1rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(193, 255, 254, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 81, 250, 0.1), transparent 32%),
    rgba(20, 25, 40, 0.8);
  border: 1px solid rgba(193, 255, 254, 0.08);
}

.about-photo-slot {
  min-height: 300px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(193, 255, 254, 0.16);
  background: rgba(20, 25, 40, 0.9);
}

.about-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center;
}

.about-bio {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.25rem 0.4rem;
}

.about-bio h2 {
  margin: 0.2rem 0 0.7rem;
}

.about-bio p:last-child {
  margin-bottom: 0;
}

.signup-hero {
  padding: 4.4rem 0 1.6rem;
  max-width: 900px;
}

.signup-hero h1 {
  margin: 0.3rem 0 0;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.96;
}

.signup-subhead {
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.03rem;
}

.signup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.signup-card,
.signup-sidecard {
  background:
    radial-gradient(circle at top left, rgba(193, 255, 254, 0.12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 81, 250, 0.1), transparent 34%),
    rgba(20, 25, 40, 0.82);
  border: 1px solid rgba(193, 255, 254, 0.08);
  border-radius: 24px;
  padding: 1.2rem;
}

.signup-form {
  display: grid;
  gap: 1rem;
}

.signup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.signup-field {
  display: grid;
  gap: 0.45rem;
}

.signup-field label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--text);
}

.signup-field input,
.signup-field select,
.signup-field textarea {
  width: 100%;
  border: 1px solid rgba(193, 255, 254, 0.12);
  border-radius: 14px;
  background: rgba(10, 14, 26, 0.72);
  color: var(--text);
  padding: 0.85rem 0.95rem;
  font: inherit;
  resize: vertical;
}

.signup-field input::placeholder,
.signup-field textarea::placeholder {
  color: #858aa2;
}

.signup-field input:focus,
.signup-field select:focus,
.signup-field textarea:focus {
  outline: 2px solid rgba(193, 255, 254, 0.25);
  border-color: rgba(193, 255, 254, 0.32);
}

.signup-actions {
  display: grid;
  gap: 0.8rem;
}

.signup-note,
.signup-sidecard li {
  color: var(--muted);
  line-height: 1.6;
}

.signup-sidecard ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
}

.tech-gallery-section {
  padding-top: 0.4rem;
}

.hero + .tech-gallery-section {
  padding-top: 0;
}

.tech-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tech-gallery-item {
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(193, 255, 254, 0.08);
  background:
    radial-gradient(circle at top left, rgba(193, 255, 254, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 81, 250, 0.12), transparent 32%),
    rgba(20, 25, 40, 0.8);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.tech-gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition:
    transform 220ms ease,
    filter 220ms ease;
}

.tech-gallery-item:hover .tech-gallery-image {
  transform: scale(1.04);
  filter: brightness(0.68);
}

.tech-gallery-caption {
  position: absolute;
  inset: auto 1.2rem 1.1rem 1.2rem;
  margin: 0;
  color: #f3fbff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.1rem, 2.1vw, 1.6rem);
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
  pointer-events: none;
}

.tech-gallery-item:hover .tech-gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.section {
  padding: 1.6rem 0 0.8rem;
}

.section h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.5rem, 3.3vw, 2.4rem);
}

.section-intro {
  color: var(--muted);
  margin: 0;
  max-width: 780px;
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: rgba(20, 25, 40, 0.72);
  border-radius: 18px;
  padding: 1.1rem;
  backdrop-filter: blur(14px);
  position: relative;
}

.card-link {
  display: block;
}

.card h3,
.card h4 {
  margin: 0 0 0.4rem;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.55;
}

.card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}

.program-buckets .card {
  background:
    radial-gradient(circle at top left, rgba(193, 255, 254, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(30, 38, 58, 0.96), rgba(18, 24, 40, 0.92));
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
  border: 1px solid transparent;
}

.program-buckets .card:hover {
  background:
    radial-gradient(circle at top left, rgba(193, 255, 254, 0.16), transparent 36%),
    rgba(34, 55, 86, 0.9);
  border-color: rgba(193, 255, 254, 0.22);
  box-shadow: 0 18px 36px rgba(12, 22, 42, 0.28);
  transform: translateY(-2px);
}

.program-overview .card .stat {
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--secondary);
  margin: 0 0 0.9rem;
  display: inline-block;
  line-height: 1;
}

.program-overview h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

.program-overview-stack .card {
  background:
    radial-gradient(circle at top left, rgba(193, 255, 254, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(30, 38, 58, 0.96), rgba(18, 24, 40, 0.92));
}

.programs-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: 0.2rem;
}

.program-overview-stack {
  display: grid;
  gap: 1rem;
}

.programs-image-panel {
  min-height: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(193, 255, 254, 0.08);
  background:
    radial-gradient(circle at top left, rgba(193, 255, 254, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 81, 250, 0.18), transparent 34%),
    rgba(20, 25, 40, 0.72);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.programs-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}


.bucket-icon {
  position: absolute;
  top: 0.95rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.35rem;
  line-height: 1;
}

.stat {
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: "Space Grotesk", sans-serif;
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline .row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0.8rem;
  background: rgba(20, 25, 40, 0.72);
  border-radius: 14px;
  padding: 0.95rem;
}

.timeline .year {
  font-family: "Space Grotesk", sans-serif;
  color: var(--primary);
  font-weight: 700;
}

footer {
  margin-top: 2.2rem;
  padding: 2.2rem 0 1.7rem;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.footer-wrap p,
.footer-wrap a {
  color: var(--muted);
  line-height: 1.5;
}

.footer-title {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--text);
  margin-bottom: 0.45rem;
  font-family: "Space Grotesk", sans-serif;
}

.meta {
  margin-top: 1rem;
  color: #6f7386;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .hero,
  .about-person,
  .programs-top,
  .signup-layout,
  .signup-grid,
  .tech-gallery,
  .featured-video-layout,
  .featured-video-card,
  .grid-3,
  .grid-2,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .popups-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .popups-carousel {
    grid-auto-columns: 85%;
  }

  .popups-video-shell iframe {
    min-height: 440px;
  }

  .links {
    display: none;
  }

  .mobile-links {
    display: flex;
  }

  .timeline .row {
    grid-template-columns: 1fr;
  }
}

.poster-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 10%, rgba(142, 249, 255, 0.12), transparent 30%),
    radial-gradient(circle at 50% 90%, rgba(255, 79, 212, 0.1), transparent 34%),
    #050816;
  display: grid;
  place-items: center;
}

.poster-frame {
  width: min(100vw, 75vh);
  height: 100vh;
  display: grid;
  place-items: center;
  padding: 0;
}

.poster-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .poster-frame {
    width: 100vw;
  }
}
