/* ── COMING SOON — SHARED BASE CSS ─────────────────────────────────────────
   Each department page imports this file then overrides the CSS variables
   below with its own palette. No other changes needed per department.
─────────────────────────────────────────────────────────────────────────── */

/* ── TOKENS — overridden per department ─────────────────────────────────── */
:root {
  --primary:     #7b3ff2;   /* department accent — overridden below */
  --primary-l:   #9b6bff;
  --primary-d:   #5a2db8;
  --secondary:   #2fa899;
  --bg:          #080614;
  --bg2:         #0d0b1c;
  --bg3:         #131028;
  --bg4:         #1a1733;
  --white:       #ffffff;
  --gray:        #8888aa;
  --gray-l:      #c0c0d8;
  --dgray:       #7878a0;
  --nav-h:       68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* subtle grain */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: .4;
}

/* ── AMBIENT ORBS ──────────────────────────────────────────────────────── */
.orb1 {
  position: fixed; top: -20%; left: -15%;
  width: 60%; height: 65%;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb), .1) 0%, transparent 70%);
  pointer-events: none;
}
.orb2 {
  position: fixed; bottom: -15%; right: -10%;
  width: 50%; height: 55%;
  background: radial-gradient(ellipse, rgba(var(--secondary-rgb), .07) 0%, transparent 70%);
  pointer-events: none;
}

/* ── NAV ─────────────────────────────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 60px);
  background: rgba(8,6,20,.94);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: top .3s;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img { width: 42px; height: 42px; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: 3px; color: var(--white);
}
.nav-logo-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--primary);
}

.nav-links {
  display: flex; align-items: center; gap: 6px; list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray);
  padding: 8px 14px; display: flex; align-items: center; gap: 5px;
  transition: color .2s; border-radius: 3px; text-decoration: none;
}
.nav-links > li > a:hover { color: var(--white); }
.nav-chevron { font-size: 10px; opacity: .6; transition: transform .25s; }
.nav-links > li:hover .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 420px;
  background: rgba(13,11,28,.98);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; padding: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 200; backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.nav-links > li:hover .nav-dropdown {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown::before {
  content: ''; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 6px;
  background: rgba(13,11,28,.98);
  clip-path: polygon(50% 0%,100% 100%,0% 100%);
}
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 4px;
  transition: background .15s; color: var(--gray-l);
  text-decoration: none;
}
.dropdown-item:hover { background: rgba(255,255,255,.06); }
.dropdown-item-icon {
  width: 32px; height: 32px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.di-ai    { background: rgba(123,63,242,.2); }
.di-mktg  { background: rgba(249,115,22,.2); }
.di-design{ background: rgba(234,179,8,.15); }
.di-it    { background: rgba(59,130,246,.15); }
.di-prod  { background: rgba(245,158,11,.15); }
.di-video { background: rgba(236,72,153,.15); }

.dropdown-item-text { display: flex; flex-direction: column; }
.dropdown-item-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 1px;
  color: var(--white); text-transform: uppercase;
}
.dropdown-item-sub { font-size: 11px; color: var(--gray); margin-top: 1px; }
.dd-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(255,255,255,.06); color: var(--gray);
  padding: 2px 6px; border-radius: 2px; margin-left: auto; flex-shrink: 0;
}
.dropdown-footer {
  margin-top: 6px; padding: 10px 14px 6px;
  border-top: 1px solid rgba(255,255,255,.05); text-align: center;
}
.dropdown-footer a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--primary);
  text-decoration: none; transition: color .2s;
}

/* Nav login link */
.nav-login {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray);
  text-decoration: none; padding: 8px 14px;
  transition: color .2s; flex-shrink: 0;
}
.nav-login:hover { color: var(--white); }

/* Nav CTA button — "NOTIFY ME →" */
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { opacity: .85; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; padding: 6px; cursor: pointer;
}
.nav-hamburger span {
  width: 26px; height: 2px; background: var(--gray-l);
  border-radius: 2px; transition: all .3s; display: block;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(8,6,20,.98); backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 20px clamp(20px,5vw,60px) 28px;
  z-index: 799; flex-direction: column; gap: 2px;
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile > a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray-l);
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color .2s; text-decoration: none;
}
.nav-mobile > a:hover { color: var(--white); }
.nav-mobile-section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gray); padding: 16px 0 8px;
}
.nav-mobile-dept {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray-l);
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.03);
  text-decoration: none;
}
.nav-mobile-dept .dropdown-item-icon { width: 28px; height: 28px; font-size: 14px; }
.nav-mobile-dept .dd-badge { margin-left: auto; }

