@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=Bricolage+Grotesque:wght@300;400;500;600&display=swap');

:root {
  --black: #0a0a0a;
  --white: #f5f5f0;
  --lime: #c8f135;
  --electric: #4f46e5;
  --coral: #ff5c47;
  --sky: #38d9f5;
  --purple: #b94fff;
  --yellow: #ffe047;
  --card-bg: #141414;
  --border: rgba(255,255,255,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Bricolage Grotesque', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  cursor: none;
  -webkit-text-size-adjust: 100%;
}

/* Safety: nothing should ever exceed the viewport width */
img, video, iframe { max-width: 100%; }

/* ── CUSTOM CURSOR ── */
.cursor {
  width: 12px; height: 12px;
  background: var(--lime);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor.big { width: 40px; height: 40px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
nav.scrolled {
  background: rgba(10,10,10,0.95);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.4rem; text-decoration: none; color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--lime); }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.85rem; font-weight: 500; color: rgba(245,245,240,0.6);
  text-decoration: none; letter-spacing: 0.05em; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links .nav-cta {
  background: var(--lime); color: var(--black);
  padding: 0.55rem 1.25rem; font-weight: 600;
  border-radius: 100px; font-size: 0.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-links .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(200,241,53,0.35); color: var(--black); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); transition: 0.3s; }

/* ── PAGE SYSTEM ── */
.page { display: none; min-height: 100vh; }
.page.active { display: block; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 0 2.5rem;
}

.hero-blobs {
  position: absolute; inset: 0; pointer-events: none;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35; animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 { width: 500px; height: 500px; background: var(--electric); top: -100px; right: -100px; animation-delay: 0s; }
.blob-2 { width: 400px; height: 400px; background: var(--coral); bottom: -50px; left: -100px; animation-delay: -3s; }
.blob-3 { width: 300px; height: 300px; background: var(--purple); top: 40%; left: 40%; animation-delay: -5s; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-noise {
  position: absolute; inset: 0; opacity: 0.03;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto; text-align: center;
  padding-top: 6rem;
  animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.07); border: 1px solid var(--border);
  border-radius: 100px; padding: 0.4rem 1rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 2rem;
}
.hero-pill-dot { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

.hero h1 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(3rem, 8vw, 7.5rem); line-height: 0.95;
  letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.hero h1 .line-1 { display: block; color: var(--white); }
.hero h1 .line-2 { display: block; color: var(--lime); }
.hero h1 .line-3 { display: block; color: var(--white); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(245,245,240,0.6);
  max-width: 550px; margin: 0 auto 3rem; line-height: 1.65; font-weight: 300;
}

.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-lime {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--lime); color: var(--black);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  padding: 0.9rem 2rem; border-radius: 100px; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-lime:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(200,241,53,0.4); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: transparent; color: var(--white);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.9rem; font-weight: 500; text-decoration: none;
  padding: 0.9rem 2rem; border-radius: 100px;
  border: 1px solid var(--border); cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); transform: translateY(-3px); }

.hero-ticker {
  margin-top: 5rem; padding-top: 3rem;
  border-top: 1px solid var(--border);
  overflow: hidden; position: relative;
}
.ticker-track {
  display: flex; gap: 3rem; white-space: nowrap;
  animation: ticker 20s linear infinite;
}
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item {
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245,245,240,0.2); flex-shrink: 0;
}
.ticker-item span { color: var(--lime); margin-right: 3rem; }

/* ── CAREER CARDS SECTION ── */
.section { padding: 6rem 2.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 1rem;
}

.section-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 5vw, 4rem); line-height: 1.0;
  letter-spacing: -0.02em; margin-bottom: 1rem;
}

.career-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem; margin-top: 3rem;
}

.career-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.75rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: pointer; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.career-card > * { position: relative; z-index: 1; }
.no-degree-badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.85rem;
  padding: 0.32rem 0.7rem;
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(200,241,53,0.1);
  color: var(--lime);
  border: 1px solid rgba(200,241,53,0.25);
  border-radius: 100px;
}
.career-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.3s;
}
.career-card.lime::before { background: radial-gradient(circle at top left, rgba(200,241,53,0.12), transparent 60%); }
.career-card.coral::before { background: radial-gradient(circle at top left, rgba(255,92,71,0.12), transparent 60%); }
.career-card.sky::before { background: radial-gradient(circle at top left, rgba(56,217,245,0.12), transparent 60%); }
.career-card.purple::before { background: radial-gradient(circle at top left, rgba(185,79,255,0.12), transparent 60%); }
.career-card.yellow::before { background: radial-gradient(circle at top left, rgba(255,224,71,0.12), transparent 60%); }
.career-card.electric::before { background: radial-gradient(circle at top left, rgba(79,70,229,0.12), transparent 60%); }

