:root {
  --bg-primary: #dce4f2;
  --bg-secondary: #c8d4ea;
  --bg-card: #ffffff;
  --bg-card-alt: rgba(255,255,255,0.7);
  --bg-hero-overlay: linear-gradient(135deg, #155191 0%, #2570b8 50%, #114275 100%);
  --bg-banner: #f5d5a8;
  --bg-banner-hover: #f0c88e;
  --accent-teal: #2570b8;
  --accent-teal-light: #4390d1;
  --accent-orange: #E08561;
  --accent-gold: #E7B678;
  --text-dark: #155191;
  --text-body: #3a4a6a;
  --text-light: #556488;      /* muted text — dark enough for WCAG AA (≥4.5:1) on white AND tinted backgrounds */
  --accent-text: #1e639f;     /* Pacific Blue deepened for SMALL text on light/tinted backgrounds (AA-safe);
                                 use --accent-teal for fills/borders/large text, this for small accent type */
  --accent-orange-text: #BC5A36; /* Sunrise Orange deepened for TEXT on light/tinted backgrounds (AA large-text
                                    safe on every light section variant); raw --accent-orange stays for dark bgs */
  --text-white: #f0f4fa;
  --text-on-banner: #2a1a0a;
  --shadow-sm: 0 2px 8px rgba(21,81,145,0.08);
  --shadow-md: 0 4px 20px rgba(21,81,145,0.12);
  --shadow-lg: 0 8px 40px rgba(21,81,145,0.16);
  --shadow-glow: 0 0 30px rgba(37,112,184,0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --max-width: 1200px;

  --path-digital: #6c5ce7;
  --path-education: #e84393;
  --path-culinary: #e17055;
  --path-gaming: #00b894;
  --path-drone: #0984e3;
  --path-construction: #d4a24e;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-teal); }

/* ===================== NAV ===================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(21,81,145, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition-smooth);
}
.site-nav.scrolled {
  background: rgba(21,81,145, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-white);
}
.nav-brand-logo {
  height: 44px;
  width: auto;
  display: block;
}
.nav-brand-text-cte {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 3px;
  padding-left: 0.85rem;
  margin-left: 0.35rem;
  border-left: 1px solid rgba(255,255,255,0.25);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
}
.nav-links a {
  color: rgba(240,244,250,0.75);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  font-family: var(--font-heading);
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-white);
  background: rgba(255,255,255,0.1);
}
.nav-links .has-dropdown { position: relative; }
.nav-links .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(21,81,145, 0.97);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  min-width: 280px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.08);
}
.nav-links .has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}
.nav-cta {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-light)) !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.2rem !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37,112,184,0.3);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  /* Generous padding + negative margin = 52×44 tap target (thumb-friendly)
     without moving the visible hamburger bars. */
  padding: 14px;
  margin: -10px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ===================== HERO (homepage variant) ===================== */
.hero {
  min-height: 100vh;
  background: var(--bg-hero-overlay);
  position: relative;
  display: flex;
  align-items: center;
  padding: 7rem 2rem 5rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(37,112,184,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(224,133,97,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  pointer-events: none;
}
.hero-shape-1 {
  width: 500px; height: 500px;
  top: -10%; right: -5%;
  background: var(--accent-teal);
  animation: float-slow 20s ease-in-out infinite;
}
.hero-shape-2 {
  width: 300px; height: 300px;
  bottom: 10%; left: -3%;
  background: var(--accent-orange);
  animation: float-slow 25s ease-in-out infinite reverse;
}
.hero-shape-3 {
  width: 150px; height: 150px;
  top: 40%; right: 30%;
  background: var(--accent-gold);
  border-radius: var(--radius-lg);
  transform: rotate(45deg);
  animation: float-slow 15s ease-in-out infinite;
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { animation: fadeInUp 0.8s ease-out both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37,112,184,0.15);
  border: 1px solid rgba(37,112,184,0.25);
  color: var(--accent-teal-light);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-teal-light);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--text-white);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-orange);   /* OCDE Sunrise Orange — per OCDE brand request (Aug 2026) */
}
.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(240,244,250,0.6);
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}
.hero-description {
  font-size: 1.05rem;
  color: rgba(240,244,250,0.75);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===================== PAGE HERO (subpage variant) ===================== */
.page-hero {
  --hero-accent: 0,129,178; /* default: OCDE teal-blue (rgb) */
  background: var(--bg-hero-overlay);
  position: relative;
  padding: 9rem 2rem 5rem;
  color: var(--text-white);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 62% at 80% 18%, rgba(var(--hero-accent),0.38) 0%, transparent 60%),
    radial-gradient(ellipse 46% 55% at 8% 88%, rgba(var(--hero-accent),0.16) 0%, transparent 55%),
    radial-gradient(ellipse 30% 40% at 50% 50%, rgba(224,133,97,0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Per-pathway accent (rgb of --path-* colors) */
.page-hero.hero-digital      { --hero-accent: 108,92,231; }
.page-hero.hero-education    { --hero-accent: 232,67,147; }
.page-hero.hero-culinary     { --hero-accent: 225,112,85; }
.page-hero.hero-gaming       { --hero-accent: 0,184,148; }
.page-hero.hero-drone        { --hero-accent: 9,132,227; }
.page-hero.hero-construction { --hero-accent: 212,162,78; }

/* Large decorative motif */
.hero-motif {
  position: absolute;
  right: -1%;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  font-size: clamp(9rem, 24vw, 21rem);
  line-height: 1;
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.35));
  animation: motif-float 16s ease-in-out infinite;
}
@keyframes motif-float {
  0%, 100% { transform: translateY(-50%) rotate(-8deg); }
  50% { transform: translateY(-54%) rotate(-5deg); }
}
/* SVG motif variant (e.g., quadcopter drone) */
.hero-motif-svg {
  font-size: 0;
  opacity: 1;
  color: #ffffff;
}
.hero-motif-svg svg {
  width: clamp(11rem, 28vw, 24rem);
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .hero-motif-svg svg { width: 15rem; }
}

/* Soft accent orb behind the motif for depth */
.hero-orb {
  position: absolute;
  right: 4%;
  top: 50%;
  width: 460px; height: 460px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--hero-accent),0.28) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .hero-motif { opacity: 0.08; right: -12%; font-size: 13rem; }
  .hero-orb { width: 300px; height: 300px; right: -10%; }
}
.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-teal-light);
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 1rem;
  max-width: 800px;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--accent-orange);   /* OCDE Sunrise Orange — per OCDE brand request (Aug 2026) */
}
.page-hero-lede {
  font-size: 1.1rem;
  color: rgba(240,244,250,0.75);
  line-height: 1.7;
  max-width: 720px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  letter-spacing: -0.2px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-light));
  color: white;
  box-shadow: 0 4px 20px rgba(37,112,184,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,112,184,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(240,244,250,0.25);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(240,244,250,0.4);
  transform: translateY(-2px);
}
.btn-arrow { transition: transform var(--transition-fast); }
.btn:hover .btn-arrow { transform: translateX(3px); }

