/* Closing chapter: scoped to the custom homepage, not the shared inner pages. */
body.gis-homepage-v2-page { --gis-closing-navy: #102b49; --gis-closing-deep: #0b1e33; }
/* The fixed header belongs to content-wrapper's stacking context. Keep that
   context above the later footer sibling so desktop dropdowns remain clickable. */
body.gis-homepage-v2-page #page > .content-wrapper { z-index: 2; }
.gis-home .gis-destinations { background: var(--gis-closing-navy); color: #fff; padding: 100px 0 88px; }
.gis-home .gis-destinations__grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-rows: auto auto; align-items: center; gap: 64px 80px; }
.gis-home .gis-destinations__copy { height: auto; min-width: 0; }
.gis-home .gis-destinations .gis-eyebrow { color: #bdd4e8; font-size: 12px; letter-spacing: .17em; margin-bottom: 46px; }
.gis-home .gis-destinations__copy > strong { color: #fff; font-size: clamp(96px,8vw,144px); line-height: .95; font-weight: 600; }
.gis-home .gis-destinations__copy h2 { color: #fff; font-size: clamp(38px,3.2vw,52px); line-height: 1.12; max-width: 530px; margin: 24px 0; }
.gis-home .gis-destinations__copy > p:last-of-type { color: #c5d6e5; font-size: 16px; line-height: 1.75; max-width: 530px; margin-bottom: 0; }
.gis-home .gis-destinations figure { grid-row: auto; height: auto; overflow: hidden; border-radius: var(--gis-card-radius,12px) !important; box-shadow: none !important; }
.gis-home .gis-destinations figure::after { display: block; background: linear-gradient(180deg,transparent,rgba(5,15,31,.9)); inset: 40% 0 0; pointer-events: none; z-index: 1; }
.gis-home .gis-destinations figure img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--gis-card-radius,12px); box-shadow: var(--gis-card-shadow); }
.gis-home .gis-destinations figure figcaption { position: absolute; left: 24px; right: 24px; bottom: 24px; color: #fff !important; font-size: 18px; line-height: 1.45; margin: 0 !important; z-index: 2; }
.gis-home .gis-logo-marquee { grid-column: 1/-1; height: auto; background: transparent; border-top: 1px solid #ffffff26; padding: 36px 0 0; border-radius: 0 !important; box-shadow: none !important; text-align: center; }
.gis-home .gis-logo-marquee > span { display: block; color: #b4cadd; letter-spacing: .17em; font-size: 11px; margin-bottom: 28px; }
.gis-home .gis-logo-window { overflow: hidden; mask-image: linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); }
.gis-home .gis-logo-track { gap: 30px; margin-top: 0; }
.gis-home .gis-logo-track img { flex: 0 0 176px; width: 176px; height: 76px; padding: 12px 16px; background: #fff; border-radius: var(--gis-card-radius,12px); }

/* One campus image fades into the solid footer, without a repeated background. */
body.gis-homepage-v2-page #page::before { display: none; }
body.gis-homepage-v2-page .gis-home .gis-admissions { background-color: var(--gis-closing-deep) !important; background-image: var(--admissions-image) !important; background-position: center 48%; background-size: cover; color: #fff; text-align: center; min-height: 540px; }
.gis-home .gis-admissions::before { opacity: 1; background: linear-gradient(180deg,rgba(11,30,51,.78) 0%,rgba(11,30,51,.81) 58%,#0b1e33 100%); }
.gis-home .gis-admissions::after, .gis-home .gis-admissions__shape { display: none; }
.gis-home .gis-admissions__content { align-items: center; min-height: 540px; padding-block: 100px 112px; text-align: center; }
.gis-home .gis-admissions h2 { color: #fff; font-size: clamp(42px,4.2vw,64px); max-width: 800px; margin: 0 auto 24px; line-height: 1.1; }
.gis-home .gis-admissions p { color: #d2dfeb; max-width: 650px; margin-inline: auto; font-size: 16px; line-height: 1.75; }
.gis-home .gis-admissions .gis-admissions__actions { justify-content: center; margin: 36px auto 0; gap: 16px; }
.gis-home .gis-admissions .gis-admissions__actions a { color: #fff; background: #ffffff08; border-color: #ffffff70; min-height: 50px; }
.gis-home .gis-admissions .gis-admissions__actions a.is-primary { color: #102b49; background: #fff; border-color: #fff; }
.gis-home .gis-admissions .gis-admissions__actions a:hover { background: #224767; border-color: #fff; color: #fff; }

.gis-home .gis-destinations__link:focus-visible, .gis-home .gis-admissions a:focus-visible { outline: 2px solid #ffd166; outline-offset: 5px; }
@media(max-width:1199px) {
 .gis-home .gis-destinations__grid { gap: 48px 40px; }
}
@media(max-width:900px) {
 .gis-home .gis-destinations { padding: 72px 0; }
 .gis-home .gis-destinations__grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 40px; }
 .gis-home .gis-destinations .gis-eyebrow { margin-bottom: 28px; }
 .gis-home .gis-destinations__copy h2 { max-width: 620px; }
 .gis-home .gis-destinations figure { width: 100%; max-width: 720px; }
 .gis-home .gis-admissions__content { padding-block: 80px 96px; }
}
@media(max-width:620px) {
 .gis-home .gis-destinations__copy > strong { font-size: 96px; }
 .gis-home .gis-destinations__copy h2 { font-size: 38px; }
 .gis-home .gis-destinations__copy > p:last-of-type { font-size: 14px; }
 .gis-home .gis-logo-track img { flex-basis: 144px; width: 144px; height: 68px; }
 .gis-home .gis-admissions, .gis-home .gis-admissions__content { min-height: 0; }
 .gis-home .gis-admissions h2 { max-width: 100%; font-size: 40px; }
 .gis-home .gis-admissions p { max-width: 100%; font-size: 14px; }
 .gis-home .gis-admissions .gis-admissions__actions { width: min(100%,360px); gap: 12px; }
}
@media(prefers-reduced-motion:reduce) {
 .gis-home .gis-logo-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
 .gis-home .gis-logo-window { mask-image: none; }
 .gis-home .gis-logo-track img[aria-hidden="true"] { display: none; }
 .gis-home .gis-destinations__link { transition: none; }
}