.career-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.2); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.career-card:hover::before { opacity: 1; }

.career-card-emoji { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.career-card-tag {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 100px;
  display: inline-block; margin-bottom: 0.75rem;
}
.lime .career-card-tag { background: rgba(200,241,53,0.15); color: var(--lime); }
.coral .career-card-tag { background: rgba(255,92,71,0.15); color: var(--coral); }
.sky .career-card-tag { background: rgba(56,217,245,0.15); color: var(--sky); }
.purple .career-card-tag { background: rgba(185,79,255,0.15); color: var(--purple); }
.yellow .career-card-tag { background: rgba(255,224,71,0.15); color: var(--yellow); }
.electric .career-card-tag { background: rgba(79,70,229,0.2); color: #a5b4fc; }

.career-card h3 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--white);
}
.career-card p { font-size: 0.85rem; color: rgba(245,245,240,0.5); line-height: 1.6; }
.career-card-salary {
  margin-top: 1.25rem; font-size: 0.8rem; font-weight: 600;
  color: rgba(245,245,240,0.35);
}
.career-card-salary strong { color: var(--white); }

/* ── QUIZ ── */
.quiz-hero {
  min-height: 40vh; display: flex; align-items: flex-end;
  padding: 8rem 2.5rem 3rem; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0f0f1a, var(--black));
  border-bottom: 1px solid var(--border);
}
.quiz-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 70% 50%, rgba(79,70,229,0.2), transparent 60%);
}

.quiz-container { max-width: 720px; margin: 0 auto; padding: 4rem 2.5rem; }

.quiz-progress {
  display: flex; gap: 0.4rem; margin-bottom: 3rem;
}
.quiz-progress-bar {
  flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden;
}
.quiz-progress-bar.done { background: var(--lime); }
.quiz-progress-bar.active { background: rgba(200,241,53,0.4); }

.quiz-q-num {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 0.75rem;
}

.quiz-question {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.2;
  margin-bottom: 2.5rem; letter-spacing: -0.01em;
}

.quiz-options { display: grid; gap: 0.75rem; }

.quiz-option {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.1rem 1.5rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.95rem; font-weight: 500; color: var(--white);
  cursor: pointer; text-align: left; transition: all 0.2s;
  display: flex; align-items: center; gap: 1rem;
}
.quiz-option:hover { border-color: rgba(200,241,53,0.4); background: rgba(200,241,53,0.05); transform: translateX(4px); }
.quiz-option.selected { border-color: var(--lime); background: rgba(200,241,53,0.1); }
.quiz-option-letter {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); font-size: 0.75rem; font-weight: 700;
  transition: all 0.2s;
}
.quiz-option.selected .quiz-option-letter { background: var(--lime); color: var(--black); }

.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2.5rem; }
.quiz-back {
  background: none; border: 1px solid var(--border); color: rgba(245,245,240,0.5);
  font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.85rem;
  padding: 0.7rem 1.5rem; border-radius: 100px; cursor: pointer; transition: all 0.2s;
}
.quiz-back:hover { border-color: rgba(255,255,255,0.2); color: var(--white); }
.quiz-next {
  background: var(--lime); color: var(--black);
  font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.9rem; font-weight: 600;
  padding: 0.8rem 2rem; border-radius: 100px; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s; opacity: 0.4; pointer-events: none;
}
.quiz-next.enabled { opacity: 1; pointer-events: all; }
.quiz-next.enabled:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,241,53,0.4); }

/* ── RESULTS ── */
.results-header {
  text-align: center; padding: 4rem 2.5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.results-emoji { font-size: 4rem; margin-bottom: 1rem; display: block; }
.results-header h2 {
  font-family: 'Syne', sans-serif; font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.75rem;
}
.results-header p { font-size: 1rem; color: rgba(245,245,240,0.5); max-width: 500px; margin: 0 auto; }

.results-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem; padding: 3rem 2.5rem; max-width: 1100px; margin: 0 auto;
}

