/* Career Sprint : Fast-track your future
   Palette from the logo: navy, teal, white, mist. Fonts: Lexend Deca + Bitter. */

:root {
  --navy: #2a2f7b;
  --navy-deep: #1d2159;
  --navy-ink: #171a45;
  --teal: #5cb9b4;
  --teal-deep: #3f9d98;
  --teal-soft: #bfe4e1;
  --white: #ffffff;
  --mist: #e9f4f3;
  --mist-2: #f4faf9;
  --text: #22254a;
  --text-soft: #4b4f78;
  --line: rgba(42, 47, 123, .14);
  --on-dark: rgba(245, 247, 252, .92);
  --on-dark-soft: rgba(245, 247, 252, .74);
  --wrap: 1140px;
  --font-head: "Lexend Deca", system-ui, sans-serif;
  --font-body: "Bitter", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.68; color: var(--text); background: var(--white); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--navy); }
h1 { font-size: clamp(2.7rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(42, 47, 123, .08); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--navy); letter-spacing: -.01em; }
.brand-name b, .brand-small b { color: var(--teal-deep); font-weight: 700; }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a { font-family: var(--font-head); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 9px 14px; border-radius: 10px; color: var(--navy); transition: background .25s, color .25s, transform .25s; }
.primary-nav a.nav-cta { background: var(--navy); color: var(--on-dark); margin-left: 8px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--white); border-radius: 12px; padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero: the track ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(70% 60% at 80% 100%, rgba(92, 185, 180, .28), transparent 70%), linear-gradient(180deg, var(--navy-deep), var(--navy) 60%, var(--navy-ink)); color: var(--on-dark); padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 8vw, 110px); }
.track { position: absolute; inset: 0; pointer-events: none; }
.lanes { width: 100%; height: 100%; display: block; }
.lane-lines path { stroke: rgba(255, 255, 255, .13); stroke-width: 2; }
.lane-inner { stroke: var(--teal); stroke-width: 3; stroke-opacity: .55; }
.lane-trail { stroke: url(#glow); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 220 2000; stroke-dashoffset: 220; animation: trail 7s linear infinite; }
.runner, .runner-glow { offset-path: path("M-40 620 C500 620 740 590 940 500 S1220 80 1500 70"); animation: run 7s linear infinite; }
.runner { fill: var(--white); stroke: var(--teal); stroke-width: 4; }
.runner-glow { fill: var(--teal); opacity: .35; animation-name: run, pulse; animation-duration: 7s, 1.4s; animation-timing-function: linear, ease-in-out; animation-iteration-count: infinite, infinite; }
.start-line rect { fill: rgba(255, 255, 255, .28); }
@keyframes run { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes trail { from { stroke-dashoffset: 220; } to { stroke-dashoffset: -2000; } }
@keyframes pulse { 0%, 100% { opacity: .22; r: 18; } 50% { opacity: .45; r: 28; } }
.hero-inner { position: relative; z-index: 1; }
.hero-inner > * { max-width: 720px; }
.eyebrow { font-family: var(--font-head); font-size: .88rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); margin: 0 0 20px; display: flex; align-items: center; gap: 14px; }
.lap { display: inline-block; padding: 5px 12px; border-radius: 8px; background: var(--teal); color: var(--navy-ink); font-size: .78rem; letter-spacing: .12em; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 .line2 { color: var(--teal); display: block; }
.lead { font-size: 1.2rem; color: var(--on-dark); max-width: 56ch; margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 42px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 26px; border-radius: 14px; font-family: var(--font-head); font-weight: 600; text-decoration: none; font-size: 1rem; border: 2px solid transparent; transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s; }
.btn-teal { background: var(--teal); color: var(--navy-ink); box-shadow: 0 10px 26px rgba(92, 185, 180, .35); }
.btn-outline { border-color: rgba(255, 255, 255, .6); color: var(--white); background: transparent; }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: var(--white); background: transparent; }
.split-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; overflow: hidden; background: rgba(23, 26, 69, .45); backdrop-filter: blur(6px); }
.split-strip > div { padding: 18px 20px; border-right: 1px solid rgba(255, 255, 255, .14); transition: background .3s; }
.split-strip > div:last-child { border-right: 0; }
.split-strip dt { font-family: var(--font-head); font-weight: 600; color: var(--teal); font-size: .95rem; margin-bottom: 2px; }
.split-strip dd { margin: 0; font-size: .92rem; color: var(--on-dark-soft); }

/* ---------- C-loop divider ---------- */
.loop-divider { display: flex; justify-content: center; align-items: center; height: 72px; position: relative; }
.loop-divider::before, .loop-divider::after { content: ""; position: absolute; top: 50%; height: 1px; width: calc(50% - 60px); background: var(--line); }
.loop-divider::before { left: 0; } .loop-divider::after { right: 0; }
.loop { width: 36px; height: 36px; border-radius: 50%; border: 8px solid var(--navy); display: block; }
.loop-a { border-right-color: transparent; }
.loop-b { border-color: var(--teal); border-left-color: transparent; margin-left: -14px; }

/* ---------- splits ---------- */
.split { padding: clamp(48px, 6vw, 88px) 0; position: relative; }
.split-grid { display: grid; grid-template-columns: 200px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split-timer { position: sticky; top: 96px; display: grid; gap: 2px; padding: 22px 22px 20px; border-radius: 20px; background: var(--mist); border: 1px solid var(--line); font-family: var(--font-head); }
.timer-label { font-family: var(--font-head); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--teal-deep); }
.timer-label-light { color: var(--teal); }
.timer-num { font-size: 3.6rem; font-weight: 800; line-height: 1; color: var(--navy); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.timer-num::after { content: ":00"; font-size: 1.4rem; font-weight: 600; color: var(--teal-deep); letter-spacing: 0; margin-left: 2px; }
.timer-name { font-weight: 600; color: var(--text-soft); font-size: 1rem; margin-top: 6px; }
.split-timer-light { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); }
.split-timer-light .timer-num { color: var(--white); }
.split-timer-light .timer-num::after { color: var(--teal); }
.split-timer-light .timer-label { color: var(--teal); }
.split-timer-light .timer-name { color: var(--on-dark-soft); }
.split-body > p { color: var(--text-soft); font-size: 1.08rem; max-width: 60ch; margin-bottom: 34px; }

/* start cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px 22px; border-top: 4px solid var(--teal); transition: transform .3s, box-shadow .3s, border-color .3s; }
.card p { margin: 0; color: var(--text-soft); font-size: .98rem; }
.card-icon { display: block; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px; background: var(--mist); position: relative; }
.card-icon::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 5px solid var(--navy); border-right-color: transparent; }
.ci-2::before { border-color: var(--teal-deep); border-left-color: transparent; border-right-color: var(--teal-deep); }
.ci-3::before { border-radius: 6px; border-right-color: var(--navy); background: var(--teal); }

/* mid-race dark */
.split-mid { background: linear-gradient(180deg, var(--navy), var(--navy-deep)); color: var(--on-dark); }
.split-mid::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 25%); }
.split-mid .wrap { position: relative; z-index: 1; }
.split-mid h2 { color: var(--white); }
.split-mid .split-body > p { color: var(--on-dark-soft); }
.stride-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.stride { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; padding: 22px 24px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: transform .3s, background .3s, border-color .3s; }
.stride h3 { color: var(--white); margin-bottom: .3em; }
.stride p { margin: 0; color: var(--on-dark-soft); }
.stride-num { width: 64px; height: 64px; border-radius: 50%; border: 8px solid var(--teal); border-right-color: transparent; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--white); }