.hero-visual {
  animation: fadeInUp 0.8s ease-out 0.2s both;
  position: relative;
}
.hero-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
}
.hero-card-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-teal-light);
  margin-bottom: 1.5rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.hero-stat {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition-smooth);
}
.hero-stat:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
}
.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(240,244,250,0.55);
  margin-top: 0.35rem;
}
.hero-stat-icon {
  display: flex;
  width: 32px; height: 32px;
  border-radius: 8px;
  margin-bottom: 0.6rem;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ===================== SECTION COMMON ===================== */
section {
  padding: 6rem 2rem;
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent-text);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--accent-orange-text); }  /* OCDE orange (text-on-light variant) — Aug 2026 brand request */
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}
.section-header-center {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header-center .section-subtitle { margin: 0 auto; }

/* ===================== PROSE / CONTENT ===================== */
.prose p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: var(--text-body);
}
.prose ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.prose ul li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.6;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
}
.prose h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin: 1.75rem 0 0.75rem;
}
.prose a { color: var(--accent-teal); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-teal-light); }

/* Two-column content */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}

/* Feature cards */
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition-smooth);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.feature-icon.teal { background: rgba(37,112,184,0.1); }
.feature-icon.orange { background: rgba(224,133,97,0.1); }
.feature-icon.gold { background: rgba(212,162,78,0.1); }
.feature-icon.purple { background: rgba(108,92,231,0.1); }
.feature-icon.pink { background: rgba(232,67,147,0.1); }
.feature-icon.green { background: rgba(0,184,148,0.1); }
.feature-icon.blue { background: rgba(9,132,227,0.1); }
.feature-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}
.feature-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition-smooth);
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.info-card-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(37,112,184,0.08);
}
.info-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}
.info-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.info-card ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.info-card ul li {
  font-size: 0.9rem;
  color: var(--text-body);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.info-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-weight: 700;
}

/* Career grid */
.career-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.career-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition-smooth);
}
.career-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.career-card h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.career-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.55;
}
.career-salary {
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--accent-teal);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.career-salary span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--text-light);
}

/* Stat callout row (Job Growth) */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.stat {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--accent-teal);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-top: 0.5rem;
}
.section-secondary .stat { background: var(--bg-card); }

/* Inline note / disclaimer */
.field-note {
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 1.25rem;
}
.field-note::before { content: '※ '; color: var(--accent-orange); font-style: normal; }
.career-grid .field-note { grid-column: 1 / -1; }
.field-note a { color: var(--accent-teal); text-decoration: underline; text-underline-offset: 2px; }
.field-note a:hover { color: var(--accent-teal-light); }

/* Light section background variant */
.section-light { background: var(--bg-primary); }
.section-tinted { background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); }
.section-secondary { background: var(--bg-secondary); }
.section-dark {
  background: var(--bg-hero-overlay);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(37,112,184,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(224,133,97,0.06) 0%, transparent 50%);
}
.section-dark .section-inner { position: relative; z-index: 1; }
.section-dark .section-label { color: var(--accent-teal-light); }
.section-dark .section-title { color: var(--text-white); }
.section-dark .section-title em { color: var(--accent-teal-light); }
.section-dark .section-subtitle { color: rgba(240,244,250,0.6); }
.section-dark .prose p { color: rgba(240,244,250,0.75); }
.section-dark .prose ul li { color: rgba(240,244,250,0.75); }
.section-dark .prose ul li::before { background: var(--accent-teal-light); }
.section-dark .info-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); }
.section-dark .info-card h3 { color: var(--text-white); }
.section-dark .info-card p { color: rgba(240,244,250,0.65); }

/* ===================== VIDEO ===================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.video-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition-smooth);
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #0a0f1a;
}
.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-card-caption { padding: 1.25rem 1.5rem; }
.video-card-caption h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}
.video-card-caption p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* ===================== ACCESS CARDS ===================== */
.access-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.access-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.access-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-teal-light));
  opacity: 0;
  transition: var(--transition-smooth);
}
.access-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.access-card:hover::before { opacity: 1; }
.access-card-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(37,112,184,0.08);
}
.access-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}
.access-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===================== PATHWAYS GRID ===================== */
.pathways-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.pathway-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.pathway-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  transition: var(--transition-smooth);
}
.pathway-card.path-digital::after { background: var(--path-digital); }
.pathway-card.path-education::after { background: var(--path-education); }
.pathway-card.path-culinary::after { background: var(--path-culinary); }
.pathway-card.path-gaming::after { background: var(--path-gaming); }
.pathway-card.path-drone::after { background: var(--path-drone); }
.pathway-card.path-construction::after { background: var(--path-construction); }
.pathway-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pathway-card:hover::after { height: 5px; }
.pathway-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition-smooth);
}
.path-digital .pathway-icon { background: rgba(108,92,231,0.1); }
.path-education .pathway-icon { background: rgba(232,67,147,0.1); }
.path-culinary .pathway-icon { background: rgba(225,112,85,0.1); }
.path-gaming .pathway-icon { background: rgba(0,184,148,0.1); }
.path-drone .pathway-icon { background: rgba(9,132,227,0.1); }
.path-construction .pathway-icon { background: rgba(212,162,78,0.1); }
.pathway-card:hover .pathway-icon { transform: scale(1.08); }
.pathway-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.pathway-card p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===================== CTA / GET INVOLVED ===================== */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.cta-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.cta-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.cta-card-accent {
  width: 50px; height: 50px;
  border-radius: 14px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(37,112,184,0.1);
}
.cta-card.alt-1 .cta-card-accent { background: rgba(224,133,97,0.1); }
.cta-card.alt-2 .cta-card-accent { background: rgba(108,92,231,0.1); }
.cta-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}
.cta-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.cta-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}
.cta-link:hover { gap: 0.7rem; }

