/* ==========================================================================
   REAL WORLD LINK — Main Stylesheet
   Design system: light premium EdTech / career-discovery platform
   ========================================================================== */

:root {
  /* ---- Color tokens ---- */
  --navy:        #0F1E3D;   /* primary heading / text */
  --navy-soft:   #33456B;   /* secondary text on light */
  --ink-muted:   #5B6478;   /* body copy grey */
  --white:       #FFFFFF;
  --bg-canvas:   #FAFBFD;   /* page background, near-white */
  --sky:         #EEF3FE;   /* very light blue section bg */
  --lavender:    #F2EFFC;   /* soft lavender section bg */
  --line:        #E6E9F2;   /* hairline borders */
  --line-strong: #D8DDEA;
  --blue:        #2C4BE0;   /* professional blue — primary action */
  --blue-deep:   #1B33A8;   /* blue hover / pressed */
  --violet:      #7C6AE8;   /* subtle purple accent */
  --gold:        #C9962C;   /* rare warm accent — used sparingly (badges) */
  --success:     #1F9D6B;

  /* ---- Type ---- */
  --font-display: 'Manrope', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* ---- Radius / shadow ---- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 61, 0.06), 0 1px 1px rgba(15, 30, 61, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 30, 61, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 30, 61, 0.12);

  /* ---- Layout ---- */
  --container: 1240px;
  --pad-mobile: 18px;
  --pad-tablet: 32px;
  --pad-desktop: 64px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------------- */
/* Reset                                                                  */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-canvas);
  color: var(--navy);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Visible focus for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -50px; left: 12px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--r-sm);
  z-index: 999;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------------- */
/* Typography                                                             */
/* ---------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--sky);
  border: 1px solid #DCE6FC;
  padding: 7px 14px 7px 12px;
  border-radius: var(--r-pill);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.text-lead {
  font-size: 1.1rem;
  color: var(--ink-muted);
}

.text-gradient {
  background: linear-gradient(100deg, var(--blue), var(--violet) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------------- */
/* Layout helpers                                                         */
/* ---------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-mobile);
}
@media (min-width: 768px) { .container { padding-inline: var(--pad-tablet); } }
@media (min-width: 1024px) { .container { padding-inline: var(--pad-desktop); } }

.section { padding-block: 64px; }
@media (min-width: 1024px) { .section { padding-block: 100px; } }

.section--tight { padding-block: 48px; }
.section--sky { background: var(--sky); }
.section--lavender { background: var(--lavender); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.grid { display: grid; gap: 24px; }
@media (min-width: 860px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
  min-height: 48px;
}
.btn svg { flex-shrink: 0; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(44, 75, 224, 0.28);
}
.btn--primary:hover { background: var(--blue-deep); box-shadow: 0 14px 30px rgba(44, 75, 224, 0.36); }

.btn--secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn--secondary:hover { border-color: var(--blue); color: var(--blue); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  padding: 10px 6px;
}
.btn--ghost:hover { color: var(--blue); }

.btn--block { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* ---------------------------------------------------------------------- */
/* Cards (shared)                                                         */
/* ---------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

/* ---------------------------------------------------------------------- */
/* Header                                                                 */
/* ---------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(15,30,61,0.06);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.brand__sub {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.main-nav li { list-style: none; }
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-soft);
  padding: 6px 2px;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn--primary { display: none; }

.hamburger {
  display: flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--white);
}
.hamburger__lines { position: relative; width: 18px; height: 12px; }
.hamburger__lines span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease), top .25s var(--ease);
}
.hamburger__lines span:nth-child(1) { top: 0; }
.hamburger__lines span:nth-child(2) { top: 5px; }
.hamburger__lines span:nth-child(3) { top: 10px; }
.hamburger[aria-expanded="true"] .hamburger__lines span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__lines span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger__lines span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-actions .btn--primary { display: inline-flex; }
  .hamburger { display: none; }
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--white);
  z-index: 190;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform .28s var(--ease), opacity .28s var(--ease), visibility .28s;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav__list { display: flex; flex-direction: column; padding: 8px var(--pad-mobile) 24px; }
.mobile-nav__list a {
  display: block;
  padding: 16px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.mobile-nav__cta { margin-top: 20px; }
body.nav-open { overflow: hidden; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                 */
/* ---------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #C9D1E6; padding-block: 64px 28px; }
.footer-top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand p { margin-top: 14px; max-width: 320px; color: #A7B1CC; font-size: .95rem; }
.footer-cols { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
.footer-col h4 { color: var(--white); font-family: var(--font-display); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: #A7B1CC; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding-top: 24px; font-size: .85rem; color: #8A94B3; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { border-color: var(--white); color: var(--white); }

@media (min-width: 860px) {
  .footer-top { grid-template-columns: 1.3fr 2fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------------------------------------------------------------------- */