/* quote band */
.quote-band { background: var(--teal-soft); padding: clamp(56px, 7vw, 96px) 0; position: relative; overflow: hidden; }
.quote-band::before { content: ""; position: absolute; left: -10%; right: -10%; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--navy) 0 28px, transparent 28px 44px); opacity: .25; }
.pull { margin: 0 auto; text-align: center; max-width: 860px; position: relative; background: var(--teal-soft); padding: 0 16px; }
.pull p { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.25; color: var(--navy); margin-bottom: 16px; letter-spacing: -.02em; }
.pull cite { font-style: normal; font-family: var(--font-head); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: var(--navy); }

/* finish track */
.finish-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.finish-track::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 3px; background: linear-gradient(90deg, var(--teal), var(--navy)); border-radius: 2px; }
.finish-step { position: relative; padding: 60px 18px 0 0; transition: transform .3s; }
.finish-step::before { content: ""; position: absolute; left: 0; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 5px solid var(--teal); transition: background .3s, border-color .3s; }
.finish-step span { display: block; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }
.finish-step p { margin: 0; color: var(--text-soft); font-size: .96rem; }
.finish-step-end::before { border-color: var(--navy); background: repeating-conic-gradient(var(--navy) 0 25%, var(--white) 0 50%) 0 0 / 10px 10px; border-radius: 6px; }

