/* =====================================================================
   Aspiring Careers, hand-written CSS. No framework, no build step.
   Sections: reset -> tokens -> base -> layout -> components -> utilities
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* =====================================================================
   DESIGN TOKENS, single source of truth. Retheme the whole site here.
   ===================================================================== */

/* ============ CONFIRM BRAND HEX ============
   These ramps are PLACEHOLDERS derived from the project brief, not the
   confirmed Aspiring Careers logo colors. Swap the base values below
   (marked CONFIRM BRAND HEX), nothing else in the codebase hardcodes
   a brand hex. After changing, re-run: node build/generate-placeholders.js
   ============================================= */
:root {
  --brand-primary-50: #eef4fb; --brand-primary-100: #d6e6f5; --brand-primary-200: #b0cded;
  --brand-primary-300: #80ade1; --brand-primary-400: #4d89d1;
  --brand-primary-500: #1e5fa8; /* CONFIRM BRAND HEX */
  --brand-primary-600: #194f8c; --brand-primary-700: #143f70; --brand-primary-800: #102f55;
  --brand-primary-900: #0b2039; --brand-primary-950: #071426;

  --brand-accent-50: #fff8ec; --brand-accent-100: #ffedc9; --brand-accent-200: #ffd98d;
  --brand-accent-300: #ffc251; --brand-accent-400: #fbb02f;
  --brand-accent-500: #f5a623; /* CONFIRM BRAND HEX */
  --brand-accent-600: #cc850f; --brand-accent-700: #a3660c; --brand-accent-800: #7a4c0e;
  --brand-accent-900: #5c390e; --brand-accent-950: #331f07;

  --brand-success-500: #2fa36b; --brand-success-600: #248255; --brand-success-700: #1d6745;

  --neutral-0: #f8fafc; --neutral-50: #f1f5f9; --neutral-100: #e6ebf1; --neutral-200: #d3dbe4;
  --neutral-300: #adb9c8; --neutral-400: #7f8ea3; --neutral-500: #5c6b81; --neutral-600: #435066;
  --neutral-700: #303c4f; --neutral-800: #1c2536; --neutral-900: #131a29; --neutral-950: #0b1220;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Sora', var(--font-sans);
}

/* ---- semantic tokens: light (default) ---- */
:root {
  --bg: var(--neutral-0); --bg-subtle: var(--neutral-50);
  --surface: #ffffff; --surface-2: var(--neutral-50);
  --glass: rgb(255 255 255 / 0.6); --glass-strong: rgb(255 255 255 / 0.78);
  --glass-border: rgb(255 255 255 / 0.5); --glass-tint: rgb(30 95 168 / 0.06);
  --text: var(--neutral-900); --text-muted: var(--neutral-600); --text-faint: var(--neutral-500);
  --text-on-brand: #ffffff;
  --border: var(--neutral-200); --border-strong: var(--neutral-300); --ring: var(--brand-primary-500);
  --shadow-color: 220 40% 20%;
  --shadow-sm: 0 1px 2px hsl(var(--shadow-color) / 0.06), 0 1px 1px hsl(var(--shadow-color) / 0.04);
  --shadow-md: 0 8px 24px hsl(var(--shadow-color) / 0.10), 0 2px 6px hsl(var(--shadow-color) / 0.06);
  --shadow-lg: 0 24px 60px hsl(var(--shadow-color) / 0.16), 0 8px 20px hsl(var(--shadow-color) / 0.08);
  --shadow-glow: 0 0 0 1px var(--glass-border), 0 12px 40px hsl(var(--shadow-color) / 0.14);
  color-scheme: light;
}

/* ---- semantic tokens: dark ---- */
:root[data-theme='dark'] {
  --bg: var(--neutral-950); --bg-subtle: var(--neutral-900);
  --surface: var(--neutral-900); --surface-2: var(--neutral-800);
  --glass: rgb(19 26 41 / 0.55); --glass-strong: rgb(19 26 41 / 0.75);
  --glass-border: rgb(255 255 255 / 0.08); --glass-tint: rgb(77 137 209 / 0.08);
  --text: var(--neutral-0); --text-muted: var(--neutral-300); --text-faint: var(--neutral-400);
  --border: var(--neutral-800); --border-strong: var(--neutral-700); --ring: var(--brand-primary-400);
  --shadow-color: 220 60% 2%;
  --shadow-sm: 0 1px 2px hsl(var(--shadow-color) / 0.4);
  --shadow-md: 0 8px 24px hsl(var(--shadow-color) / 0.5);
  --shadow-lg: 0 24px 60px hsl(var(--shadow-color) / 0.6);
  --shadow-glow: 0 0 0 1px var(--glass-border), 0 12px 40px hsl(var(--shadow-color) / 0.55);
  color-scheme: dark;
}