/* ── HERO SECTION ────────────────────────────────────────────────────────── */
.hero {
  height: 100vh;
  overflow: hidden;
  display: grid; align-items: center;
  padding: calc(var(--nav-h) + 32px) clamp(20px,5vw,80px) 36px;
  position: relative;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Vertical accent line */
.hero-line {
  position: absolute; top: 0; right: 30%;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(var(--primary-rgb),.12), transparent);
  pointer-events: none;
}

.hero-inner { max-width: 780px; position: relative; z-index: 2; }

/* Department eyebrow tag */
.dept-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 28px;
}
.dept-tag::before {
  content: ''; width: 24px; height: 2px;
  background: var(--primary); flex-shrink: 0;
}
.dept-tag-icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: rgba(var(--primary-rgb),.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

/* Main headline */
.hero-h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 10vw, 128px);
  line-height: .92; letter-spacing: -1px;
  margin-bottom: 28px;
}
.h1-line1 { display: block; color: var(--white); }
.h1-line2 {
  display: block; color: transparent;
  -webkit-text-stroke: 2px var(--primary);
}
.h1-line3 { display: block; color: var(--primary); }

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--gray-l); line-height: 1.75;
  max-width: 540px; margin-bottom: 40px;
}
.hero-sub strong { color: var(--white); }

/* Track chips */
.track-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 44px;
}
.track-chip {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gray);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 7px 14px; border-radius: 2px;
  display: inline-flex; align-items: center; gap: 7px;
}
.track-chip-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0;
}

/* ── NOTIFY SECTION ──────────────────────────────────────────────────────── */
.notify-wrap {
  background: rgba(var(--primary-rgb),.06);
  border: 1px solid rgba(var(--primary-rgb),.18);
  padding: 32px 36px;
  max-width: 540px;
  position: relative; overflow: hidden;
}
.notify-wrap::before {
  content: attr(data-dept);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 110px; line-height: 1;
  color: rgba(var(--primary-rgb),.05);
  position: absolute; right: -8px; bottom: -8px;
  pointer-events: none;
}

.notify-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 10px;
}
.notify-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; color: var(--white);
  margin-bottom: 8px; line-height: 1.05;
}
.notify-sub {
  font-size: 14px; color: var(--gray);
  line-height: 1.65; margin-bottom: 22px;
}

.notify-form {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.notify-input {
  flex: 1; min-width: 200px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white); font-family: 'Barlow', sans-serif;
  font-size: 15px; padding: 13px 16px;
  outline: none; transition: border-color .2s; border-radius: 0;
}
.notify-input:focus { border-color: var(--primary); }
.notify-input::placeholder { color: rgba(255,255,255,.38); }

.notify-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--primary); color: var(--white);
  border: none; padding: 13px 24px;
  clip-path: polygon(6px 0%,100% 0%,calc(100% - 6px) 100%,0% 100%);
  cursor: pointer; transition: opacity .2s; flex-shrink: 0;
}
.notify-btn:hover:not(:disabled) { opacity: .88; }
.notify-btn:disabled { opacity: .5; cursor: not-allowed; }

.notify-ok {
  display: none; margin-top: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  color: var(--white);
}
.notify-err {
  display: none; margin-top: 12px;
  font-size: 12px; color: #ef4444;
}

/* ── WAITLIST SECTION ────────────────────────────────────────────────────── */
.waitlist-section {
  background: linear-gradient(135deg, rgba(var(--primary-rgb),.06), rgba(var(--secondary-rgb),.03));
  border-top: 1px solid rgba(var(--primary-rgb),.12);
  border-bottom: 1px solid rgba(var(--primary-rgb),.07);
  padding: clamp(56px,7vw,96px) clamp(20px,5vw,80px);
}
.waitlist-inner { max-width: 600px; }