.result-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem; position: relative; overflow: hidden;
}
.result-card-rank {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-family: 'Syne', sans-serif; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245,245,240,0.2);
}
.result-card.top { border-color: rgba(200,241,53,0.3); }
.result-card.top .result-card-rank { color: var(--lime); }

.result-card-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.result-card h3 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.result-match {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 1rem;
}
.result-card p { font-size: 0.88rem; color: rgba(245,245,240,0.55); line-height: 1.6; margin-bottom: 1.5rem; }

.result-skills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.result-skill {
  font-size: 0.72rem; font-weight: 500; padding: 0.3rem 0.7rem;
  border-radius: 100px; background: rgba(255,255,255,0.07);
  color: rgba(245,245,240,0.6); border: 1px solid var(--border);
}

.results-cta { text-align: center; padding: 2rem 2.5rem 5rem; }
.results-cta p { color: rgba(245,245,240,0.4); margin-bottom: 1.5rem; font-size: 0.9rem; }

/* ── ABOUT ── */
.about-hero {
  min-height: 55vh; display: flex; align-items: center;
  padding: 8rem 2.5rem 4rem; position: relative; overflow: hidden;
}
.about-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(200,241,53,0.08), transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(255,92,71,0.08), transparent 50%);
}

.about-hero-inner { position: relative; z-index: 2; max-width: 800px; }
.about-hero h1 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(3rem, 7vw, 6rem); line-height: 0.95;
  letter-spacing: -0.03em; margin-bottom: 2rem;
}
.about-hero h1 em { color: var(--lime); font-style: normal; }
.about-hero p {
  font-size: 1.2rem; color: rgba(245,245,240,0.6);
  max-width: 550px; line-height: 1.7; font-weight: 300;
}

.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.about-stat {
  padding: 3rem 2.5rem; border-right: 1px solid var(--border);
  text-align: center;
}
.about-stat:last-child { border-right: none; }
.about-stat-num {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 3.5rem; color: var(--lime); display: block; line-height: 1;
  margin-bottom: 0.5rem;
}
.about-stat-label { font-size: 0.8rem; color: rgba(245,245,240,0.4); letter-spacing: 0.08em; }

.about-mission {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  padding: 6rem 2.5rem; max-width: 1200px; margin: 0 auto; align-items: center;
}
.about-mission-text h2 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; margin-bottom: 1.5rem;
}
.about-mission-text h2 em { color: var(--lime); font-style: normal; }
.about-mission-text p {
  font-size: 1rem; color: rgba(245,245,240,0.55); line-height: 1.8;
  margin-bottom: 1.25rem; font-weight: 300;
}

.about-values { display: flex; flex-direction: column; gap: 1rem; }
.about-value {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start;
  transition: border-color 0.3s;
}
.about-value:hover { border-color: rgba(200,241,53,0.3); }
.about-value-icon { font-size: 1.5rem; flex-shrink: 0; }
.about-value h4 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
  margin-bottom: 0.25rem;
}
.about-value p { font-size: 0.85rem; color: rgba(245,245,240,0.45); line-height: 1.5; }

.about-team {
  padding: 5rem 2.5rem; max-width: 1200px; margin: 0 auto;
  border-top: 1px solid var(--border);
}
.about-team h2 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 2.5rem; letter-spacing: -0.02em; margin-bottom: 3rem; text-align: center;
}
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 1rem; }
.team-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem; text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.team-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.15); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
  background: linear-gradient(135deg, rgba(200,241,53,0.2), rgba(79,70,229,0.2));
  border: 1px solid var(--border);
}
.team-card h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 0.3rem; }
.team-card p { font-size: 0.8rem; color: rgba(245,245,240,0.4); }

/* ── FOOTER ── */
footer {
  background: #050505; border-top: 1px solid var(--border);
  padding: 3rem 2.5rem; text-align: center;
}
.footer-logo {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.5rem; margin-bottom: 1rem; color: var(--white);
}
.footer-logo span { color: var(--lime); }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin: 1.25rem 0; }
.footer-links a {
  font-size: 0.8rem; color: rgba(245,245,240,0.35);
  text-decoration: none; transition: color 0.2s; letter-spacing: 0.05em;
}
.footer-links a:hover { color: var(--white); }
footer p { font-size: 0.78rem; color: rgba(245,245,240,0.2); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--lime); color: var(--black);
  padding: 0.9rem 2rem; border-radius: 100px;
  font-size: 0.9rem; font-weight: 600; z-index: 300;
  opacity: 0; transition: all 0.4s; white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ── TOP 5 SECTION ── */