/* ===================== RESOURCE LIST ===================== */
.resource-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.resource-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  text-decoration: none;
  color: var(--text-dark);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.resource-link:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,112,184,0.3);
}
.resource-link-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.resource-link-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}
.resource-link-host {
  font-size: 0.8rem;
  color: var(--text-light);
}
.resource-link-arrow {
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}
.resource-link:hover .resource-link-arrow { transform: translateX(3px); }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--bg-hero-overlay);
  padding: 4rem 2rem 2rem;
  color: rgba(240,244,250,0.6);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand {
  margin-bottom: 1rem;
}
.footer-brand-logo {
  height: 60px;
  width: auto;
  display: block;
}
.footer-about {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 320px;
  margin-bottom: 0.85rem;
}
.footer-affiliation {
  font-size: 0.82rem;
  color: rgba(240,244,250,0.55);
  line-height: 1.55;
}
.footer-affiliation strong { color: rgba(240,244,250,0.9); font-weight: 600; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(240,244,250,0.4);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.footer-links a {
  color: rgba(240,244,250,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}
.footer-links a:hover { color: var(--accent-teal-light); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

/* ===================== SCROLL REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== Beyond classroom (homepage) ===================== */
.beyond-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3.5rem;
}
.beyond-column h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.beyond-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.beyond-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(240,244,250,0.75);
  line-height: 1.55;
}
.beyond-list li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-teal-light);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* Spotlight card (named student/instructor) */
.spotlight {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  margin-bottom: 2.5rem;
}
.spotlight-avatar {
  width: 72px; height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-light));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
}
.spotlight-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-teal);
  margin-bottom: 0.35rem;
}
.spotlight-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}
.spotlight-role {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}
.spotlight-note {
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
}
.spotlight-note::before { content: '※ '; color: var(--accent-orange); font-style: normal; }
@media (max-width: 560px) {
  .spotlight { flex-direction: column; text-align: center; align-items: center; }
}

/* Full spotlight — real photo + full bio */
.spotlight-full { align-items: flex-start; padding: 2rem 2.25rem; gap: 1.75rem; }
.spotlight-avatar-photo {
  width: 220px;
  height: auto;
  aspect-ratio: auto;
  background: none;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(21,81,145,0.15);
  border: 3px solid #fff;
  flex-shrink: 0;
  align-self: flex-start;
}
.spotlight-avatar-photo img {
  width: 100%; height: auto; display: block;
}
/* Wider variant for info-card style photos (embedded text must stay legible) */
.spotlight-avatar-photo-wide { width: 380px; }
/* Larger initials tile for full bios whose photo hasn't been provided yet */
.spotlight-avatar-initials-lg {
  width: 88px; height: 88px;
  border-radius: 16px;
  font-size: 1.9rem;
  align-self: flex-start;
}
.spotlight-full .spotlight-body p {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-body);
}
.spotlight-full .spotlight-body p + p { margin-top: 0.75rem; }
/* Instructor contact email — sits under the role line. Addresses are published
   at OCDE's request; prefix differences (c. / s. / none) are intentional. */
.spotlight-body p.spotlight-email { font-size: 0.85rem; margin: 0 0 0.4rem; }
.spotlight-body p.spotlight-email a { color: var(--accent-text); text-decoration: none; font-weight: 500; }
.spotlight-body p.spotlight-email a:hover { text-decoration: underline; }
.spotlight-body p.spotlight-email a::before { content: '✉ '; }
@media (max-width: 900px) {
  .spotlight-avatar-photo-wide { width: 320px; }
}
@media (max-width: 700px) {
  .spotlight-full { flex-direction: column; align-items: center; text-align: left; }
  .spotlight-avatar-photo { width: 260px; }
  .spotlight-avatar-photo-wide { width: 100%; max-width: 440px; }
}

/* Quote / testimonial */
.quote-card {
  background: var(--bg-card);
  border-left: 4px solid var(--accent-teal);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  margin: 2rem 0;
}
.quote-card blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.quote-card cite {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-teal);
  font-style: normal;
}

