/* Career Lab, warm editorial design test.
   Charm cues from britebound.org: warm cream + navy + sunny gold, a chunky rounded
   friendly display face, big candid photography, generous confident layout.
   Colors pull from Gembox tokens where possible; a warm cream is added locally. */

:root {
  --cream: #f6efe1;
  --cream-2: #fdf9f1;
  --navy: var(--gb-core-navy-900);
  --navy-2: var(--gb-core-navy-800);
  --gold: #ffcf33;
  --gold-2: var(--gb-core-yellow-400);
  --ink: var(--gb-core-navy-900);
  --body: #4a4436;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: var(--gb-font-family-sans, 'DM Sans', system-ui, sans-serif);
  --display: var(--sans); /* use the Forage/Gembox font, not a borrowed display face */
}

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* broken photos degrade to a warm wash, never a broken-image icon */
img.is-broken { visibility: hidden; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  --by: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px;
  font-family: var(--display); font-size: 16px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transform: translateY(var(--by));
  transition: transform .25s var(--ease), background .2s ease, color .2s ease, box-shadow .25s var(--ease);
}
.btn span { transition: transform .25s var(--ease); font-size: 1.2em; line-height: 0; }
.btn:hover span { transform: translateX(4px); }
.btn--sm { padding: 10px 20px; font-size: 15px; }
.btn--lg { padding: 17px 34px; font-size: 18px; }
.btn--primary { color: var(--navy); background: var(--gold); }
.btn--primary:hover { --by: -3px; box-shadow: 0 14px 28px -12px rgba(250,176,5,.85); }
.btn--cream { color: var(--navy); background: var(--cream); }
.btn--cream:hover { --by: -3px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.btn--dark { color: var(--cream-2); background: var(--navy); }
.btn--dark:hover { --by: -3px; box-shadow: 0 16px 34px -14px rgba(10,36,67,.7); }

/* ── Scroll progress ─────────────────────────────────────── */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60;
  background: var(--gold); transition: width .1s linear; }

/* ── Reveal on scroll ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(40px) scale(.985); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── Section titles ──────────────────────────────────────── */
.section-title { margin: 0; font-family: var(--display); font-size: clamp(34px, 5vw, 60px);
  font-weight: 700; letter-spacing: -.01em; line-height: 1; color: var(--navy); }