/* Back to top + floating mobile CTA                                     */
/* ---------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 150;
  border: none;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.mobile-float-cta {
  position: fixed;
  left: 14px; right: 14px; bottom: 14px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 10px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 140;
  transform: translateY(120%);
  transition: transform .3s var(--ease);
}
.mobile-float-cta.is-visible { transform: translateY(0); }
.mobile-float-cta span { font-weight: 700; font-size: .92rem; }
.mobile-float-cta__actions { display: flex; align-items: center; gap: 4px; }
.mobile-float-cta .btn--primary { padding: 10px 16px; font-size: .88rem; }
.mobile-float-cta__close {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white); border: none;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 1024px) { .mobile-float-cta { display: none; } }

/* ---------------------------------------------------------------------- */
/* Welcome / intro overlay                                               */
/* ---------------------------------------------------------------------- */
.welcome-overlay {
  position: fixed; inset: 0;
  background: linear-gradient(160deg, #FFFFFF 0%, #F1F5FE 55%, #F3EFFC 100%);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s var(--ease), visibility .5s;
}
.welcome-overlay.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.welcome-overlay__inner { text-align: center; padding: 24px; }
.welcome-overlay__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  letter-spacing: -0.01em;
  color: var(--navy);
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
}
.welcome-overlay__line {
  margin-top: 18px;
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: var(--navy-soft);
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
}
.welcome-overlay__tagline {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 3.6vw, 1.6rem);
  color: var(--blue);
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
}
.welcome-overlay.is-playing .welcome-overlay__brand { animation: revealUp .6s var(--ease) .05s forwards; }
.welcome-overlay.is-playing .welcome-overlay__line { animation: revealUp .6s var(--ease) .5s forwards; }
.welcome-overlay.is-playing .welcome-overlay__tagline { animation: revealUp .6s var(--ease) .95s forwards; }

/* ---------------------------------------------------------------------- */
/* Hero                                                                   */
/* ---------------------------------------------------------------------- */
.hero { position: relative; padding-block: 40px 60px; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -160px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(124,106,232,0.16), transparent 70%);
  z-index: 0;
}
.hero__grid {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero__content h1 { margin-top: 0; }
.hero__content .highlight { color: var(--blue); }
.hero__content p.text-lead { margin-top: 20px; max-width: 480px; }

/* Mobile: buttons stacked, equal width, centered */
.hero__actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 26px; }
.hero__actions .btn { width: 100%; justify-content: center; }

/* Mobile: photo first (above heading), natural full-width, cropped shorter
   from the bottom so it doesn't run tall past the fold */
.hero__visual { order: -1; margin-bottom: 22px; }
.hero__visual-inner { position: relative; width: 100%; }
.hero__dots {
  position: absolute;
  top: -10px; left: -6px;
  width: 60px; height: 40px;
  background-image: radial-gradient(circle, var(--line-strong) 1.4px, transparent 1.4px);
  background-size: 10px 10px;
  opacity: .8;
  z-index: 0;
}
.hero__blob {
  position: absolute;
  top: 10px; right: -10px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,106,232,0.16), transparent 72%);
  z-index: 0;
}
.hero__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.value-strip { padding-block: 8px 0; }
.value-strip__grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.value-item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.value-item .ic {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--sky);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.value-item strong { display: block; font-family: var(--font-display); font-size: .92rem; color: var(--navy); }
.value-item span { font-size: .8rem; color: var(--ink-muted); }