/* ===================== VIDEO LIBRARY ===================== */
.vid-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 2.5rem; }
.vid-pill {
  border: 1.5px solid rgba(21,81,145,0.15); background: var(--bg-card);
  border-radius: 100px; padding: 0.55rem 1.2rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem; color: var(--text-body);
  cursor: pointer; transition: var(--transition-fast); box-shadow: var(--shadow-sm);
}
.vid-pill:hover { border-color: var(--accent-teal); color: var(--accent-teal); }
.vid-pill.active { background: var(--accent-teal); border-color: var(--accent-teal); color: #fff; }
.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.vid-card {
  background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition-smooth); display: flex; flex-direction: column;
}
.vid-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vid-thumb {
  position: relative; border: none; padding: 0; cursor: pointer; display: block;
  width: 100%; aspect-ratio: 16 / 9; background: #0a0f1a; overflow: hidden;
}
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--transition-smooth); }
.vid-thumb:hover img { transform: scale(1.05); }
.vid-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(37,112,184,0.92); color: #fff; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  padding-left: 4px; transition: var(--transition-fast); box-shadow: var(--shadow-md);
}
.vid-thumb:hover .vid-play { transform: translate(-50%, -50%) scale(1.1); background: var(--accent-teal); }
.vid-meta { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.vid-cat {
  font-family: var(--font-heading); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; color: var(--accent-teal);
}
.vid-meta h3 { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; color: var(--text-dark); line-height: 1.35; }
.vid-source { font-size: 0.85rem; color: var(--text-light); }
.vid-yt { font-size: 0.8rem; color: var(--accent-teal); text-decoration: none; margin-top: auto; padding-top: 0.4rem; }
.vid-yt:hover { text-decoration: underline; }
.vid-empty { text-align: center; color: var(--text-light); grid-column: 1 / -1; padding: 2rem; }

/* Video modal */
.vid-modal {
  position: fixed; inset: 0; z-index: 2000; display: none;
  align-items: center; justify-content: center; padding: 2rem;
  background: rgba(10,15,26,0.94); backdrop-filter: blur(6px);
}
.vid-modal.open { display: flex; }
.vid-modal-inner { width: 100%; max-width: 900px; }
.vid-frame { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.vid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.vid-modal-title { color: var(--text-white); font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; text-align: center; margin-top: 1rem; }
.vid-close {
  position: absolute; top: 1.25rem; right: 1.5rem; width: 44px; height: 44px;
  border-radius: 50%; border: none; background: rgba(255,255,255,0.12); color: #fff;
  font-size: 1.8rem; line-height: 1; cursor: pointer; transition: var(--transition-fast);
}
.vid-close:hover { background: var(--accent-teal); }
@media (max-width: 1024px) { .vid-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .vid-grid { grid-template-columns: 1fr; } }

/* ===================== GAMES ARCADE ===================== */
.arcade-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}
.arc-lead { text-align: center; color: var(--text-body); margin-bottom: 1.25rem; }
.arc-select {
  display: block; width: 100%; max-width: 340px; margin: 0 auto 1.25rem;
  padding: 0.85rem 1rem; border-radius: var(--radius-md);
  border: 1.5px solid rgba(21,81,145,0.15); background: var(--bg-card);
  font-family: var(--font-body); font-size: 1rem; color: var(--text-dark);
}
.arc-start { display: block; margin: 0 auto; }
.arc-hud {
  display: flex; justify-content: space-between;
  font-family: var(--font-heading); font-size: 0.95rem; color: var(--text-body);
  margin-bottom: 1.25rem;
}
.arc-hud strong { color: var(--accent-teal); }
.arc-skip {
  display: block; margin: 1.25rem auto 0;
  background: none; border: none; color: var(--text-light);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem; cursor: pointer;
}
.arc-skip:hover { color: var(--accent-teal); }
.arc-result { text-align: center; padding: 1rem 0; }
.arc-result-score {
  font-family: var(--font-display); font-weight: 700; font-size: 3rem;
  color: var(--accent-teal); line-height: 1; margin-bottom: 0.5rem;
}
.arc-result-msg { color: var(--text-body); margin-bottom: 1.5rem; max-width: 420px; margin-left: auto; margin-right: auto; }
.shake { animation: mg-shake 0.45s; }

/* Scramble */
.scr-tiles { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.25rem; }
.scr-tile {
  width: 46px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-light));
  color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.scr-hint { text-align: center; color: var(--text-light); font-size: 0.95rem; margin-bottom: 1.25rem; }
.scr-form { display: flex; gap: 0.6rem; max-width: 420px; margin: 0 auto; }
.scr-input {
  flex: 1; padding: 0.85rem 1rem; border-radius: var(--radius-md);
  border: 1.5px solid rgba(21,81,145,0.15); font-size: 1rem; text-align: center;
  letter-spacing: 2px; text-transform: uppercase; color: var(--text-dark); outline: none;
}
.scr-input:focus { border-color: var(--accent-teal); }