.section-see { text-decoration: none; font-family: var(--display); font-weight: 600; color: var(--navy);
  white-space: nowrap; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.section-see span { font-size: 1.2em; }
.section-see:hover { color: var(--gb-core-navy-500); }

/* ── Announcement bar ────────────────────────────────────── */
.announce { background: var(--navy); color: var(--cream-2); text-align: center; }
.announce__text { margin: 0; padding: 11px 20px; font-size: 14px; }
.announce__spark { color: var(--gold); margin-right: 6px; }
.announce__link { color: var(--gold); text-decoration: none; font-weight: 700; border-bottom: 1px solid transparent; }
.announce__link:hover { border-bottom-color: var(--gold); }

/* ── Nav ─────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 32px;
  padding: 20px 44px; background: transparent; transition: padding .3s var(--ease), background .3s ease, box-shadow .3s ease; }
.nav.is-stuck { padding: 12px 44px; background: var(--cream-2); box-shadow: 0 8px 26px -20px rgba(0,0,0,.6); }
.nav__brand { display: flex; align-items: center; text-decoration: none; }
.nav__logo { display: block; height: 30px; width: auto; filter: brightness(0) invert(1); transition: height .3s var(--ease); }
.nav.is-stuck .nav__logo { height: 26px; filter: none; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { position: relative; text-decoration: none; font-weight: 600; font-size: 15px; color: rgba(255,255,255,.92); transition: color .3s ease; }
.nav.is-stuck .nav__links a { color: var(--navy); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--gold); transition: width .3s var(--ease); }
.nav__links a:hover::after { width: 100%; }
.nav__menu { display: none; flex-direction: column; gap: 5px; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__menu span { width: 24px; height: 2px; background: #fff; border-radius: 2px; }
.nav.is-stuck .nav__menu span { background: var(--navy); }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; min-height: min(88vh, 820px); margin-top: -84px;
  display: flex; align-items: flex-end; overflow: hidden;
  background: linear-gradient(135deg, var(--gb-core-navy-500), var(--gb-core-navy-800)); }
.hero__photo { position: absolute; inset: -6% 0 0 0; width: 100%; height: 112%; object-fit: cover;
  will-change: transform; transform: scale(1.06); animation: kenburns 18s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero__scrim { position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,36,67,.86) 0%, rgba(10,36,67,.35) 42%, rgba(10,36,67,.12) 72%, transparent 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 44px 72px; }
.hero__eyebrow { margin: 0 0 14px; color: var(--gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.hero__title { margin: 0; font-family: var(--display); color: var(--cream-2);
  font-size: clamp(46px, 8.4vw, 116px); font-weight: 700; line-height: .95; letter-spacing: -.01em;
  text-shadow: 0 2px 30px rgba(10,36,67,.35); }
.hero__title .l { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .l > span { display: inline-block; transform: translateY(115%); }
.hero__title .l > span.is-in { transform: translateY(0); transition: transform 1s var(--ease); }
.hero__eyebrow, .hero__title { opacity: 1; }
.hero__inner { --heroShift: 0px; }

/* ── Mission ─────────────────────────────────────────────── */
.mission { max-width: 1000px; margin: 0 auto; padding: 104px 44px; }
.mission__eyebrow { margin: 0 0 22px; color: var(--gb-core-navy-500); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.mission__lede { margin: 0; font-family: var(--display); font-weight: 500; color: var(--navy);
  font-size: clamp(24px, 3.4vw, 40px); line-height: 1.3; letter-spacing: -.005em; }

/* ── Audience cards ──────────────────────────────────────── */
.aud { max-width: 1200px; margin: 0 auto; padding: 0 44px 104px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.acard { background: var(--cream-2); border-radius: 28px; overflow: hidden;
  box-shadow: 0 2px 0 rgba(0,0,0,.04); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.acard:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(10,36,67,.4); }
.acard__photo { aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--gb-core-navy-300), var(--gb-core-jade-500)); }
.acard__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.acard:hover .acard__photo img { transform: scale(1.05); }
.acard__body { padding: 32px 34px 36px; }
.acard__title { margin: 0 0 12px; font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.acard__desc { margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: var(--body); }
.acard__link { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--navy); text-decoration: none; }
.acard__link span { color: var(--gb-core-navy-500); font-size: 1.25em; transition: transform .25s var(--ease); display: inline-block; }
.acard__link:hover span { transform: translateX(4px); }

/* ── Quote ───────────────────────────────────────────────── */
.quote { max-width: 940px; margin: 0 auto; padding: 20px 44px 104px; text-align: center; position: relative; }
.quote__mark { display: block; font-family: var(--display); font-size: 120px; line-height: .6; color: var(--gold); height: 60px; }
.quote__text { margin: 0 0 22px; font-family: var(--display); font-weight: 500; color: var(--navy);
  font-size: clamp(24px, 3.2vw, 38px); line-height: 1.32; letter-spacing: -.005em; }
.quote__cite { margin: 0; color: var(--body); font-size: 16px; }

/* ── Impact, odometer ────────────────────────────────────── */
.impact { background: var(--navy); color: var(--cream-2); padding: 104px 44px; text-align: center; }
.impact__eyebrow { margin: 0 0 48px; color: var(--gold); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 14px; }
.impact__grid { max-width: 1200px; margin: 0 auto 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.odometer { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 700;
  font-size: clamp(54px, 6.5vw, 88px); letter-spacing: -.02em; line-height: 1; color: var(--gold); }
.odometer .digit { display: inline-block; height: 1em; overflow: hidden; }
.odometer .digit .roll { display: block; transition: transform 1.4s var(--ease); }
.odometer .digit .roll span { display: block; height: 1em; }
.odometer .suffix, .odometer .dot { color: var(--cream-2); }
.stat__label { margin: 18px auto 0; max-width: 22ch; font-size: 15px; line-height: 1.5; color: var(--gb-core-navy-100); }

/* ── Insights ────────────────────────────────────────────── */
.insights { max-width: 1200px; margin: 0 auto; padding: 104px 44px; }
.insights__head, .news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.insights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post { cursor: pointer; }
.post__photo { position: relative; aspect-ratio: 16 / 11; border-radius: 22px; margin-bottom: 18px; overflow: hidden;
  background: linear-gradient(135deg, var(--gb-core-navy-300), var(--gb-core-jade-500));
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post:hover .post__photo { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(10,36,67,.4); }
.post__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__photo img { transform: scale(1.06); }
.post__badge { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 6px 13px; border-radius: 999px;
  background: var(--gold); color: var(--navy); font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.post__kicker { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gb-core-navy-500); }
.post__title { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 600; line-height: 1.28; color: var(--navy); }
.post:hover .post__title { color: var(--gb-core-navy-500); }

/* ── News ────────────────────────────────────────────────── */
.news { max-width: 1200px; margin: 0 auto; padding: 0 44px 104px; }
.news__list { margin: 0; padding: 0; list-style: none; }
.news__item { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 24px;
  padding: 26px 8px; border-top: 1px solid rgba(74,68,54,.18); transition: background .2s ease, padding-left .25s var(--ease); }
.news__item:last-child { border-bottom: 1px solid rgba(74,68,54,.18); }
.news__item:hover { background: var(--cream-2); padding-left: 20px; }
.news__tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gb-core-navy-500); }
.news__headline { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 500; line-height: 1.32; color: var(--navy); }
.news__date { color: var(--body); font-size: 14px; white-space: nowrap; }

/* ── CTA ─────────────────────────────────────────────────── */
.cta { padding: 0 44px 104px; }
.cta__inner { max-width: 1100px; margin: 0 auto; text-align: center; padding: 84px 44px; border-radius: 40px;
  background: var(--gold); color: var(--navy); position: relative; overflow: hidden; }
.cta__spark { display: block; font-size: 40px; color: var(--navy); margin-bottom: 8px; opacity: .55; }
.cta__title { margin: 0 auto 12px; max-width: 20ch; font-family: var(--display); font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 700; letter-spacing: -.01em; line-height: 1.04; }
.cta__sub { margin: 0 0 32px; font-size: 19px; color: #6a5a12; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: var(--gb-core-navy-100); padding: 52px 44px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.site-footer__brand { display: flex; align-items: center; }
.site-footer__logo { display: block; height: 26px; width: auto; filter: brightness(0) invert(1); }
.site-footer__links { display: flex; gap: 24px; margin-left: auto; }
.site-footer__links a { text-decoration: none; font-size: 14px; color: var(--gb-core-navy-100); }
.site-footer__links a:hover { color: #fff; }
.site-footer__copy { width: 100%; margin: 0; font-size: 13px; color: var(--gb-core-navy-300); }

/* ── Journey path (fat dashed line that draws as you scroll) ─ */
.journey { position: absolute; top: 0; left: 0; width: 72px; height: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.journey__base, .journey__done { fill: none; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 2 22; }
.journey__base { stroke: color-mix(in srgb, var(--gb-core-navy-500) 30%, transparent); }
.journey__done { stroke: var(--gold); filter: drop-shadow(0 0 6px rgba(255,207,51,.5)); }
.journey__dot { fill: var(--cream); stroke: color-mix(in srgb, var(--gb-core-navy-500) 35%, transparent); stroke-width: 3; transition: transform .45s var(--ease), fill .45s ease, stroke .45s ease; transform-box: fill-box; transform-origin: center; }
.journey__dot.is-done { fill: var(--gold); stroke: var(--gold-2); transform: scale(1.5); }
@media (max-width: 900px) { .journey { width: 40px; } .journey__base, .journey__done { stroke-width: 5; } }

/* ── Employer ticker ─────────────────────────────────────── */
.ticker { padding: 8px 0 96px; }
.ticker__label { text-align: center; margin: 0 0 28px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; color: var(--gb-ui-subtle); }
.ticker__track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker__row { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 34s linear infinite; }
.ticker__row:hover { animation-play-state: paused; }
.ticker__row img { height: 34px; width: auto; opacity: .55; filter: grayscale(1); transition: opacity .25s ease, filter .25s ease; }
.ticker__row img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 16px 22px; } .nav.is-stuck { padding: 10px 22px; }
  .nav__links, .nav__cta { display: none; } .nav__menu { display: flex; }
  .hero__inner, .mission, .aud, .quote, .impact, .insights, .news, .cta { padding-left: 22px; padding-right: 22px; }
  .aud { grid-template-columns: 1fr; }
  .impact__grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .insights__grid { grid-template-columns: 1fr; }
  .news__item { grid-template-columns: 1fr; gap: 6px; }
  .news__date { justify-self: start; }
}
