/* Figma-aligned landing content. Navigation is intentionally not overridden. */
.registration-strip {
  display: grid;
  place-items: center;
  min-height: clamp(58px, 5.625vw, 108px);
  padding: clamp(14px, 2.08vw, 40px) 0;
  background: var(--yellow);
  color: var(--navy);
  text-align: center;
}

.registration-strip p {
  font-family: var(--ff-display);
  font-size: clamp(18px, 1.46vw, 28px);
  line-height: 1;
}

.registration-strip p span {
  display: inline-block;
  margin-inline: clamp(6px, .55vw, 11px);
}

.milestones__lead {
  max-width: 1207px;
  font-size: clamp(15px, 1.25vw, 24px);
  line-height: 1.1;
}

.milestones-wheel {
  width: min(100%, 1020px);
}

.fees__lead {
  max-width: 1106px;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 1.1;
}

.journey {
  padding: clamp(42px, 3.65vw, 70px) 0;
}

.rewards__lead {
  max-width: min(1200px, 100%);
}

.rewards .pills {
  max-width: none;
  width: 100%;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(10px, 1.1vw, 18px);
}

.rewards .pills--r2 {
  margin-top: clamp(10px, 1vw, 16px);
}

.rewards .pills li {
  white-space: nowrap;
  overflow: visible;
  flex: 0 0 auto;
}

.enroll .section-lead {
  margin-bottom: clamp(22px, 2.1vw, 40px);
}

/* Figma: 2x2 Hug cards — icon top-left; title/note left-aligned */
.egrid {
  align-items: stretch;
}

.ecard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  min-height: 240px;
  height: auto;
  overflow: visible;
  padding: 24px 32px 28px;
  gap: 8px;
}

.enroll .ecard__icon {
  position: relative;
  top: auto;
  left: auto;
  width: 54px;
  height: 54px;
  margin: 0 0 12px;
  z-index: 1;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.enroll .ecard__icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
}

.enroll .ecard__icon i {
  display: none;
}

.ecard h3 {
  margin-top: 0;
  text-align: left;
  width: 100%;
  max-width: none;
  overflow: visible;
}

.ecard__line {
  display: block;
}

.ecard__note {
  text-align: left;
  width: 100%;
  overflow: visible;
  max-height: none;
}

/* Quest Journey step badge — exact concentric shape (all steps) */
.qstep__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(120px, 10.6vw, 206px);
  aspect-ratio: 1;
  margin: 0 auto clamp(10px, 0.94vw, 18px);
  box-sizing: border-box;
  border-radius: 50%;
  /* thin outer stroke + white spacer behind the thick band */
  background: #fff;
  border: 2.5px solid var(--ring);
}

.qstep__ring::before {
  content: "";
  position: absolute;
  /* white gap between outer stroke and thick color band */
  inset: clamp(9px, 0.85vw, 14px);
  border-radius: 50%;
  background: var(--ring);
  z-index: 1;
}

.qstep__ring::after {
  content: "";
  position: absolute;
  /* white center; thick band ≈ half the center radius */
  inset: clamp(28px, 2.35vw, 46px);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.14);
  z-index: 2;
}

.qstep__dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: clamp(12px, 1vw, 17px);
  height: clamp(12px, 1vw, 17px);
  border-radius: 50%;
  box-sizing: border-box;
  background: #fff;
  border: 2px solid var(--ring);
  transform: translate(-50%, -50%);
  z-index: 4;
}

.qstep__dot--r {
  left: auto;
  right: 0;
  transform: translate(50%, -50%);
}

.qstep__num {
  position: relative;
  z-index: 3;
  font-family: var(--ff-body);
  font-weight: 800;
  font-size: clamp(32px, 2.8vw, 56px);
  line-height: 1;
  letter-spacing: 0;
  color: #2E2E2E;
  text-align: center;
}

.qstep p {
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

/* Step 01 only — Register CTA: idle pulse + distinct hover */
.qstep--cta .qstep__cta {
  display: grid;
  place-items: center;
  margin: 0 auto clamp(10px, 0.94vw, 18px);
  width: fit-content;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 50%;
  position: relative;
}

.qstep--cta .qstep__cta .qstep__ring {
  margin-bottom: 0;
}

/* Soft expanding ring so visitors notice it's clickable */
.qstep--cta .qstep__cta::before,
.qstep--cta .qstep__cta::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 183, 0, 0.65);
  pointer-events: none;
  animation: qstepCtaRipple 2.4s ease-out infinite;
}

.qstep--cta .qstep__cta::after {
  animation-delay: 1.2s;
}