/* Word Detective (internal code key: "hangman") */
.hm-cat {
  text-align: center; font-family: var(--font-heading); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-teal); margin-bottom: 0.4rem;
}
.hm-question { text-align: center; font-family: var(--font-display); font-size: 1.25rem; color: var(--text-dark); line-height: 1.3; margin-bottom: 1.5rem; }
.hm-lives { font-size: 0.85rem; letter-spacing: 1px; }
.hm-answer { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-bottom: 1.5rem; }
.hm-slot {
  width: 30px; height: 38px;
  border-bottom: 3px solid rgba(21,81,145,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; color: var(--text-dark);
}
.hm-slot.filled { border-bottom-color: var(--accent-teal); }
.hm-space { width: 18px; }
.hm-keyboard { display: grid; grid-template-columns: repeat(9, 1fr); gap: 0.4rem; max-width: 460px; margin: 0 auto; }
.hm-key {
  aspect-ratio: 1 / 1; border: none; border-radius: var(--radius-sm);
  background: rgba(21,81,145,0.08); color: var(--text-dark);
  font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; cursor: pointer;
  transition: var(--transition-fast);
}
.hm-key:hover:not(:disabled) { background: var(--accent-teal); color: #fff; }
.hm-key:disabled { cursor: default; }
.hm-key.hit { background: rgba(46,158,107,0.2); color: #1f6e4a; }
.hm-key.miss { background: rgba(217,83,79,0.15); color: #a33; opacity: 0.6; }
.hm-feedback { text-align: center; font-weight: 600; margin: 1.25rem 0; }
.hm-feedback.good { color: #1f6e4a; }
.hm-feedback.bad { color: #a33; }

/* Memory */
.mem-grid { display: grid; gap: 0.6rem; max-width: 520px; margin: 0 auto; }
.mem-card {
  aspect-ratio: 3 / 4; border: none; padding: 0; cursor: pointer; position: relative;
  background: transparent; perspective: 600px;
}
.mem-face {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); padding: 0.4rem; text-align: center;
  font-family: var(--font-heading); font-weight: 600; backface-visibility: hidden;
  transition: transform 0.4s;
}
.mem-back {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-light));
  color: #fff; font-size: 1.6rem;
}
.mem-front {
  background: var(--bg-card); border: 1.5px solid rgba(21,81,145,0.15);
  color: var(--text-dark); font-size: 0.78rem; line-height: 1.25;
  transform: rotateY(180deg);
}
.mem-card.flipped .mem-back { transform: rotateY(180deg); }
.mem-card.flipped .mem-front { transform: rotateY(0); }
.mem-card.done .mem-front { border-color: #2e9e6b; background: rgba(46,158,107,0.12); color: #1f6e4a; }

/* Unified play tracker */
.play-tracker {
  max-width: 760px; margin: 2.5rem auto 0;
  background: var(--bg-card); border-radius: var(--radius-xl);
  padding: 2.25rem; box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,0.04);
}
.pt-head { text-align: center; margin-bottom: 1.75rem; }
.pt-count { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--accent-teal); line-height: 1; }
.pt-count span { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: var(--text-light); }
.pt-bar { height: 10px; border-radius: 100px; background: rgba(21,81,145,0.1); overflow: hidden; margin: 1rem auto; max-width: 440px; }
.pt-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--accent-teal), var(--accent-teal-light)); transition: width 0.6s ease; }
.pt-msg { font-size: 0.92rem; color: var(--text-body); }
.pt-msg.done { color: #1f6e4a; font-weight: 600; }
.pt-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 1.5rem; }
.pt-group h4 { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 0.6rem; }
.pt-group ul { list-style: none; display: grid; gap: 0.4rem; }
.pt-group li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--text-light); }
.pt-group li.done { color: var(--text-dark); }
.pt-check { color: var(--text-light); font-weight: 700; }
.pt-group li.done .pt-check { color: #2e9e6b; }
.pt-reset {
  display: block; margin: 0 auto; background: none; border: 1px solid rgba(21,81,145,0.2);
  border-radius: 100px; padding: 0.5rem 1.2rem; font-family: var(--font-heading);
  font-weight: 600; font-size: 0.8rem; color: var(--text-light); cursor: pointer; transition: var(--transition-fast);
}
.pt-reset:hover { border-color: var(--accent-orange); color: var(--accent-orange); }
@media (max-width: 560px) { .pt-groups { grid-template-columns: 1fr; gap: 1rem; } }

/* Games hub */
.games-hub { display: grid; gap: 2.5rem; }
.game-block { scroll-margin-top: 90px; }
.game-block-head { text-align: center; margin-bottom: 1.5rem; }
.game-block-head .game-block-icon { font-size: 2.2rem; }
.game-block-head h2 { font-family: var(--font-display); font-size: 1.6rem; color: var(--text-dark); margin: 0.4rem 0 0.3rem; }
.game-block-head p { color: var(--text-light); font-size: 0.95rem; max-width: 520px; margin: 0 auto; }
.games-jump { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 2rem; }
.games-jump a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--bg-card); border: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-sm);
  border-radius: 100px; padding: 0.55rem 1.1rem; text-decoration: none;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem; color: var(--text-dark);
  transition: var(--transition-fast);
}
.games-jump a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--accent-teal); }

@media (max-width: 560px) {
  .hm-keyboard { grid-template-columns: repeat(7, 1fr); }
  .scr-tile { width: 38px; height: 44px; font-size: 1.2rem; }
  .arcade-card { padding: 1.5rem; }
}

/* ===================== RIASEC CAREER PROFILE ===================== */
.riasec { max-width: 720px; margin: 2.5rem auto 0; }
.ri-lead { text-align: center; font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-light); margin: 1.5rem 0 0.5rem; }
.ri-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--text-dark);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 2rem;
}
.ri-rating { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.ri-btn {
  border: 1.5px solid rgba(21,81,145,0.15);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.1rem 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.ri-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ri-dislike:hover { border-color: #d9534f; color: #a33; }
.ri-neutral:hover { border-color: var(--text-light); }
.ri-like:hover { border-color: #2e9e6b; color: #1f6e4a; }
.riasec .quiz-back { display: block; margin: 1.25rem auto 0; }

/* Result */
.ri-result-head { text-align: center; margin-bottom: 2rem; }
.ri-result-head .section-label { color: var(--accent-teal); }
.ri-code { display: flex; justify-content: center; gap: 0.6rem; margin: 0.5rem 0; }
.ri-code span {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-light));
  border-radius: var(--radius-md);
}
.ri-code-names { font-family: var(--font-heading); font-weight: 600; color: var(--text-body); }
.ri-bars { display: grid; gap: 0.9rem; margin-bottom: 2.5rem; }
.ri-bar-row { display: grid; gap: 0.35rem; }
.ri-bar-label { font-size: 0.9rem; color: var(--text-dark); }
.ri-bar-label strong { font-family: var(--font-heading); }
.ri-bar-label span { color: var(--text-light); font-size: 0.82rem; }
.ri-bar-track { height: 10px; border-radius: 100px; background: rgba(21,81,145,0.1); overflow: hidden; }
.ri-bar-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--accent-teal), var(--accent-teal-light)); transition: width 0.6s ease; }
.ri-match-label { text-align: center; color: var(--accent-teal); margin-bottom: 1rem; }