.top5-section {
  padding: 6rem 2.5rem;
  background: linear-gradient(180deg, var(--black), #0c0c14 40%, var(--black));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.top5-sub {
  color: rgba(245,245,240,0.45);
  font-size: 1rem; max-width: 520px;
  margin-top: 0.75rem; line-height: 1.7;
}

.top5-tabs {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin: 3rem 0 2.5rem;
}
.top5-tab {
  background: var(--card-bg); border: 1px solid var(--border);
  color: rgba(245,245,240,0.65);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.85rem; font-weight: 500;
  padding: 0.7rem 1.2rem; border-radius: 100px;
  cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.top5-tab:hover { color: var(--white); border-color: rgba(255,255,255,0.2); }
.top5-tab.active {
  background: var(--lime); color: var(--black);
  border-color: var(--lime); font-weight: 600;
}

.top5-panel { display: none; }
.top5-panel.active { display: block; animation: top5FadeIn 0.4s ease both; }
@keyframes top5FadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.top5-panel-header { margin-bottom: 2rem; }
.top5-panel-header h3 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.top5-panel-header p {
  color: rgba(245,245,240,0.5); font-size: 0.95rem; line-height: 1.6;
  max-width: 600px;
}
.top5-panel-header p em { color: var(--white); font-style: italic; }
.top5-source { color: rgba(245,245,240,0.3); font-size: 0.85em; }

.top5-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0.85rem;
}
.top5-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.top5-item:hover {
  transform: translateX(4px);
  border-color: rgba(200,241,53,0.3);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.top5-item:first-child { border-color: rgba(200,241,53,0.25); }
.top5-rank {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 2.4rem; line-height: 1;
  color: var(--lime); width: 1.4em; text-align: center;
  letter-spacing: -0.04em;
}
.top5-item:not(:first-child) .top5-rank { color: rgba(245,245,240,0.18); }
.top5-emoji { font-size: 2rem; }
.top5-body h4 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1.1rem; margin-bottom: 0.25rem; color: var(--white);
}
.top5-body p {
  font-size: 0.85rem; color: rgba(245,245,240,0.55);
  line-height: 1.5; margin-bottom: 0.5rem;
}
.top5-meta {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(245,245,240,0.4);
}

/* ── RESPONSIVE ── */

/* Tablets and small desktops */
@media (max-width: 960px) {
  .about-mission { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 2rem; }
  .career-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .hero-content { padding-top: 5rem; }
  .hero-ticker { margin-top: 3rem; padding-top: 2rem; }
}

/* Phones (portrait + landscape) */
@media (max-width: 768px) {
  nav { padding: 0.9rem 1.25rem; }
  .nav-logo { font-size: 1.2rem; }

  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,0.98); backdrop-filter: blur(10px);
    padding: 5.5rem 2rem 2rem; gap: 1.5rem;
    align-items: flex-start;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.05rem; }
  .nav-links .nav-cta { padding: 0.7rem 1.4rem; font-size: 0.85rem; }
  .nav-toggle { display: flex; padding: 0.25rem; z-index: 105; }

  /* Hero */
  .hero {
    padding: 0 1.25rem;
    min-height: auto;
  }
  .hero-content {
    padding-top: 7rem; padding-bottom: 4rem;
    max-width: 100%;
  }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 4rem); }
  .hero-sub { margin-bottom: 2rem; padding: 0 0.25rem; }
  .hero-pill { font-size: 0.7rem; padding: 0.35rem 0.85rem; margin-bottom: 1.5rem; }
  .hero-ctas { flex-direction: column; gap: 0.65rem; align-items: stretch; }
  .hero-ctas .btn-lime, .hero-ctas .btn-outline {
    width: 100%; justify-content: center; padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }
  .hero-ticker { margin-top: 3rem; padding-top: 2rem; }
  .ticker-item { font-size: 0.85rem; }

  /* Reduce heavy effects on phones */
  .blob { filter: blur(60px); opacity: 0.25; }
  .blob-1 { width: 320px; height: 320px; }
  .blob-2 { width: 280px; height: 280px; }
  .blob-3 { width: 220px; height: 220px; }

  /* Sections */
  .section { padding: 4rem 1.25rem; }
  .section-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }

  /* Career grid: 2 columns on small tablets, single below */
  .career-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 2rem; }
  .career-card { padding: 1.25rem; }
  .career-card h3 { font-size: 1rem; }
  .career-card p { font-size: 0.8rem; }
  .career-card-emoji { font-size: 1.8rem; margin-bottom: 0.6rem; }
  .career-card-tag { font-size: 0.6rem; padding: 0.2rem 0.55rem; }
  .no-degree-badge { font-size: 0.6rem; margin-top: 0.65rem; padding: 0.25rem 0.55rem; }

  /* Top 5 */
  .top5-section { padding: 4rem 1.25rem; }
  .top5-tabs {
    margin: 2rem -1.25rem 2rem;
    padding: 0 1.25rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .top5-tabs::-webkit-scrollbar { display: none; }
  .top5-tab { font-size: 0.78rem; padding: 0.6rem 1rem; }
  .top5-item {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.5rem 1rem;
    padding: 1.1rem 1.25rem;
  }
  .top5-rank { font-size: 1.8rem; grid-row: span 2; }
  .top5-emoji { font-size: 1.5rem; grid-column: 2; }
  .top5-body { grid-column: 2; }
  .top5-body h4 { font-size: 1rem; }
  .top5-body p { font-size: 0.82rem; }

  /* About */
  .about-hero { padding: 7rem 1.5rem 3rem; min-height: auto; }
  .about-hero h1 { font-size: clamp(2.2rem, 10vw, 3.6rem); }
  .about-hero p { font-size: 1rem; }
  .about-mission { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 1.5rem; }
  .about-stats { grid-template-columns: 1fr; }
  .about-stat { border-right: none; border-bottom: 1px solid var(--border); padding: 2rem 1.5rem; }
  .about-stat:last-child { border-bottom: none; }
  .about-stat-num { font-size: 2.8rem; }
  .about-team { padding: 4rem 1.5rem; }
  .about-team h2 { font-size: 1.8rem; margin-bottom: 2rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .team-card { padding: 1.5rem 1rem; }
  .team-avatar { width: 56px; height: 56px; font-size: 1.6rem; }

  /* Quiz */
  .quiz-hero { padding: 6rem 1.5rem 2.5rem; min-height: auto; }
  .quiz-container { padding: 2.5rem 1.25rem; }
  .quiz-progress { margin-bottom: 2rem; gap: 0.25rem; }
  .quiz-option { padding: 1rem 1.1rem; font-size: 0.9rem; }
  .quiz-nav { gap: 0.75rem; }
  .quiz-back, .quiz-next { padding: 0.7rem 1.25rem; font-size: 0.85rem; }
  .results-grid { padding: 2rem 1.25rem; gap: 0.75rem; }
  .result-card { padding: 1.5rem; }

  /* Footer */
  footer { padding: 2.5rem 1.5rem; }
  .footer-links { flex-wrap: wrap; gap: 1.25rem; }

  /* Cursor */
  body { cursor: auto; }
  .cursor { display: none; }
}

/* Small phones */
@media (max-width: 480px) {
  nav { padding: 0.8rem 1rem; }
  .nav-logo { font-size: 1.1rem; }
  .hero { padding: 0 1rem; }
  .hero-content { padding-top: 6rem; }
  .hero h1 { font-size: clamp(2rem, 12vw, 3rem); line-height: 1; }
  .hero-sub { font-size: 0.95rem; }
  .section { padding: 3.5rem 1rem; }
  .section-title { font-size: clamp(1.6rem, 8vw, 2.2rem); }

  /* Single-column career cards on the smallest screens */
  .career-grid { grid-template-columns: 1fr; }

  .top5-section { padding: 3.5rem 1rem; }
  .top5-rank { font-size: 1.6rem; }
  .top5-item { padding: 1rem; gap: 0.4rem 0.85rem; }

  .about-hero { padding: 6rem 1rem 2.5rem; }
  .about-team { padding: 3rem 1rem; }
  .team-grid { grid-template-columns: 1fr; }

  .quiz-hero { padding: 5.5rem 1rem 2rem; }
  .quiz-container { padding: 2rem 1rem; }
  .results-header { padding: 3rem 1rem 1.5rem; }
  .results-grid { padding: 1.5rem 1rem; }
  .result-card { padding: 1.25rem; }

  footer { padding: 2rem 1rem; }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  .ticker-track { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