/* =====================================================================
   Base
   ===================================================================== */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
::selection { background-color: var(--brand-accent-300); color: var(--neutral-950); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; color: var(--text); }

.h1 { font-size: clamp(2.25rem, 1.7rem + 2.4vw, 4rem); line-height: 1.08; }
.h2 { font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1.12; }
.h3 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem); line-height: 1.2; }
.h4 { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.375rem); line-height: 1.3; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; color: var(--text-muted); }
.eyebrow {
  display: block; font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-primary-500); margin-bottom: 0.75rem;
}
:root[data-theme='dark'] .eyebrow { color: var(--brand-primary-300); }

/* =====================================================================
   Layout
   ===================================================================== */
.container { width: 100%; max-width: 84rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 640px) { .container { padding-inline: 2rem; } }

.section { position: relative; padding-block: 4rem; }
@media (min-width: 640px) { .section { padding-block: 5rem; } }
@media (min-width: 1024px) { .section { padding-block: 6rem; } }
.section--tight { padding-block: 2.5rem; }
.section--subtle { background-color: var(--bg-subtle); }
.section--dark { background-color: var(--brand-primary-950); color: #fff; }
.section--no-top { padding-top: 0; }
.section--no-bottom { padding-bottom: 0; }

.section-header { max-width: 42rem; }
.section-header--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 1.5rem; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-sm { margin-top: 0.75rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }

/* =====================================================================
   Glassmorphism
   ===================================================================== */
.glass, .glass-strong, .glass-panel {
  background-color: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}
.glass-strong { background-color: var(--glass-strong); box-shadow: var(--shadow-lg); }
.glass-panel { border-radius: 14px; box-shadow: var(--shadow-sm); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .glass-strong, .glass-panel {
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    background-image: linear-gradient(160deg, var(--glass-tint), transparent 60%);
  }
  .glass-strong { -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background-color: var(--surface); }
  .glass-strong { background-color: var(--surface); }
  .glass-panel { background-color: var(--surface-2); }
}
.card { padding: 1.5rem; }
.card--flush { padding: 0; overflow: hidden; }

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0 1.5rem; border-radius: 9999px; font-weight: 600; font-size: 0.9rem;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn--sm { min-height: 36px; padding: 0 1rem; font-size: 0.85rem; }
.btn--lg { min-height: 52px; padding: 0 2rem; font-size: 1rem; }
.btn--primary { background-color: var(--brand-primary-500); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background-color: var(--brand-primary-600); }
.btn--secondary { background-color: var(--brand-accent-500); color: var(--neutral-950); box-shadow: var(--shadow-md); }
.btn--secondary:hover { background-color: var(--brand-accent-600); color: #fff; }
.btn--outline { border: 1px solid var(--border-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--brand-primary-500); color: var(--brand-primary-500); }
.btn--outline-invert { border: 1px solid rgb(255 255 255 / 0.3); color: #fff; }
.btn--outline-invert:hover { border-color: #fff; background-color: rgb(255 255 255 / 0.1); }
.btn--block { width: 100%; }

/* =====================================================================
   Badges
   ===================================================================== */
.badge { display: inline-flex; align-items: center; border-radius: 9999px; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600; }
.badge--primary { background-color: var(--brand-primary-100); color: var(--brand-primary-700); }
.badge--accent { background-color: var(--brand-accent-100); color: var(--brand-accent-800); }
.badge--neutral { background-color: var(--surface-2); color: var(--text-muted); text-transform: capitalize; }
:root[data-theme='dark'] .badge--primary { background-color: rgb(11 32 57 / 0.5); color: var(--brand-primary-200); }
:root[data-theme='dark'] .badge--accent { background-color: rgb(51 31 7 / 0.5); color: var(--brand-accent-200); }

/* =====================================================================
   Announcement bar / Header / Nav
   ===================================================================== */
.announcement-bar { position: relative; z-index: 40; border-bottom: 1px solid var(--border); background-color: var(--brand-primary-950); color: #fff; }
.announcement-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-block: 0.5rem; font-size: 0.8rem; }
.announcement-bar__phone { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 500; }
.announcement-bar__phone:hover { color: var(--brand-accent-300); }
.announcement-bar__hours { display: none; align-items: center; gap: 0.4rem; color: rgb(255 255 255 / 0.8); }
@media (min-width: 640px) { .announcement-bar__hours { display: inline-flex; } }
.announcement-bar__close { border-radius: 9999px; padding: 0.25rem; color: rgb(255 255 255 / 0.8); }
.announcement-bar__close:hover { background-color: rgb(255 255 255 / 0.1); color: #fff; }
.announcement-bar.is-hidden { display: none; }

.site-header { position: sticky; top: 0; z-index: 50; background-color: transparent; transition: box-shadow 0.2s ease; }
.site-header.is-scrolled { background-color: var(--glass-strong); box-shadow: var(--shadow-md); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 80px; }

.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo { position: relative; display: inline-flex; align-items: center; }
.logo__img { display: block; height: 56px; width: auto; object-fit: contain; }
@media (max-width: 479px) {
  .logo__img { height: 48px; }
  .site-header .container { height: 72px; }
}
.logo__img--white { display: none; }
:root[data-theme='dark'] .site-header .logo__img--color { display: none; }
:root[data-theme='dark'] .site-header .logo__img--white { display: block; }
.site-footer .logo__img { height: 72px; }

.main-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.main-nav__link, .main-nav__trigger { display: inline-flex; align-items: center; gap: 0.25rem; border-radius: 9999px; padding: 0.5rem 0.9rem; font-size: 0.9rem; font-weight: 500; color: var(--text); }
.main-nav__link:hover, .main-nav__trigger:hover { background-color: var(--surface-2); }
.main-nav__link.is-active, .main-nav__trigger.is-active { color: var(--brand-primary-500); }
.main-nav__item { position: relative; }
.main-nav__dropdown {
  position: absolute; top: 100%; left: 0; margin-top: 0.25rem; width: 16rem; border-radius: 16px;
  padding: 0.5rem; z-index: 10; opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.main-nav__item:hover .main-nav__dropdown,
.main-nav__item:focus-within .main-nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav__dropdown a { display: block; border-radius: 12px; padding: 0.6rem 0.75rem; font-size: 0.875rem; color: var(--text-muted); }
.main-nav__dropdown a:hover { background-color: var(--surface-2); color: var(--brand-primary-500); }

.header-actions { display: flex; align-items: center; gap: 0.625rem; }

.icon-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; color: var(--text); }
.icon-btn:hover { color: var(--brand-primary-500); }
.menu-toggle { display: flex; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.header-cta { display: inline-flex; }

/* =====================================================================
   Mobile nav drawer
   ===================================================================== */
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 70; background-color: rgb(11 18 32 / 0.5);
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s;
}
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: 86%; max-width: 380px;
  display: flex; flex-direction: column; overflow-y: auto; border-radius: 24px 0 0 24px; padding: 1.5rem;
  transform: translateX(100%); transition: transform 0.28s ease;
}
html.nav-open .mobile-nav-overlay { opacity: 1; visibility: visible; }
html.nav-open .mobile-nav { transform: translateX(0); }
html.nav-open { overflow: hidden; }
.mobile-nav__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.mobile-nav__link { display: block; border-bottom: 1px solid rgb(128 128 128 / 0.2); padding: 0.75rem 0.5rem; font-size: 1rem; font-weight: 500; color: var(--text); }
.mobile-nav__group { border-bottom: 1px solid rgb(128 128 128 / 0.2); }
.mobile-nav__trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; border-radius: 8px; padding: 0.75rem 0.5rem; text-align: left; font-size: 1rem; font-weight: 500; color: var(--text); }
.mobile-nav__submenu { display: none; padding-left: 0.75rem; }
.mobile-nav__submenu.is-open { display: block; }
.mobile-nav__submenu a { display: block; border-radius: 8px; padding: 0.6rem 0.5rem; font-size: 0.875rem; color: var(--text-muted); }
.mobile-nav__chevron { transition: transform 0.2s ease; }
.mobile-nav__trigger.is-open .mobile-nav__chevron { transform: rotate(180deg); }
.mobile-nav__footer { margin-top: 1.5rem; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { position: relative; overflow: hidden; background-color: var(--brand-primary-950); color: #fff; }
.site-footer__grid { position: relative; display: grid; gap: 3rem; padding-block: 4rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; } }
.site-footer p, .site-footer li, .site-footer a { color: rgb(255 255 255 / 0.75); }
.site-footer a:hover { color: #fff; }
.site-footer .eyebrow { color: var(--brand-accent-300); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a { display: flex; height: 36px; width: 36px; align-items: center; justify-content: center; border-radius: 9999px; background-color: rgb(255 255 255 / 0.1); color: #fff; }
.footer-social a:hover { background-color: var(--brand-accent-500); color: var(--neutral-950); }
.footer-links li { margin-top: 0.6rem; }
.footer-contact li { display: flex; gap: 0.6rem; margin-top: 0.75rem; font-size: 0.875rem; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--brand-accent-300); }
.footer-newsletter { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.footer-newsletter input { height: 40px; width: 100%; border-radius: 9999px; border: 1px solid rgb(255 255 255 / 0.15); background-color: rgb(255 255 255 / 0.05); padding: 0 1rem; color: #fff; font-size: 0.875rem; }
.footer-newsletter button { height: 40px; flex-shrink: 0; border-radius: 9999px; background-color: var(--brand-accent-500); padding: 0 1rem; font-size: 0.875rem; font-weight: 600; color: var(--neutral-950); }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 0.1); }
.footer-bottom .container { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-block: 1.25rem; }
@media (min-width: 640px) { .footer-bottom .container { flex-direction: row; justify-content: space-between; } }
.footer-credentials { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.credential-chip { display: inline-flex; align-items: center; gap: 0.4rem; border-radius: 9999px; border: 1px solid rgb(255 255 255 / 0.15); background-color: rgb(255 255 255 / 0.05); padding: 0.35rem 0.75rem; font-size: 0.7rem; font-weight: 500; }
.credential-chip svg { color: var(--brand-accent-300); }
.footer-copyright { font-size: 0.75rem; color: rgb(255 255 255 / 0.5); }

/* =====================================================================
   Floating widgets
   ===================================================================== */
.scroll-top {
  position: fixed; bottom: 88px; right: 24px; z-index: 40; display: flex; height: 48px; width: 48px;
  align-items: center; justify-content: center; border-radius: 9999px; color: var(--brand-primary-500);
  box-shadow: var(--shadow-glow); opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.scroll-top:hover { transform: translateY(-3px); }

.whatsapp-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 40; display: flex; height: 48px; width: 48px;
  align-items: center; justify-content: center; border-radius: 9999px; background-color: #25d366; color: #fff;
  box-shadow: var(--shadow-glow); transition: transform 0.2s ease;
  animation: float 3.6s ease-in-out infinite;
}
.whatsapp-btn:hover { animation: none; transform: translateY(-3px); }

.a11y-widget { position: fixed; bottom: 24px; left: 24px; z-index: 40; }
.a11y-widget__toggle { display: flex; height: 48px; width: 48px; align-items: center; justify-content: center; border-radius: 9999px; color: var(--brand-primary-500); box-shadow: var(--shadow-glow); }
.a11y-panel {
  position: absolute; bottom: 64px; left: 0; width: 288px; border-radius: 16px; padding: 1rem;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.95); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.a11y-widget.is-open .a11y-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.a11y-panel__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; border-radius: 12px; background-color: var(--surface-2); padding: 0.6rem 0.75rem; margin-bottom: 0.5rem; font-size: 0.875rem; }
.a11y-row__label { display: flex; align-items: center; gap: 0.5rem; }
.a11y-stepper { display: flex; align-items: center; gap: 0.25rem; }
.a11y-stepper button { display: flex; height: 28px; width: 28px; align-items: center; justify-content: center; border-radius: 9999px; background-color: var(--surface); }
.a11y-toggle { position: relative; display: inline-flex; height: 24px; width: 40px; flex-shrink: 0; align-items: center; }
.a11y-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.a11y-toggle__track { position: absolute; inset: 0; border-radius: 9999px; background-color: var(--border-strong); transition: background-color 0.2s; }
.a11y-toggle input:checked + .a11y-toggle__track { background-color: var(--brand-primary-500); }
.a11y-toggle__thumb { position: relative; height: 20px; width: 20px; transform: translateX(2px); border-radius: 9999px; background-color: #fff; box-shadow: var(--shadow-sm); transition: transform 0.2s; }
.a11y-toggle input:checked ~ .a11y-toggle__thumb { transform: translateX(18px); }
.a11y-reset { margin-top: 0.5rem; display: flex; width: 100%; align-items: center; justify-content: center; gap: 0.4rem; border-radius: 12px; border: 1px solid var(--border-strong); padding: 0.5rem 0; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
.a11y-reset:hover { color: var(--brand-primary-500); }

/* =====================================================================
   Skip link
   ===================================================================== */
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 100; transform: translateY(-6rem);
  border-radius: 9999px; background-color: var(--brand-primary-500); color: #fff; padding: 0.6rem 1.25rem;
  font-size: 0.875rem; font-weight: 600; transition: transform 0.2s ease;
}
.skip-link:focus-visible { transform: translateY(0); }

/* =====================================================================
   Hero / SVG background / dividers
   ===================================================================== */
.hero { position: relative; overflow: hidden; padding-block: 3.5rem 5rem; }
@media (min-width: 640px) { .hero { padding-block: 5rem 7rem; } }
.hero__grid { position: relative; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.hero-split { grid-template-columns: 1fr; }
@media (min-width: 1024px) { .hero-split { grid-template-columns: 1fr 1fr; } }
.hero__media { position: relative; }
.hero__media .card--flush { padding: 0.5rem; }
.hero__media img { border-radius: 14px; }

.svg-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.svg-bg svg { position: absolute; inset: 0; height: 100%; width: 100%; }
.svg-bg .blob { animation: drift 20s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.svg-bg .blob--b { animation-duration: 24s; animation-direction: reverse; }
.svg-bg .blob--c { animation-duration: 16s; animation-delay: -6s; }
.svg-bg__grid { animation: grid-pan 36s linear infinite; }
.svg-bg__ring { transform-box: fill-box; transform-origin: center; animation: spin 32s linear infinite, dash-move 18s linear infinite; }
.svg-bg__ring--b { animation-duration: 22s, 14s; animation-direction: reverse, reverse; }
@keyframes drift { 0%, 100% { transform: translate(0,0);} 33% { transform: translate(24px,-18px);} 66% { transform: translate(-16px,14px);} }
@keyframes grid-pan { from { transform: translate(0, 0); } to { transform: translate(40px, 40px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash-move { to { stroke-dashoffset: -220; } }

.life-layer {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.life-layer svg { width: 100%; height: 100%; display: block; }
.life-grid { animation: grid-pan 48s linear infinite; }
.life-line { stroke-dasharray: 14 22; animation: dash-move 22s linear infinite; }
.life-line--b { animation-duration: 30s; animation-direction: reverse; }
.life-spin { transform-box: fill-box; transform-origin: center; animation: spin 28s linear infinite; }
.life-spin--b { animation-duration: 36s; animation-direction: reverse; }
.life-spin--c { animation-duration: 22s; }
.life-spin--d { animation-duration: 44s; animation-direction: reverse; }
.life-bird { transform-box: fill-box; transform-origin: center; }
.life-bird--1 { animation: bird-drift-a 26s ease-in-out infinite; }
.life-bird--2 { animation: bird-drift-b 32s ease-in-out infinite; }
.life-bird--3 { animation: bird-drift-c 22s ease-in-out infinite; }
.life-bird--bg { animation: float 7s ease-in-out infinite; }
@keyframes bird-drift-a {
  0%, 100% { transform: translate(260px, 70px) rotate(-10deg) scale(1.15); }
  50% { transform: translate(420px, 160px) rotate(12deg) scale(1.15); }
}
@keyframes bird-drift-b {
  0%, 100% { transform: translate(1080px, 520px) rotate(8deg) scale(0.85); }
  50% { transform: translate(920px, 400px) rotate(-14deg) scale(0.85); }
}
@keyframes bird-drift-c {
  0%, 100% { transform: translate(70px, 480px) rotate(-6deg) scale(0.7); }
  50% { transform: translate(180px, 380px) rotate(10deg) scale(0.7); }
}
.life-spark { animation: rise 9s ease-in infinite; }
.life-spark--2 { animation-delay: -2s; animation-duration: 11s; }
.life-spark--3 { animation-delay: -4s; animation-duration: 8s; }
.life-spark--4 { animation-delay: -6s; animation-duration: 12s; }
.life-spark--5 { animation-delay: -1s; animation-duration: 10s; }
@keyframes rise {
  0% { transform: translateY(0); opacity: 0; }
  18% { opacity: 0.7; }
  100% { transform: translateY(-220px); opacity: 0; }
}
.life-orb { animation: drift 14s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.life-orb--b { animation-duration: 18s; animation-direction: reverse; }
@media (max-width: 639px) {
  .life-bird--3, .life-spark--4, .life-spark--5, .life-orb--b { display: none; }
}

.orbit-frame { position: relative; isolation: isolate; }
.orbit-frame__svg {
  position: absolute; inset: -9%; width: 118%; height: 118%;
  pointer-events: none; z-index: 2;
}
.orbit-frame > *:not(svg) { position: relative; z-index: 1; }
.orbit-frame__ring { transform-box: fill-box; transform-origin: center; animation: spin 48s linear infinite; }

.footer-life {
  position: absolute; left: 0; right: 0; top: 0; height: 160px; pointer-events: none; overflow: hidden;
}
.footer-life svg { width: 100%; height: 100%; display: block; }
.footer-life__wave { animation: wave-shift 12s ease-in-out infinite; }
.footer-life__wave--b { animation-duration: 16s; animation-direction: reverse; }
@keyframes wave-shift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-48px); }
}

main { position: relative; z-index: 1; }

.divider { display: block; width: 100%; height: 64px; color: var(--bg); }
@media (min-width: 640px) { .divider { height: 96px; } }
.divider--flip { transform: rotate(180deg); }

/* =====================================================================
   Formula / stat counter
   ===================================================================== */
.formula { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.formula__part { border-radius: 14px; padding: 0.6rem 1rem; font-size: 0.9rem; font-weight: 600; }
.formula__op { font-family: var(--font-display); font-size: 1.5rem; color: var(--brand-accent-500); animation: pulse-op 2.8s ease-in-out infinite; }
.formula__eq { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-faint); }
.formula__result { border-radius: 14px; padding: 0.6rem 1.25rem; font-size: 1.05rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand-primary-500), var(--brand-accent-500)); background-size: 160% 160%; animation: shimmer 6s ease-in-out infinite; }
@keyframes pulse-op { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: 0.75; } }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.stat { text-align: center; }
.stat__value { font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); font-weight: 700; color: var(--brand-primary-500); }
.stat__label { margin-top: 0.25rem; font-size: 0.875rem; color: var(--text-muted); }

/* =====================================================================
   Reveal-on-scroll
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1), transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =====================================================================
   Cards: path / offering / course / blog / testimonial / team
   ===================================================================== */
.path-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 0; }
.path-card img { aspect-ratio: 4/3; object-fit: cover; }
.path-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.path-card__body svg { color: var(--brand-primary-500); }
.path-card__cta { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; font-weight: 600; color: var(--brand-primary-500); }

.offering-card { height: 100%; transition: transform 0.2s ease; }
.offering-card:hover { transform: translateY(-4px); }
.offering-card svg { color: var(--brand-primary-500); animation: float 4.5s ease-in-out infinite; }

.card-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.item-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 0; }
.item-card__media { overflow: hidden; }
.item-card__media img { aspect-ratio: 3/2; object-fit: cover; transition: transform 0.5s ease; }
.item-card:hover .item-card__media img { transform: scale(1.05); }
.item-card__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.item-card__body h3 { font-size: 1.1rem; }
.item-card__body h3 a::after { content: ''; position: absolute; inset: 0; }
.item-card__desc { margin-top: 0.5rem; flex: 1; font-size: 0.875rem; line-height: 1.6; color: var(--text-muted); }
.item-card__meta { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--text-faint); }
.item-card__meta .item-card__more { display: inline-flex; align-items: center; gap: 0.25rem; font-weight: 600; color: var(--brand-primary-500); }

.testimonial-card { display: flex; flex-direction: column; height: 100%; }
.testimonial-card svg { color: var(--brand-accent-400); }
.testimonial-card__quote { margin-top: 0.75rem; flex: 1; font-size: 0.9rem; line-height: 1.6; color: var(--text-muted); }
.testimonial-card__person { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; }
.avatar-initials { display: flex; height: 40px; width: 40px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; background-color: var(--brand-primary-100); color: var(--brand-primary-700); font-size: 0.85rem; font-weight: 700; }
:root[data-theme='dark'] .avatar-initials { background-color: rgb(11 32 57 / 0.5); color: var(--brand-primary-200); }

.team-card { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; transition: transform 0.2s ease; }
.team-card:hover { transform: translateY(-4px); }
.avatar-lg { display: flex; height: 80px; width: 80px; align-items: center; justify-content: center; border-radius: 9999px; background: linear-gradient(135deg, var(--brand-primary-500), var(--brand-accent-500)); color: #fff; font-size: 1.5rem; font-weight: 700; }
.avatar-xl { display: flex; height: 112px; width: 112px; align-items: center; justify-content: center; border-radius: 9999px; background: linear-gradient(135deg, var(--brand-primary-500), var(--brand-accent-500)); color: #fff; font-size: 2rem; font-weight: 700; margin-inline: auto; }

/* =====================================================================
   Filters / tabs
   ===================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-btn { border-radius: 9999px; border: 1px solid var(--border-strong); background: transparent; padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
.filter-btn:hover { border-color: var(--brand-primary-500); color: var(--brand-primary-500); }
.filter-btn.is-active { border-color: var(--brand-primary-500); background-color: var(--brand-primary-500); color: #fff; }

/* =====================================================================
   Accordion
   ===================================================================== */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; text-align: left; font-size: 1rem; font-weight: 600; color: var(--text); }
.accordion-trigger svg { flex-shrink: 0; color: var(--brand-primary-500); transition: transform 0.2s ease; }
.accordion-trigger.is-open svg { transform: rotate(180deg); }
.accordion-panel { display: none; padding-bottom: 1rem; font-size: 0.9rem; line-height: 1.6; color: var(--text-muted); }
.accordion-panel.is-open { display: block; }

/* =====================================================================
   Forms
   ===================================================================== */
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.875rem; font-weight: 500; color: var(--text); }
.field input, .field select, .field textarea {
  height: 44px; width: 100%; border-radius: 12px; border: 1px solid var(--border-strong);
  background-color: var(--surface); padding: 0 0.9rem; font-size: 0.9rem; color: var(--text);
}
.field textarea { height: auto; padding: 0.75rem 0.9rem; resize: vertical; }
.field input.has-error, .field textarea.has-error { border-color: #dc2626; }
.field__error { font-size: 0.75rem; color: #dc2626; }
.form-success { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 2rem; text-align: center; }
.form-success svg { color: var(--brand-success-500); }

/* =====================================================================
   Gallery / lightbox
   ===================================================================== */
.masonry { columns: 2; column-gap: 1rem; }
@media (min-width: 1024px) { .masonry { columns: 3; } }
.masonry__item { display: block; width: 100%; margin-bottom: 1rem; overflow: hidden; border-radius: 16px; break-inside: avoid; }
.masonry__item img { transition: transform 0.5s ease; }
.masonry__item:hover img { transform: scale(1.05); }

.lightbox { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; background-color: rgb(11 18 32 / 0.85); padding: 1rem; }
.lightbox.is-open { display: flex; }
.lightbox__figure { position: relative; max-width: 42rem; max-height: 85vh; }
.lightbox__figure img { max-height: 75vh; border-radius: 16px; object-fit: contain; margin-inline: auto; }
.lightbox__caption { margin-top: 0.75rem; text-align: center; font-size: 0.875rem; color: rgb(255 255 255 / 0.8); }
.lightbox__close { position: absolute; top: 20px; right: 20px; display: flex; height: 40px; width: 40px; align-items: center; justify-content: center; border-radius: 9999px; background-color: rgb(255 255 255 / 0.1); color: #fff; }
.lightbox__nav { position: absolute; top: 50%; display: flex; height: 44px; width: 44px; align-items: center; justify-content: center; border-radius: 9999px; background-color: rgb(255 255 255 / 0.1); color: #fff; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; } .lightbox__nav--next { right: 12px; }
@media (min-width: 640px) { .lightbox__nav--prev { left: 24px; } .lightbox__nav--next { right: 24px; } }

/* =====================================================================
   Carousel
   ===================================================================== */
.carousel { max-width: 42rem; margin-inline: auto; }
.carousel__track { position: relative; min-height: 220px; }
.carousel__slide { display: none; }
.carousel__slide.is-active { display: block; animation: fade-in 0.35s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
.carousel__controls { margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.carousel__dots { display: flex; gap: 0.375rem; }
.carousel__dot { height: 8px; width: 8px; border-radius: 9999px; background-color: var(--border-strong); }
.carousel__dot.is-active { width: 24px; background-color: var(--brand-primary-500); }

/* =====================================================================
   Course finder quiz
   ===================================================================== */
.quiz-card { position: relative; max-width: 36rem; margin-inline: auto; padding: 2rem; text-align: center; }
.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: fade-in 0.3s ease; }
.quiz-options { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.quiz-option { display: flex; align-items: center; justify-content: space-between; border-radius: 14px; padding: 0.9rem 1.25rem; text-align: left; font-size: 0.9rem; font-weight: 500; }
.quiz-option:hover { color: var(--brand-primary-500); }
.quiz-result { display: none; }
.quiz-result.is-active { display: block; animation: fade-in 0.35s ease; }
.quiz-result svg { color: var(--brand-primary-500); }

/* =====================================================================
   404
   ===================================================================== */
.not-found { min-height: 60vh; display: flex; align-items: center; }
.not-found__art { margin-inline: auto; width: 160px; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* =====================================================================
   Prose (privacy/terms)
   ===================================================================== */
.prose { max-width: 48rem; margin-inline: auto; font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); }
.prose h2 { margin-top: 1.5rem; color: var(--text); }
.prose p, .prose .notice { margin-top: 1rem; }
.prose .notice { border-radius: 12px; border: 1px solid var(--brand-accent-300); background-color: var(--brand-accent-50); padding: 1rem; color: var(--brand-accent-900); }
:root[data-theme='dark'] .prose .notice { border-color: rgb(122 76 14); background-color: rgb(51 31 7 / 0.4); color: var(--brand-accent-100); }

/* =====================================================================
   Sidebar / info rows (course detail)
   ===================================================================== */
.info-row { display: flex; align-items: flex-start; gap: 0.75rem; }
.info-row svg { margin-top: 0.15rem; flex-shrink: 0; color: var(--brand-primary-500); }
.info-row dt { font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-faint); }
.info-row dd { color: var(--text); }
.module-row { display: flex; gap: 1rem; }
.module-row__num { display: flex; height: 36px; width: 36px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; background-color: var(--brand-primary-100); color: var(--brand-primary-700); font-size: 0.875rem; font-weight: 700; }
:root[data-theme='dark'] .module-row__num { background-color: rgb(11 32 57 / 0.5); color: var(--brand-primary-200); }
.outcome-row { display: flex; align-items: flex-start; gap: 0.75rem; }
.outcome-row svg { margin-top: 0.15rem; flex-shrink: 0; color: var(--brand-success-500); }

/* =====================================================================
   Job openings
   ===================================================================== */
.job-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.job-card__meta { margin-top: 0.375rem; display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.75rem; color: var(--text-faint); }
.job-card__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.job-apply { display: inline-flex; align-items: center; gap: 0.4rem; border-radius: 9999px; border: 1px solid var(--brand-primary-500); padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; color: var(--brand-primary-500); }
.job-apply:hover { background-color: var(--brand-primary-500); color: #fff; }

/* =====================================================================
   Reduced motion + accessibility-widget augmentations
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
html[data-reduce-motion='true'] *, html[data-reduce-motion='true'] *::before, html[data-reduce-motion='true'] *::after {
  animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important;
}
html[data-contrast='high'] { --border: var(--border-strong); }
html[data-contrast='high'] .glass, html[data-contrast='high'] .glass-strong, html[data-contrast='high'] .glass-panel {
  background-color: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; border-width: 2px;
}
html[data-readable-font='true'] body { font-family: 'Atkinson Hyperlegible', var(--font-sans); letter-spacing: 0.01em; }
html[data-highlight-links='true'] a:not(.no-highlight) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
html { font-size: calc(100% * var(--a11y-font-scale, 1)); }

/* =====================================================================
   Utility (small, deliberate set)
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }
.no-highlight { text-decoration: none; }