.qstep--cta .qstep__ring {
  animation: qstepCtaBob 2.4s ease-in-out infinite;
  will-change: transform;
}

@keyframes qstepCtaRipple {
  0% {
    transform: scale(0.88);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@keyframes qstepCtaBob {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.04);
  }
}

/* Unique hover for 01 — others keep the shared lift */
.qstep.qstep--cta:hover .qstep__ring,
.qstep.qstep--cta .qstep__cta:hover .qstep__ring,
.qstep.qstep--cta .qstep__cta:focus-visible .qstep__ring {
  animation: none;
  transform: scale(1.14) rotate(-8deg);
  filter: brightness(1.08) saturate(1.15);
  box-shadow: 0 12px 28px rgba(255, 183, 0, 0.48);
  transition: transform 0.28s cubic-bezier(0.34, 1.45, 0.64, 1),
    box-shadow 0.28s ease, filter 0.28s ease;
}

.qstep.qstep--cta:hover .qstep__cta::before,
.qstep.qstep--cta:hover .qstep__cta::after,
.qstep.qstep--cta .qstep__cta:focus-visible::before,
.qstep.qstep--cta .qstep__cta:focus-visible::after {
  animation: none;
  opacity: 0;
}

.qstep--cta .qstep__cta:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .qstep--cta .qstep__ring,
  .qstep--cta .qstep__cta::before,
  .qstep--cta .qstep__cta::after {
    animation: none;
  }

  .qstep.qstep--cta:hover .qstep__ring,
  .qstep.qstep--cta .qstep__cta:hover .qstep__ring {
    transform: scale(1.08);
  }
}

/* Figma hero tagline: two centered lines, no vertical clipping */
.hero__tag {
  line-height: 1.35;
  overflow: visible;
  color: #fff;
  max-width: min(1232px, 100%);
  padding-inline: clamp(8px, 1.2vw, 16px);
}

.hero__tag-line {
  display: block;
}

.enroll > .container > .btn {
  width: min(100%, 593px);
}

.closing {
  padding-top: clamp(42px, 4.2vw, 80px);
  padding-bottom: 0;
}

.closing__inner h2 {
  margin-bottom: clamp(18px, 1.4vw, 27px);
}

.closing__btns {
  margin-bottom: clamp(14px, 1.2vw, 23px);
}

.closing__btns .btn {
  width: min(100%, 440px);
}

.closing__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(18px, 2.2vw, 42px);
}

.closing__links .arrow-link {
  font-size: clamp(12px, .83vw, 16px);
}

.ck__text,
.ck__step--top .ck__text,
.ck__step--bottom .ck__text {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  width: 180px;
  max-width: 180px;
  color: #fff;
}

@media (max-width: 780px) {
  .registration-strip p {
    line-height: 1.25;
  }

  .milestones__lead br,
  .fees__lead br,
  .rewards__lead br {
    display: none;
  }

  .ck__text,
  .ck__step--top .ck__text,
  .ck__step--bottom .ck__text {
    width: min(180px, 92%);
    max-width: min(180px, 92%);
    font-size: 14px;
  }

  .rewards .pills {
    flex-wrap: wrap;
  }

  .rewards .pills li {
    white-space: normal;
  }
}

/* ── Partners logos (below hero, continuous marquee) ──────── */
.partners {
  padding: clamp(40px, 4.5vw, 80px) 0;
  background: #fff;
  overflow: hidden;
}

.partners__title {
  margin: 0 auto clamp(24px, 2.8vw, 40px);
  max-width: 855px;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 72px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #000;
  text-align: center;
}

.partners__marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.partners__track {
  display: flex;
  align-items: center;
  /* margin (not gap) so -50% lands exactly on the duplicate set */
  width: max-content;
  margin: 0;
  padding: 16px 0 20px;
  list-style: none;
  animation: partners-marquee 32s linear infinite;
  will-change: transform;
}

.partners__marquee:hover .partners__track,
.partners__marquee:focus-within .partners__track {
  animation-play-state: paused;
}

.partners__track li {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  margin-right: clamp(48px, 6.5vw, 100px);
  overflow: visible;
}

.partners__track img {
  display: block;
  width: auto;
  height: auto;
  max-height: clamp(110px, 15vw, 180px);
  max-width: min(180px, 44vw);
  object-fit: contain;
  object-position: center;
}

@keyframes partners-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .partners__marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .partners__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
}

/* ── "Read the FAQ" prompt under The Quest Journey ─────────── */
.journey__faq {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px clamp(14px, 1.6vw, 24px);
  margin: clamp(28px, 3vw, 52px) 0 0;
  text-align: center;
}