/* ===================== PLAY & LEARN GAMES ===================== */
.play-zone {
  background:
    radial-gradient(ellipse 50% 60% at 85% 10%, rgba(37,112,184,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 5% 90%, rgba(224,133,97,0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}
.game-shell {
  max-width: 720px;
  margin: 2.5rem auto 0;
}
.game-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: rgba(21,81,145,0.06);
  padding: 0.4rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.75rem;
}
.game-tab {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text-body);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.game-tab:hover { color: var(--accent-teal); }
.game-tab.active {
  background: var(--bg-card);
  color: var(--accent-teal);
  box-shadow: var(--shadow-sm);
}
.game-panel {
  display: none;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}
.game-panel.active { display: block; animation: fadeInUp 0.4s ease-out both; }
.game-progress {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Knowledge quiz */
.kq-question {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.kq-options { display: grid; gap: 0.7rem; }
.kq-option {
  text-align: left;
  background: var(--bg-card);
  border: 1.5px solid rgba(21,81,145,0.12);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}
.kq-option:hover:not(.disabled) { border-color: var(--accent-teal); transform: translateX(3px); }
.kq-option.disabled { cursor: default; opacity: 0.85; }
.kq-option.correct { border-color: #2e9e6b; background: rgba(46,158,107,0.12); color: #1f6e4a; font-weight: 600; }
.kq-option.incorrect { border-color: #d9534f; background: rgba(217,83,79,0.1); color: #a33; }
.kq-explain {
  margin-top: 1.1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  line-height: 1.5;
}
.kq-explain.good { background: rgba(46,158,107,0.1); color: #1f6e4a; }
.kq-explain.bad { background: rgba(217,83,79,0.08); color: #944; }
.kq-next { margin-top: 1.25rem; }

/* Salary game */
.sg-job {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  text-align: center;
}
.sg-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--accent-teal);
  text-align: center;
  margin-bottom: 0.75rem;
}
.sg-slider {
  width: 100%;
  accent-color: var(--accent-teal);
  cursor: pointer;
  height: 6px;
}
.sg-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-light);
  margin: 0.5rem 0 1.5rem;
}
.sg-slider + .sg-scale { margin-top: 0.6rem; }
.game-panel .btn { margin-top: 0.5rem; }
.sg-reveal {
  margin: 1.5rem 0 0.5rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(37,112,184,0.07);
  text-align: center;
}
.sg-verdict { font-family: var(--font-heading); font-weight: 600; color: var(--text-dark); margin-bottom: 0.5rem; }
.sg-actual { font-size: 1.05rem; color: var(--text-dark); }
.sg-actual strong { color: var(--accent-teal); }
.sg-actual-note { font-size: 0.78rem; color: var(--text-light); }
.sg-yourguess { font-size: 0.85rem; color: var(--text-light); margin-top: 0.3rem; }

/* Match game */
.mg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.mg-col { display: grid; gap: 0.7rem; align-content: start; }
.mg-item {
  text-align: left;
  background: var(--bg-card);
  border: 1.5px solid rgba(21,81,145,0.12);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1.35;
}
.mg-item:hover:not(.matched) { border-color: var(--accent-teal); }
.mg-item.selected { border-color: var(--accent-teal); background: rgba(37,112,184,0.1); }
.mg-item.matched {
  border-color: #2e9e6b; background: rgba(46,158,107,0.12); color: #1f6e4a;
  cursor: default; opacity: 0.9;
}
.mg-item.wrong { border-color: #d9534f; background: rgba(217,83,79,0.12); animation: mg-shake 0.4s; }
@keyframes mg-shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.mg-progress { text-align: center; }

/* Homepage explorer tracker */
.explorer {
  max-width: 920px;
  margin: 3rem auto 0;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}
.explorer-head { text-align: center; margin-bottom: 1.75rem; }
.explorer-count {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--accent-teal);
  line-height: 1;
}
.explorer-count span { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--text-light); }
.explorer-bar {
  height: 10px;
  border-radius: 100px;
  background: rgba(21,81,145,0.1);
  overflow: hidden;
  margin: 1rem auto 1rem;
  max-width: 420px;
}
.explorer-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-teal-light));
  transition: width 0.6s ease;
}
.explorer-msg { font-size: 0.95rem; color: var(--text-body); }
.explorer-msg.done { color: #1f6e4a; font-weight: 600; }
.explorer-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}
.explorer-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 0.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  background: var(--bg-primary);
  border: 1.5px solid transparent;
  transition: var(--transition-fast);
  position: relative;
}
.explorer-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.explorer-tile.done { border-color: #2e9e6b; background: rgba(46,158,107,0.08); }
.explorer-tile-icon { font-size: 1.6rem; }
.explorer-tile-name {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.25;
}
.explorer-tile-check {
  position: absolute;
  top: 0.4rem; right: 0.5rem;
  color: #2e9e6b;
  font-weight: 700;
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .explorer-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .mg-grid { gap: 0.5rem; }
  .mg-item { font-size: 0.82rem; padding: 0.7rem 0.8rem; }
}

/* Drone flight-path puzzle */
.fp-hud {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 1rem;
}
.fp-hud strong { color: var(--accent-teal); }
.fp-grid {
  display: grid;
  gap: 5px;
  background: rgba(21,81,145,0.08);
  padding: 5px;
  border-radius: var(--radius-md);
  max-width: 420px;
  margin: 0 auto;
}
.fp-cell {
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.1rem, 4.5vw, 1.6rem);
  transition: var(--transition-fast);
}
.fp-cell.nofly { background: rgba(217,83,79,0.12); }
.fp-cell.target { background: rgba(37,112,184,0.12); }
.fp-cell.drone { background: rgba(37,112,184,0.22); box-shadow: inset 0 0 0 2px var(--accent-teal); }
.fp-msg {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 1.1rem 0;
  min-height: 1.2em;
}
.fp-msg .good { color: #1f6e4a; font-weight: 600; }
.fp-msg .bad { color: #a33; font-weight: 600; }
.fp-pad {
  display: grid;
  grid-template-columns: repeat(3, 56px);
  grid-template-rows: repeat(2, 56px);
  gap: 0.5rem;
  justify-content: center;
}
.fp-btn {
  border: none;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 1.3rem;
  color: var(--accent-teal);
  cursor: pointer;
  transition: var(--transition-fast);
}
.fp-btn:hover { background: var(--accent-teal); color: #fff; transform: translateY(-2px); }
.fp-up { grid-column: 2; grid-row: 1; }
.fp-left { grid-column: 1; grid-row: 2; }
.fp-down { grid-column: 2; grid-row: 2; }
.fp-right { grid-column: 3; grid-row: 2; }

/* Color Match (Digital Media) */
.cm-prompt { text-align: center; color: var(--text-body); margin-bottom: 1.25rem; font-size: 0.95rem; }
.cm-swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.cm-swatch {
  height: 110px;
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.cm-swatch span {
  position: absolute; bottom: 0.5rem; left: 0.6rem;
  font-family: var(--font-heading); font-size: 0.72rem; font-weight: 600;
  color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.cm-sliders { display: grid; gap: 0.9rem; margin-bottom: 1.5rem; }
.cm-row { display: flex; align-items: center; gap: 0.9rem; }
.cm-label { font-family: var(--font-heading); font-weight: 700; width: 1.2rem; color: var(--text-dark); }
.cm-slider { flex: 1; }

/* Bug Squash (Game Dev) */
.bs-intro { text-align: center; padding: 1rem 0; }
.bs-lead { font-size: 1.05rem; color: var(--text-body); line-height: 1.6; margin-bottom: 1.5rem; }
.bs-hud {
  display: flex; justify-content: space-between;
  font-family: var(--font-heading); font-size: 0.95rem; color: var(--text-body);
  margin-bottom: 1rem;
}
.bs-hud strong { color: var(--accent-teal); }
.bs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem;
  max-width: 360px; margin: 0 auto;
}
.bs-cell {
  aspect-ratio: 1 / 1;
  border: none;
  background: rgba(21,81,145,0.06);
  border-radius: var(--radius-md);
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.15s;
}
.bs-cell.bug { background: rgba(0,184,148,0.18); animation: bs-pop 0.15s ease-out; }
@keyframes bs-pop { from { transform: scale(0.6); } to { transform: scale(1); } }
.bs-cell:active { background: rgba(37,112,184,0.2); }

/* Build Order (sequencing) */
.seq-list { display: grid; gap: 0.7rem; }
.seq-item {
  display: flex; align-items: center; gap: 0.9rem;
  text-align: left;
  background: var(--bg-card);
  border: 1.5px solid rgba(21,81,145,0.12);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}
.seq-item:hover:not(.locked) { border-color: var(--accent-teal); }
.seq-num {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(21,81,145,0.08);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem;
  color: var(--text-light);
}
.seq-item.locked {
  border-color: #2e9e6b; background: rgba(46,158,107,0.1); color: #1f6e4a;
  cursor: default;
}
.seq-item.locked .seq-num { background: #2e9e6b; color: #fff; }
.seq-item.wrong { border-color: #d9534f; background: rgba(217,83,79,0.12); animation: mg-shake 0.4s; }

/* Skill Sort (hard vs soft) */
.ss-zones { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.ss-zone {
  border: 2px dashed rgba(21,81,145,0.2);
  border-radius: var(--radius-md);
  padding: 1rem;
  min-height: 130px;
  transition: var(--transition-fast);
}
.ss-zone.ss-hard { background: rgba(37,112,184,0.06); border-color: rgba(37,112,184,0.35); }
.ss-zone.ss-soft { background: rgba(46,158,107,0.07); border-color: rgba(46,158,107,0.35); }
.ss-zone h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}
.ss-zone-body { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; min-height: 40px; }
.ss-pool-label {
  font-family: var(--font-heading); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; color: var(--text-light);
  margin-bottom: 0.6rem;
}
.ss-pool { display: flex; flex-wrap: wrap; gap: 0.5rem; min-height: 44px; }
.ss-chip {
  background: var(--bg-card);
  border: 1.5px solid rgba(21,81,145,0.15);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-dark);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.ss-chip:hover { border-color: var(--accent-teal); }
.ss-chip.selected { border-color: var(--accent-teal); background: rgba(37,112,184,0.12); transform: scale(1.05); }
.ss-chip.correct { border-color: #2e9e6b; background: rgba(46,158,107,0.15); color: #1f6e4a; }
.ss-chip.incorrect { border-color: #d9534f; background: rgba(217,83,79,0.12); color: #a33; }
.ss-feedback { text-align: center; font-weight: 600; min-height: 1.4em; margin: 1rem 0 0.5rem; color: var(--text-body); }
.ss-feedback.good { color: #1f6e4a; }
.ss-feedback.bad { color: #a33; }
.ss-actions { display: flex; gap: 0.75rem; justify-content: center; }
@media (max-width: 560px) { .ss-zones { grid-template-columns: 1fr; } }

/* Scenario decision game */
.sc-situation {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 1.25rem;
  padding: 1.1rem 1.3rem;
  background: rgba(37,112,184,0.06);
  border-left: 4px solid var(--accent-teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Shared result */
.game-result { text-align: center; padding: 1rem 0; }
.game-result-score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  color: var(--accent-teal);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.game-result-msg {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* Completion badge in the section header */
.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  opacity: 0.5;
  transition: var(--transition-smooth);
}
.play-badge.on { opacity: 1; color: #2e9e6b; }
.play-badge::before { content: '✓'; }

@media (max-width: 560px) {
  .game-panel { padding: 1.5rem; }
  .sg-value { font-size: 1.8rem; }
}

/* ===================== CAREER QUIZ ===================== */
.quiz {
  max-width: 720px;
  margin: 2.5rem auto 0;
}
.quiz-progress { margin-bottom: 2rem; }
.quiz-progress-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.quiz-bar {
  height: 8px;
  border-radius: 100px;
  background: rgba(21,81,145,0.1);
  overflow: hidden;
}
.quiz-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-teal-light));
  transition: width var(--transition-smooth);
}
.quiz-q-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 1.75rem;
  text-align: center;
}
.quiz-options {
  display: grid;
  gap: 0.85rem;
}
.quiz-option {
  width: 100%;
  text-align: left;
  background: var(--bg-card);
  border: 1.5px solid rgba(21,81,145,0.1);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.quiz-option:hover {
  border-color: var(--accent-teal);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.quiz-option.selected {
  border-color: var(--accent-teal);
  background: rgba(37,112,184,0.06);
}
.quiz-nav { margin-top: 1.5rem; }
.quiz-back {
  background: none;
  border: none;
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.4rem 0;
  transition: var(--transition-fast);
}
.quiz-back:hover { color: var(--accent-teal); }

/* Result */
.quiz-result-head { text-align: center; margin-bottom: 1.25rem; }
.quiz-result-head .section-label { color: var(--accent-teal); }
.quiz-result-card {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.quiz-result-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 5px;
}
.quiz-result-card.path-digital::after { background: var(--path-digital); }
.quiz-result-card.path-education::after { background: var(--path-education); }
.quiz-result-card.path-culinary::after { background: var(--path-culinary); }
.quiz-result-card.path-gaming::after { background: var(--path-gaming); }
.quiz-result-card.path-drone::after { background: var(--path-drone); }
.quiz-result-card.path-construction::after { background: var(--path-construction); }
.quiz-result-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quiz-result-icon {
  width: 84px; height: 84px;
  flex-shrink: 0;
  border-radius: 20px;
  background: rgba(37,112,184,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}
.quiz-result-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}
.quiz-result-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.1rem;
}
.quiz-runners { margin-top: 2rem; }
.quiz-runners-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin-bottom: 0.85rem;
  text-align: center;
}
.quiz-runners-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.quiz-runner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition-fast);
}
.quiz-runner:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.quiz-runner-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(37,112,184,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.quiz-result-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.quiz-result-actions .btn-outline { color: var(--text-dark); border-color: rgba(21,81,145,0.25); }
.quiz-result-actions .btn-outline:hover { background: rgba(21,81,145,0.05); }
.quiz-disclaimer {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
}
.reveal-now { animation: fadeInUp 0.4s ease-out both; }
@media (max-width: 560px) {
  .quiz-runners-row { grid-template-columns: 1fr; }
  .quiz-result-card { flex-direction: column; text-align: center; }
}

/* ===================== CAROUSEL ===================== */
.carousel {
  position: relative;
  max-width: 920px;
  margin: 2.5rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a0f1a;
  box-shadow: var(--shadow-lg);
}
/* Compact variant for low-resolution image sets — shows images closer to
   native size so they stay crisp instead of being upscaled. */
.carousel.carousel-compact { max-width: 520px; }
.cz-viewport { overflow: hidden; width: 100%; }
.cz-track {
  display: flex;
  transition: transform var(--transition-smooth);
  will-change: transform;
}
.cz-slide {
  position: relative;
  min-width: 100%;
  height: 0;
  padding-bottom: 62%;
  cursor: zoom-in;
  background: #0a0f1a;
}
.cz-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.cz-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  /* Right padding reserves room for the dot/counter controls so long captions
     wrap instead of running underneath them. */
  padding: 1.5rem 130px 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(10,15,26,0.85));
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.2px;
}
.cz-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(21,81,145,0.6);
  backdrop-filter: blur(8px);
  color: var(--text-white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 2;
}
.cz-arrow:hover { background: var(--accent-teal); transform: translateY(-50%) scale(1.05); }
.cz-arrow-prev { left: 1rem; }
.cz-arrow-next { right: 1rem; }
.cz-controls {
  position: absolute;
  bottom: 1rem;
  right: 1.25rem;
  z-index: 2;
}
.cz-counter {
  background: rgba(21,81,145,0.6);
  backdrop-filter: blur(8px);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
}
.cz-dots {
  display: flex;
  gap: 0.2rem;
  justify-content: center;
}
.cz-dot {
  /* 25×25 tap target; background-clip keeps the visible dot at 9px. */
  width: 25px; height: 25px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  background-clip: content-box;
  cursor: pointer;
  padding: 8px;
  transition: var(--transition-fast);
}
.cz-dot.active { background-color: var(--accent-teal-light); transform: scale(1.2); }

/* Lightbox */
.cz-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10,15,26,0.94);
  backdrop-filter: blur(6px);
  padding: 2rem;
}
.cz-lightbox.open { display: flex; }
.cz-lightbox-figure {
  max-width: 90vw;
  max-height: 86vh;
  margin: 0;
  text-align: center;
}
.cz-lightbox-figure img {
  max-width: 90vw;
  max-height: 78vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.cz-lightbox-figure figcaption {
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1rem;
}
.cz-lightbox-close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: var(--text-white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition-fast);
}
.cz-lightbox-close:hover { background: var(--accent-teal); }
.cz-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: var(--text-white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition-fast);
}
.cz-lightbox-nav:hover { background: var(--accent-teal); }
.cz-prev { left: 1.5rem; }
.cz-next { right: 1.5rem; }

/* Static gallery grid (for small image sets) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  background: #0a0f1a;
  border: none;
  padding: 0;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}
.gallery-item:hover img { transform: scale(1.05); }

/* Video embed (local mp4) */
.local-video {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: #0a0f1a;
  display: block;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .pathways-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Nav collapses to the mobile menu below 1024px so the bar never crams */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: rgba(21,81,145, 0.98);
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-links.mobile-open li { width: 100%; }
  .nav-links.mobile-open .nav-cta { display: inline-block; margin-top: 0.5rem; }
  .nav-links.mobile-open .has-dropdown .dropdown {
    display: block;
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .access-highlights { grid-template-columns: 1fr; }
  .pathways-grid { grid-template-columns: repeat(2, 1fr); }
  .beyond-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .career-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 1rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  section { padding: 4rem 1.25rem; }
  .page-hero { padding: 7rem 1.25rem 3rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cz-arrow { width: 38px; height: 38px; font-size: 1.25rem; }
  .cz-slide { padding-bottom: 75%; }
}

@media (max-width: 480px) {
  .pathways-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
}

/* ===================== REDUCED MOTION ===================== */
/* Respect the OS-level "reduce motion" accessibility setting: show all
   scroll-reveal content immediately and collapse animations/transitions. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