@media (min-width: 940px) {
  /* Row layout on desktop: content left, photo right. */
  .hero__grid { flex-direction: row; align-items: center; gap: 56px; }
  .hero__content { flex: 1; order: 1; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { width: auto; }
  .hero__visual { order: 2; flex: 0.85; margin-bottom: 0; }
  .hero__frame { aspect-ratio: 4 / 3.3; }
  .hero__dots { top: -10px; left: -16px; width: 70px; height: 46px; }
  .hero__blob { top: 20px; right: -20px; width: 180px; height: 180px; }
  .value-strip__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------------------------------------------------------------- */
/* Intro (What is Real World Link)                                       */
/* ---------------------------------------------------------------------- */
.intro__grid { display: grid; gap: 40px; align-items: center; }
.intro__art {
  position: relative;
  border-radius: var(--r-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, var(--navy) 0%, #1C2C58 60%, var(--blue) 130%);
  overflow: hidden;
}
.intro__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.intro__chip {
  font-size: .82rem; font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--sky);
  color: var(--navy-soft);
  border: 1px solid #DCE6FC;
}
@media (min-width: 940px) { .intro__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 939px) { .intro__art { order: -1; } }

/* ---------------------------------------------------------------------- */
/* How it works                                                          */
/* ---------------------------------------------------------------------- */
.steps { position: relative; }
.steps__grid { display: grid; gap: 28px; position: relative; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
}
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--blue);
  margin-bottom: 14px;
  display: inline-block;
}
.step__icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--sky);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-muted); font-size: .95rem; }
@media (min-width: 900px) {
  .steps__grid { grid-template-columns: repeat(4, 1fr); }
  .steps__grid::before {
    content: '';
    position: absolute;
    top: 55px; left: 8%; right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px);
    z-index: 0;
  }
}

/* ---------------------------------------------------------------------- */
/* Career fields                                                         */
/* ---------------------------------------------------------------------- */
.career-grid { display: grid; gap: 26px; }
@media (min-width: 760px) { .career-grid { grid-template-columns: 1fr 1fr; } }

.career-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.career-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.career-card__visual {
  height: 168px;
  position: relative;
  display: flex; align-items: flex-end;
  padding: 18px;
  overflow: hidden;
}
.career-card__visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.career-card__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.career-card__visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,30,61,0) 40%, rgba(15,30,61,0.45) 100%);
}
.career-card__label {
  position: relative;
  z-index: 2;
  max-width: calc(100% - 8px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .62rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(15,30,61,0.4);
  padding: 4px 9px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}
.career-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.career-card__body h3 { margin-bottom: 8px; }
.career-card__body p { color: var(--ink-muted); font-size: .93rem; flex: 1; }
.career-card__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.career-card__chips span {
  font-size: .78rem; font-weight: 600;
  background: var(--sky); color: var(--navy-soft);
  padding: 6px 12px; border-radius: var(--r-pill);
}
.career-card__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  color: var(--blue);
  background: none; border: none; padding: 0; align-self: flex-start;
}
.career-card__cta svg { transition: transform .2s var(--ease); }
.career-card__cta:hover svg { transform: translateX(3px); }

