/* Redesigned: How to Apply — animations + responsive */
.how-page {
  overflow: visible;
  background: var(--c-white);
  color: var(--c-primary);
}

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

.how-page h1,
.how-page h2,
.how-page h3,
.how-page p,
.how-page ol,
.how-page ul {
  margin-top: 0;
}

.how-page p {
  font-size: 15px;
  line-height: 1.7;
}

.how-page svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.how-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #b9d9ef;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.2;
  text-transform: uppercase;
}

.how-kicker::before {
  width: 30px;
  height: 2px;
  background: var(--c-accent);
  content: "";
}

.how-kicker-dark {
  color: var(--bal-blue);
}

.how-hero {
  position: relative;
  isolation: isolate;
  min-height: 500px;
  overflow: hidden;
  background: var(--c-primary);
  color: var(--c-white);
  display: flex;
  align-items: center;
}

.how-hero>img,
.how-hero-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.how-hero>img {
  object-fit: cover;
  object-position: center;
}

.how-hero-overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 25, 53, .97) 0%, rgba(18, 41, 76, .88) 51%, rgba(18, 41, 76, .28) 82%), linear-gradient(0deg, rgba(10, 25, 53, .58), transparent 58%);
}

.how-hero-inner {
  display: flex;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.how-hero-copy {
  max-width: 780px;
}

.how-hero h1 {
  max-width: 780px;
  margin: 22px 0;
  color: var(--c-white);
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.how-hero h1 em,
.how-section-heading h2 em,
.how-ready h2 em {
  color: var(--c-accent);
  font-style: normal;
}

.how-hero-copy>p {
  max-width: 690px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .8);
  font-size: 16px;
  line-height: 1.75;
}

.how-action {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 7px;
  padding: 12px 32px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(27, 42, 74, .16);
  transition: background-color .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.how-action-primary {
  background: var(--c-accent);
  color: var(--c-primary);
}

.how-action-primary:hover,
.how-action-primary:focus-visible {
  background: #70add7;
  box-shadow: 0 12px 28px rgba(27, 42, 74, .22);
  transform: translateY(-2px);
}

.how-process {
  padding: clamp(72px, 8vw, 108px) 0;
  scroll-margin-top: 100px;
}

.how-process-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(500px, 1.28fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.how-section-heading {
  position: sticky;
  top: 120px;
}

.how-section-heading h2 {
  max-width: 480px;
  margin: 16px 0 0;
  color: var(--c-primary);
  font-size: clamp(36px, 4.2vw, 55px);
  letter-spacing: -.038em;
  line-height: 1.07;
}

.how-steps {
  position: relative;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--c-line);
  list-style: none;
}

.how-steps li {
  display: grid;
  grid-template-columns: 48px 54px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  min-height: 160px;
  padding: 30px 0;
  border-bottom: 1px solid var(--c-line);
}

.how-step-number {
  padding-top: 16px;
  color: var(--c-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.how-step-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(22, 96, 143, .34);
  border-radius: 8px;
  background: var(--c-surface);
  color: var(--bal-blue);
}

.how-step-icon svg {
  width: 24px;
  height: 24px;
}

.how-step-copy h3 {
  margin: 3px 0 8px;
  color: var(--c-primary);
  font-size: 22px;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.how-step-copy p {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--c-muted);
}

.how-ready {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(74px, 8vw, 110px) 0;
  background: var(--c-primary);
  color: var(--c-white);
}

.how-ready-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 31, 61, .98), rgba(20, 45, 82, .88)), url("./career-planning.jpg") center 55% / cover no-repeat fixed;
  opacity: .98;
}

.how-ready-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .7fr);
  gap: clamp(56px, 9vw, 130px);
  align-items: center;
}

.how-ready h2 {
  max-width: 570px;
  margin: 17px 0 35px;
  color: var(--c-white);
  font-size: clamp(36px, 4.2vw, 54px);
  letter-spacing: -.038em;
  line-height: 1.07;
}

.how-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 35px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-check-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 76px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .9);
}

.how-check-list li>span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  color: #b9d9ef;
  font-size: 13px;
}

.how-check-list strong {
  font-size: 14px;
  line-height: 1.45;
}

.how-after-submit {
  position: relative;
  padding: 42px 38px;
  border-top: 3px solid var(--c-accent);
  background: var(--c-white);
  color: var(--c-primary);
}