/* FAQ */
.split-faq { background: var(--mist-2); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-head { position: sticky; top: 96px; }
.faq-head p { color: var(--text-soft); }
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; background: none; border: 0; padding: 20px 22px; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--navy); cursor: pointer; line-height: 1.3; }
.faq-icon { position: relative; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; border: 5px solid var(--teal); border-right-color: transparent; transition: transform .35s, border-color .3s; }
.faq-item.open .faq-icon { transform: rotate(180deg); border-color: var(--navy); border-right-color: transparent; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 22px 20px; margin: 0; color: var(--text-soft); }
.faq-item.open .faq-a { max-height: 320px; }

/* contact */
.contact { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); background: var(--mist-2); }
.contact-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: var(--on-dark); border-radius: 28px; padding: clamp(32px, 5vw, 60px); box-shadow: 0 30px 60px rgba(42, 47, 123, .2); position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(92, 185, 180, .25); border-left-color: transparent; pointer-events: none; }
.contact-card > * { position: relative; z-index: 1; }
.contact-copy h2 { color: var(--white); }
.contact-copy p { color: var(--on-dark-soft); margin: 0; font-size: 1.08rem; }
.contact-actions { display: grid; gap: 12px; }
.contact-meta { margin: 6px 0 0; text-align: center; font-size: .92rem; color: var(--on-dark-soft); }

/* footer */
.site-footer { padding: 28px 0 36px; border-top: 1px solid var(--line); background: var(--white); font-size: .92rem; color: var(--text-soft); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-row p { margin: 0; }
.brand-small img { width: 32px; height: 32px; border-radius: 9px; }
.brand-small span { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.footer-link { font-family: var(--font-head); font-weight: 600; text-decoration: none; color: var(--navy); border-bottom: 2px solid var(--teal); }

/* ---------- reveal (gated behind .js) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.in { transform: none; }

/* ---------- hover life (after .reveal.in) ---------- */
@media (hover: hover) and (pointer: fine) {
  .primary-nav a:hover { background: var(--mist); transform: translateY(-1px); }
  .primary-nav a.nav-cta:hover { background: var(--teal); color: var(--navy-ink); }
  .btn:hover { transform: translateY(-3px); }
  .btn-teal:hover { background: #74c9c4; box-shadow: 0 16px 32px rgba(92, 185, 180, .45); }
  .btn-outline:hover, .btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
  .split-strip > div:hover { background: rgba(92, 185, 180, .18); }
  .card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(42, 47, 123, .14); border-top-color: var(--navy); }
  .stride:hover { transform: translateX(8px); background: rgba(255, 255, 255, .11); border-color: var(--teal); }
  .finish-step:hover { transform: translateY(-6px); }
  .finish-step:hover::before { background: var(--teal); }
  .faq-item:hover { transform: translateX(6px); border-color: var(--teal); box-shadow: 0 12px 28px rgba(42, 47, 123, .1); }
  .footer-link:hover { border-bottom-color: var(--navy); }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .split-grid { grid-template-columns: 1fr; }
  .split-timer { position: static; display: flex; align-items: baseline; gap: 14px; padding: 14px 18px; }
  .timer-name { margin-top: 0; }
  .cards { grid-template-columns: 1fr; }
  .finish-track { grid-template-columns: 1fr; gap: 10px; }
  .finish-track::before { left: 12px; right: auto; top: 24px; bottom: 24px; width: 3px; height: auto; background: linear-gradient(180deg, var(--teal), var(--navy)); }
  .finish-step { padding: 8px 0 8px 48px; }
  .finish-step::before { top: 12px; left: 0; }
  .faq-grid, .contact-card { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .primary-nav { position: absolute; top: 72px; left: 0; right: 0; display: grid; gap: 4px; padding: 12px 20px 18px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(42, 47, 123, .14); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
  .primary-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .primary-nav a { padding: 12px 14px; font-size: 1.05rem; }
  .primary-nav a.nav-cta { margin: 6px 0 0; text-align: center; }
  .hero { padding-top: 56px; }
  .lead { font-size: 1.08rem; }
  .cta-row .btn { flex: 1 1 100%; }
  .split-strip { grid-template-columns: 1fr; }
  .split-strip > div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .split-strip > div:last-child { border-bottom: 0; }
  .stride { grid-template-columns: 52px 1fr; gap: 14px; padding: 18px; }
  .stride-num { width: 52px; height: 52px; border-width: 7px; font-size: 1.2rem; }
  .contact-card { border-radius: 22px; padding: 28px 22px; }
  .contact-card::after { width: 180px; height: 180px; right: -70px; top: -70px; border-width: 26px; }
  .footer-row { justify-content: center; text-align: center; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .runner, .runner-glow, .lane-trail { animation: none; }
  .runner, .runner-glow { offset-distance: 62%; }
  .lane-trail { stroke-dashoffset: -1100; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .stride, .faq-item, .finish-step { transition: none; }
}