/* Field colour themes */
.theme-science   .career-card__visual { background: linear-gradient(135deg, #1E7F63, #0F1E3D); }
.theme-tech      .career-card__visual { background: linear-gradient(135deg, #2C4BE0, #12235C); }
.theme-business  .career-card__visual { background: linear-gradient(135deg, #C9962C, #7A5410); }
.theme-humanities .career-card__visual { background: linear-gradient(135deg, #7C6AE8, #33245C); }

/* ---------------------------------------------------------------------- */
/* Modal (career field detail)                                           */
/* ---------------------------------------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15,30,61,0.5);
  backdrop-filter: blur(3px);
  z-index: 400;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: var(--r-lg);
  max-width: 620px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  padding: 34px 30px;
  position: relative;
  transform: translateY(18px) scale(.98);
  transition: transform .3s var(--ease);
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.modal__label {
  display: inline-block;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: var(--sky);
  padding: 6px 12px; border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.modal h3 { margin-bottom: 10px; }
.modal p.modal__desc { color: var(--ink-muted); margin-bottom: 20px; }
.modal__section-title { font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .04em; color: var(--navy); margin-bottom: 10px; text-transform: uppercase; }
.modal__paths { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.modal__paths span { font-size: .84rem; font-weight: 600; background: var(--lavender); color: var(--navy-soft); padding: 7px 13px; border-radius: var(--r-pill); }
.modal__fits { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.modal__fits li { display: flex; gap: 10px; font-size: .93rem; color: var(--navy-soft); align-items: flex-start; }
.modal__fits svg { color: var(--success); flex-shrink: 0; margin-top: 2px; }

@media (min-width: 640px) { .modal { padding: 42px; } }

/* ---------------------------------------------------------------------- */
/* Why / journey / cta-band                                              */
/* ---------------------------------------------------------------------- */
.why-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card { padding: 26px 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.why-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--lavender); color: var(--violet); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { font-size: .9rem; color: var(--ink-muted); }

.journey {
  display: flex; flex-direction: column; gap: 0;
}
.journey__item { display: flex; gap: 18px; padding-bottom: 34px; position: relative; }
.journey__item:last-child { padding-bottom: 0; }
.journey__marker { display: flex; flex-direction: column; align-items: center; }
.journey__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); border: 3px solid var(--sky); flex-shrink: 0; }
.journey__connector { width: 2px; flex: 1; background: var(--line-strong); margin-top: 4px; }
.journey__item:last-child .journey__connector { display: none; }
.journey__content h3 { font-size: 1.05rem; margin-bottom: 4px; }
.journey__content p { font-size: .9rem; color: var(--ink-muted); }

@media (min-width: 900px) {
  .journey { flex-direction: row; }
  .journey__item { flex-direction: column; flex: 1; padding-bottom: 0; padding-right: 18px; }
  .journey__marker { flex-direction: row; width: 100%; }
  .journey__connector { width: auto; height: 2px; flex: 1; margin-top: 6px; margin-left: 6px; }
}

.cta-band {
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--sky), var(--lavender));
  padding: 52px 30px;
  text-align: center;
}
.cta-band h2 { max-width: 640px; margin-inline: auto; }
.cta-band p { max-width: 520px; margin: 16px auto 30px; color: var(--navy-soft); }
@media (min-width: 900px) { .cta-band { padding: 68px 40px; } }

/* ---------------------------------------------------------------------- */
/* About / team                                                          */
/* ---------------------------------------------------------------------- */
.team-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin-inline: auto; } }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; text-align: center; }
.team-card__avatar {
  width: 84px; height: 84px; border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; color: var(--white); font-size: 1.5rem;
}
.team-card h3 { margin-bottom: 2px; }
.team-card .role { font-size: .85rem; font-weight: 700; color: var(--blue); margin-bottom: 12px; display: block; }
.team-card p.bio { font-size: .92rem; color: var(--ink-muted); }

/* ---------------------------------------------------------------------- */
/* FAQ accordion                                                         */
/* ---------------------------------------------------------------------- */
.faq-list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 18px 22px; background: none; border: none; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--navy);
}
.faq-item__icon { flex-shrink: 0; transition: transform .25s var(--ease); color: var(--blue); }
.faq-item[data-open="true"] .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
}
.faq-item__a p { padding: 0 22px 20px; color: var(--ink-muted); font-size: .93rem; }

/* ---------------------------------------------------------------------- */
/* Forms                                                                  */
/* ---------------------------------------------------------------------- */
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .86rem; font-weight: 700; color: var(--navy); }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  font-size: .96rem;
  background: var(--white);
  color: var(--navy);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(44,75,224,0.12);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field__error { font-size: .82rem; color: #C43D3D; min-height: 1em; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C43D3D; }

.checkbox-field { display: flex; gap: 12px; align-items: flex-start; }
.checkbox-field input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.checkbox-field label { font-size: .88rem; color: var(--navy-soft); font-weight: 500; }

.form-success {
  display: flex; align-items: center; gap: 12px;
  background: #ECFBF4; border: 1px solid #BFEBD6; color: #146C46;
  padding: 16px 18px; border-radius: var(--r-md);
  font-weight: 600; font-size: .92rem;
}

/* ---------------------------------------------------------------------- */
/* Contact section                                                       */
/* ---------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info__item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__item .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--sky); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info__item strong { display: block; font-family: var(--font-display); font-size: .92rem; margin-bottom: 2px; }
.contact-info__item span { font-size: .88rem; color: var(--ink-muted); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.8fr 1.2fr; } }

/* ---------------------------------------------------------------------- */
/* 404                                                                    */
/* ---------------------------------------------------------------------- */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.error-page__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 14vw, 7rem); color: var(--sky); -webkit-text-stroke: 2px var(--blue); }