/* Active department highlight in COURSES dropdown */
.dropdown-item.dd-active {
  background: rgba(var(--primary-rgb, 123,63,242),.08);
  border-left: 2px solid var(--primary, #7b3ff2);
}
.dropdown-item.dd-active .dropdown-item-name { color: var(--primary, #9b6bff); }

/* ── WHAT'S COMING SECTION ───────────────────────────────────────────────── */
.coming-section {
  padding: clamp(60px,8vw,100px) clamp(20px,5vw,80px);
  max-width: 1100px; margin: 0 auto;
}
.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 5px;
  text-transform: uppercase; color: var(--primary);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.section-tag::before { content: ''; width: 22px; height: 1px; background: var(--primary); }
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px,5vw,64px); line-height: 1.02;
  margin-bottom: 48px;
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
}
.track-card {
  background: var(--bg3); padding: 28px 24px;
  position: relative; overflow: hidden;
  border-top: 3px solid var(--primary);
  transition: background .2s;
}
.track-card:hover { background: var(--bg4); }
.track-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 60px;
  color: rgba(255,255,255,.04); line-height: 1;
  position: absolute; top: 8px; right: 12px;
}
.track-icon { font-size: 28px; margin-bottom: 16px; display: block; }
.track-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--white); margin-bottom: 8px;
}
.track-desc { font-size: 14px; color: var(--gray); line-height: 1.65; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(255,255,255,.04);
  padding: 28px clamp(20px,5vw,80px);
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-brand {
  font-family: 'Bebas Neue', sans-serif; font-size: 18px;
  letter-spacing: 3px; color: var(--dgray);
}
.footer-links { display: flex; gap: 20px; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--dgray); text-decoration: none; transition: color .2s;
}
.footer-links a:hover { color: var(--primary); }
.footer-copy { font-size: 12px; color: var(--dgray); }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-links { display: none; }
  .nav-login { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding-top: calc(var(--nav-h) + 50px); }
  .tracks-grid { grid-template-columns: 1fr 1fr; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
@media (max-width: 480px) {
  .tracks-grid { grid-template-columns: 1fr; }
  .notify-form { flex-direction: column; }
  .notify-btn { clip-path: none; }
}

/* ── LIGHT THEME ─────────────────────────────────────────────────────────────── */
[data-theme="light"] {
  --bg:     #f4f3fc;
  --bg2:    #eceaff;
  --bg3:    #ffffff;
  --bg4:    #e8e4ff;
  --gray:   #6b6b8a;
  --gray-l: #44446a;
  --dgray:  #55556e;
}
[data-theme="light"] body   { background: #f4f3fc; color: #0f0e1a; }
[data-theme="light"] .orb1,
[data-theme="light"] .orb2  { opacity: .25; }

/* Hero */
[data-theme="light"] .h1-line1      { color: #0f0e1a; }
[data-theme="light"] .hero-sub      { color: #44446a; }
[data-theme="light"] .hero-sub strong { color: #0f0e1a; }
[data-theme="light"] .track-chip    { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.1); }

/* Waitlist form */
[data-theme="light"] .waitlist-section { background: linear-gradient(135deg,rgba(var(--primary-rgb),.05),rgba(255,255,255,.6)); border-color: rgba(var(--primary-rgb),.12); }
[data-theme="light"] .notify-title     { color: #0f0e1a; }
[data-theme="light"] .notify-sub       { color: #55556e; }
[data-theme="light"] .notify-input     { background: rgba(255,255,255,.9); border-color: rgba(0,0,0,.14); color: #0f0e1a; }
[data-theme="light"] .notify-input::placeholder { color: rgba(0,0,0,.3); }
[data-theme="light"] .notify-ok        { color: #0f0e1a; }

/* Curriculum section */
[data-theme="light"] .section-title { color: #0f0e1a; }
[data-theme="light"] .track-name    { color: #0f0e1a; }
[data-theme="light"] .track-desc    { color: #55556e; }
[data-theme="light"] .track-num     { color: rgba(0,0,0,.04); }

/* Footer */
[data-theme="light"] footer { border-top-color: rgba(0,0,0,.07); }

/* Nav text colours — coming-soon.css loads after nav.css so these win at equal specificity */
[data-theme="light"] #main-nav       { background: rgba(248,247,254,.96); border-bottom-color: rgba(107,45,224,.14); }
[data-theme="light"] .nav-links > li > a       { color: #55556e; }
[data-theme="light"] .nav-links > li > a:hover { color: #0f0e1a; }
[data-theme="light"] .nav-logo-name  { color: #0f0e1a; }
[data-theme="light"] .nav-hamburger span { background: #44446a; }
[data-theme="light"] .nav-mobile     { background: rgba(248,247,254,.99); border-bottom-color: rgba(0,0,0,.08); }
[data-theme="light"] .nav-mobile > a { color: #44446a; }
[data-theme="light"] .nav-mobile > a:hover { color: #0f0e1a; }
[data-theme="light"] .nav-mobile-dept { color: #44446a; }
[data-theme="light"] .nav-mobile-section-label { color: #888899; }
[data-theme="light"] .nav-dropdown   { background: rgba(255,255,255,.99); border-color: rgba(107,45,224,.18); box-shadow: 0 24px 60px rgba(0,0,0,.12); }
[data-theme="light"] .dropdown-item:hover { background: rgba(107,45,224,.06); }
[data-theme="light"] .dropdown-item-name { color: #0f0e1a; }