.journey__faq span {
  font-family: var(--ff-display);
  font-size: clamp(20px, 1.9vw, 30px);
  line-height: 1.2;
  color: var(--navy);
}

/* ── Enquiry line above the closing call-to-action (plain text + link) ── */
.closing__enquiry {
  margin: 0 0 clamp(22px, 2.4vw, 44px);
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--body);
  overflow-wrap: anywhere;
}

.closing__enquiry a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.closing__enquiry a:hover {
  color: var(--navy-deep);
  text-decoration-thickness: 2px;
}

.closing__enquiry a:focus-visible {
  outline: 3px solid var(--btn-sky);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Laravel shell integration: the page scopes landing.css under #career-quest-landing,
   so the values below repeat the new UI rules with the same scope to take precedence. */

/* Registration strip (copy is set in the blade; sizes match the design, scaled on small screens). */
#career-quest-landing .registration-strip p.registration-strip__lead {
  margin: 0;
  font-family: Boogaloo, cursive;
  font-weight: 400;
  font-size: clamp(20px, 2.8vw, 40px);
  line-height: 1.5;
  letter-spacing: -0.02em;
  text-align: center;
}

/* Partners panel: keep it above the shared-site footer artwork. */
#career-quest-landing .partners {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 4.5vw, 80px) 0;
  background: #fff;
  overflow: hidden;
}

#career-quest-landing .partners__title {
  margin: 0 auto clamp(24px, 2.8vw, 40px);
  max-width: 855px;
  color: #000;
  font-family: var(--ff-display);
  font-size: clamp(36px, 4.2vw, 72px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
}

#career-quest-landing .partners__marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

#career-quest-landing .partners__track {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0;
  padding: 16px 0 20px;
  list-style: none;
  animation: partners-marquee 32s linear infinite;
}

#career-quest-landing .partners__track li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: auto;
  margin-right: clamp(48px, 6.5vw, 100px);
  overflow: visible;
}

#career-quest-landing .partners__track img {
  display: block;
  width: auto;
  height: auto;
  max-height: clamp(110px, 15vw, 180px);
  max-width: min(180px, 44vw);
  object-fit: contain;
  object-position: center;
}

/* Quest Journey step badge (concentric shape). */
#career-quest-landing .journey {
  padding: clamp(42px, 3.65vw, 70px) 0;
}

#career-quest-landing .qstep__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(120px, 10.6vw, 206px);
  aspect-ratio: 1;
  margin: 0 auto clamp(10px, 0.94vw, 18px);
  box-sizing: border-box;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--ring);
}

#career-quest-landing .qstep__ring::before {
  content: "";
  position: absolute;
  inset: clamp(9px, 0.85vw, 14px);
  border-radius: 50%;
  background: var(--ring);
  z-index: 1;
}

#career-quest-landing .qstep__ring::after {
  content: "";
  position: absolute;
  inset: clamp(28px, 2.35vw, 46px);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.14);
  z-index: 2;
}

#career-quest-landing .qstep__dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: clamp(12px, 1vw, 17px);
  height: clamp(12px, 1vw, 17px);
  border-radius: 50%;
  box-sizing: border-box;
  background: #fff;
  border: 2px solid var(--ring);
  transform: translate(-50%, -50%);
  z-index: 4;
}

#career-quest-landing .qstep__dot--r {
  left: auto;
  right: 0;
  transform: translate(50%, -50%);
}

#career-quest-landing .qstep__num {
  position: relative;
  z-index: 3;
  font-family: var(--ff-body);
  font-weight: 800;
  font-size: clamp(32px, 2.8vw, 56px);
  line-height: 1;
  letter-spacing: 0;
  color: #2E2E2E;
  text-align: center;
}

#career-quest-landing .qstep p {
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

/* Enquiry line: repeat the design rules with the shell scope so they win over landing.css. */
#career-quest-landing .closing__enquiry {
  margin: 0 0 clamp(22px, 2.4vw, 44px);
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--body);
  text-align: center;
  overflow-wrap: anywhere;
}

#career-quest-landing .closing__enquiry a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#career-quest-landing .closing__enquiry a:hover {
  color: var(--navy-deep);
  text-decoration-thickness: 2px;
}

/* Rewards pills: repeat with the shell scope so they win over #career-quest-landing .pills in landing.css. */
#career-quest-landing .rewards .pills {
  max-width: none;
  width: 100%;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(10px, 1.1vw, 18px);
}

#career-quest-landing .rewards .pills--r2 {
  margin-top: clamp(10px, 1vw, 16px);
}
