:root {
  --hp-navy: #052858;
  --hp-navy-deep: #031d43;
  --hp-blue: #0b5fc1;
  --hp-teal: #17c7c9;
  --hp-ink: #0b2748;
  --hp-muted: #5d7187;
  --hp-line: #d8e5ee;
  --hp-soft: #eef8fb;
  --hp-card: #ffffff;
  --hp-radius: 20px;
  --hp-shadow: 0 18px 45px rgba(6, 40, 88, .09);
  --hp-container: 1328px;
}

.home-transfer { margin: 0; overflow-x: hidden; background: #fff; color: var(--hp-ink); }
.home-transfer * { box-sizing: border-box; }
.home-transfer img { display: block; max-width: 100%; height: auto; }
.hp-container { width: min(var(--hp-container), calc(100% - 64px)); margin-inline: auto; }
.hp-section { padding: 5.5rem 0; }
.hp-section--soft { background: var(--hp-soft); }
.hp-section--navy { background: var(--hp-navy-deep); color: #fff; }
.hp-eyebrow { display: block; margin: 0 0 .75rem; color: #087f9b; font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.hp-section--navy .hp-eyebrow { color: #43d9d9; }
.hp-heading { margin: 0; color: inherit; font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em; }
.hp-lead { max-width: 680px; margin: 1rem 0 0; color: var(--hp-muted); font-size: 1.05rem; line-height: 1.75; }
.hp-section--navy .hp-lead { color: #c3d5e6; }
.hp-section-head { margin-bottom: 2.25rem; }
.hp-section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.hp-text-link { color: var(--hp-blue); font-weight: 750; text-decoration: none; }
.hp-text-link:hover { text-decoration: underline; }

.home-transfer .v1-header { min-height: 68px; padding: 0 !important; border-bottom: 1px solid #e6eef4; background: rgba(255,255,255,.98) !important; box-shadow: 0 4px 18px rgba(5,40,88,.05); }
.home-transfer .v1-header__top { width: min(var(--hp-container), calc(100% - 64px)); min-height: 68px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; }
.home-transfer .v1-brand img { width: 104px; height: 52px; object-fit: contain; object-position: left center; }
.home-transfer .v1-header__nav { width: auto; display: flex; align-items: center; justify-content: center; gap: 1rem; border: 0; }
.home-transfer .v1-header__nav a { min-height: 44px; padding: .6rem 0; border-bottom: 2px solid transparent; color: var(--hp-ink) !important; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.home-transfer .v1-header__nav a:hover,
.home-transfer .v1-header__nav a[aria-current="page"] { color: var(--hp-blue) !important; border-bottom-color: var(--hp-teal); }
.home-transfer .v1-header__actions { display: flex; align-items: center; gap: .65rem; }
.home-transfer .v1-search { width: 44px; min-height: 44px; padding: 0; border: 0; color: var(--hp-ink) !important; font-size: 0; }
.home-transfer .v1-search::before { content: "⌕"; font-size: 1.55rem; line-height: 1; }
.home-transfer .v1-counsellor { min-height: 46px; padding: .7rem 1.2rem; border-radius: 8px; background: var(--hp-blue) !important; color: #fff !important; font-size: .87rem; }
.home-transfer .v1-menu { width: 44px; min-height: 44px; padding: 0; border: 0; font-size: 0; }
.home-transfer .v1-menu::before { content: "☰"; font-size: 1.25rem; }

.hp-carousel { position: relative; min-height: 692px; overflow: hidden; background: var(--hp-navy-deep); color: #fff; }
.hp-slide { position: absolute; inset: 0; display: grid; opacity: 0; visibility: hidden; transition: opacity .65s ease; }
.hp-slide[data-active="true"] { opacity: 1; visibility: visible; z-index: 1; }
.home-transfer .hp-slide__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-slide__image--students { object-position: 58% center; }
.hp-slide__image--nurse { object-position: 62% center; }
.hp-slide__image--nku { object-position: 58% center; }
.hp-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,24,58,.98) 0%, rgba(4,33,75,.9) 39%, rgba(4,34,75,.44) 69%, rgba(4,34,75,.08) 100%); }
.hp-slide__inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: 692px; padding: 5.5rem 0 6.5rem; }
.hp-slide__content { max-width: 640px; }
.hp-slide .hp-eyebrow { color: #40d9d5; }
.hp-slide h1, .hp-slide h2 { max-width: 11ch; margin: 0; color: #fff; font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1.06; letter-spacing: -.045em; }
.hp-slide__lead { margin: 1.35rem 0 0; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.25; }
.hp-slide__copy { max-width: 610px; margin: 1.15rem 0 0; color: #e3edf5; font-size: 1.06rem; line-height: 1.7; }
.hp-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.hp-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .72rem 1.25rem; border: 1px solid transparent; border-radius: 8px; background: var(--hp-blue); color: #fff !important; font-size: .875rem; font-weight: 750; line-height: 1.2; text-decoration: none !important; cursor: pointer; }
.hp-button:hover { background: #084f9f; transform: translateY(-1px); }
.hp-button--light { background: #fff; color: var(--hp-blue) !important; }
.hp-button--light:hover { background: #f1f7fb; }
.hp-button--outline { border-color: rgba(255,255,255,.52); background: rgba(3,29,67,.22); color: #fff !important; }
.hp-button--outline:hover { background: rgba(255,255,255,.12); }
.hp-button--secondary { border-color: #bfd1df; background: #fff; color: var(--hp-ink) !important; }
.hp-button--secondary:hover { background: #f4f8fb; }
.hp-carousel__controls { position: absolute; z-index: 4; left: 50%; bottom: 1.4rem; display: flex; align-items: center; gap: .75rem; transform: translateX(-50%); }
.hp-carousel__arrow { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.38); border-radius: 12px; background: rgba(4,28,65,.35); color: #fff; font-size: 1.25rem; cursor: pointer; }
.hp-carousel__dots { display: flex; gap: .45rem; }
.hp-carousel__dot { width: 11px; height: 11px; padding: 0; border: 1px solid #fff; border-radius: 999px; background: transparent; cursor: pointer; }
.hp-carousel__dot[aria-current="true"] { width: 34px; background: var(--hp-teal); border-color: var(--hp-teal); }

.hp-pathways { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.15rem; }
.hp-card { overflow: hidden; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); background: var(--hp-card); box-shadow: 0 10px 28px rgba(6,40,88,.065); transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.hp-card:hover { transform: translateY(-4px); border-color: #9bc7db; box-shadow: var(--hp-shadow); }
.hp-pathway { display: flex; min-height: 478px; flex-direction: column; color: var(--hp-ink) !important; text-decoration: none !important; }
.home-transfer .hp-pathway__image { aspect-ratio: 16 / 11; width: 100%; object-fit: cover; }
.hp-pathway__body { display: flex; flex: 1; flex-direction: column; padding: 1.35rem; }
.hp-pathway h3 { margin: 0; font-size: 1.3rem; }
.hp-pathway p { margin: .75rem 0 1.25rem; color: var(--hp-muted); line-height: 1.65; }
.hp-pathway strong { margin-top: auto; color: var(--hp-blue); }

.hp-destinations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; }
.hp-destination { position: relative; min-height: 270px; overflow: hidden; border-radius: var(--hp-radius); color: #fff !important; text-decoration: none !important; box-shadow: 0 14px 30px rgba(0,0,0,.17); }
.home-transfer .hp-destination img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.hp-destination::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,19,44,.93) 0%, rgba(2,19,44,.13) 73%); }
.hp-destination:hover img { transform: scale(1.035); }
.hp-destination__body { position: absolute; z-index: 2; inset: auto 0 0; padding: 1.35rem; }
.hp-destination__path { display: inline-flex; padding: .3rem .55rem; border-radius: 999px; background: rgba(23,199,201,.18); color: #a9f5f2; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hp-destination h3 { margin: .65rem 0 .25rem; color: #fff; font-size: 1.45rem; }
.hp-destination strong { font-size: .88rem; }

.hp-nku { display: grid; grid-template-columns: 1.02fr .98fr; gap: 3.25rem; align-items: start; }
.hp-nku__gallery { display: grid; grid-template-columns: 3fr 2fr; gap: .8rem; }
.home-transfer .hp-nku__gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--hp-radius); }
.hp-nku__gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.hp-nku__gallery img:not(:first-child) { aspect-ratio: 4 / 3; }
.hp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin: 1.35rem 0 0; padding: 0; list-style: none; }
.hp-facts li { padding: .75rem .85rem; border-radius: 12px; background: var(--hp-soft); color: #244663; font-size: .88rem; }
.hp-certificate-card { display: grid; grid-template-columns: 150px 1fr; gap: 1.15rem; margin-top: 1.35rem; overflow: hidden; border: 1px solid #bcdce8; border-radius: var(--hp-radius); background: #effbfe; box-shadow: 0 10px 28px rgba(6,40,88,.07); }
.hp-certificate-card__preview { min-height: 215px; display: grid; place-items: center; overflow: hidden; background: #deeff4; }
.hp-certificate-card__preview canvas { display: block; max-width: 100%; height: auto; background: #fff; }
.hp-certificate-card__body { align-self: center; padding: 1.1rem 1.1rem 1.1rem 0; }
.hp-certificate-card__body h3 { margin: 0; font-size: 1.05rem; }
.hp-certificate-card__body p { margin: .55rem 0 1rem; color: var(--hp-muted); font-size: .86rem; line-height: 1.55; }
.hp-certificate-error { padding: 1rem; color: #6a3540; font-size: .85rem; text-align: center; }

.hp-trust { display: grid; grid-template-columns: .92fr 1.08fr; gap: 3rem; align-items: center; }
.home-transfer .hp-trust__image { width: 100%; aspect-ratio: 3 / 2; margin-top: 1.8rem; border-radius: var(--hp-radius); object-fit: cover; }
.hp-trust__cards { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.hp-trust__card { min-height: 176px; padding: 1.4rem; border: 1px solid rgba(127,189,216,.26); border-radius: 18px; background: rgba(4,35,78,.56); }
.hp-trust__card:last-child { grid-column: 1 / -1; min-height: 150px; }
.hp-trust__icon { color: var(--hp-teal); font-weight: 900; }
.hp-trust__card h3 { margin: 1rem 0 .5rem; color: #fff; font-size: 1.15rem; }
.hp-trust__card p { margin: 0; color: #bdd1e2; line-height: 1.6; }
.hp-b2b { padding: 3.3rem 0; background: #dff8fb; }
.hp-b2b__card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem; border: 1px solid #c3e5ec; border-radius: var(--hp-radius); background: #fff; box-shadow: 0 10px 30px rgba(6,40,88,.05); }
.hp-b2b h2 { margin: 0; font-size: 2rem; }
.hp-b2b p { max-width: 760px; margin: .6rem 0 0; color: var(--hp-muted); line-height: 1.65; }

.hp-journey { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; margin-top: 2.3rem; counter-reset: step; }
.hp-journey article { min-height: 205px; padding: 1.25rem; border: 1px solid var(--hp-line); border-radius: 18px; background: #fff; counter-increment: step; }
.hp-journey article::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 2.2rem; color: var(--hp-teal); font-weight: 900; }
.hp-journey h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.hp-journey a { color: var(--hp-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hp-journey a:visited { color: var(--hp-blue); }
.hp-journey p { margin: .65rem 0 0; color: var(--hp-muted); font-size: .88rem; line-height: 1.55; }
.hp-resources-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); background: #fff; box-shadow: 0 10px 30px rgba(6,40,88,.05); }
.hp-resources-card p { max-width: 740px; margin: .7rem 0 0; color: var(--hp-muted); line-height: 1.65; }
.hp-faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 3rem; }
.hp-faq details { border-bottom: 1px solid var(--hp-line); }
.hp-faq summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 750; cursor: pointer; list-style: none; }
.hp-faq summary::after { content: "+"; color: var(--hp-blue); font-size: 1.35rem; }
.hp-faq details[open] summary::after { content: "–"; }
.hp-faq p { margin: 0 0 1.25rem; color: var(--hp-muted); line-height: 1.7; }
.hp-final { text-align: center; }
.hp-final .hp-lead { margin-inline: auto; }
.hp-final .hp-actions { justify-content: center; }

.hp-cert-dialog { width: min(1100px, calc(100% - 2rem)); height: min(94dvh, 900px); max-width: none; max-height: none; padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: #fff; color: var(--hp-ink); box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.hp-cert-dialog::backdrop { background: rgba(2,16,39,.76); }
.hp-cert-dialog__shell { height: 100%; display: flex; flex-direction: column; padding: 1.5rem; }
.hp-cert-dialog__head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.hp-cert-dialog h2 { margin: 0; font-size: 1.65rem; }
.hp-cert-dialog__description { max-width: 760px; margin: .5rem 0 0; color: var(--hp-muted); line-height: 1.55; }
.hp-cert-dialog__close { width: 44px; height: 44px; flex: 0 0 auto; border: 0; border-radius: 9px; background: #edf4f7; color: var(--hp-ink); font-size: 1.35rem; cursor: pointer; }
.hp-cert-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: .65rem; padding: .75rem 0; }
.hp-cert-toolbar button { width: 44px; height: 44px; border: 1px solid var(--hp-line); border-radius: 9px; background: #fff; color: var(--hp-ink); font-size: 1.2rem; cursor: pointer; }
.hp-cert-zoom { min-width: 58px; font-weight: 800; text-align: center; }
.hp-cert-viewer { min-height: 0; flex: 1; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--hp-line); border-radius: 12px; background: #eaf3f6; }
.hp-cert-stage { width: max-content; min-width: 100%; min-height: 100%; display: grid; place-items: start center; padding: 1rem; }
.hp-cert-stage canvas { display: block; background: #fff; box-shadow: 0 8px 24px rgba(6,40,88,.09); }
.hp-cert-dialog__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .85rem; }
.hp-cert-dialog__foot p { margin: 0; color: var(--hp-muted); font-size: .82rem; line-height: 1.5; }

@media (max-width: 1199px) {
  .home-transfer .v1-header__top { grid-template-columns: 1fr auto; }
  .home-transfer .v1-header__nav { position: absolute; top: 68px; right: 0; left: auto; width: min(390px, 94vw); max-height: calc(100vh - 68px); display: none; align-content: start; overflow-y: auto; padding: 1rem 1.35rem 1.5rem; border: 1px solid var(--hp-line); border-radius: 0 0 0 18px; background: #fff; box-shadow: 0 20px 45px rgba(6,40,88,.16); }
  .home-transfer .v1-header__nav[data-open="true"] { display: grid; grid-template-columns: 1fr; }
  .home-transfer .v1-header__nav a { justify-content: space-between; border-bottom: 1px solid #e8eff4; }
  .home-transfer .v1-menu { display: inline-flex; }
  .hp-pathways { grid-template-columns: 1fr 1fr; }
  .hp-pathway { min-height: 430px; }
  .hp-journey { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 900px) {
  .hp-container, .home-transfer .v1-header__top { width: min(100% - 40px, var(--hp-container)); }
  .hp-section { padding: 4.5rem 0; }
  .hp-carousel, .hp-slide__inner { min-height: 690px; }
  .hp-slide::after { background: linear-gradient(0deg, rgba(3,24,58,.99) 0%, rgba(4,30,69,.9) 55%, rgba(4,31,70,.24) 100%); }
  .hp-slide__inner { align-items: end; padding: 9rem 0 7.2rem; }
  .hp-slide__content { max-width: 680px; }
  .hp-slide h1, .hp-slide h2 { font-size: clamp(2.75rem, 8vw, 3.8rem); }
  .hp-nku, .hp-trust, .hp-faq-layout { grid-template-columns: 1fr; }
  .hp-trust { gap: 2rem; }
  .hp-destinations { grid-template-columns: 1fr 1fr; }
  .hp-b2b__card, .hp-resources-card { align-items: start; flex-direction: column; }
}

@media (max-width: 640px) {
  .hp-container, .home-transfer .v1-header__top { width: calc(100% - 30px); }
  .home-transfer .v1-brand img { width: 82px; height: 48px; }
  .home-transfer .v1-counsellor { display: none; }
  .hp-section { padding: 4.5rem 0; }
  .hp-heading { font-size: 2.15rem; }
  .hp-section-head { margin-bottom: 1.7rem; }
  .hp-section-head--row { align-items: start; flex-direction: column; }
  .hp-carousel, .hp-slide__inner { min-height: 635px; }
  .hp-slide__inner { padding: 8rem 0 6.6rem; }
  .hp-slide__image--students { object-position: 61% center; }
  .hp-slide__image--nurse { object-position: 65% center; }
  .hp-slide h1, .hp-slide h2 { font-size: 2.5rem; }
  .hp-slide__lead { font-size: 1.3rem; }
  .hp-slide__copy { font-size: .96rem; line-height: 1.62; }
  .hp-actions { align-items: stretch; flex-direction: column; }
  .hp-button { width: 100%; }
  .hp-carousel__arrow { width: 44px; height: 44px; }
  .hp-pathways, .hp-destinations, .hp-trust__cards, .hp-facts { grid-template-columns: 1fr; }
  .hp-pathway { min-height: 0; }
  .home-transfer .hp-pathway__image { width: 100%; height: clamp(190px, 56vw, 230px); aspect-ratio: auto; object-fit: cover; }
  .hp-pathway:nth-child(1) .hp-pathway__image { object-position: 50% 28%; }
  .hp-pathway:nth-child(2) .hp-pathway__image { object-position: 72% 34%; }
  .hp-pathway:nth-child(3) .hp-pathway__image { object-position: 50% 30%; }
  .hp-pathway:nth-child(4) .hp-pathway__image { object-position: 50% 34%; }
  .hp-destination { height: clamp(180px, 48vw, 205px); min-height: 0; }
  .hp-nku { gap: 2rem; }
  .hp-nku__gallery { grid-template-columns: 1fr 1fr; }
  .hp-nku__gallery img:first-child { height: clamp(200px, 58vw, 240px); aspect-ratio: auto; }
  .hp-nku__gallery img:not(:first-child) { height: clamp(125px, 36vw, 155px); aspect-ratio: auto; }
  .hp-certificate-card { grid-template-columns: 115px 1fr; }
  .hp-certificate-card__preview { min-height: 185px; }
  .hp-certificate-card__body { padding: .9rem .9rem .9rem 0; }
  .hp-certificate-card .hp-button { min-height: 44px; padding-inline: .75rem; font-size: .78rem; }
  .home-transfer .hp-trust__image { width: 100%; height: clamp(240px, 68vw, 292px); aspect-ratio: auto; object-fit: cover; object-position: 62% 44%; }
  .hp-trust__card:last-child { grid-column: auto; }
  .hp-journey { grid-template-columns: 1fr; }
  .hp-b2b__card, .hp-resources-card { padding: 1.4rem; }
  .hp-cert-dialog { width: calc(100% - .8rem); height: 96dvh; border-radius: 14px; }
  .hp-cert-dialog__shell { padding: 1rem; }
  .hp-cert-dialog h2 { font-size: 1.3rem; }
  .hp-cert-dialog__description { font-size: .86rem; }
  .hp-cert-dialog__foot { align-items: stretch; flex-direction: column; }
  .hp-cert-dialog__foot .hp-button { width: 100%; }
}

@media (max-width: 390px) {
  .hp-journey { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .home-transfer *, .home-transfer *::before, .home-transfer *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