.how-after-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 30px;
  place-items: center;
  border: 1px solid rgba(22, 96, 143, .3);
  border-radius: 8px;
  color: var(--bal-blue);
}

.how-after-icon svg {
  width: 25px;
  height: 25px;
}

.how-after-label,
.how-safety-label,
.how-employer-inner>div>span {
  color: var(--c-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.how-after-submit h3 {
  margin: 10px 0 14px;
  font-size: 30px;
  letter-spacing: -.025em;
}

.how-after-submit p {
  margin-bottom: 0;
  color: var(--c-muted);
}

.how-safety {
  padding: 62px 0;
  background: var(--c-surface);
}

.how-safety-inner {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 35px 0;
}

.how-safety-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(196, 57, 46, .45);
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-alert);
}

.how-safety-icon svg {
  width: 26px;
  height: 26px;
}

.how-safety-label {
  color: var(--c-alert);
}

.how-safety h2 {
  margin: 8px 0;
  color: var(--c-primary);
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -.025em;
  line-height: 1.15;
}

.how-safety p {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--c-muted);
}

.how-employer {
  background: var(--bal-blue);
  color: var(--c-white);
}

.how-employer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  min-height: 250px;
  padding-top: 45px;
  padding-bottom: 45px;
}

.how-employer h2 {
  margin: 10px 0;
  color: var(--c-white);
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -.03em;
  line-height: 1.1;
}

.how-employer p {
  max-width: 820px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .76);
}

.how-employer-inner>a {
  display: inline-flex;
  min-width: 150px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  background: var(--c-white);
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(11, 32, 61, .18);
  transition: background-color .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.how-employer-inner>a:hover,
.how-employer-inner>a:focus-visible {
  background: transparent;
  color: var(--c-white);
  box-shadow: 0 12px 28px rgba(11, 32, 61, .26);
  transform: translateY(-2px);
}

.how-page a:focus-visible {
  outline: 3px solid rgba(74, 144, 196, .58);
  outline-offset: 3px;
}

.reveal-ready .how-page .how-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms), transform .6s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-ready .how-page .how-reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (max-width: 1023px) {
  .how-process-layout {
    grid-template-columns: minmax(235px, .7fr) minmax(420px, 1.3fr);
    gap: 45px;
  }

  .how-ready-layout {
    grid-template-columns: 1fr;
  }

  .how-ready-copy {
    max-width: 780px;
  }

  .how-after-submit {
    max-width: 680px;
  }
}

@media (max-width: 767px) {

  .how-hero>img {
    object-position: 58% center;
  }

  .how-hero-overlay {
    background: linear-gradient(0deg, rgba(10, 25, 53, .98) 0%, rgba(18, 41, 76, .88) 62%, rgba(18, 41, 76, .36) 100%);
  }



  .how-hero h1 {
    margin-top: 16px;
    font-size: clamp(38px, 11vw, 52px);
  }

  .how-hero-copy>p {
    font-size: 14px;
    line-height: 1.68;
  }

  .how-process-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .how-section-heading {
    position: static;
  }

  .how-check-list {
    grid-template-columns: 1fr;
  }

  .how-employer-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .how-employer-inner>a {
    justify-self: start;
  }
}

@media (max-width: 520px) {

  .how-action,
  .how-employer-inner>a {
    width: 100%;
  }

  .how-hero {
    min-height: 370px;
  }

  .how-process,
  .how-ready {
    padding: 58px 0;
  }

  .how-section-heading h2,
  .how-ready h2 {
    font-size: 32px;
  }

  .how-steps li {
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 15px;
    min-height: 0;
    padding: 24px 0;
  }

  .how-step-number {
    display: none;
  }

  .how-step-icon {
    width: 45px;
    height: 45px;
  }

  .how-step-icon svg {
    width: 21px;
    height: 21px;
  }

  .how-step-copy h3 {
    font-size: 19px;
  }

  .how-ready-layout {
    gap: 38px;
  }

  .how-after-submit {
    padding: 30px 22px;
  }

  .how-after-submit h3 {
    font-size: 26px;
  }

  .how-safety {
    padding: 42px 0;
  }

  .how-safety-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .how-safety h2 {
    font-size: 25px;
  }

  .how-employer-inner {
    min-height: 0;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .how-employer h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .how-page *,
  .how-page *::before,
  .how-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal-ready .how-page .how-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}